From: Chris Demetriou Date: Sun, 18 Feb 2001 01:52:11 +0000 (+0000) Subject: 2001-02-17 Chris Demetriou X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2cd5676f03c7c7647a19dcf2a0405bec997976ad;p=binutils-gdb.git 2001-02-17 Chris Demetriou * gas/mips/mips.exp: Don't attempt the elf_e_flags family of tests if not ELF; they test ELF-specific features. --- diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index ca4cf6bb2c4..3f0d30587c0 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2001-02-17 Chris Demetriou + + * gas/mips/mips.exp: Don't attempt the elf_e_flags family of + tests if not ELF; they test ELF-specific features. + 2001-02-08 Stephane Carrez * gas/mri/mri.exp: Don't execute the M68K specific tests diff --git a/gas/testsuite/gas/mips/mips.exp b/gas/testsuite/gas/mips/mips.exp index b5deb356b99..960208dce89 100644 --- a/gas/testsuite/gas/mips/mips.exp +++ b/gas/testsuite/gas/mips/mips.exp @@ -91,18 +91,18 @@ if [istarget mips*-*-*] then { run_dump_test "mips32" run_dump_test "mips64" - # Make sure that -mcpu=FOO and -mFOO are equivalent. Assemble a file - # containing 4650-specific instructions with -m4650 and -mcpu=4650, - # and verify that they're the same. Specifically, we're checking - # that the EF_MIPS_MACH field is set, and that the 4650 'mul' - # instruction does get used. In previous versions of GAS, - # only -mcpu=4650 would set the EF_MIPS_MACH field; -m4650 wouldn't. - run_dump_test "elf_e_flags1" - run_dump_test "elf_e_flags2" - run_dump_test "elf_e_flags3" - run_dump_test "elf_e_flags4" - if $svr4pic { + # Make sure that -mcpu=FOO and -mFOO are equivalent. Assemble a file + # containing 4650-specific instructions with -m4650 and -mcpu=4650, + # and verify that they're the same. Specifically, we're checking + # that the EF_MIPS_MACH field is set, and that the 4650 'mul' + # instruction does get used. In previous versions of GAS, + # only -mcpu=4650 would set the EF_MIPS_MACH field; -m4650 wouldn't. + run_dump_test "elf_e_flags1" + run_dump_test "elf_e_flags2" + run_dump_test "elf_e_flags3" + run_dump_test "elf_e_flags4" + run_dump_test "elf-rel" if [istarget mips64*-*-*] { run_dump_test "elf-rel2"