From: Ulrich Drepper Date: Wed, 29 Aug 2001 18:48:49 +0000 (+0000) Subject: (__dl_runtime_resolve): Pass ELF_RTYPE_CLASS_PLT, instead of R_MIPS_REL32, to X-Git-Tag: upstream/2.30~10627^2~1812 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=560c47613914822c4107d4a93ba48ed0e93829f6;p=external%2Fglibc.git (__dl_runtime_resolve): Pass ELF_RTYPE_CLASS_PLT, instead of R_MIPS_REL32, to _dl_lookup_versioned_symbol () and _dl_lookup_symbol (). --- diff --git a/sysdeps/mips/dl-machine.h b/sysdeps/mips/dl-machine.h index cb3fc1c..e066aad 100644 --- a/sysdeps/mips/dl-machine.h +++ b/sysdeps/mips/dl-machine.h @@ -301,14 +301,14 @@ __dl_runtime_resolve (ElfW(Word) sym_index, \ { \ value = _dl_lookup_versioned_symbol(strtab + sym->st_name, l, \ &sym, l->l_scope, version,\ - R_MIPS_REL32, 0); \ + ELF_RTYPE_CLASS_PLT, 0); \ break; \ } \ /* Fall through. */ \ } \ case 0: \ value = _dl_lookup_symbol (strtab + sym->st_name, l, &sym, \ - l->l_scope, R_MIPS_REL32, 0); \ + l->l_scope, ELF_RTYPE_CLASS_PLT, 0); \ } \ \ /* Currently value contains the base load address of the object \