diff options
author | Joakim Tjernlund <joakim.tjernlund@transmode.se> | 2004-09-23 06:56:59 +0000 |
---|---|---|
committer | Joakim Tjernlund <joakim.tjernlund@transmode.se> | 2004-09-23 06:56:59 +0000 |
commit | 6dfefd64985e6a6872aebf0c53a5f2c9da5b0da9 (patch) | |
tree | 31e16d9f94692d27527809ea1daed566fa465109 | |
parent | 2e3a6e76fcc56433a09b700985714393de02da5e (diff) |
Make powerpc look more like the other archs.
-rw-r--r-- | ldso/ldso/powerpc/elfinterp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ldso/ldso/powerpc/elfinterp.c b/ldso/ldso/powerpc/elfinterp.c index 0705fd596..e959468ae 100644 --- a/ldso/ldso/powerpc/elfinterp.c +++ b/ldso/ldso/powerpc/elfinterp.c @@ -269,7 +269,7 @@ _dl_do_reloc (struct elf_resolve *tpnt,struct dyn_elf *scope, symtab_index = ELF32_R_SYM(rpnt->r_info); symname = strtab + symtab[symtab_index].st_name; if (symtab_index) { - symbol_addr = (unsigned long) _dl_find_hash(symname, scope->dyn->symbol_scope, + symbol_addr = (unsigned long) _dl_find_hash(symname, scope, elf_machine_type_class(reloc_type)); /* We want to allow undefined references to weak symbols - this might * have been intentional. We should not be linking local symbols @@ -475,7 +475,7 @@ _dl_parse(struct elf_resolve *tpnt, struct dyn_elf *scope, int _dl_parse_relocation_information(struct dyn_elf *rpnt, unsigned long rel_addr, unsigned long rel_size) { - return _dl_parse(rpnt->dyn, rpnt, rel_addr, rel_size, _dl_do_reloc); + return _dl_parse(rpnt->dyn, rpnt->dyn->symbol_scope, rel_addr, rel_size, _dl_do_reloc); } /* Should be a static inline instead, but that conflicts with ld_elf.h */ |