Source-Changes-HG archive

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

[src/trunk]: src/lib/csu/vax_elf Use the ___start etc.



details:   https://anonhg.NetBSD.org/src/rev/a935541b8cae
branches:  trunk
changeset: 494169:a935541b8cae
user:      matt <matt%NetBSD.org@localhost>
date:      Mon Jul 03 03:56:56 2000 +0000

description:
Use the ___start etc.

diffstat:

 lib/csu/vax_elf/crt0.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (29 lines):

diff -r cf7f6d027819 -r a935541b8cae lib/csu/vax_elf/crt0.c
--- a/lib/csu/vax_elf/crt0.c    Mon Jul 03 03:56:20 2000 +0000
+++ b/lib/csu/vax_elf/crt0.c    Mon Jul 03 03:56:56 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: crt0.c,v 1.4 2000/06/14 22:52:51 cgd Exp $ */
+/* $NetBSD: crt0.c,v 1.5 2000/07/03 03:56:56 matt Exp $ */
 
 /*
  * Copyright (c) 1999 Matt Thomas
@@ -43,8 +43,9 @@
 __asm("
        .text
        .align  2
-       .globl  __start
+       .globl  _start
 __start:
+_start:
        .word   0x0101
        pushl   r9              # ps_strings
        pushl   r8              # obj
@@ -97,7 +98,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.4 2000/06/14 22:52:51 cgd Exp $");
+__RCSID("$NetBSD: crt0.c,v 1.5 2000/07/03 03:56:56 matt Exp $");
 #endif /* LIBC_SCCS and not lint */
 
 #include "common.c"



Home | Main Index | Thread Index | Old Index