summaryrefslogtreecommitdiff
path: root/lib/csu/sh
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2013-12-01 17:18:32 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2013-12-01 17:18:32 +0000
commit81f70a2c11c6dd3cfbdc8b3a75201127bbef3b0f (patch)
tree1232ad078f51a8eab45f49f3498c1913d4fbe753 /lib/csu/sh
parent342ef407b88242890ae7f69c1c8e771bf72bdf64 (diff)
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/sh')
-rw-r--r--lib/csu/sh/crt0.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/csu/sh/crt0.c b/lib/csu/sh/crt0.c
index 3cd9d59d356..0f547a3a1d0 100644
--- a/lib/csu/sh/crt0.c
+++ b/lib/csu/sh/crt0.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: crt0.c,v 1.6 2013/11/10 19:30:40 guenther Exp $ */
+/* $OpenBSD: crt0.c,v 1.7 2013/12/01 17:18:31 guenther Exp $ */
/* $NetBSD: crt0.c,v 1.10 2004/08/26 21:16:41 thorpej Exp $ */
/*
@@ -97,9 +97,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));