[ gas/testsuite/ChangeLog ]
authorChris Demetriou <cgd@google.com>
Mon, 29 Jul 2002 21:07:12 +0000 (21:07 +0000)
committerChris Demetriou <cgd@google.com>
Mon, 29 Jul 2002 21:07:12 +0000 (21:07 +0000)
2002-07-26  Chris Demetriou  <cgd@broadcom.com>

        * gas/mips/elf_ase_mips16.d: New file to test ELF MIPS16 ASE marking.
        * gas/mips/elf_ase_mips16.s: Likewise.
        * gas/mips/mips.exp: Run the new test.

[ ld/testsuite/ChangeLog ]
2002-07-26  Chris Demetriou  <cgd@broadcom.com>

        * ld-mips-elf/mips16-1.d: Check that ASE flag is actually set.

gas/testsuite/ChangeLog
gas/testsuite/gas/mips/elf_ase_mips16.d [new file with mode: 0644]
gas/testsuite/gas/mips/elf_ase_mips16.s [new file with mode: 0644]
gas/testsuite/gas/mips/mips.exp
ld/testsuite/ChangeLog
ld/testsuite/ld-mips-elf/mips16-1.d

index 9860719..76a4462 100644 (file)
@@ -1,3 +1,9 @@
+2002-07-29  Chris Demetriou  <cgd@broadcom.com>
+
+       * gas/mips/elf_ase_mips16.d: New file to test ELF MIPS16 ASE marking.
+       * gas/mips/elf_ase_mips16.s: Likewise.
+       * gas/mips/mips.exp: Run the new test.
+
 2002-07-26  Alan Modra  <amodra@bigpond.net.au>
 
        * gas/ppc/altivec.d: Invoke "as" with "-a32".
diff --git a/gas/testsuite/gas/mips/elf_ase_mips16.d b/gas/testsuite/gas/mips/elf_ase_mips16.d
new file mode 100644 (file)
index 0000000..df746b9
--- /dev/null
@@ -0,0 +1,8 @@
+# name: ELF MIPS16 ASE markings
+# source: elf_ase_mips16.s
+# objdump: -p
+# as: -mips16
+
+.*:.*file format.*mips.*
+private flags = [0-9a-f]*[4-7c-f]......: .*[[,]mips16[],].*
+
diff --git a/gas/testsuite/gas/mips/elf_ase_mips16.s b/gas/testsuite/gas/mips/elf_ase_mips16.s
new file mode 100644 (file)
index 0000000..cf5b2e5
--- /dev/null
@@ -0,0 +1,3 @@
+# Test of MIPS16 ASE file markings.
+
+       # no actual contents necessary!
index bf7cb46..1b02f71 100644 (file)
@@ -180,6 +180,9 @@ if { [istarget mips*-*-*] } then {
        run_dump_test "elf_e_flags3"
        run_dump_test "elf_e_flags4"
 
+       # Verify that ASE markings are handled properly.
+       if { !$no_mips16 } { run_dump_test "elf_ase_mips16" }
+
        run_dump_test "mips-gp32-fp32-pic"
        run_dump_test "mips-gp32-fp64-pic"
        run_dump_test "mips-gp64-fp32-pic"
index 28d551e..ca4509a 100644 (file)
@@ -1,3 +1,7 @@
+2002-07-29  Chris Demetriou  <cgd@broadcom.com>
+
+       * ld-mips-elf/mips16-1.d: Check that ASE flag is actually set.
+
 2002-07-26  Richard Sandiford  <rsandifo@redhat.com>
 
        * ld-mips-elf/mips16-1.d,
index 2b99668..77d1316 100644 (file)
@@ -1,5 +1,9 @@
 #source: mips16-1a.s -no-mips16
 #source: mips16-1b.s -mips16
 #ld: -r
-#objdump: -d
+#objdump: -pd
+
+.*:.*file format.*mips.*
+private flags = [0-9a-f]*[4-7c-f]......: .*[[,]mips16[],].*
+
 #pass