|
From: | cvs-commit at gcc dot gnu.org |
Subject: | [Bug ld/24267] ld discards a symbol with -flto and -static |
Date: | Fri, 15 Mar 2019 14:20:35 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=24267 --- Comment #28 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 <address@hidden>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=2219ae0b0ebe14373850b000c2abaa31dab1d741 commit 2219ae0b0ebe14373850b000c2abaa31dab1d741 Author: H.J. Lu <address@hidden> Date: Fri Mar 15 22:19:01 2019 +0800 COFF: Check for symbols defined in discarded section For LTO, a symbol may defined in discarded section. We should mark it as undefined so that LTO plugin will make IR definition available. PR ld/24267 * coffgen.c (_bfd_coff_section_already_linked): Skip discarded section. * cofflink.c (coff_link_add_symbols): Check for symbols defined in discarded section. -- You are receiving this mail because: You are on the CC list for the bug.
[Prev in Thread] | Current Thread | [Next in Thread] |