crti.S 517 B

1234567891011121314151617181920212223242526272829303132
  1. .section .init
  2. .globl _init
  3. .type _init, @function
  4. _init:
  5. pushl %ebp
  6. movl %esp, %ebp
  7. pushl %ebx
  8. call __get_pc_thunk_bx
  9. addl $_GLOBAL_OFFSET_TABLE_, %ebx
  10. .section .fini
  11. .globl _fini
  12. .type _fini, @function
  13. _fini:
  14. pushl %ebp
  15. movl %esp, %ebp
  16. pushl %ebx
  17. call __get_pc_thunk_bx
  18. addl $_GLOBAL_OFFSET_TABLE_, %ebx
  19. .section .gnu.linkonce.t.__get_pc_thunk_bx,"ax",@progbits
  20. .globl __get_pc_thunk_bx
  21. .hidden __get_pc_thunk_bx
  22. .type __get_pc_thunk_bx, @function
  23. __get_pc_thunk_bx:
  24. movl (%esp), %ebx
  25. ret