1 // Test GOT relocations with DT_RELR.
6 adrp x0
, :got
:sym_local
7 ldr x0
, [x0
, :got_lo12
:sym_local
]
9 adrp x0
, :got
:sym_hidden
10 ldr x0
, [x0
, :got_lo12
:sym_hidden
]
12 adrp x0
, :got
:sym_global
13 ldr x0
, [x0
, :got_lo12
:sym_global
]
15 adrp x0
, :got
:sym_global
16 ldr x0
, [x0
, :got_lo12
:sym_global_abs
]
18 adrp x0
, :got
:sym_weak_undef
19 ldr x0
, [x0
, :got_lo12
:sym_weak_undef
]
21 adrp x0
, :got
:_DYNAMIC
22 ldr x0
, [x0
, :got_lo12
:_DYNAMIC
]
36 .global sym_global_abs
37 .set sym_global_abs, 42
39 .global sym_weak_undef