aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-mips-elf/jal-global-overflow-0.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-mips-elf/jal-global-overflow-0.d')
-rw-r--r--ld/testsuite/ld-mips-elf/jal-global-overflow-0.d20
1 files changed, 20 insertions, 0 deletions
diff --git a/ld/testsuite/ld-mips-elf/jal-global-overflow-0.d b/ld/testsuite/ld-mips-elf/jal-global-overflow-0.d
new file mode 100644
index 0000000..f02bfea
--- /dev/null
+++ b/ld/testsuite/ld-mips-elf/jal-global-overflow-0.d
@@ -0,0 +1,20 @@
+#name: MIPS JAL to global symbol overflow 0
+#source: jal-global-overflow.s
+#as: -EB -32
+#ld: -EB -Ttext 0x20000000 -e 0x20000000
+#objdump: -dr --prefix-addresses --show-raw-insn
+
+.*: +file format .*mips.*
+
+Disassembly of section \.text:
+ \.\.\.
+[0-9a-f]+ <[^>]*> 0c001000 jal 20004000 <bar>
+[0-9a-f]+ <[^>]*> 00000027 nor zero,zero,zero
+[0-9a-f]+ <[^>]*> 0c000800 jal 20002000 <foo>
+[0-9a-f]+ <[^>]*> 00000027 nor zero,zero,zero
+ \.\.\.
+[0-9a-f]+ <[^>]*> 0c000800 jal 20002000 <foo>
+[0-9a-f]+ <[^>]*> 00000027 nor zero,zero,zero
+[0-9a-f]+ <[^>]*> 0c001000 jal 20004000 <bar>
+[0-9a-f]+ <[^>]*> 00000027 nor zero,zero,zero
+ \.\.\.