fix profiling.
authorRalph Campbell <ralph@ucbvax.Berkeley.EDU>
Sat, 27 Feb 1993 11:04:42 +0000 (03:04 -0800)
committerRalph Campbell <ralph@ucbvax.Berkeley.EDU>
Sat, 27 Feb 1993 11:04:42 +0000 (03:04 -0800)
SCCS-vsn: lib/csu/mips/crt0.s 5.7

usr/src/lib/csu/mips/crt0.s

index 8f39cbd..87ff4d0 100644 (file)
@@ -7,7 +7,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>
@@ -23,7 +23,7 @@ $L1:
        .word   0               # null string plus padding
        .text
 
        .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
        .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      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
@@ -65,7 +65,7 @@ eprol:
        move    a0, v0
        break   0
        .set    reorder
        move    a0, v0
        break   0
        .set    reorder
-END(__start)
+END(start)
 
 LEAF(__main)
        j       ra
 
 LEAF(__main)
        j       ra