Use is_xcoff_format in binutils testsuite
authorAlan Modra <amodra@gmail.com>
Tue, 7 Jul 2020 02:00:12 +0000 (11:30 +0930)
committerAlan Modra <amodra@gmail.com>
Tue, 7 Jul 2020 08:56:33 +0000 (18:26 +0930)
commit5a2296ac1b3c26cab589bddfded07a560e434d03
tree1e4c22e5e8011bafa1df2e143e934559a151e4a7
parentefd0ed580ed9f84ae095b592e5ae686e62eb9a3e
Use is_xcoff_format in binutils testsuite

and restrict some other tests using is_*_format.

* testsuite/binutils-all/ar.exp: Use is_xcoff_format.
* testsuite/binutils-all/nm.exp: Likewise.
* testsuite/binutils-all/copy-2.d: Run only for elf and pe targets.
* testsuite/binutils-all/copy-3.d: Run only for elf targets.
* testsuite/binutils-all/set-section-alignment.d: Likewise.
* testsuite/binutils-all/copy-4.d: Don't run for xcoff.
binutils/ChangeLog
binutils/testsuite/binutils-all/ar.exp
binutils/testsuite/binutils-all/copy-2.d
binutils/testsuite/binutils-all/copy-3.d
binutils/testsuite/binutils-all/copy-4.d
binutils/testsuite/binutils-all/nm.exp
binutils/testsuite/binutils-all/set-section-alignment.d