blob: 7dbaaadcb6606a7880a3bd712a391d402daca7f9 [file] [log] [blame]
yuezonghe824eb0c2024-06-27 02:32:26 -07001.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