summaryrefslogtreecommitdiff
path: root/lib/csu/alpha/crt0.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/csu/alpha/crt0.c')
-rw-r--r--lib/csu/alpha/crt0.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/csu/alpha/crt0.c b/lib/csu/alpha/crt0.c
index 34fd45e1b67..345941a8eda 100644
--- a/lib/csu/alpha/crt0.c
+++ b/lib/csu/alpha/crt0.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: crt0.c,v 1.8 2003/02/28 18:05:51 deraadt Exp $ */
+/* $OpenBSD: crt0.c,v 1.9 2003/08/25 17:59:42 drahn Exp $ */
/* $NetBSD: crt0.c,v 1.1 1996/09/12 16:59:02 cgd Exp $ */
/*
* Copyright (c) 1995 Christopher G. Demetriou
@@ -32,7 +32,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char rcsid[] = "$OpenBSD: crt0.c,v 1.8 2003/02/28 18:05:51 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: crt0.c,v 1.9 2003/08/25 17:59:42 drahn Exp $";
#endif /* LIBC_SCCS and not lint */
#include <stdlib.h>
@@ -50,6 +50,9 @@ extern void _mcleanup(void);
extern unsigned char _etext, _eprol;
#endif /* MCRT0 */
+__asm(".globl _start");
+__asm(".type _start@function");
+__asm("_start = __start");
void
__start(sp, cleanup, obj)
char **sp;