aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/mips
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-08-29 18:48:49 +0000
committerUlrich Drepper <drepper@redhat.com>2001-08-29 18:48:49 +0000
commit8b7881905d8f5104c9a17fd0ed4f9be2768e3d14 (patch)
treedc9e0d031483d110dd70a5e2c88aaacfd0fd33e7 /sysdeps/mips
parentf13df7c79dc6e3f86bf8a33c113e681d1bdeab37 (diff)
downloadglibc-8b7881905d8f5104c9a17fd0ed4f9be2768e3d14.tar
glibc-8b7881905d8f5104c9a17fd0ed4f9be2768e3d14.tar.gz
glibc-8b7881905d8f5104c9a17fd0ed4f9be2768e3d14.tar.bz2
glibc-8b7881905d8f5104c9a17fd0ed4f9be2768e3d14.zip
(__dl_runtime_resolve): Pass ELF_RTYPE_CLASS_PLT, instead of R_MIPS_REL32, to _dl_lookup_versioned_symbol () and _dl_lookup_symbol ().
Diffstat (limited to 'sysdeps/mips')
-rw-r--r--sysdeps/mips/dl-machine.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/mips/dl-machine.h b/sysdeps/mips/dl-machine.h
index cb3fc1c51e..e066aad015 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 \