PATCH: Fix gold problem with weak undefined symbols

Daniel Jacobowitz drow@false.org
Tue Apr 1 23:54:00 GMT 2008


On Tue, Apr 01, 2008 at 04:43:00PM -0700, Cary Coutant wrote:
> This patch fixes a problem in gold where it incorrectly generates a
> dynamic relocation for a reference to a weak undefined symbol, or for
> a reference to an absolute symbol.
> 
> OK to commit?

Why is this really the right behavior?  Is it what GNU ld does?
The description sounds very surprising...

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Binutils mailing list