summaryrefslogtreecommitdiff
path: root/ldso
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-09-08 02:35:30 +0000
committerMike Frysinger <vapier@gentoo.org>2005-09-08 02:35:30 +0000
commit270bd86b4f1ed78013a1c7839732e21ab9774472 (patch)
tree1ba173b4c1bd30d0804a496cef078986ae04ff05 /ldso
parent073cd03a2c5b0eb6c0872622f840f4a9724a9b04 (diff)
punt _DL_FINI_CRT_COMPAT option now that 0.9.28 has been released
Diffstat (limited to 'ldso')
-rw-r--r--ldso/ldso/Makefile3
-rw-r--r--ldso/ldso/ldso.c12
2 files changed, 0 insertions, 15 deletions
diff --git a/ldso/ldso/Makefile b/ldso/ldso/Makefile
index cb105af2d..f06c1d32a 100644
--- a/ldso/ldso/Makefile
+++ b/ldso/ldso/Makefile
@@ -28,9 +28,6 @@ ASFLAGS+=$(call check_as,--noexecstack)
endif
XXFLAGS=$(XWARNINGS) $(SSP_DISABLE_FLAGS)
-ifeq ($(DL_FINI_CRT_COMPAT),y)
-XXFLAGS+=-D_DL_FINI_CRT_COMPAT
-endif
ifeq ($(DODEBUG),y)
# Not really much point in including debugging info, since gdb
diff --git a/ldso/ldso/ldso.c b/ldso/ldso/ldso.c
index f6ac50905..196828ec1 100644
--- a/ldso/ldso/ldso.c
+++ b/ldso/ldso/ldso.c
@@ -763,18 +763,6 @@ void _dl_get_ready_to_run(struct elf_resolve *tpnt, unsigned long load_addr,
(*dl_elf_func) ();
}
}
-#ifdef _DL_FINI_CRT_COMPAT
- /* arches that have moved their ldso FINI handling should skip this part */
- {
- void (*__set__dl_fini) (void *) = (void (*)(void *)) (intptr_t) _dl_find_hash("_set__dl_fini",
- _dl_symbol_tables, NULL, ELF_RTYPE_CLASS_PLT);
-
- if (__set__dl_fini)
- (*__set__dl_fini)(_dl_fini);
- else
- _dl_if_debug_dprint("_set__dl_fini not found\n");
- }
-#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",