summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ldso/ldso/i386/elfinterp.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/ldso/ldso/i386/elfinterp.c b/ldso/ldso/i386/elfinterp.c
index d8997add9..9a0885f8c 100644
--- a/ldso/ldso/i386/elfinterp.c
+++ b/ldso/ldso/i386/elfinterp.c
@@ -164,7 +164,6 @@ _dl_do_reloc(struct elf_resolve *tpnt, struct dyn_elf *scope,
char *symname;
unsigned long *reloc_addr;
unsigned long symbol_addr;
- struct elf_resolve *def_mod = 0;
#if defined (__SUPPORT_LD_DEBUG__)
unsigned long old_val;
#endif
@@ -177,8 +176,7 @@ _dl_do_reloc(struct elf_resolve *tpnt, struct dyn_elf *scope,
if (symtab_index) {
symbol_addr = (unsigned long)_dl_find_hash(symname, scope, tpnt,
- elf_machine_type_class(reloc_type),
- &def_mod);
+ elf_machine_type_class(reloc_type), NULL);
/*
* We want to allow undefined references to weak symbols - this