summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/i386/crti.S
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/i386/crti.S')
-rw-r--r--libc/sysdeps/linux/i386/crti.S21
1 files changed, 10 insertions, 11 deletions
diff --git a/libc/sysdeps/linux/i386/crti.S b/libc/sysdeps/linux/i386/crti.S
index cd0194975..7dbaaadcb 100644
--- a/libc/sysdeps/linux/i386/crti.S
+++ b/libc/sysdeps/linux/i386/crti.S
@@ -1,6 +1,6 @@
- .section .init
-.globl _init
- .type _init, @function
+.section .init
+.global _init
+.type _init,%function
_init:
pushl %ebp
movl %esp, %ebp
@@ -10,10 +10,9 @@ _init:
-
- .section .fini
-.globl _fini
- .type _fini, @function
+.section .fini
+.global _fini
+.type _fini,%function
_fini:
pushl %ebp
movl %esp, %ebp
@@ -23,10 +22,10 @@ _fini:
- .section .gnu.linkonce.t.__get_pc_thunk_bx,"ax",@progbits
-.globl __get_pc_thunk_bx
- .hidden __get_pc_thunk_bx
- .type __get_pc_thunk_bx, @function
+.section .gnu.linkonce.t.__get_pc_thunk_bx,"ax",@progbits
+.global __get_pc_thunk_bx
+.hidden __get_pc_thunk_bx
+.type __get_pc_thunk_bx,%function
__get_pc_thunk_bx:
movl (%esp), %ebx
ret