[uClinux-dev] code relocation

Greg Ungerer gerg at snapgear.com
Mon Nov 1 02:42:10 EDT 2010

Hi Hasan,

On 30/10/10 03:19, Hasan Jamal wrote:
> I'm using uClinux 2.4.19; m68k-elf-gcc version 2.95.3; coldfire 5275 no mmu.
> The preocessor has 64k of sram and I'm wondering how to run/relocate
> only code of a critical application in sram. Is this doable? I'm
> thinking if I could find the default linker script then I could add
> sections for my sram, but I don't find any default linker script. Any
> hints or tips?

The default application linker script is part of the toolchain.
You will find it somewhere under /usr/local/m68k-elf/.
(I don't have that older toolchained installed anywhere to look
exactly where it is right now. But it will be something like


Greg Ungerer  --  Principal Engineer        EMAIL:     gerg at snapgear.com
SnapGear Group, McAfee                      PHONE:       +61 7 3435 2888
8 Gardner Close                             FAX:         +61 7 3217 5323
Milton, QLD, 4064, Australia                WEB: http://www.SnapGear.com

More information about the uClinux-dev mailing list