* gas/mips/elfel-rel3.s: Moved to ...
* gas/mips/elf-rel3.s: Here.
* gas/mips/elf-rel3.d: Updated.
* gas/mips/elfel-rel3.d: Updated.
* gas/mips/relax.d: New file.
* gas/mips/relax.s: Likewise.
* gas/mips/mips.exp: Run relax and set xfail.
+2001-06-08 H.J. Lu <hjl@gnu.org>
+
+ * gas/mips/elfel-rel3.s: Moved to ...
+ * gas/mips/elf-rel3.s: Here.
+
+ * gas/mips/elf-rel3.d: Updated.
+
+ * gas/mips/elfel-rel3.d: Updated.
+
+ * gas/mips/relax.d: New file.
+ * gas/mips/relax.s: Likewise.
+
+ * gas/mips/mips.exp: Run relax and set xfail.
+
2001-06-08 H.J. Lu <hjl@gnu.org>
* gas/mips/illegal.s: New file.
Contents of section .data:
- 0000 12121212 fffffffc 00000000 00000000 ................
+ 0000 12121212 00000004 00000000 00000000 ................
.type b,@object
.size b,8
b:
- .word b-4
+ .word b+4
.word x
#objdump: -sr -j .data
#name: MIPS ELF reloc 3
+#source: elf-rel3.s
.*: file format elf.*mips
+++ /dev/null
- .data
- .type x,@object
- .size x,4
-x:
- .word 0x12121212
- .globl b
- .type b,@object
- .size b,8
-b:
- .word b+4
- .word x
run_dump_test "mips32"
run_dump_test "mips64"
+ # It will always fail until someone fixes it.
+ setup_xfail "mips*-*-*"
+ run_dump_test "relax"
+
run_list_test "illegal" ""
if $svr4pic {
--- /dev/null
+#objdump: -dr --prefix-addresses -mmips:4000
+#name: MIPS relax
+
+# Test relaxation.
+
+.*: +file format .*mips.*
+
+Disassembly of section .text:
--- /dev/null
+# Source file used to test relaxation.
+
+ .text
+foo:
+ move $2, $3 # just something
+ .space 0x20000 # to make a 128kb loop body
+ beq $2, $3, foo