mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-27 04:52:05 +08: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
|