This is the mail archive of the binutils@sourceware.org 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]
Other format: [Raw text]

Re: Variables in linker script


On Tue, Sep 21, 2010 at 01:43:17PM +0200, Nikola Ikonic wrote:
> First, I would like to ask if there is a table of variables in linker?

No.  Symbol values are held in the main linker symbol table.  Linker
script (and --defsym) values are set by lang_do_assignments.  This
happens too late to use their values in statements setting section
addresses.  Running lang_do_assignments earlier is possible but you
will likely need to fix quite a lot of fallout.

-- 
Alan Modra
Australia Development Lab, IBM


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