summaryrefslogtreecommitdiff
path: root/ldso
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2004-01-31 03:15:07 +0000
committerEric Andersen <andersen@codepoet.org>2004-01-31 03:15:07 +0000
commit911d37c56aad3cae3c29edca4092d735a2bb03b1 (patch)
tree429133f5364054dfc8e0ea4269bbd155029b8c54 /ldso
parente4af8d3ee1547630290695c8645803b4b44fd413 (diff)
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.
Diffstat (limited to 'ldso')
-rw-r--r--ldso/ldso/powerpc/elfinterp.c6
1 files changed, 4 insertions, 2 deletions
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;