summaryrefslogtreecommitdiffstats
path: root/lib/csu/arm/crt0.c
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2013-12-01 17:18:30 +0000
committerguenther <guenther@openbsd.org>2013-12-01 17:18:30 +0000
commiteb452fdd1f63b6e88fc1ae6c6da0433d22ab32a2 (patch)
treefeb773e80f685920471711609a688c6eb5693bcc /lib/csu/arm/crt0.c
parentChange the tag queue from CIRCLEQ to TAILQ. (diff)
downloadwireguard-openbsd-eb452fdd1f63b6e88fc1ae6c6da0433d22ab32a2.tar.xz
wireguard-openbsd-eb452fdd1f63b6e88fc1ae6c6da0433d22ab32a2.zip
mips64 no longer uses scrt0.o, and it was identical to crt0.o anyway.
Delete unused #ifndef SCRT0 conditionals. ok miod@
Diffstat (limited to 'lib/csu/arm/crt0.c')
-rw-r--r--lib/csu/arm/crt0.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/csu/arm/crt0.c b/lib/csu/arm/crt0.c
index b451a76cc32..c66511a202c 100644
--- a/lib/csu/arm/crt0.c
+++ b/lib/csu/arm/crt0.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: crt0.c,v 1.4 2013/11/10 19:44:17 guenther Exp $ */
+/* $OpenBSD: crt0.c,v 1.5 2013/12/01 17:18:30 guenther Exp $ */
/* $NetBSD: crt0.c,v 1.6 2002/01/01 01:31:06 thorpej Exp $ */
/*
@@ -107,9 +107,7 @@ ___start(int argc, char **argv, char **envp, void (*cleanup)(void))
monstartup((u_long)&_eprol, (u_long)&_etext);
#endif /* MCRT0 */
-#ifndef SCRT0
__init();
-#endif
__asm("__callmain:"); /* Defined for the benefit of debuggers */
exit(main(argc, argv, envp));