https://sourceware.org/bugzilla/show_bug.cgi?id=33745
--- Comment #6 from Sourceware Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by H.J. Lu <[email protected]>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=35a56991b31fa913ec7a611eddeb6ed702e1547e commit 35a56991b31fa913ec7a611eddeb6ed702e1547e Author: H.J. Lu <[email protected]> Date: Mon Jan 12 06:55:34 2026 +0800 gas: Check @@@ before renaming the versioned symbol The versioned symbol with the @@@ syntax is a special case. If the symbol is not defined, 2 `@'s will be removed from the versioned_name. Otherwise, 1 `@' will be removed. But for malformed versioned symbols may not have @@@: .symver foo,foo@@@version1 .symver foo,foo@version2 Check @@@ before renaming the versioned symbol. PR gas/33745 * config/obj-elf.c (elf_frob_file_before_adjust): Check @@@ before renaming the versioned symbol. * testsuite/gas/symver/symver.exp: Run symver17. * testsuite/gas/symver/symver17.l: New file. * testsuite/gas/symver/symver17.s: Likewise. Signed-off-by: H.J. Lu <[email protected]> -- You are receiving this mail because: You are on the CC list for the bug.
