https://sourceware.org/bugzilla/show_bug.cgi?id=26681
--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Nick Clifton <ni...@sourceware.org>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=7026832e52cff026f877616ac0033c7bb8d1df6f commit 7026832e52cff026f877616ac0033c7bb8d1df6f Author: H.J. Lu <hongjiu...@intel.com> Date: Fri Oct 2 11:08:19 2020 +0100 Allow note sections to be discarded when they are linked to another discarded secction. PR 26681 bfd * elflink.c (bfd_elf_gc_sections): Do not arbitrarily keep note sections which are linked to another section. ld * testsuite/ld-elf/pr26681.s: New test. * testsuite/ld-elf/pr26681.d: New test driver. * testsuite/ld-elf/pr26681.l: New test output. -- You are receiving this mail because: You are on the CC list for the bug.