From 21cec43543081b47f9f7d5860af44d04c92746cd Mon Sep 17 00:00:00 2001 From: Austin Foxley Date: Wed, 14 Oct 2009 17:21:46 -0700 Subject: ldso: fixup all the rest of the calls to _dl_find_hash With TLS _dl_find_hash grew an extra param. These archs don't have TLS reloc support yet, but they do need to compile without it. Signed-off-by: Austin Foxley --- ldso/ldso/xtensa/elfinterp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ldso/ldso/xtensa') diff --git a/ldso/ldso/xtensa/elfinterp.c b/ldso/ldso/xtensa/elfinterp.c index c97d55454..3d54d8ad1 100644 --- a/ldso/ldso/xtensa/elfinterp.c +++ b/ldso/ldso/xtensa/elfinterp.c @@ -57,7 +57,7 @@ _dl_linux_resolver (struct elf_resolve *tpnt, int reloc_entry) /* Get the address of the GOT entry. */ new_addr = _dl_find_hash (symname, tpnt->symbol_scope, tpnt, - ELF_RTYPE_CLASS_PLT); + ELF_RTYPE_CLASS_PLT, NULL); if (unlikely (!new_addr)) { _dl_dprintf (2, "%s: can't resolve symbol '%s'\n", _dl_progname, symname); @@ -163,7 +163,7 @@ _dl_do_reloc (struct elf_resolve *tpnt, struct dyn_elf *scope, if (symtab_index) { symbol_addr = (Elf32_Addr) _dl_find_hash (symname, scope, tpnt, - elf_machine_type_class (reloc_type)); + elf_machine_type_class (reloc_type), NULL); /* * We want to allow undefined references to weak symbols - this might -- cgit v1.2.3