forked from Imagelibrary/binutils-gdb
binutils/
2009-03-09 H.J. Lu <hongjiu.lu@intel.com> PR binutils/9933 * objcopy.c (filter_symbols): Properly handle common symbols in relocatable file. binutils/testsuite/ 2009-03-09 H.J. Lu <hongjiu.lu@intel.com> PR binutils/9933 * binutils-all/copy-4.d: New. * binutils-all/objcopy.exp: Run copy-4.
This commit is contained in:
9
binutils/testsuite/binutils-all/copy-4.d
Normal file
9
binutils/testsuite/binutils-all/copy-4.d
Normal file
@@ -0,0 +1,9 @@
|
||||
#PROG: strip
|
||||
#source: bintest.s
|
||||
#strip: --strip-unneeded
|
||||
#nm: -n
|
||||
#name: strip --strip-unneeded on common symbol
|
||||
|
||||
#...
|
||||
0+04 C common_symbol
|
||||
#pass
|
||||
@@ -835,6 +835,7 @@ if [is_elf_format] {
|
||||
|
||||
run_dump_test "copy-2"
|
||||
run_dump_test "copy-3"
|
||||
run_dump_test "copy-4"
|
||||
|
||||
if [is_elf_format] {
|
||||
run_dump_test "strip-1"
|
||||
|
||||
Reference in New Issue
Block a user