aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-mips-elf/jalx-2.dd
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-mips-elf/jalx-2.dd')
-rw-r--r--ld/testsuite/ld-mips-elf/jalx-2.dd58
1 files changed, 58 insertions, 0 deletions
diff --git a/ld/testsuite/ld-mips-elf/jalx-2.dd b/ld/testsuite/ld-mips-elf/jalx-2.dd
new file mode 100644
index 0000000..c08d954
--- /dev/null
+++ b/ld/testsuite/ld-mips-elf/jalx-2.dd
@@ -0,0 +1,58 @@
+.*: +file format .*mips.*
+
+Disassembly of section \.text:
+
+04400000 <external_function>:
+ 4400000: 27bdfff8 addiu sp,sp,-8
+ 4400004: afbe0004 sw s8,4\(sp\)
+ 4400008: 03a0f021 move s8,sp
+ 440000c: 03c0e821 move sp,s8
+ 4400010: 8fbe0004 lw s8,4\(sp\)
+ 4400014: 27bd0008 addiu sp,sp,8
+ 4400018: 03e00008 jr ra
+ 440001c: 00000000 nop
+
+04400020 <internal_function>:
+ 4400020: 4fb0 addiu sp,sp,-8
+ 4400022: cbc1 sw s8,4\(sp\)
+ 4400024: 0fdd move s8,sp
+ 4400026: 0fbe move sp,s8
+ 4400028: 4bc1 lw s8,4\(sp\)
+ 440002a: 4702 jraddiusp 8
+
+0440002c <main>:
+ 440002c: 4ff1 addiu sp,sp,-32
+ 440002e: cbe7 sw ra,28\(sp\)
+ 4400030: cbc6 sw s8,24\(sp\)
+ 4400032: 0fdd move s8,sp
+ 4400034: f89e 0020 sw a0,32\(s8\)
+ 4400038: f8be 0024 sw a1,36\(s8\)
+ 440003c: 41a2 0440 lui v0,0x440
+ 4400040: 3082 02a0 addiu a0,v0,672
+ 4400044: f110 0028 jalx 44000a0 <_PROCEDURE_LINKAGE_TABLE_\+0x20>
+ 4400048: 0000 0000 nop
+ 440004c: f620 0010 jal 4400020 <internal_function>
+ 4400050: 0000 0000 nop
+ 4400054: f110 0000 jalx 4400000 <external_function>
+ 4400058: 0000 0000 nop
+ 440005c: 0fbe move sp,s8
+ 440005e: 4be7 lw ra,28\(sp\)
+ 4400060: 4bc6 lw s8,24\(sp\)
+ 4400062: 4708 jraddiusp 32
+ \.\.\.
+
+Disassembly of section \.plt:
+
+04400080 <_PROCEDURE_LINKAGE_TABLE_>:
+ 4400080: 3c1c0440 lui gp,0x440
+ 4400084: 8f9900d8 lw t9,216\(gp\)
+ 4400088: 279c00d8 addiu gp,gp,216
+ 440008c: 031cc023 subu t8,t8,gp
+ 4400090: 03e07821 move t7,ra
+ 4400094: 0018c082 srl t8,t8,0x2
+ 4400098: 0320f809 jalr t9
+ 440009c: 2718fffe addiu t8,t8,-2
+ 44000a0: 3c0f0440 lui t7,0x440
+ 44000a4: 8df900e0 lw t9,224\(t7\)
+ 44000a8: 03200008 jr t9
+ 44000ac: 25f800e0 addiu t8,t7,224