Use is_xcoff_format in ld testsuite
authorAlan Modra <amodra@gmail.com>
Tue, 7 Jul 2020 03:11:55 +0000 (12:41 +0930)
committerAlan Modra <amodra@gmail.com>
Tue, 7 Jul 2020 08:56:34 +0000 (18:26 +0930)
commit7193487fa8d496a1df20eb8ea5007e9b43ac07cb
treea911c9eac439c0baf41e0636fa40ca16061255ed
parent34e7979860c303d0c16e21e5033246277826c3a6
Use is_xcoff_format in ld testsuite

* testsuite/ld-checks/checks.exp: Use is_xcoff_format.
* testsuite/ld-powerpc/powerpc.exp: Likewise.
* testsuite/ld-scripts/print-memory-usage.exp: Likewise.
* testsuite/ld-srec/srec.exp: Likewise.
* testsuite/ld-undefined/require-defined.exp: Likewise.
* testsuite/ld-scripts/expr2.d: Likewise.
* testsuite/ld-scripts/section-match-1.d: Only run for ELF.
* testsuite/ld-elfvers/vers.exp: Delete dead code.
* testsuite/ld-elfvsb/elfvsb.exp: Likewise.
* testsuite/ld-elfweak/elfweak.exp: Likewise.
ld/ChangeLog
ld/testsuite/ld-checks/checks.exp
ld/testsuite/ld-elfvers/vers.exp
ld/testsuite/ld-elfvsb/elfvsb.exp
ld/testsuite/ld-elfweak/elfweak.exp
ld/testsuite/ld-powerpc/powerpc.exp
ld/testsuite/ld-scripts/expr2.d
ld/testsuite/ld-scripts/print-memory-usage.exp
ld/testsuite/ld-scripts/section-match-1.d
ld/testsuite/ld-srec/srec.exp
ld/testsuite/ld-undefined/require-defined.exp