mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-04 01:50:38 +00:00
10 lines
126 B
ArmAsm
10 lines
126 B
ArmAsm
|
.section .tdata
|
||
|
var:
|
||
|
.word 2
|
||
|
.text
|
||
|
adrp x0, :tlsgd:var
|
||
|
add x0, x0, :tlsgd_lo12:var
|
||
|
bl __tls_get_addr
|
||
|
nop
|
||
|
ldr w0, [x0]
|