0abb10c82d
Since 2006, commit d270463e9
, _bfd_elf_copy_private_section_data has
copied over SHF_MASKOS and SHF_MASKPROC flags. That makes the buggy
code in sh_elf64_copy_private_data_internal redundant.
bfd/
PR 17755
* elf64-sh64.c (sh_elf64_copy_private_data_internal): Delete code
copying SHF_SH5_ISA32.
binutils/testsuite/
* binutils-all/strip-11.d: New test.
* binutils-all/objcopy.exp: Run it.
12 lines
176 B
Makefile
12 lines
176 B
Makefile
#PROG: strip
|
|
#source: empty.s
|
|
#strip: -g
|
|
#readelf: -S --wide
|
|
#name: strip -g empty file
|
|
|
|
#...
|
|
\[ 0\] +NULL +0+ .*
|
|
#...
|
|
\[ .\] \.shstrtab +STRTAB +0+ .*
|
|
Key to Flags:
|
|
#pass
|