This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
PATCH: Fix the mips ld.so
- To: GNU C Library <libc-alpha at sourceware dot cygnus dot com>
- Subject: PATCH: Fix the mips ld.so
- From: "H . J . Lu" <hjl at lucon dot org>
- Date: Wed, 29 Aug 2001 11:27:17 -0700
FYI, don't bother with the mips64 ld.so. It has been broken for a long
time. We can fix it after we get a working mips64 binutils.
H.J.
---
2001-08-29 H.J. Lu <hjl@gnu.org>
* sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Pass
ELF_RTYPE_CLASS_PLT, instead of R_MIPS_REL32, to
_dl_lookup_versioned_symbol () and _dl_lookup_symbol ().
--- sysdeps/mips/dl-machine.h.class Mon Aug 27 11:42:46 2001
+++ sysdeps/mips/dl-machine.h Wed Aug 29 11:18:29 2001
@@ -301,14 +301,14 @@ __dl_runtime_resolve (ElfW(Word) sym_ind
{ \
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 \