mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-15 04:31:49 +08:00
11 lines
155 B
ArmAsm
11 lines
155 B
ArmAsm
|
.global var
|
||
|
.section .tdata,"awT",%progbits
|
||
|
var:
|
||
|
.word 2
|
||
|
.text
|
||
|
adrp x0, :tlsgd:var
|
||
|
add x0, x0, :tlsgd_lo12:var
|
||
|
bl __tls_get_addr
|
||
|
nop
|
||
|
ldr w0, [x0]
|