[PATCH] HPPA/PR16082 : Remove version information on hidden symbols

Guy Martin gmsoft@tuxicoman.be
Fri Oct 25 07:54:00 GMT 2013


Hi,


We've run into a bug on Gentoo/hppa when linking libdb.so :
https://bugs.gentoo.org/show_bug.cgi?id=466924

It turns out that the generated .gnu.version section is invalid
because the version information of _GLOBAL_OFFSET_TABLE_ from
libdb.so isn't removed when making the symbol local in
elf32_hppa_hide_symbol().

The attached patch fixes this. The check-ld test suite doesn't
show any regression.

   Guy
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: binutils-hppa_remove_version_when_local-v3.diff
URL: <https://sourceware.org/pipermail/binutils/attachments/20131025/a46708ce/attachment.ksh>


More information about the Binutils mailing list