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: PATCH: Fix gold problem with weak undefined symbols


On Tue, Apr 01, 2008 at 08:18:52PM -0400, Daniel Jacobowitz wrote:
> On Tue, Apr 01, 2008 at 05:13:06PM -0700, Cary Coutant wrote:
> > Yep, that appears to be what GNU ld does -- the test case passes for
> > GNU ld, and I see no dynamic relocation for the weak undef symbol. It
> > was surprising to me, too, which is why gold didn't do this
> > originally.
> 
> I think I recall a conversation between Alan and H.J. a month or two
> ago, in which this was classified as a bug.  Might want to ask them.

See http://sourceware.org/ml/binutils/2008-02/msg00264.html for my
argument as to why we ought to emit dynamic relocs for undefined weak
symbols.

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