57b828ef36
bfd/ PR binutils/16318 * elf.c (_bfd_elf_copy_private_bfd_data): Remove BFD_ASSERT. Set e_flags only if elf_flags_init is FALSE. Copy EI_OSABI field. binutils/testsuite/ PR binutils/16318 * binutils-all/strip-10.d: Check OS/ABI.
10 lines
209 B
Makefile
10 lines
209 B
Makefile
#PROG: strip
|
|
#source: unique.s
|
|
#strip: -g
|
|
#readelf: -sh
|
|
#name: strip on STB_GNU_UNIQUE
|
|
|
|
#...
|
|
OS/ABI:[ \t]+UNIX - GNU
|
|
#...
|
|
+[0-9]+: +[0-9a-f]+ +[0-9]+ +OBJECT +(UNIQUE|<OS specific>: 10) +DEFAULT +[1-9] foo
|