3 #ld
: -melf64ppc
-shared --plt
-align=0 --hash
-style
=gnu
--no
-power10
-stubs
4 #objdump
: -dr
-Mpower10
8 Disassembly of section \
.text
:
11 .*: (f8
41 00 18|
18 00 41 f8
) std r2
,24\
(r1\
)
12 .*: (7d 88 02 a6|a6
02 88 7d) mflr r12
13 .*: (42 9f 00 05|
05 00 9f 42) bcl
.*
14 .*: (7d 68 02 a6|a6
02 68 7d) mflr r11
15 .*: (7d 88 03 a6|a6
03 88 7d) mtlr r12
16 .*: (3d 8b 00 01|
01 00 8b 3d) addis r12
,r11
,1
17 .*: (e9
8c
.. ..|
.. .. 8c e9
) ld r12
,.*\
(r12\
)
18 .*: (7d 89 03 a6|a6
03 89 7d) mtctr r12
19 .*: (4e
80 04 20|
20 04 80 4e
) bctr
22 .*: (7d 88 02 a6|a6
02 88 7d) mflr r12
23 .*: (42 9f 00 05|
05 00 9f 42) bcl
.*
24 .*: (7d 68 02 a6|a6
02 68 7d) mflr r11
25 .*: (7d 88 03 a6|a6
03 88 7d) mtlr r12
26 .*: (3d 8b 00 01|
01 00 8b 3d) addis r12
,r11
,1
27 .*: (e9
8c
.. ..|
.. .. 8c e9
) ld r12
,.*\
(r12\
)
28 .*: (7d 89 03 a6|a6
03 89 7d) mtctr r12
29 .*: (4e
80 04 20|
20 04 80 4e
) bctr
32 .*: (4b ff ff
81|
81 ff ff
4b) bl
.*\
.plt_call\
.f1
>
33 .*: (e8
41 00 18|
18 00 41 e8
) ld r2
,24\
(r1\
)
34 .*: (4b ff ff
7d|
7d ff ff
4b) bl
.*\
.plt_call\
.f1\
+0x4>
35 .*: (4b ff ff
99|
99 ff ff
4b) bl
.*\
.plt_call\
.f2
>
36 .*: (04 10 00 01|
01 00 10 04) pld r3
,.*
37 .*: (e4
60 .. ..|
.. .. 60 e4
)