4 # Does arch-specific initialization and invokes __libc_init
5 # with the appropriate arguments.
7 # See __static_init.c or __shared_init.c for the expected
13 .type _start,@function
16 # Save the address of the ELF argument array
17 movl %esp,%eax # Address of ELF arguments
18 # Set up a faux stack frame for the benefit of gdb
20 push %ebp # Keep gdb from getting confused
21 push %ebp # Keep gdb from getting confused
22 # Push the arguments and called __libc_init()
24 push %edx # atexit() function
28 # If __libc_init returns, problem...
31 .size _start, .-_start