diff options
| author | Carmelo Amoroso <carmelo.amoroso@st.com> | 2009-02-23 17:28:08 +0000 |
|---|---|---|
| committer | Carmelo Amoroso <carmelo.amoroso@st.com> | 2009-02-23 17:28:08 +0000 |
| commit | 4cbaba855555162846ec42f6d6a488dced5aa739 (patch) | |
| tree | 08dd158a1a9ded1ff92f806b573d3ed450cfca72 | |
| parent | 15b0da188592f54eb94d2795c9261c2529db10c9 (diff) | |
| download | uClibc-alpine-4cbaba855555162846ec42f6d6a488dced5aa739.tar.bz2 uClibc-alpine-4cbaba855555162846ec42f6d6a488dced5aa739.tar.xz | |
i386 doesn't need to pass the extra tpnt to _dl_find_hash
(it's actually used when TLS is enabled).
No code changes because the _dl_find_hash is a wrapper to
_dl_lookup_hash that doesn't use the extra tpnt parameter.
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
| -rw-r--r-- | ldso/ldso/i386/elfinterp.c | 4 |
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 |
