+2001-08-04 H.J. Lu <hjl@gnu.org>
+ Chris G. Demetriou <cgd@broadcom.com>
+
+ * gas/mips/e32-rel4.s: Removed.
+
+ * gas/mips/e32-rel4.d: Use elf-rel4.s.
+
+ * gas/mips/mips.exp: Use the same rel4 test for litte endian.
+
+ * gas/mips/mips-abi32-pic.d: Add lines for objdump.
+ * gas/mips/mips-abi32.d: Likewise.
+ * gas/mips/mips-gp32-fp32-pic.d: Likewise.
+ * gas/mips/mips-gp32-fp32.d: Likewise.
+ * gas/mips/mips-gp32-fp64-pic.d: Likewise.
+ * gas/mips/mips-gp32-fp64.d: Likewise.
+ * gas/mips/mips-gp64-fp32-pic.d: Likewise.
+ * gas/mips/mips-gp64-fp32.d: Likewise.
+ * gas/mips/mips-gp64-fp64-pic.d: Likewise.
+ * gas/mips/mips-gp64-fp64.d: Likewise.
+
+ * gas/mips/mips-abi32-pic.s: Add space for objdump.
+ * gas/mips/mips-abi32.s: Likewise.
+ * gas/mips/mips-gp32-fp32-pic.s: Likewise.
+ * gas/mips/mips-gp32-fp32.s: Likewise.
+ * gas/mips/mips-gp32-fp64-pic.s: Likewise.
+ * gas/mips/mips-gp32-fp64.s: Likewise.
+ * gas/mips/mips-gp64-fp32-pic.s: Likewise.
+ * gas/mips/mips-gp64-fp32.s: Likewise.
+ * gas/mips/mips-gp64-fp64-pic.s: Likewise.
+ * gas/mips/mips-gp64-fp64.s: Likewise.
+
+ * gas/mips/mips-abi32-pic.s: Add the missing .end.
+ * gas/mips/mips-gp32-fp32-pic.s: Likewise.
+ * gas/mips/mips-gp32-fp64-pic.s: Likewise.
+ * gas/mips/mips-gp64-fp32-pic.s: Likewise.
+ * gas/mips/mips-gp64-fp64-pic.s: Likewise.
+
2001-08-03 Richard Sandiford <rsandifo@redhat.com>
* gas/mips/elf-rel4.s, gas/mips/elf-rel4.d: New test.
#objdump: --prefix-addresses -dr
#name: MIPS ELF reloc 4
+#source: elf-rel4.s
.*: +file format.*
+++ /dev/null
-
- .section .sdata
- .global a
- .4byte 1
-a: .4byte 2
-
- .section .text
- la $4,a
- la $4,a+4
- la $4,a+8
- la $4,a+12
-
198: 24a40064 addiu a0,a1,100
19c: 0004202b sltu a0,zero,a0
1a0: 00a02025 move a0,a1
+
+0+01a4 <[^>]*>:
+ ...
# Should produce warnings given -mfp32
# add.d $f1, $f2, $f3
+ .end func
+
end:
+
+# Force at least 8 (non-delay-slot) zero bytes, to make 'objdump' print ...
+ .space 8
fc: 24a40064 addiu a0,a1,100
100: 0004202b sltu a0,zero,a0
104: 00a02025 move a0,a1
+
+0+0108 <[^>]*>:
+ ...
# add.d $f1, $f2, $f3
end:
+
+# Force at least 8 (non-delay-slot) zero bytes, to make 'objdump' print ...
+ .space 8
198: 24a40064 addiu a0,a1,100
19c: 0004202b sltu a0,zero,a0
1a0: 00a02025 move a0,a1
+
+0+01a4 <[^>]*>:
+ ...
# Should produce warnings given -mfp32
# add.d $f1, $f2, $f3
+ .end func
+
end:
+
+# Force at least 8 (non-delay-slot) zero bytes, to make 'objdump' print ...
+ .space 8
fc: 24a40064 addiu a0,a1,100
100: 0004202b sltu a0,zero,a0
104: 00a02025 move a0,a1
+
+0+0108 <[^>]*>:
+ ...
# add.d $f1, $f2, $f3
end:
+
+# Force at least 8 (non-delay-slot) zero bytes, to make 'objdump' print ...
+ .space 8
198: 0004202b sltu a0,zero,a0
19c: 00a02025 move a0,a1
1a0: 46231040 add.d \$f1,\$f2,\$f3
+
+0+01a4 <[^>]*>:
+ ...
# Should produce warnings given -mfp32
add.d $f1, $f2, $f3 # 01a0 add.d $f1,$f2,$f3
+ .end func
end:
+
+# Force at least 8 (non-delay-slot) zero bytes, to make 'objdump' print ...
+ .space 8
f8: 0004202b sltu a0,zero,a0
fc: 00a02025 move a0,a1
100: 46231040 add.d \$f1,\$f2,\$f3
+
+0+0104 <[^>]*>:
+ ...
add.d $f1, $f2, $f3 # 0100 add.d $f1,$f2,$f3
end:
+
+# Force at least 8 (non-delay-slot) zero bytes, to make 'objdump' print ...
+ .space 8
21c: 0081082b sltu at,a0,at
220: 14200001 bnez at,228 <[^>]*>
224: 00000000 nop
+
+0+0228 <[^>]*>:
+ ...
# Should produce warnings given -mfp32
# add.d $f1, $f2, $f3
+ .end func
end:
+
+# Force at least 8 (non-delay-slot) zero bytes, to make 'objdump' print ...
+ .space 8
148: 00010c78 dsll at,at,0x11
14c: 0081082b sltu at,a0,at
150: 14200000 bnez at,154 <[^>]*>
+
+0+0154 <[^>]*>:
+ ...
# add.d $f1, $f2, $f3
end:
+
+# Force at least 8 (non-delay-slot) zero bytes, to make 'objdump' print ...
+ .space 8
220: 14200002 bnez at,22c <[^>]*>
224: 00000000 nop
228: 46231040 add.d \$f1,\$f2,\$f3
+
+0+022c <[^>]*>:
+ ...
add.d $f1, $f2, $f3 # 0228 add.d $f1,$f2,$f3
+ .end func
end:
+
+# Force at least 8 (non-delay-slot) zero bytes, to make 'objdump' print ...
+ .space 8
14c: 0081082b sltu at,a0,at
150: 14200001 bnez at,158 <[^>]*>
154: 46231040 add.d \$f1,\$f2,\$f3
+
+0+0158 <[^>]*>:
+ ...
add.d $f1, $f2, $f3 # 0154 add.d $f1,$f2,$f3
end:
+
+# Force at least 8 (non-delay-slot) zero bytes, to make 'objdump' print ...
+ .space 8
run_dump_test "elf${el}-rel"
if [istarget mips64*-*-*] {
run_dump_test "elf${el}-rel2"
- run_dump_test "elf${el}-rel4"
+ run_dump_test "elf-rel4"
} {
run_dump_test "e32${el}-rel2"
- run_dump_test "e32${el}-rel4"
+ run_dump_test "e32-rel4"
}
run_dump_test "elf${el}-rel3"
run_dump_test "${tmips}${el}empic"