This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
[PATCH] MIPS patch to adjust for l_scope name change.
- From: Khem Raj <kraj at mvista dot com>
- To: libc-ports at sourceware dot org
- Date: Wed, 25 Oct 2006 11:48:22 -0700
- Subject: [PATCH] MIPS patch to adjust for l_scope name change.
- Organization: MontaVista Software Inc.
- Reply-to: kraj at mvista dot com
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);
}