This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
PATCH: Undefine HAVE_PRPSINFO32_T/HAVE_PRSTATUS32_T first
- From: "H.J. Lu" <hongjiu dot lu at intel dot com>
- To: binutils at sourceware dot org
- Date: Sat, 10 Apr 2010 15:53:40 -0700
- Subject: PATCH: Undefine HAVE_PRPSINFO32_T/HAVE_PRSTATUS32_T first
- Reply-to: "H.J. Lu" <hjl dot tools at gmail dot com>
Hi,
I checked in this patch to undef HAVE_PRPSINFO32_T/HAVE_PRSTATUS32_T
first.
H.J.
---
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index c1872c9..7225371 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,5 +1,11 @@
2010-04-10 H.J. Lu <hongjiu.lu@intel.com>
+ * hosts/x86-64linux.h (HAVE_PRPSINFO32_T): Undefine before
+ define.
+ (HAVE_PRSTATUS32_T): Likewise.
+
+2010-04-10 H.J. Lu <hongjiu.lu@intel.com>
+
PR corefiles/11467
* configure.in (CORE_HEADER): New. Set to hosts/x86-64linux.h
for x86_64-*-linux*.
diff --git a/bfd/hosts/x86-64linux.h b/bfd/hosts/x86-64linux.h
index fdf17f1..27901c5 100644
--- a/bfd/hosts/x86-64linux.h
+++ b/bfd/hosts/x86-64linux.h
@@ -38,7 +38,10 @@
typedef unsigned int uint32_t;
#endif
+#undef HAVE_PRPSINFO32_T
#define HAVE_PRPSINFO32_T
+
+#undef HAVE_PRSTATUS32_T
#define HAVE_PRSTATUS32_T
/* These are the 32-bit x86 structures. */