1aa9ef630c
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.
11 lines
215 B
Makefile
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
|