Projet_SETI_RISC-V/riscv-gnu-toolchain/gdb/ld/testsuite/ld-x86-64/align-branch-1.s
2023-03-06 14:48:14 +01:00

17 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