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
11 #include <machine/asm.h>
13 NESTED(__start, 32, sp)
17 lui gp, %hi(_gp) # Initialize gp
20 addiu a0, sp, 32 # Pointer to ELF entry structure
21 move a1, v0 # Kernel-provided atexit() pointer