aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-arm/ifunc-1.dd
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-arm/ifunc-1.dd')
-rw-r--r--ld/testsuite/ld-arm/ifunc-1.dd139
1 files changed, 139 insertions, 0 deletions
diff --git a/ld/testsuite/ld-arm/ifunc-1.dd b/ld/testsuite/ld-arm/ifunc-1.dd
new file mode 100644
index 0000000..de6d813
--- /dev/null
+++ b/ld/testsuite/ld-arm/ifunc-1.dd
@@ -0,0 +1,139 @@
+
+.*
+
+
+Disassembly of section \.iplt:
+
+00009000 <f3-0xc>:
+#------------------------------------------------------------------------------
+#------ f1's .iplt entry
+#------------------------------------------------------------------------------
+ 9000: e28fc600 add ip, pc, #0
+ 9004: e28cca08 add ip, ip, #32768 ; 0x8000
+ 9008: e5bcf004 ldr pc, \[ip, #4\]!
+
+0000900c <f3>:
+ 900c: e28fc600 add ip, pc, #0
+ 9010: e28cca07 add ip, ip, #28672 ; 0x7000
+ 9014: e5bcfffc ldr pc, \[ip, #4092\]! ; 0xffc
+
+00009018 <f2>:
+ 9018: e28fc600 add ip, pc, #0
+ 901c: e28cca07 add ip, ip, #28672 ; 0x7000
+ 9020: e5bcfff4 ldr pc, \[ip, #4084\]! ; 0xff4
+
+Disassembly of section \.text:
+
+0000a000 <f1>:
+ a000: e1a0f00e mov pc, lr
+ a004: e1a0f00e mov pc, lr
+ a008: e1a0f00e mov pc, lr
+
+0000a00c <_start>:
+ a00c: eb0017fb bl 10000 <foo>
+ a010: e59f400c ldr r4, \[pc, #12\] ; a024 <_start\+0x18>
+ a014: e59f400c ldr r4, \[pc, #12\] ; a028 <_start\+0x1c>
+ a018: e59f400c ldr r4, \[pc, #12\] ; a02c <_start\+0x20>
+ a01c: e59f400c ldr r4, \[pc, #12\] ; a030 <_start\+0x24>
+ a020: e59f500c ldr r5, \[pc, #12\] ; a034 <_start\+0x28>
+#------------------------------------------------------------------------------
+#------ foo
+#------------------------------------------------------------------------------
+ a024: 00010000 \.word 0x00010000
+#------------------------------------------------------------------------------
+#------ PC-relative offset of foo
+#------------------------------------------------------------------------------
+ a028: 00005fd8 \.word 0x00005fd8
+#------------------------------------------------------------------------------
+#------ GP-relative offset of foo
+#------------------------------------------------------------------------------
+ a02c: fffff000 \.word 0xfffff000
+#------------------------------------------------------------------------------
+#------ .got offset for foo
+#------------------------------------------------------------------------------
+ a030: 00000020 \.word 0x00000020
+#------------------------------------------------------------------------------
+#------ PC-relative offset of .got entry for foo
+#------------------------------------------------------------------------------
+ a034: 00006fe4 \.word 0x00006fe4
+#------------------------------------------------------------------------------
+#------ f1's .iplt entry
+#------------------------------------------------------------------------------
+ a038: ebfffbf0 bl 9000 <__irel_end\+0xfe8>
+ a03c: e59f400c ldr r4, \[pc, #12\] ; a050 <_start\+0x44>
+ a040: e59f400c ldr r4, \[pc, #12\] ; a054 <_start\+0x48>
+ a044: e59f400c ldr r4, \[pc, #12\] ; a058 <_start\+0x4c>
+ a048: e59f400c ldr r4, \[pc, #12\] ; a05c <_start\+0x50>
+ a04c: e59f500c ldr r5, \[pc, #12\] ; a060 <_start\+0x54>
+#------------------------------------------------------------------------------
+#------ f1's .iplt entry
+#------------------------------------------------------------------------------
+ a050: 00009000 \.word 0x00009000
+#------------------------------------------------------------------------------
+#------ PC-relative offset of f1's .iplt entry
+#------------------------------------------------------------------------------
+ a054: ffffefac \.word 0xffffefac
+#------------------------------------------------------------------------------
+#------ GP-relative offset of f1's .iplt entry
+#------------------------------------------------------------------------------
+ a058: ffff8000 \.word 0xffff8000
+#------------------------------------------------------------------------------
+#------ .got offset for f1's .iplt entry
+#------------------------------------------------------------------------------
+ a05c: 0000001c \.word 0x0000001c
+#------------------------------------------------------------------------------
+#------ PC-relative offset of .got entry for f1's .iplt entry
+#------------------------------------------------------------------------------
+ a060: 00006fbc \.word 0x00006fbc
+ a064: ebfffbeb bl 9018 <f2>
+ a068: e59f400c ldr r4, \[pc, #12\] ; a07c <_start\+0x70>
+ a06c: e59f400c ldr r4, \[pc, #12\] ; a080 <_start\+0x74>
+ a070: e59f400c ldr r4, \[pc, #12\] ; a084 <_start\+0x78>
+ a074: e59f400c ldr r4, \[pc, #12\] ; a088 <_start\+0x7c>
+ a078: e59f500c ldr r5, \[pc, #12\] ; a08c <_start\+0x80>
+#------------------------------------------------------------------------------
+#------ f2
+#------------------------------------------------------------------------------
+ a07c: 00009018 \.word 0x00009018
+#------------------------------------------------------------------------------
+#------ PC-relative offset of f2
+#------------------------------------------------------------------------------
+ a080: ffffef98 \.word 0xffffef98
+#------------------------------------------------------------------------------
+#------ GP-relative offset of f2
+#------------------------------------------------------------------------------
+ a084: ffff8018 \.word 0xffff8018
+#------------------------------------------------------------------------------
+#------ .got offset for f2
+#------------------------------------------------------------------------------
+ a088: 00000028 \.word 0x00000028
+#------------------------------------------------------------------------------
+#------ PC-relative offset of .got entry for f2
+#------------------------------------------------------------------------------
+ a08c: 00006f9c \.word 0x00006f9c
+ a090: ebfffbdd bl 900c <f3>
+ a094: e59f400c ldr r4, \[pc, #12\] ; a0a8 <_start\+0x9c>
+ a098: e59f400c ldr r4, \[pc, #12\] ; a0ac <_start\+0xa0>
+ a09c: e59f400c ldr r4, \[pc, #12\] ; a0b0 <_start\+0xa4>
+ a0a0: e59f400c ldr r4, \[pc, #12\] ; a0b4 <_start\+0xa8>
+ a0a4: e59f500c ldr r5, \[pc, #12\] ; a0b8 <_start\+0xac>
+#------------------------------------------------------------------------------
+#------ f3
+#------------------------------------------------------------------------------
+ a0a8: 0000900c \.word 0x0000900c
+#------------------------------------------------------------------------------
+#------ PC-relative offset of f3
+#------------------------------------------------------------------------------
+ a0ac: ffffef60 \.word 0xffffef60
+#------------------------------------------------------------------------------
+#------ GP-relative offset of f3
+#------------------------------------------------------------------------------
+ a0b0: ffff800c \.word 0xffff800c
+#------------------------------------------------------------------------------
+#------ .got offset for f3
+#------------------------------------------------------------------------------
+ a0b4: 00000024 \.word 0x00000024
+#------------------------------------------------------------------------------
+#------ PC-relative offset of .got entry for f3
+#------------------------------------------------------------------------------
+ a0b8: 00006f6c \.word 0x00006f6c