This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

PATCH: Fix the mips ld.so


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	      \


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]