This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: chained AT() in linker scripts?
- To: Ian Lance Taylor <ian at zembu dot com>
- Subject: Re: chained AT() in linker scripts?
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Tue, 30 Jan 2001 22:40:11 +0000
- Cc: binutils at sources dot redhat dot com
- Organization: Red Hat UK Ltd.
- References: <200101300740.XAA23312@alabama.wrs.com> <si3de0r94r.fsf@daffy.airs.com>
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