gold patch committed: Adjust symbols in GNU hash table

Ian Lance Taylor iant@google.com
Wed Dec 30 08:31:00 GMT 2009


The last elflint problem: some undefined symbols were winding up in
the GNU hash table.  This patch changes the selection to 1) always add
symbols whose value is needed; 2) otherwise, don't add symbols defined
in a dynamic object or forced local.  Committed to mainline.

Ian


2009-12-30  Ian Lance Taylor  <iant@google.com>

	PR 10450
	* dynobj.cc (Dynobj::create_gnu_hash_table): Add symbols to the
	GNU hash table if they need a dynamic value.  Otherwise, don't add
	them if they are defined in a dynamic object or are forced local.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.patch
Type: text/x-diff
Size: 670 bytes
Desc: hash
URL: <https://sourceware.org/pipermail/binutils/attachments/20091230/5fcf5e9e/attachment.bin>


More information about the Binutils mailing list