[ 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 98607194bc37fb336d49a7f838f9294ed267a3cf..76a4462a10462ead3209439a2cc7bcf2301d7960 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 bf7cb46874223c50737b828ad672ed05db5274d4..1b02f7123b83cd8673b3f1d08d8f787964324062 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 28d551e9d886cc7a37031c9187b259e53c21f13f..ca4509aa152a84c2a395882d6a5d13321c1d2feb 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 2b99668f4a31f096d16859f33a23f1f8f8cc3f7f..77d1316cb1e97c02baeb377f4e95bce9d0305122 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