From 14c3321ee69d60aface2f396b7f87847f6a0b890 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Tue, 20 Jul 2004 09:24:49 +0000 Subject: [PATCH] (__dl_runtime_resolve): Update to use _dl_lookup_symbol_x. (elf_machine_runtime_link_map): Don't INTUSE _dl_signal_error. --- sysdeps/mips/dl-machine.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/sysdeps/mips/dl-machine.h b/sysdeps/mips/dl-machine.h index c8397b2..570ac5b 100644 --- a/sysdeps/mips/dl-machine.h +++ b/sysdeps/mips/dl-machine.h @@ -254,7 +254,7 @@ elf_machine_runtime_link_map (ElfW(Addr) gpreg, ElfW(Addr) stub_pc) } } - INTUSE (_dl_signal_error) (0, NULL, NULL, "cannot find runtime link map"); + _dl_signal_error (0, NULL, NULL, "cannot find runtime link map"); return NULL; } @@ -366,17 +366,17 @@ __dl_runtime_resolve (ElfW(Word) sym_index, \ \ if (version->hash != 0) \ { \ - value = _dl_lookup_versioned_symbol(strtab + sym->st_name, l, \ - &sym, l->l_scope, version,\ - ELF_RTYPE_CLASS_PLT, 0); \ + value = _dl_lookup_symbol_x (strtab + sym->st_name, l, \ + &sym, l->l_scope, version, \ + ELF_RTYPE_CLASS_PLT, 0, 0); \ break; \ } \ /* Fall through. */ \ } \ case 0: \ - value = _dl_lookup_symbol (strtab + sym->st_name, l, &sym, \ - l->l_scope, ELF_RTYPE_CLASS_PLT, \ - DL_LOOKUP_ADD_DEPENDENCY); \ + value = _dl_lookup_symbol_x (strtab + sym->st_name, l, &sym, \ + l->l_scope, 0, ELF_RTYPE_CLASS_PLT, \ + DL_LOOKUP_ADD_DEPENDENCY, 0); \ } \ \ /* Currently value contains the base load address of the object \ -- 2.7.4