]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Fix: symbols eliminated by --gc-sections still trigger warnings for gnu.warning.SYM
authorNick Clifton <nickc@redhat.com>
Tue, 21 Nov 2023 09:26:19 +0000 (09:26 +0000)
committerNick Clifton <nickc@redhat.com>
Tue, 21 Nov 2023 09:26:19 +0000 (09:26 +0000)
commit1c320501655ec8d5077d0a3231652c7d661249bc
tree14682d855e58471f07ca95611448ab42ca477934
parenta68722065fd544995137677fb0e57c392ef00e0e
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.
bfd/ChangeLog
bfd/linker.c
ld/ChangeLog
ld/ld.texi