]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - ld/testsuite/ld-powerpc/callstub-4.d
Power10 stub selection
[thirdparty/binutils-gdb.git] / ld / testsuite / ld-powerpc / callstub-4.d
1 #source: callstub-1.s
2 #as: -a64 -mpower10
3 #ld: -melf64ppc -shared --plt-align=0 --hash-style=gnu
4 #objdump: -dr -Mpower10
5
6 .*
7
8 Disassembly of section \.text:
9
10 .*\.plt_call\.f1>:
11 .*: (04 10 00 01|01 00 10 04) pld r12,.*
12 .*: (e5 80 .. ..|.. .. 80 e5)
13 .*: (7d 89 03 a6|a6 03 89 7d) mtctr r12
14 .*: (4e 80 04 20|20 04 80 4e) bctr
15 .*: (f8 41 00 18|18 00 41 f8) std r2,24\(r1\)
16 .*: (e9 82 80 28|28 80 82 e9) ld r12,-32728\(r2\)
17 .*: (7d 89 03 a6|a6 03 89 7d) mtctr r12
18 .*: (4e 80 04 20|20 04 80 4e) bctr
19
20 .*\.plt_call\.f2>:
21 .*: (04 10 00 01|01 00 10 04) pld r12,.*
22 .*: (e5 80 .. ..|.. .. 80 e5)
23 .*: (7d 89 03 a6|a6 03 89 7d) mtctr r12
24 .*: (4e 80 04 20|20 04 80 4e) bctr
25 #...
26
27 .*<_start>:
28 .*: (4b ff .. ..|.. .. ff 4b) bl .*\.plt_call\.f1\+0x10>
29 .*: (e8 41 00 18|18 00 41 e8) ld r2,24\(r1\)
30 .*: (4b ff .. ..|.. .. ff 4b) bl .*\.plt_call\.f1>
31 .*: (4b ff .. ..|.. .. ff 4b) bl .*\.plt_call\.f2>
32 #pass