This is the mail archive of the binutils@sources.redhat.com 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]

Re: chained AT() in linker scripts?


Ian Lance Taylor wrote:
> 
> It would also be nice to have options like -Ttext which worked for
> ELF.  -Ttext doesn't work, because it only sets the address of the
> .text section, whereas when using ELF people generally want to set the
> address of the text segment.

Just to clarify something: if there is only a .text section in the
executable, is there a distinction? Or rather, are there any other standard
sections in the text segment? Obviously the user could provide their own.

Out of interest, ld.texinfo claims that -Ttext does set the text segment
address, not section.

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine

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