mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-27 04:52:05 +08:00
0f60cce3e1
Since x86 assembler may generate .note.gnu.property section, adjust binutils tests to handle it. * testsuite/binutils-all/readelf.s-64: Adjusted for .note.gnu.property section. * testsuite/binutils-all/strip-3.d: Also strip .note.gnu.property section.
12 lines
381 B
Makefile
12 lines
381 B
Makefile
#PROG: strip
|
|
#source: empty.s
|
|
#strip: -R .text -R .data -R .bss -R .ARM.attributes -R .reginfo -R .gnu.attributes -R .MIPS.abiflags -R .pdr -R .xtensa.info -R .ARC.attributes -R .note.gnu.property
|
|
#readelf: -S --wide
|
|
#name: strip empty file
|
|
#target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi
|
|
|
|
#...
|
|
\[[ 0]+\][ \t]+NULL[ \t]+.*
|
|
\[[ 1]+\] \.shstrtab.*[ \t]+STRTAB[ \t]+.*
|
|
#pass
|