about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-11-30 07:31:10 +0000
committerAndreas Jaeger <aj@suse.de>2000-11-30 07:31:10 +0000
commita0f5c800f3ec1d82c3115337e6217423f185e1fd (patch)
tree276bb015087abd6183a7b76e81b68e495f9567c1
parentecefc9b582877594c01a87f7bd5c3fa296bf2a81 (diff)
downloadglibc-a0f5c800f3ec1d82c3115337e6217423f185e1fd.tar.gz
glibc-a0f5c800f3ec1d82c3115337e6217423f185e1fd.tar.xz
glibc-a0f5c800f3ec1d82c3115337e6217423f185e1fd.zip
Update.
2000-11-29  H.J. Lu  <hjl@gnu.org>

	* sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
-rw-r--r--ChangeLog4
-rw-r--r--sysdeps/generic/readelflib.c3
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 1b1fa8ed9a..8066a69a54 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2000-11-29  H.J. Lu  <hjl@gnu.org>
+
+	* sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
+
 2000-11-29  Andreas Jaeger  <aj@suse.de>
 
 	* sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused
diff --git a/sysdeps/generic/readelflib.c b/sysdeps/generic/readelflib.c
index 270c9b00a5..2797c282f5 100644
--- a/sysdeps/generic/readelflib.c
+++ b/sysdeps/generic/readelflib.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1999 Free Software Foundation, Inc.
+/* Copyright (C) 1999, 2000 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Andreas Jaeger <aj@suse.de>, 1999 and
 		  Jakub Jelinek <jakub@redhat.com>, 1999.
@@ -25,6 +25,7 @@
 
 /* check_ptr checks that a pointer is in the mmaped file and doesn't
    point outside it.  */
+#undef check_ptr
 #define check_ptr(ptr)						\
 do								\
   {								\