diff options
author | kstailey <kstailey@cvs.openbsd.org> | 1997-07-23 20:39:33 +0000 |
---|---|---|
committer | kstailey <kstailey@cvs.openbsd.org> | 1997-07-23 20:39:33 +0000 |
commit | 78b43f94a42e713fbfe693ecf9fadfe527dd8c05 (patch) | |
tree | 9f5c25b0e4d3b7494bab04e387a680ef6a98aa64 /lib | |
parent | 898f58429e8cf0dadba3e51d0a95dfb448473320 (diff) |
tabify
Diffstat (limited to 'lib')
-rw-r--r-- | lib/csu/mips/crt0.c | 6 | ||||
-rw-r--r-- | lib/csu/mvme88k/crt0.c | 16 |
2 files changed, 11 insertions, 11 deletions
diff --git a/lib/csu/mips/crt0.c b/lib/csu/mips/crt0.c index f96ac19b289..504e0360225 100644 --- a/lib/csu/mips/crt0.c +++ b/lib/csu/mips/crt0.c @@ -1,5 +1,5 @@ /* $NetBSD: crt0.c,v 1.7 1995/06/03 13:16:15 pk Exp $ */ -/* $OpenBSD: crt0.c,v 1.2 1997/06/24 17:15:51 tholo Exp $ */ +/* $OpenBSD: crt0.c,v 1.3 1997/07/23 20:39:31 kstailey Exp $ */ /* * Copyright (c) 1993 Paul Kranenburg * All rights reserved. @@ -32,7 +32,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: crt0.c,v 1.2 1997/06/24 17:15:51 tholo Exp $"; +static char rcsid[] = "$OpenBSD: crt0.c,v 1.3 1997/07/23 20:39:31 kstailey Exp $"; #endif /* LIBC_SCCS and not lint */ #include <sys/param.h> @@ -45,7 +45,7 @@ extern void _mcleanup __P((void)); extern unsigned char eprol asm ("eprol"); extern unsigned char etext; -char **environ; +char **environ; static char empty[1]; char *__progname = empty; diff --git a/lib/csu/mvme88k/crt0.c b/lib/csu/mvme88k/crt0.c index 3df266bd530..19319bdb429 100644 --- a/lib/csu/mvme88k/crt0.c +++ b/lib/csu/mvme88k/crt0.c @@ -1,4 +1,4 @@ -/* $OpenBSD: crt0.c,v 1.4 1997/06/24 17:15:51 tholo Exp $ */ +/* $OpenBSD: crt0.c,v 1.5 1997/07/23 20:39:32 kstailey Exp $ */ /* * Mach Operating System @@ -28,7 +28,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: crt0.c,v 1.4 1997/06/24 17:15:51 tholo Exp $"; +static char rcsid[] = "$OpenBSD: crt0.c,v 1.5 1997/07/23 20:39:32 kstailey Exp $"; #endif /* LIBC_SCCS and not lint */ /* @@ -50,7 +50,7 @@ static char rcsid[] = "$OpenBSD: crt0.c,v 1.4 1997/06/24 17:15:51 tholo Exp $"; * and how we derive argc, argv, and envp from that: * * +-------------------+ <-------------------------------------- r31 - * | ARGC | <- argc = r31[0]; + * | ARGC | <- argc = r31[0]; * +-------------------+ <- argv = &r31[1]; * | &(argument #1) | * +-------------------+ @@ -58,7 +58,7 @@ static char rcsid[] = "$OpenBSD: crt0.c,v 1.4 1997/06/24 17:15:51 tholo Exp $"; * - - - - - - - - - * | &(argument #ARGC) | * +-------------------+ - * | 0x00000000 | <- end-of-ARGV-list marker (redundant information). + * | 0x00000000 | <- end-of-ARGV-list marker (redundant information). * +-------------------+ <- environ = envp = &argv[argc+1]; * | &(env. var. #1) | * +-------------------+ @@ -66,7 +66,7 @@ static char rcsid[] = "$OpenBSD: crt0.c,v 1.4 1997/06/24 17:15:51 tholo Exp $"; * - - - - - - - - - * | &(env. var. #N) | * +-------------------+ - * | 0x00000000 | <- end-of-ENVP-list marker (not redundant!). + * | 0x00000000 | <- end-of-ENVP-list marker (not redundant!). * +-------------------+ * * We use 'start:' to grab r31 and and call real_start(argc, argv, envp). @@ -78,9 +78,9 @@ static char rcsid[] = "$OpenBSD: crt0.c,v 1.4 1997/06/24 17:15:51 tholo Exp $"; #include "common.h" -asm(" text "); -asm(" align 4 "); -asm("start: global start "); +asm(" text "); +asm(" align 4 "); +asm("start: global start "); asm(" ld r2, r31, 0 "); /* First arg to real_start: argc */ asm(" addu r3, r31, 4 "); /* Second arg to real_start: argv */ asm(" lda r4, r3 [r2]"); /* Third arg to real_start: envp, but.... */ |