From: Mark Kettenis Date: Mon, 19 Jun 2000 19:33:35 +0000 (+0000) Subject: * rs6000-core.c: Wrap definition of `union VmInfo' within #ifdef X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1605fc4f2a97b75bedf9e4efc628e8507f3d8d0a;p=binutils-gdb.git * rs6000-core.c: Wrap definition of `union VmInfo' within #ifdef CORE_VERSION_1. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 3bf5a1744d3..18038afcd7f 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2000-06-19 Mark Kettenis + + * rs6000-core.c: Wrap definition of `union VmInfo' within #ifdef + CORE_VERSION_1. + 2000-06-18 Stephane Carrez * Makefile.in, bfd-in2.h, libbfd.h, configure: Rebuild. diff --git a/bfd/rs6000-core.c b/bfd/rs6000-core.c index 2e06f557aa7..7f6bec462e2 100644 --- a/bfd/rs6000-core.c +++ b/bfd/rs6000-core.c @@ -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. */