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: Section symbols not getting created. Bug? Is attached patch correct fix?


On Tue, Apr 05, 2011 at 09:36:47PM +0200, John Marino wrote:
> It appears that exp_provide() function used there discards the
> symbols assigned "." and exp_assign() function does not.

No, the difference between exp_provide and exp_assign is that the
former won't define the symbol unless it is referenced.  So if you are
expecting to see these symbols post-link, then you should reference
them from object files or via -u command line options.

-- 
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]