objcopy --extract-symbol testcase
authorAlan Modra <amodra@gmail.com>
Thu, 15 Oct 2015 11:04:39 +0000 (21:34 +1030)
committerAlan Modra <amodra@gmail.com>
Thu, 15 Oct 2015 13:08:29 +0000 (23:38 +1030)
commit7b19bec22f266f2e1fab6528f166912328b999b6
tree562cdfc507a6383b075a8069c1d860eee93ed9e0
parente43fb83166ca5610e34cfba1dcf1216d0953aa8c
objcopy --extract-symbol testcase

Run the test for more than just ELF.  Shows that objcopy --extract-symbol
isn't working on PE, mips, mmix and some aout targets.

* config/default.exp (size): New global.
* ld-elf/extract-symbol-1.s,
* ld-elf/extract-symbol-1.ld,
* ld-elf/extract-symbol-1sec.d,
* ld-elf/extract-symbol-1sym.d: Delete.
* ld-scripts/script.exp (extract_symbol_test): New.
ld/testsuite/ChangeLog
ld/testsuite/config/default.exp
ld/testsuite/ld-elf/extract-symbol-1.ld [deleted file]
ld/testsuite/ld-elf/extract-symbol-1.s [deleted file]
ld/testsuite/ld-elf/extract-symbol-1sec.d [deleted file]
ld/testsuite/ld-elf/extract-symbol-1sym.d [deleted file]
ld/testsuite/ld-scripts/script.exp