PATCH: Fix gold problem with weak undefined symbols
Wed Apr 2 00:43:00 GMT 2008
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
Australia Development Lab, IBM
More information about the Binutils