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)
committerNick Clifton <nickc@redhat.com>
Tue, 1 Aug 2023 13:40:08 +0000 (14:40 +0100)
commitb99a9693430a9f04165b1b868f890b622bb1b46c
tree5455edfb6b40c96250b89e339606c83429a48501
parentc7de8f2570c31fc634f500a3f4693597004dfebf
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.
binutils/testsuite/binutils-all/objcopy.exp