(__dl_runtime_resolve): Pass ELF_RTYPE_CLASS_PLT, instead of R_MIPS_REL32, to _dl_lookup_versioned_symbol () and _dl_lookup_symbol ().

This commit is contained in:
Ulrich Drepper 2001-08-29 18:48:49 +00:00
parent f13df7c79d
commit 8b7881905d

View File

@ -301,14 +301,14 @@ __dl_runtime_resolve (ElfW(Word) sym_index, \
{ \ { \
value = _dl_lookup_versioned_symbol(strtab + sym->st_name, l, \ value = _dl_lookup_versioned_symbol(strtab + sym->st_name, l, \
&sym, l->l_scope, version,\ &sym, l->l_scope, version,\
R_MIPS_REL32, 0); \ ELF_RTYPE_CLASS_PLT, 0); \
break; \ break; \
} \ } \
/* Fall through. */ \ /* Fall through. */ \
} \ } \
case 0: \ case 0: \
value = _dl_lookup_symbol (strtab + sym->st_name, l, &sym, \ 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 \ /* Currently value contains the base load address of the object \