https://sourceware.org/bugzilla/show_bug.cgi?id=31067
--- Comment #2 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=1c320501655ec8d5077d0a3231652c7d661249bc commit 1c320501655ec8d5077d0a3231652c7d661249bc Author: Nick Clifton <ni...@redhat.com> Date: Tue Nov 21 09:26:19 2023 +0000 Fix: symbols eliminated by --gc-sections still trigger warnings for gnu.warning.SYM PR 31067 * linker.c (_bfd_generic_link_add_one_symbol): When issuing a warning message, also display a message about the warning not being affected by garbage colleciton. * ld.texi (Special Sections): New entry in the linker manual. Describes how the .gnu.warning and .gnu.warning.SYM sections behave. -- You are receiving this mail because: You are on the CC list for the bug.