gold patch committed: Fix elflint complaint about hash table entsize

Ian Lance Taylor iant@google.com
Wed Dec 30 07:46:00 GMT 2009


elflint wants to see the entsize of the .gnu.hash section to be 4 for
a 32-bit target and 0 for a 64-bit target.  That is what GNU ld does.
I committed this patch to make gold act the same way.

Ian


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

	PR 10450
	* layout.cc (Layout::create_dynamic_symtab): Only set entsize of
	.gnu.hash table for a 32-bit target.


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


More information about the Binutils mailing list