Module Name: src
Committed By: matt
Date: Sat Jul 2 20:14:10 UTC 2011
Modified Files:
src/lib/csu/arch/vax: crt0.S
Log Message:
Adapt to the new ___start calling convention
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/lib/csu/arch/vax/crt0.S
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/csu/arch/vax/crt0.S
diff -u src/lib/csu/arch/vax/crt0.S:1.1 src/lib/csu/arch/vax/crt0.S:1.2
--- src/lib/csu/arch/vax/crt0.S:1.1 Sat Aug 7 18:01:34 2010
+++ src/lib/csu/arch/vax/crt0.S Sat Jul 2 20:14:10 2011
@@ -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