This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
RE: RFC: Add -z text-start-addr=ADDR to ELF linker
- From: "Weddington, Eric" <eweddington at cso dot atmel dot com>
- To: "Ian Lance Taylor" <iant at google dot com>, "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: <binutils at sourceware dot org>
- Date: Wed, 14 Jan 2009 03:08:25 -0700
- Subject: RE: RFC: Add -z text-start-addr=ADDR to ELF linker
- References: <m3fxjnc7bk.fsf@google.com>
> -----Original Message-----
> From: Ian Lance Taylor [mailto:iant@google.com]
> Sent: Tuesday, January 13, 2009 8:52 PM
> To: H.J. Lu
> Cc: binutils@sourceware.org
> Subject: Re: RFC: Add -z text-start-addr=ADDR to ELF linker
>
> > Some applications may depend the current behaviour as shown
> > in linker testcases.
>
> I am very skeptical that any real ELF code uses -Ttext without also
> using a custom linker script.
>
AVR target. Relocate the application code to a different address for a bootloader application (needs to start at a specific high address). No need to use a custom linker script because -Ttext works for us.