blob: 535b96ce4fbadf92073ff4e1b35f9d3d0f098a70 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
.global var
.text
test:
ldr x1, .Lgot
adr x2, .Lgot
add x1, x1, x2
movz x0, #:tlsgd_g1:var
add x0, x1, x0
bl __tls_get_addr
nop
.Lgot: .xword _GLOBAL_OFFSET_TABLE_ - .
|