chained AT() in linker scripts?

Jonathan Larmour jlarmour@redhat.com
Tue Jan 30 05:38:00 GMT 2001


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


More information about the Binutils mailing list