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: Linker version script turning weak symbols into strong symbols


On Tue, May 26, 2009 at 12:04:40PM -0500, Kevin P. Fleming wrote:
> However, if test3 *is* loaded, then when test2 gets loaded, the linker
> should override test2's weak definition for that symbol with the strong
> definition from test3.

This won't happen if you have made a symbol local.  Have a look at the
dynamic symbol table to see why.

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