Section symbols not getting created. Bug? Is attached patch correct fix?

Alan Modra amodra@gmail.com
Wed Apr 6 02:36:00 GMT 2011


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



More information about the Binutils mailing list