pr22782.s 239 B

123456789101112131415
  1. .text
  2. .globl _start
  3. .type _start, @function
  4. _start:
  5. movq errno@gottpoff(%rip), %rax
  6. movl %fs:(%rax), %eax
  7. ret
  8. .globl errno
  9. .hidden errno
  10. .section .tbss,"awT",@nobits
  11. .align 4
  12. .type errno, @object
  13. .size errno, 4
  14. errno:
  15. .zero 4