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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] MIPS patch to adjust for l_scope name change.


Hi

This patch fixes a compile time error for mips glibc builds. It needed to sync with the l_scope name changes.
Tested on n32 mips


OK?

ports/Changelog.mips

2006-10-25 Khem Raj <kraj@mvista.com>

* sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Adjust for l_scope name change.


Thanks


-Khem

--
Khem Raj
MontaVista Software Inc.
kraj@mvista.com

Index: glibc-2.5.90/ports/sysdeps/mips/dl-trampoline.c
===================================================================
--- glibc-2.5.90.orig/ports/sysdeps/mips/dl-trampoline.c
+++ glibc-2.5.90/ports/sysdeps/mips/dl-trampoline.c
@@ -154,7 +154,8 @@ __dl_runtime_resolve (ElfW(Word) sym_ind
 	    if (version->hash != 0)
 	      {
 		sym_map = _dl_lookup_symbol_x (strtab + sym->st_name, l,
-					       &sym, l->l_scope, version,
+					       &sym, l->l_scoperec->scope,
+                                               version,
 					       ELF_RTYPE_CLASS_PLT, 0, 0);
 		break;
 	      }
@@ -162,7 +163,8 @@ __dl_runtime_resolve (ElfW(Word) sym_ind
 	  }
 	case 0:
 	  sym_map = _dl_lookup_symbol_x (strtab + sym->st_name, l, &sym,
-					 l->l_scope, 0, ELF_RTYPE_CLASS_PLT,
+					 l->l_scoperec->scope, 0,
+                                         ELF_RTYPE_CLASS_PLT,
 					 DL_LOOKUP_ADD_DEPENDENCY, 0);
 	}
 

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