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?


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

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