This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: chained AT() in linker scripts?
- To: Todd Whitesel <toddpw at windriver dot com>
- Subject: Re: chained AT() in linker scripts?
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Tue, 30 Jan 2001 13:37:58 +0000
- Cc: binutils at sources dot redhat dot com
- Organization: Red Hat UK Ltd.
- References: <200101300740.XAA23312@alabama.wrs.com>
Todd Whitesel wrote:
>
> I have a question about using the AT() directive to create a "chain" of
> output sections which are all offset together. Specifically, how can it
> be done in a general way so that elf.sc can be macro-configured to use
> AT() appropriately for "ROMable" program builds.
By the sound of it, what you want is the AT>LMA_REGION syntax when
specifying output sections. Look under "Output section description" in the
ld info files.
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