mirror of
https://github.com/autc04/Retro68.git
synced 2024-09-07 13:54:33 +00:00
13 lines
277 B
ArmAsm
13 lines
277 B
ArmAsm
.global test, var
|
|
.text
|
|
test:
|
|
adrp x0, :tlsdesc:var
|
|
ldr x1, [x0, :tlsdesc_lo12:var]
|
|
add x0, x0, :tlsdesc_lo12:var
|
|
.tlsdesccall var
|
|
blr x1
|
|
|
|
.section .tbss,"awT",%nobits
|
|
var:
|
|
.zero 4
|