mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-11 19:49:32 +00:00
18 lines
258 B
ArmAsm
18 lines
258 B
ArmAsm
.text
|
|
.globl _start
|
|
_start:
|
|
testl %edx, %edx
|
|
je .L1
|
|
testq %rdi, %rdi
|
|
je .L1
|
|
leaq bar@tlsld(%rip), %rdi
|
|
call __tls_get_addr@PLT
|
|
movq bar@dtpoff(%rax), %rbx
|
|
testq %rbx, %rbx
|
|
je .L1
|
|
.L1:
|
|
ret
|
|
.section ".tdata", "awT", @progbits
|
|
bar:
|
|
.long 10
|