|
From: | cvs-commit at gcc dot gnu.org |
Subject: | [Bug ld/24718] BFD ld does not set VER_FLG_WEAK on version reference if all symbols are weak |
Date: | Mon, 31 Jan 2022 22:07:05 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=24718 --- Comment #17 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by H.J. Lu <hjl@sourceware.org>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=4bed253f22c9bb9b0823a78f310afeff4f25bb40 commit 4bed253f22c9bb9b0823a78f310afeff4f25bb40 Author: H.J. Lu <hjl.tools@gmail.com> Date: Mon Jan 24 08:20:13 2022 -0800 elf: Check symbol version without any symbols VER_FLG_WEAK doesn't indicate that all symbol references of the symbol version have STB_WEAK. VER_FLG_WEAK indicates a weak symbol version definition with no symbols associated with it. It is used to verify the existence of a particular implementation without any symbol references to the weak symbol version. PR ld/24718 * testsuite/ld-elf/pr24718-1.d: New file. * testsuite/ld-elf/pr24718-1.s: Likewise. * testsuite/ld-elf/pr24718-1.t: Likewise. -- You are receiving this mail because: You are on the CC list for the bug.
[Prev in Thread] | Current Thread | [Next in Thread] |