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
"Weddington, Eric" <eweddington@cso.atmel.com> writes:
>> -----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.
Would that case stop working if -Ttext were changed to adjust the text
segment rather than the .text section?
Ian