]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Make readelf not print 'foo@@' for normal symbols
authorMichael Matz <matz@suse.de>
Thu, 20 Nov 2025 14:30:50 +0000 (15:30 +0100)
committerMichael Matz <matz@suse.de>
Mon, 24 Nov 2025 14:22:00 +0000 (15:22 +0100)
commit365cf9bd156c5676cf289b695460fda5c69ceb60
treee857b59af00409429c27de6ea89f37992e50b173
parent12856136986380efff1dcba2ecd3be80e482ff15
Make readelf not print 'foo@@' for normal symbols

when a symbol 'foo' is exported and non-hidden and hence is
available for resolving from other objects it's unreasonable
for readelf to print it as 'foo@@'.  If it's not available
for unversioned resolving because its version is hidden
(but without name), then continue printing it as 'foo@' to
indicate that something special goes on.
binutils/readelf.c
ld/testsuite/ld-elf/pr33599.d