This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
[PATCH] sysdeps/mips/dl-machine.h fixes
- From: "Ilya A. Volynets-Evenbakh" <ilya at theilya dot com>
- To: libc-alpha at sources dot redhat dot com
- Cc: kumba at gentoo dot org
- Date: Fri, 14 May 2004 12:21:11 -0700
- Subject: [PATCH] sysdeps/mips/dl-machine.h fixes
Attached patch fixes few compile errors on mips.
2004-05-14 Ilya A. Volynets-Evenbakh <ilya@total-knowledge.com>
sysdeps/mips/dl-machine.h:
Do not use INTUSE when calling dl_signal_error
Call dl_lookup_symbol_x instead of dl_lookup_symbol and
dl_lookup_versioned_symbol
Index: sysdeps/mips/dl-machine.h
===================================================================
RCS file: /cvs/glibc/libc/sysdeps/mips/dl-machine.h,v
retrieving revision 1.71
diff -u -r1.71 dl-machine.h
--- sysdeps/mips/dl-machine.h 15 Apr 2004 14:08:16 -0000 1.71
+++ sysdeps/mips/dl-machine.h 14 May 2004 05:32:32 -0000
@@ -254,7 +255,7 @@
}
}
- INTUSE (_dl_signal_error) (0, NULL, NULL, "cannot find runtime link map");
+ GLRO(dl_signal_error) (0, NULL, NULL, "cannot find runtime link map");
return NULL;
}
@@ -362,17 +363,17 @@
\
if (version->hash != 0) \
{ \
- value = _dl_lookup_versioned_symbol(strtab + sym->st_name, l, \
+ value = GLRO(dl_lookup_symbol_x)(strtab + sym->st_name, l, \
&sym, l->l_scope, version,\
- ELF_RTYPE_CLASS_PLT, 0); \
+ ELF_RTYPE_CLASS_PLT, 0,NULL); \
break; \
} \
/* Fall through. */ \
} \
case 0: \
- value = _dl_lookup_symbol (strtab + sym->st_name, l, &sym, \
- l->l_scope, ELF_RTYPE_CLASS_PLT, \
- DL_LOOKUP_ADD_DEPENDENCY); \
+ value = GLRO(dl_lookup_symbol_x) (strtab + sym->st_name, l, &sym, \
+ l->l_scope, NULL, ELF_RTYPE_CLASS_PLT, \
+ DL_LOOKUP_ADD_DEPENDENCY,NULL); \
} \
\
/* Currently value contains the base load address of the object \