gold patch committed: If no dynamic symbols, use normal symbols

Ian Lance Taylor iant@google.com
Fri Jan 8 21:26:00 GMT 2010


When the GNU linker sees a shared library with no dynamic symbols, it
uses the normal symbols instead.  This turns out to be required on
some systems, as explained in slightly more detail in a comment in the
patch.  I committed this patch to gold to make it work the same way.

Ian


2010-01-08  Ian Lance Taylor  <iant@google.com>

	PR 11084
	* dynobj.cc (Sized_dynobj::find_dynsym_sections): If there is no
	dynamic symbol table, use the normal symbol table.
	(Sized_dynobj::do_read_symbols): Remove assertion about type of
	symbol table.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.patch
Type: text/x-diff
Size: 2106 bytes
Desc: dynsyms
URL: <https://sourceware.org/pipermail/binutils/attachments/20100108/2914d92d/attachment.bin>


More information about the Binutils mailing list