This is the mail archive of the binutils@sourceware.cygnus.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[RFA] Make rs6000-core.c compile on rs6000-ibm-aix3.2.5 again.


OK to check this in?

Nick's recent 64-bit AIX changes broke rs6000-ibm-aix3.2.5.  Since
`union VmInfo' is only used within an `#ifdef CORE_VERSION_1' block
there is no problem with doing this for the definition too.

Mark


2000-06-19  Mark Kettenis  <kettenis@gnu.org>

	* rs6000-core.c: Wrap definition of `union VmInfo' within #ifdef
	CORE_VERSION_1.


Index: rs6000-core.c
===================================================================
RCS file: /cvs/src/src/bfd/rs6000-core.c,v
retrieving revision 1.4
diff -u -p -r1.4 rs6000-core.c
--- rs6000-core.c	2000/06/16 20:19:24	1.4
+++ rs6000-core.c	2000/06/19 12:06:58
@@ -118,6 +118,7 @@ typedef union {
 
 /* Union of old and new vm_info structures. */
 
+#ifdef CORE_VERSION_1
 typedef union {
 #ifdef AIX_CORE_DUMPX_CORE
     struct vm_infox new;
@@ -126,6 +127,7 @@ typedef union {
 #endif
     struct vm_info old;
 } VmInfo;
+#endif
 
 /* Return whether CoreHdr C is in new or old format. */
 

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]