From 5f5f5a5d28ea2a3c918f322512b5310c0b147725 Mon Sep 17 00:00:00 2001 From: Ralph Campbell Date: Sat, 27 Feb 1993 03:04:42 -0800 Subject: [PATCH 1/1] fix profiling. SCCS-vsn: lib/csu/mips/crt0.s 5.7 --- usr/src/lib/csu/mips/crt0.s | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/usr/src/lib/csu/mips/crt0.s b/usr/src/lib/csu/mips/crt0.s index 8f39cbd989..87ff4d067a 100644 --- a/usr/src/lib/csu/mips/crt0.s +++ b/usr/src/lib/csu/mips/crt0.s @@ -7,7 +7,7 @@ * * %sccs.include.redist.c% * - * @(#)crt0.s 5.6 (Berkeley) %G% + * @(#)crt0.s 5.7 (Berkeley) %G% */ #include @@ -23,7 +23,7 @@ $L1: .word 0 # null string plus padding .text -NON_LEAF(__start, 24, ra) +NON_LEAF(start, 24, ra) .set noreorder lw s0, 0(sp) # get argc from stack addu s1, sp, 4 # get pointer to argv @@ -40,8 +40,8 @@ eprol: 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 @@ -65,7 +65,7 @@ eprol: move a0, v0 break 0 .set reorder -END(__start) +END(start) LEAF(__main) j ra -- 2.20.1