* gas/mips/n32-consec.d: New.

* gas/mips/n32-consec.s: New.
* gas/mips/mips.exp (run_list_test_arches): Run it on irix6 and
mips64*-linux* systems.
This commit is contained in:
Alexandre Oliva
2003-01-27 23:01:55 +00:00
parent 93ac67b5ec
commit a4cb6c4d87
4 changed files with 30 additions and 0 deletions

View File

@ -1,3 +1,10 @@
2003-01-27 Alexandre Oliva <aoliva@redhat.com>
* gas/mips/n32-consec.d: New.
* gas/mips/n32-consec.s: New.
* gas/mips/mips.exp (run_list_test_arches): Run it on irix6 and
mips64*-linux* systems.
2003-01-23 Martin Schwidefsky <schwidefsky@de.ibm.com>
* gas/s390/reloc.s: Add test for PLT reloc against locally defined

View File

@ -376,6 +376,7 @@ if { [istarget mips*-*-*] } then {
set ilocks [istarget mipstx39*-*-*]
set gpr_ilocks [expr [istarget mipstx39*-*-*]]
set addr32 [expr [istarget mipstx39*-*-*]]
set hasn32 [expr [istarget *-*-irix6*] || [istarget mips64*-*-linux*]]
if { [istarget "mips*-*-*linux*"] } then {
set tmips "t"
@ -613,6 +614,10 @@ if { [istarget mips*-*-*] } then {
run_dump_test "elf-consthilo"
}
if $hasn32 {
run_dump_test "n32-consec"
}
# tests of objdump's ability to disassemble using different
# register names.
run_dump_test "gpr-names-numeric"

View File

@ -0,0 +1,14 @@
#as: -n32
#objdump: -Dr --prefix-addresses
#name: n32 consecutive unrelated relocations
.*: file format .*mips.*
Disassembly of section .text:
...
0: R_MIPS_32 .text
Disassembly of section .data:
...
0: R_MIPS_32 .data\+0x4
Disassembly of section .reginfo:
...

View File

@ -0,0 +1,4 @@
.text
.long .
.data
.long .+4