From 6d6f3a5c26adcf6b105edfb4b53e97ceee81944c Mon Sep 17 00:00:00 2001 From: Joakim Tjernlund Date: Tue, 17 Aug 2004 13:37:54 +0000 Subject: Let ldso decide if it should relocate itselft a second time. This is needed if ldso should use libcs malloc whenever possible. Fix RTLD_LAZY propagation to RTLD_NOW relocation when requested by libdl. --- ldso/ldso/mips/elfinterp.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'ldso/ldso/mips/elfinterp.c') diff --git a/ldso/ldso/mips/elfinterp.c b/ldso/ldso/mips/elfinterp.c index dfbc88fdc..5457e6d7a 100644 --- a/ldso/ldso/mips/elfinterp.c +++ b/ldso/ldso/mips/elfinterp.c @@ -186,10 +186,6 @@ int _dl_parse_relocation_information(struct dyn_elf *xpnt, #if defined (__SUPPORT_LD_DEBUG__) unsigned long old_val=0; #endif - - if (tpnt->libtype == program_interpreter) - return 0; - /* Now parse the relocation information */ rel_size = rel_size / sizeof(Elf32_Rel); rpnt = (Elf32_Rel *) (rel_addr + tpnt->loadaddr); @@ -264,11 +260,6 @@ void _dl_perform_mips_global_got_relocations(struct elf_resolve *tpnt) unsigned long *got_entry; for (; tpnt ; tpnt = tpnt->next) { - - /* We don't touch the dynamic linker */ - if (tpnt->libtype == program_interpreter) - continue; - /* Setup the loop variables */ got_entry = (unsigned long *) (tpnt->loadaddr + tpnt->dynamic_info[DT_PLTGOT]) + tpnt->mips_local_gotno; -- cgit v1.2.3