This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
[patch] fix sparc dl-machine.h and hppa dl-lookupcfg.h
- To: GNU C Library <libc-alpha at sourceware dot cygnus dot com>
- Subject: [patch] fix sparc dl-machine.h and hppa dl-lookupcfg.h
- From: Ben Collins <bcollins at debian dot org>
- Date: Fri, 7 Sep 2001 22:59:58 -0400
2001-09-07 Ben Collins <bcollins@debian.org
* sysdeps/sparc/sparc32/dl-machine.h: Fix typo.
* sysdeps/hppa/dl-lookupcfg.h: Forward declare struct link_map
--
.----------=======-=-======-=========-----------=====------------=-=-----.
/ Ben Collins -- ...on that fantastic voyage... -- Debian GNU/Linux \
` bcollins@debian.org -- bcollins@openldap.org -- bcollins@linux.com '
`---=========------=======-------------=-=-----=-===-======-------=--=---'
--- sysdeps/sparc/sparc32/dl-machine.h~ 2001/08/30 23:09:11 1.35
+++ sysdeps/sparc/sparc32/dl-machine.h 2001/09/08 02:02:13
@@ -355,7 +355,7 @@
weak_extern (_dl_rtld_map);
#endif
-#if !define RTLD_BOOTSTRAP || !defined HAVE_Z_COMBRELOC
+#if !defined RTLD_BOOTSTRAP || !defined HAVE_Z_COMBRELOC
if (__builtin_expect (r_type == R_SPARC_RELATIVE, 0))
{
# if !defined RTLD_BOOTSTRAP && !defined HAVE_Z_COMBRELOC
--- sysdeps/hppa/dl-lookupcfg.h~ 2001/07/06 04:55:51 1.3
+++ sysdeps/hppa/dl-lookupcfg.h 2001/09/08 02:48:07
@@ -23,6 +23,9 @@
#define ELF_FUNCTION_PTR_IS_SPECIAL
#define DL_UNMAP_IS_SPECIAL
+/* Forward declaration. */
+struct link_map;
+
void *_dl_symbol_address (const struct link_map *map, const ElfW(Sym) *ref);
#define DL_SYMBOL_ADDRESS(map, ref) _dl_symbol_address(map, ref)