summaryrefslogtreecommitdiff
path: root/ldso
diff options
context:
space:
mode:
authorJoakim Tjernlund <joakim.tjernlund@transmode.se>2005-05-21 21:40:14 +0000
committerJoakim Tjernlund <joakim.tjernlund@transmode.se>2005-05-21 21:40:14 +0000
commitdf0e39281e8fc368208127c67f0fa2f0dcbcca20 (patch)
treee37b7384166a9a6c4bd556b9b83f50a71f107e1f /ldso
parent4ef1c28c03dd19637272d5fc40ee7fabfec92e0d (diff)
Enable new FINI processing. ldso now passes a FINI function
ptr to crt. Only PowerPC and x86 support this currently.
Diffstat (limited to 'ldso')
-rw-r--r--ldso/ldso/ldso.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/ldso/ldso/ldso.c b/ldso/ldso/ldso.c
index 54da613aa..c60815aff 100644
--- a/ldso/ldso/ldso.c
+++ b/ldso/ldso/ldso.c
@@ -806,16 +806,6 @@ void _dl_get_ready_to_run(struct elf_resolve *tpnt, unsigned long load_addr,
(*dl_elf_func) ();
}
}
-#ifndef _DL_DO_FINI_IN_LIBC
- /* arches that have moved their ldso FINI handling should skip this part */
- {
- int (*_dl_atexit) (void *) = (int (*)(void *)) (intptr_t) _dl_find_hash("atexit",
- _dl_symbol_tables, NULL, ELF_RTYPE_CLASS_PLT);
-
- if (_dl_atexit)
- (*_dl_atexit) (_dl_fini);
- }
-#endif
/* Find the real malloc function and make ldso functions use that from now on */
_dl_malloc_function = (void* (*)(size_t)) (intptr_t) _dl_find_hash("malloc",