|
From: | cvs-commit at gcc dot gnu.org |
Subject: | [Bug ld/28348] ld generates corrupted binaries with -lc |
Date: | Sun, 19 Sep 2021 14:37:29 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=28348 --- Comment #3 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=e4675a5810fc3d0a7d0b1c744f0a1837ccc0507e commit e4675a5810fc3d0a7d0b1c744f0a1837ccc0507e Author: H.J. Lu <hjl.tools@gmail.com> Date: Sat Sep 18 09:12:27 2021 -0700 elf: Don't set version info on unversioned symbols Don't set version info on unversioned symbols when seeing a hidden versioned symbol after an unversioned definition and the default versioned symbol. bfd/ PR ld/28348 * elflink.c (elf_link_add_object_symbols): Don't set version info on unversioned symbols. ld/ PR ld/28348 * testsuite/ld-elf/pr28348.rd: New file. * testsuite/ld-elf/pr28348.t: Likewise. * testsuite/ld-elf/pr28348a.c: Likewise. * testsuite/ld-elf/pr28348b.c: Likewise. * testsuite/ld-elf/pr28348c.c: Likewise. * testsuite/ld-elf/shared.exp: Run PR ld/28348 tests. -- You are receiving this mail because: You are on the CC list for the bug.
[Prev in Thread] | Current Thread | [Next in Thread] |