]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Fix "--only-keep-debug for ELF relocatables" binutils test for compilers which add...
authorNick Clifton <nickc@redhat.com>
Tue, 1 Aug 2023 13:37:04 +0000 (14:37 +0100)
committerSam James <sam@gentoo.org>
Wed, 20 Dec 2023 02:37:37 +0000 (02:37 +0000)
commit83d5e7b750556c9c7389a888bf1e3bfc33622b58
tree9c61262b0c475b216ce61d62f7ad675c0145b40b
parent1ce656c66f1859d0f6066e0f9064033712e37aea
Fix "--only-keep-debug for ELF relocatables" binutils test for compilers which add .debug_macro sections to object files.

  PR 30699
  * binutils/testsuite/binutils-all/objcopy.exp (keep_debug_symbols_for_elf_relocatable): Do not add sections containing the string "debug_" to the list of non-debug sections.

(cherry picked from commit b99a9693430a9f04165b1b868f890b622bb1b46c)
binutils/testsuite/binutils-all/objcopy.exp