Linker options avoiding a linker script

Kishore, Jonnalagadda (IE10) Kishore.Jonnalagadda@honeywell.com
Sat Mar 31 03:21:00 GMT 2007
I am new to this list but I have been using the gnu toolchain for few
years now and always discover something new with each project.

In short let me explain what the output I need is. I am using the
m68k-elf cross-compiler toolchain on a windows host. The built code is
to run from flash on the target board. What I want to do is divide the
flash into 3 sections each of say 1MB. I need to independently build 3
executables that are to be loaded in each of the tree sections. Code in
section 1 would jump into the entry point of section 2 and then from
section 2 to section 3.

So from a requirement point of view, I need to set the address range in
which the executable will be flashed, set the entry point's absolute
address (or offset with respect to section start address).

Can anyone guide me on this? Any help will be much appreciated.

Warm regards,
Kishore



More information about the Binutils mailing list