yuezonghe | 824eb0c | 2024-06-27 02:32:26 -0700 | [diff] [blame^] | 1 | .section .init |
| 2 | .global _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 | |
| 11 | |
| 12 | |
| 13 | .section .fini |
| 14 | .global _fini |
| 15 | .type _fini,%function |
| 16 | _fini: |
| 17 | pushl %ebp |
| 18 | movl %esp, %ebp |
| 19 | pushl %ebx |
| 20 | call __get_pc_thunk_bx |
| 21 | addl $_GLOBAL_OFFSET_TABLE_, %ebx |
| 22 | |
| 23 | |
| 24 | |
| 25 | .section .gnu.linkonce.t.__get_pc_thunk_bx,"ax",@progbits |
| 26 | .global __get_pc_thunk_bx |
| 27 | .hidden __get_pc_thunk_bx |
| 28 | .type __get_pc_thunk_bx,%function |
| 29 | __get_pc_thunk_bx: |
| 30 | movl (%esp), %ebx |
| 31 | ret |