diff options
author | Joakim Tjernlund <joakim.tjernlund@transmode.se> | 2005-05-21 21:40:14 +0000 |
---|---|---|
committer | Joakim Tjernlund <joakim.tjernlund@transmode.se> | 2005-05-21 21:40:14 +0000 |
commit | df0e39281e8fc368208127c67f0fa2f0dcbcca20 (patch) | |
tree | e37b7384166a9a6c4bd556b9b83f50a71f107e1f /libc | |
parent | 4ef1c28c03dd19637272d5fc40ee7fabfec92e0d (diff) |
Enable new FINI processing. ldso now passes a FINI function
ptr to crt. Only PowerPC and x86 support this currently.
Diffstat (limited to 'libc')
-rw-r--r-- | libc/stdlib/atexit.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libc/stdlib/atexit.c b/libc/stdlib/atexit.c index d5f83ee8e..87a49a015 100644 --- a/libc/stdlib/atexit.c +++ b/libc/stdlib/atexit.c @@ -239,11 +239,8 @@ void exit(int rv) if (__app_fini != NULL) (__app_fini)(); #endif -#ifdef _DL_DO_FINI_IN_LIBC -/* arches that has moved their ldso FINI handling should #define _DL_DO_FINI_IN_LIBC */ if (__rtld_fini != NULL) (__rtld_fini)(); -#endif /* If we are using stdio, try to shut it down. At the very least, * this will attempt to commit all buffered writes. It may also |