Undefined weak symbol bug

H. J. Lu hjl@lucon.org
Tue Apr 1 07:01:00 GMT 2003


On Tue, Apr 01, 2003 at 04:26:23PM +0930, Alan Modra wrote:
> On Mon, Mar 31, 2003 at 09:44:59AM -0800, H. J. Lu wrote:
> > Should ld or ld.so resolve it to zero? If ld does, should the
> > binding be changed to STB_LOCAL and remove the relocation entry?
> 
> Since ld can resolve these syms, it probably should.

Undefined weak reference is never intended to be resolved by ld. Many
changes have to be made for it.


H.J.



More information about the Binutils mailing list