This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Linker options avoiding a linker script


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]