blob: 28ee0f68f85bbafa368d49a63ccabb5c3525db65 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
.section .tdata
var:
.word 2
.text
adrp x0, :tlsdesc:var
ldr x1, [x0, #:tlsdesc_lo12:var]
add x0, x0, :tlsdesc_lo12:var
.tlsdesccall var
blr x1
mrs x1, tpidr_el0
add x0, x1, x0
ldr w0, [x0]
|