[PATCH][gold] PR 21054: Fix GOT when global symbols are forced to local visibility

Vladimir Radosavljevic Vladimir.Radosavljevic@imgtec.com
Wed Jan 18 18:23:00 GMT 2017


Don't add global symbol that requires GOT entry to the dynamic symbol table if it is forced to local visibility.

Regards,
Vladimir

ChangeLog -

gold/
	PR gold/21054
	* mips.cc (Mips_got_info::record_global_got_symbol): Don't add symbol
	to the dynamic symbol table if it is forced to local visibility.
	(Target_mips::do_finalize_sections): Don't add __RLD_MAP symbol to the
	dynamic symbol table if it is forced to local visibility.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PR21054.patch
Type: text/x-patch
Size: 954 bytes
Desc: PR21054.patch
URL: <https://sourceware.org/pipermail/binutils/attachments/20170118/13952b45/attachment.bin>


More information about the Binutils mailing list