Source-Changes-HG archive

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

[src/trunk]: src/lib/csu/arch/vax Adapt to the new ___start calling convention



details:   https://anonhg.NetBSD.org/src/rev/0eabc5a5248e
branches:  trunk
changeset: 766822:0eabc5a5248e
user:      matt <matt%NetBSD.org@localhost>
date:      Sat Jul 02 20:14:10 2011 +0000

description:
Adapt to the new ___start calling convention

diffstat:

 lib/csu/arch/vax/crt0.S |  10 +++-------
 1 files changed, 3 insertions(+), 7 deletions(-)

diffs (28 lines):

diff -r b0b076e1a8e3 -r 0eabc5a5248e lib/csu/arch/vax/crt0.S
--- a/lib/csu/arch/vax/crt0.S   Sat Jul 02 19:07:56 2011 +0000
+++ b/lib/csu/arch/vax/crt0.S   Sat Jul 02 20:14:10 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: crt0.S,v 1.1 2010/08/07 18:01:34 joerg Exp $ */
+/* $NetBSD: crt0.S,v 1.2 2011/07/02 20:14:10 matt Exp $ */
 
 /*
  * Copyright (c) 1999 Matt Thomas
@@ -37,7 +37,7 @@
 
 #include <machine/asm.h>
 
-RCSID("$NetBSD: crt0.S,v 1.1 2010/08/07 18:01:34 joerg Exp $")
+RCSID("$NetBSD: crt0.S,v 1.2 2011/07/02 20:14:10 matt Exp $")
 
 STRONG_ALIAS(_start,__start)
 
@@ -46,8 +46,4 @@
        pushl   %r9             /* ps_strings */
        pushl   %r8             /* obj */
        pushl   %r7             /* cleanup */
-       movl    (%r6),%r0       /* argc */
-       pushal  8(%r6)[%r0]     /* envp = &argv[argc + 1] */
-       pushal  4(%r6)          /* argv */
-       pushl   %r0             /* argc */
-       calls   $6,___start
+       calls   $3,___start



Home | Main Index | Thread Index | Old Index