2001-02-17 Chris Demetriou <cgd@broadcom.com>
authorChris Demetriou <cgd@google.com>
Sun, 18 Feb 2001 01:52:11 +0000 (01:52 +0000)
committerChris Demetriou <cgd@google.com>
Sun, 18 Feb 2001 01:52:11 +0000 (01:52 +0000)
        * gas/mips/mips.exp: Don't attempt the elf_e_flags family of
        tests if not ELF; they test ELF-specific features.

gas/testsuite/ChangeLog
gas/testsuite/gas/mips/mips.exp

index ca4cf6bb2c42d0731423bc17fc52a07683989022..3f0d30587c0ca4f3ccaec06e631ad85de00e8524 100644 (file)
@@ -1,3 +1,8 @@
+2001-02-17  Chris Demetriou  <cgd@broadcom.com>
+
+       * 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  <Stephane.Carrez@worldnet.fr>
 
        * gas/mri/mri.exp: Don't execute the M68K specific tests 
index b5deb356b99441eba60296431ca240c36667ea4a..960208dce89185a3d6f06b7adb250a4626fdae80 100644 (file)
@@ -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"