Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/csu/i386_elf Add _start (as well as __start). It's the d...



details:   https://anonhg.NetBSD.org/src/rev/e729f206345e
branches:  trunk
changeset: 474470:e729f206345e
user:      fvdl <fvdl%NetBSD.org@localhost>
date:      Wed Jul 07 22:59:47 1999 +0000

description:
Add _start (as well as __start). It's the default start symbol expected
by ld for the i386 ELF case.

diffstat:

 lib/csu/i386_elf/crt0.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r c7c00264a329 -r e729f206345e lib/csu/i386_elf/crt0.c
--- a/lib/csu/i386_elf/crt0.c   Wed Jul 07 22:58:45 1999 +0000
+++ b/lib/csu/i386_elf/crt0.c   Wed Jul 07 22:59:47 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: crt0.c,v 1.6 1999/03/20 00:13:51 thorpej Exp $ */
+/*     $NetBSD: crt0.c,v 1.7 1999/07/07 22:59:47 fvdl Exp $    */
 
 /*
  * Copyright (c) 1998 Christos Zoulas
@@ -41,6 +41,8 @@
        .text
        .align  2
        .globl  __start
+       .globl  _start
+_start:
 __start:
        pushl   %ebx                    # ps_strings
        pushl   %ecx                    # obj
@@ -95,7 +97,7 @@
  * NOTE: Leave the RCS ID _after_ __start(), in case it gets placed in .text.
  */
 #if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: crt0.c,v 1.6 1999/03/20 00:13:51 thorpej Exp $");
+__RCSID("$NetBSD: crt0.c,v 1.7 1999/07/07 22:59:47 fvdl Exp $");
 #endif /* LIBC_SCCS and not lint */
 
 #include "common.c"



Home | Main Index | Thread Index | Old Index