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

15 lines
239 B
ArmAsm

.text
.globl _start
.type _start, @function
_start:
movq errno@gottpoff(%rip), %rax
movl %fs:(%rax), %eax
ret
.globl errno
.hidden errno
.section .tbss,"awT",@nobits
.align 4
.type errno, @object
.size errno, 4
errno:
.zero 4