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]

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


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