This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Linker options avoiding a linker script
- From: "Kishore, Jonnalagadda \(IE10\)" <Kishore dot Jonnalagadda at honeywell dot com>
- To: <binutils at sourceware dot org>
- Date: Fri, 30 Mar 2007 19:45:04 +0530
- Subject: 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