Projet_SETI_RISC-V/riscv-gnu-toolchain/gdb/ld/testsuite/ld-x86-64/align-branch-1.s

18 lines
258 B
ArmAsm
Raw Permalink Normal View History

2023-03-06 14:48:14 +01:00
.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