Remove run_dump_test support for objcopy as a dump program
authorAlan Modra <amodra@gmail.com>
Thu, 13 Sep 2018 05:13:34 +0000 (14:43 +0930)
committerAlan Modra <amodra@gmail.com>
Sat, 15 Sep 2018 06:54:18 +0000 (16:24 +0930)
commit04ade4bc669b28b3994197d154cb392515c758d4
tree90ab815a6febcd4e30c1c338cefe9258a5efbd80
parenta3a6aef4090ca13d065d116f5d77f4e3f7bcbf9a
Remove run_dump_test support for objcopy as a dump program

We have three copies of run_dump_test in the testsuite.  This is a first
step towards consolidating them.

A few tests use objcopy to convert to verilog or srec output, then
check that output is as expected.  Those tests can just as easily use
objdump, keeping the set of dump programs (addr2line, nm, objdump,
readelf, size) separate from utilities under test.  That in turn makes
auto-detecting the dump program possible in more places.

binutils/
* testsuite/binutils-all/group-7a.d,
* testsuite/binutils-all/group-7b.d,
* testsuite/binutils-all/group-7c.d,
* testsuite/binutils-all/symbols-1.d,
* testsuite/binutils-all/symbols-2.d,
* testsuite/binutils-all/symbols-3.d,
* testsuite/binutils-all/symbols-4.d: Remove DUMPPROG.
gas/
* testsuite/gas/mri/char.d: Don't objcopy to srec, objdump instead.
* testsuite/gas/mri/float.d: Likewise.
* testsuite/lib/gas-defs.exp (run_dump_test): Remove support
for objcopy as a dump tool.
ld/
* testsuite/ld-elf/interleave-0.d,
* testsuite/ld-elf/interleave-4.d: Don't objcopy to srec,
objdump instead.
* testsuite/ld-gc/all-debug-sections.d,
* testsuite/ld-scripts/provide-4.d,
* testsuite/ld-scripts/provide-5.d,
* testsuite/ld-scripts/provide-6.d,
* testsuite/ld-scripts/provide-7.d,
* testsuite/ld-scripts/provide-8.d,
* testsuite/ld-scripts/segment-start.d: Remove PROG, specify
nm instead.
* testsuite/lib/ld-lib.exp (run_dump_test): Remove support
for objcopy as a dump tool.
23 files changed:
binutils/ChangeLog
binutils/testsuite/binutils-all/group-7a.d
binutils/testsuite/binutils-all/group-7b.d
binutils/testsuite/binutils-all/group-7c.d
binutils/testsuite/binutils-all/symbols-1.d
binutils/testsuite/binutils-all/symbols-2.d
binutils/testsuite/binutils-all/symbols-3.d
binutils/testsuite/binutils-all/symbols-4.d
gas/ChangeLog
gas/testsuite/gas/mri/char.d
gas/testsuite/gas/mri/float.d
gas/testsuite/lib/gas-defs.exp
ld/ChangeLog
ld/testsuite/ld-elf/interleave-0.d
ld/testsuite/ld-elf/interleave-4.d
ld/testsuite/ld-gc/all-debug-sections.d
ld/testsuite/ld-scripts/provide-4.d
ld/testsuite/ld-scripts/provide-5.d
ld/testsuite/ld-scripts/provide-6.d
ld/testsuite/ld-scripts/provide-7.d
ld/testsuite/ld-scripts/provide-8.d
ld/testsuite/ld-scripts/segment-start.d
ld/testsuite/lib/ld-lib.exp
This page took 0.029409 seconds and 4 git commands to generate.