]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - ld/testsuite/ld-arm/ifunc-6.dd
Arm: Fix performance issue with thumb-2 tailcalls
[thirdparty/binutils-gdb.git] / ld / testsuite / ld-arm / ifunc-6.dd
CommitLineData
34e77a92
RS
1
2.*
3
4
5Disassembly of section \.iplt:
6
700009000 <\.iplt>:
8#------------------------------------------------------------------------------
9#------ thumb entry to f3's .iplt entry
10#------------------------------------------------------------------------------
11 9000: 4778 bx pc
b4e87f2c 12 9002: e7fd b.n .+ <.+>
34e77a92
RS
13#------------------------------------------------------------------------------
14#------ f3's .iplt entry
15#------------------------------------------------------------------------------
a415b1cd
JB
16 9004: e28fc600 add ip, pc, #0, 12
17 9008: e28cca08 add ip, ip, #8, 20 ; 0x8000
26d97720 18 900c: e5bcf000 ldr pc, \[ip, #0\]!
34e77a92
RS
19#------------------------------------------------------------------------------
20#------ f2's .iplt entry
21#------------------------------------------------------------------------------
a415b1cd 22 9010: e28fc600 add ip, pc, #0, 12
34e77a92
RS
23 9014: e28cca07 add ip, ip, #28672 ; 0x7000
24 9018: e5bcfff8 ldr pc, \[ip, #4088\]! ; 0xff8
25#------------------------------------------------------------------------------
26#------ thumb entry to f4's .iplt entry
27#------------------------------------------------------------------------------
28 901c: 4778 bx pc
b4e87f2c 29 901e: e7fd b.n .+ <.+>
34e77a92
RS
30#------------------------------------------------------------------------------
31#------ f4's .iplt entry
32#------------------------------------------------------------------------------
a415b1cd 33 9020: e28fc600 add ip, pc, #0, 12
34e77a92
RS
34 9024: e28cca07 add ip, ip, #28672 ; 0x7000
35 9028: e5bcffec ldr pc, \[ip, #4076\]! ; 0xfec
36#------------------------------------------------------------------------------
37#------ f1's .iplt entry
38#------------------------------------------------------------------------------
a415b1cd 39 902c: e28fc600 add ip, pc, #0, 12
34e77a92
RS
40 9030: e28cca07 add ip, ip, #28672 ; 0x7000
41 9034: e5bcffe4 ldr pc, \[ip, #4068\]! ; 0xfe4
42
43Disassembly of section \.text:
44
450000a000 <f1>:
46 a000: e1a0f00e mov pc, lr
47
480000a004 <f2>:
49 a004: 46f7 mov pc, lr
50 \.\.\.
51
520000a008 <f3>:
53 a008: e1a0f00e mov pc, lr
54
550000a00c <f4>:
56 a00c: 46f7 mov pc, lr
57 \.\.\.
58
590000a010 <_start>:
60 a010: eb0017fa bl 10000 <foo>
61 a014: ea0017f9 b 10000 <foo>
62 a018: 0a0017f8 beq 10000 <foo>
26d97720
NS
63 a01c: e59f4000 ldr r4, \[pc\] ; a024 <_start\+0x14>
64 a020: e59f4000 ldr r4, \[pc\] ; a028 <_start\+0x18>
34e77a92
RS
65#------------------------------------------------------------------------------
66#------ .got offset for foo
67#------------------------------------------------------------------------------
68 a024: 00000020 \.word 0x00000020
69#------------------------------------------------------------------------------
70#------ PC-relative offset of .got entry for foo
71#------------------------------------------------------------------------------
72 a028: 00006ff4 \.word 0x00006ff4
73#------------------------------------------------------------------------------
74#------ f1's .iplt entry
75#------------------------------------------------------------------------------
76 a02c: ebfffbfe bl 902c <__irel_end\+0x100c>
77#------------------------------------------------------------------------------
78#------ f1's .iplt entry
79#------------------------------------------------------------------------------
80 a030: eafffbfd b 902c <__irel_end\+0x100c>
81#------------------------------------------------------------------------------
82#------ f1's .iplt entry
83#------------------------------------------------------------------------------
84 a034: 0afffbfc beq 902c <__irel_end\+0x100c>
26d97720
NS
85 a038: e59f4000 ldr r4, \[pc\] ; a040 <_start\+0x30>
86 a03c: e59f4000 ldr r4, \[pc\] ; a044 <_start\+0x34>
34e77a92
RS
87#------------------------------------------------------------------------------
88#------ GP-relative offset of f1's .igot.plt entry
89#------------------------------------------------------------------------------
90 a040: 00000018 \.word 0x00000018
91#------------------------------------------------------------------------------
92#------ PC-relative offset of f1's .igot.plt entry
93#------------------------------------------------------------------------------
94 a044: 00006fd4 \.word 0x00006fd4
95#------------------------------------------------------------------------------
96#------ f2's .iplt entry
97#------------------------------------------------------------------------------
98 a048: ebfffbf0 bl 9010 <__irel_end\+0xff0>
99#------------------------------------------------------------------------------
100#------ f2's .iplt entry
101#------------------------------------------------------------------------------
102 a04c: eafffbef b 9010 <__irel_end\+0xff0>
103#------------------------------------------------------------------------------
104#------ f2's .iplt entry
105#------------------------------------------------------------------------------
106 a050: 0afffbee beq 9010 <__irel_end\+0xff0>
26d97720
NS
107 a054: e59f4000 ldr r4, \[pc\] ; a05c <_start\+0x4c>
108 a058: e59f4000 ldr r4, \[pc\] ; a060 <_start\+0x50>
34e77a92
RS
109#------------------------------------------------------------------------------
110#------ GP-relative offset of f2's .igot.plt entry
111#------------------------------------------------------------------------------
112 a05c: 00000010 \.word 0x00000010
113#------------------------------------------------------------------------------
114#------ PC-relative offset of f2's .igot.plt entry
115#------------------------------------------------------------------------------
116 a060: 00006fb0 \.word 0x00006fb0
117
1180000a064 <_thumb>:
119 a064: f005 ffcc bl 10000 <foo>
120 a068: f005 bfca b\.w 10000 <foo>
121 a06c: f005 87c8 beq\.w 10000 <foo>
122 a070: 4c00 ldr r4, \[pc, #0\] ; \(a074 <_thumb\+0x10>\)
123 a072: 4c01 ldr r4, \[pc, #4\] ; \(a078 <_thumb\+0x14>\)
124#------------------------------------------------------------------------------
125#------ .got offset for foo
126#------------------------------------------------------------------------------
127 a074: 00000020 \.word 0x00000020
128#------------------------------------------------------------------------------
129#------ PC-relative offset of .got entry for foo
130#------------------------------------------------------------------------------
131 a078: 00006fa4 \.word 0x00006fa4
132#------------------------------------------------------------------------------
133#------ f3's .iplt entry
134#------------------------------------------------------------------------------
135 a07c: f7fe efc2 blx 9004 <__irel_end\+0xfe4>
136#------------------------------------------------------------------------------
137#------ thumb entry to f3's .iplt entry
138#------------------------------------------------------------------------------
139 a080: f7fe bfbe b\.w 9000 <__irel_end\+0xfe0>
140#------------------------------------------------------------------------------
141#------ thumb entry to f3's .iplt entry
142#------------------------------------------------------------------------------
143 a084: f43e afbc beq\.w 9000 <__irel_end\+0xfe0>
144 a088: 4c00 ldr r4, \[pc, #0\] ; \(a08c <_thumb\+0x28>\)
145 a08a: 4c01 ldr r4, \[pc, #4\] ; \(a090 <_thumb\+0x2c>\)
146#------------------------------------------------------------------------------
147#------ GP-relative offset of f3's .igot.plt entry
148#------------------------------------------------------------------------------
149 a08c: 0000000c \.word 0x0000000c
150#------------------------------------------------------------------------------
151#------ PC-relative offset of f3's .igot.plt entry
152#------------------------------------------------------------------------------
153 a090: 00006f7c \.word 0x00006f7c
154#------------------------------------------------------------------------------
155#------ f4's .iplt entry
156#------------------------------------------------------------------------------
157 a094: f7fe efc4 blx 9020 <__irel_end\+0x1000>
158#------------------------------------------------------------------------------
159#------ thumb entry to f4's .iplt entry
160#------------------------------------------------------------------------------
161 a098: f7fe bfc0 b\.w 901c <__irel_end\+0xffc>
162#------------------------------------------------------------------------------
163#------ thumb entry to f4's .iplt entry
164#------------------------------------------------------------------------------
165 a09c: f43e afbe beq\.w 901c <__irel_end\+0xffc>
166 a0a0: 4c00 ldr r4, \[pc, #0\] ; \(a0a4 <_thumb\+0x40>\)
167 a0a2: 4c01 ldr r4, \[pc, #4\] ; \(a0a8 <_thumb\+0x44>\)
168#------------------------------------------------------------------------------
169#------ GP-relative offset of f4's .igot.plt entry
170#------------------------------------------------------------------------------
171 a0a4: 00000014 \.word 0x00000014
172#------------------------------------------------------------------------------
173#------ PC-relative offset of f4's .igot.plt entry
174#------------------------------------------------------------------------------
175 a0a8: 00006f6c \.word 0x00006f6c