2 #target
: [check_shared_lib_support
]
3 #ld
: -shared -T relocs
.ld
-e0
7 Disassembly of section
.text
:
9 0000000000010000 \
<test\
>:
10 +10000: 10080040 adr x0
, 20008 \
<var
>
11 +10004: 9400000a bl
1002c \
<.*>
14 Disassembly of section
.plt
:
16 000000000001000c \
<.plt\
>:
17 +1000c
: a9bf7bf0 stp x16
, x30
, \
[sp
, #
-16\
]!
18 +10010: 90000090 adrp x16
, 20000 \
<_GLOBAL_OFFSET_TABLE_\
>
19 +10014: f9401611 ldr x17
, \
[x16
, #
40\
]
20 +10018: 9100a210
add x16
, x16
, #
0x28
21 +1001c
: d61f0220 br x17
25 +1002c
: 90000090 adrp x16
, 20000 \
<_GLOBAL_OFFSET_TABLE_\
>
26 +10030: f9401a11 ldr x17
, \
[x16
, #
48\
]
27 +10034: 9100c210
add x16
, x16
, #
0x30
28 +10038: d61f0220 br x17