+.weak _init
+.weak _fini
.text
.global _start
_start:
pushl %esp
pushl %esp
pushl %edx
- pushl %ebp
- pushl %ebp
+ pushl $_fini
+ pushl $_init
pushl %eax
pushl %ecx
- call 1f
-1: addl $[main-.],(%esp)
- //pushl $main
+ pushl $main
call __libc_start_main
1: jmp 1b