diff options
Diffstat (limited to 'lib/csu/crt0.c')
-rw-r--r-- | lib/csu/crt0.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/csu/crt0.c b/lib/csu/crt0.c index 7e380626797..ac2966b5490 100644 --- a/lib/csu/crt0.c +++ b/lib/csu/crt0.c @@ -1,4 +1,4 @@ -/* $OpenBSD: crt0.c,v 1.12 2019/01/09 16:42:38 visa Exp $ */ +/* $OpenBSD: crt0.c,v 1.13 2019/05/08 20:27:29 guenther Exp $ */ /* * Copyright (c) 1995 Christopher G. Demetriou @@ -81,6 +81,8 @@ ___start(MD_START_ARGS) MD_START_SETUP #endif + environp = _csu_finish(argv, envp, cleanup); + #ifndef RCRT0 if (cleanup == NULL) { #endif @@ -95,8 +97,6 @@ ___start(MD_START_ARGS) } #endif - environp = _csu_finish(argv, envp, cleanup); - #ifdef MCRT0 atexit(_mcleanup); _monstartup((u_long)&_eprol, (u_long)&_etext); |