Add an --extract-symbol option to objcopy

Richard Sandiford richard@codesourcery.com
Fri Mar 2 09:23:00 GMT 2007
Richard Sandiford <richard@codesourcery.com> writes:
> ld/testsuite/
> 	* ld-elf/extract-symbol-1sym.d, ld-elf/extract-symbol-1sec.d,
> 	* ld-elf/extract-symbol-1.s, ld-elf/extract-symbol-1.ld: New tests.
> 	* ld-elf/binutils.exp: Run them.

Sigh.  Yesterday was obviously not my day.  The *.d tests are run
automatically by elf.exp, so the binutils.exp part was redundant:
it just meant that the tests would be run twice for *-linux-gnu
targets.  I didn't notice because they passed both times.

Anyway, I've reverted the binutils.exp part as obvious.

Richard


ld/testsuite/
	* ld-elf/binutils.exp: Revert last change.

Index: ld/testsuite/ld-elf/binutils.exp
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-elf/binutils.exp,v
retrieving revision 1.4
diff -u -p -r1.4 binutils.exp
--- ld/testsuite/ld-elf/binutils.exp	1 Mar 2007 16:39:42 -0000	1.4
+++ ld/testsuite/ld-elf/binutils.exp	2 Mar 2007 09:19:28 -0000
@@ -122,6 +122,3 @@ binutils_test objcopy "-z max-page-size=
 binutils_test objcopy "" tdata2
 binutils_test objcopy "-shared" tdata2
 binutils_test objcopy "-z max-page-size=0x100000 -z common-page-size=0x1000" tdata2
-
-run_dump_test extract-symbol-1sec
-run_dump_test extract-symbol-1sym



More information about the Binutils mailing list