bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/22150] [2.29 Regression] ld.bfd keeps a version reference in .gn


From: amodra at gmail dot com
Subject: [Bug ld/22150] [2.29 Regression] ld.bfd keeps a version reference in .gnu.version_r for symbols which are optimized out
Date: Mon, 18 Sep 2017 23:55:49 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=22150

Alan Modra <amodra at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |address@hidden

--- Comment #7 from Alan Modra <amodra at gmail dot com> ---
OK, so I can work around the missing symbols with --allow-shlib-undefined, and
reproduce the problem.  The changed behaviour is due to running
elf_gc_sweep_symbol after setting version refs.  ie. the fix for pr20828, git
commit 902e9fc76a.

With 2.29, __explicit_bzero_chk@@GLIBC_2.25 triggers the GLIBC_2.25 version
ref.  With 2.28 that symbol has dynindx set to -1 by elf_gc_sweep_symbol before
version refs are calculated.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]