pr25754-5b.s 538 B

1234567891011121314151617181920212223
  1. .text
  2. .p2align 4
  3. .globl get_bar
  4. .type get_bar, @function
  5. get_bar:
  6. .cfi_startproc
  7. call __x86.get_pc_thunk.ax
  8. addl $_GLOBAL_OFFSET_TABLE_, %eax
  9. movl bar@GOT(%eax), %eax
  10. ret
  11. .cfi_endproc
  12. .size get_bar, .-get_bar
  13. bar = 0xfffffff0
  14. .section .text.__x86.get_pc_thunk.ax,"axG",@progbits,__x86.get_pc_thunk.ax,comdat
  15. .globl __x86.get_pc_thunk.ax
  16. .hidden __x86.get_pc_thunk.ax
  17. .type __x86.get_pc_thunk.ax, @function
  18. __x86.get_pc_thunk.ax:
  19. .cfi_startproc
  20. movl (%esp), %eax
  21. ret
  22. .cfi_endproc
  23. .section .note.GNU-stack,"",@progbits