consistency cleanup: removed redundant size suffixed from i386 asm
[musl] / crt / i386 / crt1.s
index 050adec..f5b4f4f 100644 (file)
@@ -1,17 +1,19 @@
+.weak _init
+.weak _fini
 .text
 .global _start
 _start:
-       xorl %ebp,%ebp
-       popl %ecx
-       movl %esp,%eax
-       andl $-16,%esp
-       pushl %esp
-       pushl %esp
-       pushl %edx
-       pushl $0
-       pushl $0
-       pushl %eax
-       pushl %ecx
-       pushl $main
+       xor %ebp,%ebp
+       pop %ecx
+       mov %esp,%eax
+       and $-16,%esp
+       push %esp
+       push %esp
+       push %edx
+       push $_fini
+       push $_init
+       push %eax
+       push %ecx
+       push $main
        call __libc_start_main
-.L0:   jmp .L0
+1:     jmp 1b