[ gas/testsuite/ChangeLog ]
2002-12-30 Chris Demetriou <cgd@broadcom.com> * gas/mips/elf_arch_mips1.d: New test. * gas/mips/elf_arch_mips2.d: New test. * gas/mips/elf_arch_mips3.d: New test. * gas/mips/elf_arch_mips4.d: New test. * gas/mips/elf_arch_mips5.d: New test. * gas/mips/elf_arch_mips32.d: New test. * gas/mips/elf_arch_mips32r2.d: New test. * gas/mips/elf_arch_mips64.d: New test. * gas/mips/empty.s: New test source file. * gas/mips/mips.exp: Run new tests. * gas/mips/elf_ase_mips16.d: Change to use empty.s * gas/mips/elf_ase_mips16.s: Remove.
This commit is contained in:
parent
4630c8033a
commit
b337e146e5
|
@ -1,3 +1,19 @@
|
||||||
|
2002-12-30 Chris Demetriou <cgd@broadcom.com>
|
||||||
|
|
||||||
|
* gas/mips/elf_arch_mips1.d: New test.
|
||||||
|
* gas/mips/elf_arch_mips2.d: New test.
|
||||||
|
* gas/mips/elf_arch_mips3.d: New test.
|
||||||
|
* gas/mips/elf_arch_mips4.d: New test.
|
||||||
|
* gas/mips/elf_arch_mips5.d: New test.
|
||||||
|
* gas/mips/elf_arch_mips32.d: New test.
|
||||||
|
* gas/mips/elf_arch_mips32r2.d: New test.
|
||||||
|
* gas/mips/elf_arch_mips64.d: New test.
|
||||||
|
* gas/mips/empty.s: New test source file.
|
||||||
|
* gas/mips/mips.exp: Run new tests.
|
||||||
|
|
||||||
|
* gas/mips/elf_ase_mips16.d: Change to use empty.s
|
||||||
|
* gas/mips/elf_ase_mips16.s: Remove.
|
||||||
|
|
||||||
2002-12-30 Chris Demetriou <cgd@broadcom.com>
|
2002-12-30 Chris Demetriou <cgd@broadcom.com>
|
||||||
|
|
||||||
* gas/mips/cp0-names-mips32r2.d: New test.
|
* gas/mips/cp0-names-mips32r2.d: New test.
|
||||||
|
|
|
@ -0,0 +1,10 @@
|
||||||
|
# name: ELF MIPS1 markings
|
||||||
|
# source: empty.s
|
||||||
|
# objdump: -p
|
||||||
|
# as: -march=mips1
|
||||||
|
|
||||||
|
.*:.*file format.*elf.*mips.*
|
||||||
|
# Note: objdump omits leading zeros, so must check for the fact that
|
||||||
|
# flags are _not_ 8 chars long.
|
||||||
|
private flags = (.......|......|.....|....|...|..|.): .*\[mips1\].*
|
||||||
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
# name: ELF MIPS2 markings
|
||||||
|
# source: empty.s
|
||||||
|
# objdump: -p
|
||||||
|
# as: -march=mips2
|
||||||
|
|
||||||
|
.*:.*file format.*elf.*mips.*
|
||||||
|
private flags = 1.......: .*\[mips2\].*
|
||||||
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
# name: ELF MIPS3 markings
|
||||||
|
# source: empty.s
|
||||||
|
# objdump: -p
|
||||||
|
# as: -march=mips3
|
||||||
|
|
||||||
|
.*:.*file format.*elf.*mips.*
|
||||||
|
private flags = 2.......: .*\[mips3\].*
|
||||||
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
# name: ELF MIPS32 markings
|
||||||
|
# source: empty.s
|
||||||
|
# objdump: -p
|
||||||
|
# as: -march=mips32
|
||||||
|
|
||||||
|
.*:.*file format.*elf.*mips.*
|
||||||
|
private flags = 5.......: .*\[mips32\].*
|
||||||
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
# name: ELF MIPS32r2 markings
|
||||||
|
# source: empty.s
|
||||||
|
# objdump: -p
|
||||||
|
# as: -march=mips32r2
|
||||||
|
|
||||||
|
.*:.*file format.*elf.*mips.*
|
||||||
|
private flags = 7.......: .*\[mips32r2\].*
|
||||||
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
# name: ELF MIPS4 markings
|
||||||
|
# source: empty.s
|
||||||
|
# objdump: -p
|
||||||
|
# as: -march=mips4
|
||||||
|
|
||||||
|
.*:.*file format.*elf.*mips.*
|
||||||
|
private flags = 3.......: .*\[mips4\].*
|
||||||
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
# name: ELF MIPS5 markings
|
||||||
|
# source: empty.s
|
||||||
|
# objdump: -p
|
||||||
|
# as: -march=mips5
|
||||||
|
|
||||||
|
.*:.*file format.*elf.*mips.*
|
||||||
|
private flags = 4.......: .*\[mips5\].*
|
||||||
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
# name: ELF MIPS64 markings
|
||||||
|
# source: empty.s
|
||||||
|
# objdump: -p
|
||||||
|
# as: -march=mips64
|
||||||
|
|
||||||
|
.*:.*file format.*elf.*mips.*
|
||||||
|
private flags = 6.......: .*\[mips64\].*
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# name: ELF MIPS16 ASE markings
|
# name: ELF MIPS16 ASE markings
|
||||||
# source: elf_ase_mips16.s
|
# source: empty.s
|
||||||
# objdump: -p
|
# objdump: -p
|
||||||
# as: -mips16
|
# as: -mips16
|
||||||
|
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
# Test of MIPS16 ASE file markings.
|
|
||||||
|
|
||||||
# no actual contents necessary!
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
# An empty source file for tests that need no instructions.
|
||||||
|
|
||||||
|
# No actual contents necessary!
|
|
@ -563,6 +563,16 @@ if { [istarget mips*-*-*] } then {
|
||||||
run_dump_test "elf_e_flags3"
|
run_dump_test "elf_e_flags3"
|
||||||
run_dump_test "elf_e_flags4"
|
run_dump_test "elf_e_flags4"
|
||||||
|
|
||||||
|
# Check EF_MIPS_ARCH markings for each supported architecture.
|
||||||
|
run_dump_test "elf_arch_mips1"
|
||||||
|
run_dump_test "elf_arch_mips2"
|
||||||
|
run_dump_test "elf_arch_mips3"
|
||||||
|
run_dump_test "elf_arch_mips4"
|
||||||
|
run_dump_test "elf_arch_mips5"
|
||||||
|
run_dump_test "elf_arch_mips32"
|
||||||
|
run_dump_test "elf_arch_mips32r2"
|
||||||
|
run_dump_test "elf_arch_mips64"
|
||||||
|
|
||||||
# Verify that ASE markings are handled properly.
|
# Verify that ASE markings are handled properly.
|
||||||
if { !$no_mips16 } { run_dump_test "elf_ase_mips16" }
|
if { !$no_mips16 } { run_dump_test "elf_ase_mips16" }
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue