binutils-gdb/ld/testsuite/ld-x86-64/pr22782.s

16 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