old-cross-binutils/binutils/testsuite/binutils-all/strip-3.d
H.J. Lu 1aa9ef630c 2007-04-12 H.J. Lu <hongjiu.lu@intel.com>
PR binutils/4348
	* objcopy.c (copy_object): Don't stop when there are no
	sections to be copied.

testsuite/

2007-04-12  H.J. Lu  <hongjiu.lu@intel.com>

	PR binutils/4348
	* binutils-all/empty.s: New file.
	* binutils-all/strip-3.d: Likewise.

	* binutils-all/objcopy.exp: Run strip-3 for ELF target.
2007-04-12 19:20:46 +00:00

11 lines
215 B
Makefile

#PROG: strip
#source: empty.s
#strip: -R .text -R .data -R .bss
#readelf: -S --wide
#name: strip empty file
#target: *-*-linux*
#...
\[[ 0]+\][ \t]+NULL[ \t]+.*
\[[ 1]+\] \.shstrtab.*[ \t]+STRTAB[ \t]+.*
#pass