chained AT() in linker scripts?
Jonathan Larmour
jlarmour@redhat.com
Tue Jan 30 14:40:00 GMT 2001
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
More information about the Binutils
mailing list