From 911d37c56aad3cae3c29edca4092d735a2bb03b1 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Sat, 31 Jan 2004 03:15:07 +0000 Subject: Revert to scope as used by original code for now, just in case. I still don't have a good handle on why and when the different scope values should be used. --- ldso/ldso/powerpc/elfinterp.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'ldso') diff --git a/ldso/ldso/powerpc/elfinterp.c b/ldso/ldso/powerpc/elfinterp.c index c930f717b..eb2f986b8 100644 --- a/ldso/ldso/powerpc/elfinterp.c +++ b/ldso/ldso/powerpc/elfinterp.c @@ -277,10 +277,12 @@ _dl_do_reloc (struct elf_resolve *tpnt,struct dyn_elf *scope, return 0; symtab_index = ELF32_R_SYM(rpnt->r_info); symname = strtab + symtab[symtab_index].st_name; -#if 0 + +#if 1 sym_scope = scope->dyn->symbol_scope; #else - sym_scope = scope;/* Funny, this works too and appears to be much faster. */ + /* Funny, this works too and appears to be much faster. */ + sym_scope = scope; #endif if (reloc_type == R_PPC_COPY) { sym_scope = scope->next; -- cgit v1.2.3