diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2001-02-03 23:08:42 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2001-02-03 23:08:42 +0000 |
commit | 980e77b6a7f5382e205f3866067414e9af617dca (patch) | |
tree | f757a9386d81decbb3c50c640bd813f623610cdc /lib/csu/alpha/crt0.c | |
parent | 7c65a10976ee2faba24d326a8f79c2177454e1da (diff) |
Schedule running of __fini in __init, not __start.
Diffstat (limited to 'lib/csu/alpha/crt0.c')
-rw-r--r-- | lib/csu/alpha/crt0.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/csu/alpha/crt0.c b/lib/csu/alpha/crt0.c index 8140ac9f231..ee9c2806504 100644 --- a/lib/csu/alpha/crt0.c +++ b/lib/csu/alpha/crt0.c @@ -1,4 +1,4 @@ -/* $OpenBSD: crt0.c,v 1.4 2001/01/25 05:37:20 art Exp $ */ +/* $OpenBSD: crt0.c,v 1.5 2001/02/03 23:08:41 art 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.4 2001/01/25 05:37:20 art Exp $"; +static char rcsid[] = "$OpenBSD: crt0.c,v 1.5 2001/02/03 23:08:41 art Exp $"; #endif /* LIBC_SCCS and not lint */ #include <stdlib.h> @@ -97,7 +97,6 @@ __start(sp, cleanup, obj) #endif #ifndef ECOFF_COMPAT - atexit(__fini); __init(); #endif /* ECOFF_COMPAT */ |