diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2002-09-17 12:53:45 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2002-09-17 12:53:45 +0000 |
commit | 22c8a1e4bbf7d6cdab4954f884809837923c84b7 (patch) | |
tree | a6b38b0b6a6d3905bccf13c0dc9291ea48209a98 /lib/csu/vax/crt0.c | |
parent | 5cef64cba2704066aeb0e7e430762fb563e958c3 (diff) |
use a different name for __syscall(); millert@ miod@ niklas@ ok
Diffstat (limited to 'lib/csu/vax/crt0.c')
-rw-r--r-- | lib/csu/vax/crt0.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/csu/vax/crt0.c b/lib/csu/vax/crt0.c index b42b65417ac..b9bbbc05f43 100644 --- a/lib/csu/vax/crt0.c +++ b/lib/csu/vax/crt0.c @@ -1,4 +1,4 @@ -/* $OpenBSD: crt0.c,v 1.5 2002/02/16 21:27:20 millert Exp $ */ +/* $OpenBSD: crt0.c,v 1.6 2002/09/17 12:53:44 mickey Exp $ */ /* $NetBSD: crt0.c,v 1.1.2.1 1995/10/15 19:40:04 ragge Exp $ */ /* * Copyright (c) 1993 Paul Kranenburg @@ -33,7 +33,7 @@ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: crt0.c,v 1.5 2002/02/16 21:27:20 millert Exp $"; +static char rcsid[] = "$OpenBSD: crt0.c,v 1.6 2002/09/17 12:53:44 mickey Exp $"; #endif /* LIBC_SCCS and not lint */ #include <sys/param.h> @@ -96,7 +96,7 @@ asm ("__callmain:"); /* Defined for the benefit of debuggers */ } #ifdef DYNAMIC - asm(" ___syscall:"); + asm(" ___syscall2:"); asm(" .word 0"); /* no registers to save */ asm(" movl 4(ap), r0"); /* get syscall number */ asm(" subl3 $1,(ap)+,(ap)"); /* n-1 args to syscall */ |