summary |
tags |
clone url |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
c860a93)
SCCS-vsn: lib/csu/mips/crt0.s 5.7
*
* %sccs.include.redist.c%
*
*
* %sccs.include.redist.c%
*
- * @(#)crt0.s 5.6 (Berkeley) %G%
+ * @(#)crt0.s 5.7 (Berkeley) %G%
*/
#include <machine/regdef.h>
*/
#include <machine/regdef.h>
.word 0 # null string plus padding
.text
.word 0 # null string plus padding
.text
-NON_LEAF(__start, 24, ra)
.set noreorder
lw s0, 0(sp) # get argc from stack
addu s1, sp, 4 # get pointer to argv
.set noreorder
lw s0, 0(sp) # get argc from stack
addu s1, sp, 4 # get pointer to argv
la a1, etext
jal monstartup # monstartup(eprol, etext);
nop
la a1, etext
jal monstartup # monstartup(eprol, etext);
nop
- la a0, mcleanup
- jal atexit # atext(mcleanup);
+ la a0, _mcleanup
+ jal atexit # atext(_mcleanup);
nop
sw zero, errno
#endif
nop
sw zero, errno
#endif
move a0, v0
break 0
.set reorder
move a0, v0
break 0
.set reorder