https://sourceware.org/bugzilla/show_bug.cgi?id=26103
--- Comment #9 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Alan Modra <amo...@sourceware.org>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=75cfe082c067db0b12fb982de0833309e454a8e2 commit 75cfe082c067db0b12fb982de0833309e454a8e2 Author: Alan Modra <amo...@gmail.com> Date: Mon Jun 15 12:10:06 2020 +0930 PR26103, Assertion failure with symbols defined in link-once sections PR 26103 * elflink.c (elf_link_add_archive_symbols): Exclude undefined symbols that were defined in discarded sections. * cofflink.c (coff_link_check_archive_element): Likewise. (coff_link_add_symbols): Set indx to -3 for symbols defined in discarded sections. (_bfd_coff_write_global_sym): Don't emit such symbols. libcoff-in.h (struct coff_link_hash_entry): Update indx comment. libcoff.h: Regenerate. -- You are receiving this mail because: You are on the CC list for the bug.