diff options
author | Chris Demetriou <cgd@google.com> | 2002-07-29 21:07:12 +0000 |
---|---|---|
committer | Chris Demetriou <cgd@google.com> | 2002-07-29 21:07:12 +0000 |
commit | 70a3140046a45ac1976a1bfe27ab0fdf5e4b0909 (patch) | |
tree | edbeaf504b485f2ad9770d9b9f112cabf80bbf46 /gas/testsuite | |
parent | d138e37abc7b2a32cefe129f76b912b9552d7529 (diff) | |
download | gdb-70a3140046a45ac1976a1bfe27ab0fdf5e4b0909.zip gdb-70a3140046a45ac1976a1bfe27ab0fdf5e4b0909.tar.gz gdb-70a3140046a45ac1976a1bfe27ab0fdf5e4b0909.tar.bz2 |
[ gas/testsuite/ChangeLog ]
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.
Diffstat (limited to 'gas/testsuite')
-rw-r--r-- | gas/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | gas/testsuite/gas/mips/elf_ase_mips16.d | 8 | ||||
-rw-r--r-- | gas/testsuite/gas/mips/elf_ase_mips16.s | 3 | ||||
-rw-r--r-- | gas/testsuite/gas/mips/mips.exp | 3 |
4 files changed, 20 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 9860719..76a4462 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -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 index 0000000..df746b9 --- /dev/null +++ b/gas/testsuite/gas/mips/elf_ase_mips16.d @@ -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 index 0000000..cf5b2e5 --- /dev/null +++ b/gas/testsuite/gas/mips/elf_ase_mips16.s @@ -0,0 +1,3 @@ +# Test of MIPS16 ASE file markings. + + # no actual contents necessary! diff --git a/gas/testsuite/gas/mips/mips.exp b/gas/testsuite/gas/mips/mips.exp index bf7cb46..1b02f71 100644 --- a/gas/testsuite/gas/mips/mips.exp +++ b/gas/testsuite/gas/mips/mips.exp @@ -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" |