From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Modra To: David Edelsohn Cc: Tom Rix , binutils@sourceware.cygnus.com Subject: Re: BFD configuration for AIX Date: Tue, 28 Aug 2001 20:39:00 -0000 Message-id: <20010829130846.D26936@bubble.sa.bigpond.net.au> References: <200108290203.WAA23020@makai.watson.ibm.com> X-SW-Source: 2001-08/msg00668.html On Tue, Aug 28, 2001 at 10:03:26PM -0400, David Edelsohn wrote: > BeOS does not have a 64-bit mode, so it never should accept > coff64. AIX prior to 4.3 does not have a 64-bit mode. > > config.bfd should test for > > rs6000-ibm-aix4.[3456789]* | powerpc-ibm-aix4.[3456789]*) > > and > > rs6000-ibm-aix[56789].* | powerpc-ibm-aix[56789].*) > > as is done for GCC in config.gcc. OK, I'm committing the following bfd/ChangeLog * targmatch.sed: Delete case statements. * config.bfd : Select 64 bit xcoff for aix4.3 and above. -- Alan Modra Index: config.bfd =================================================================== RCS file: /cvs/src/src/bfd/config.bfd,v retrieving revision 1.64 diff -u -p -r1.64 config.bfd --- config.bfd 2001/08/29 01:33:51 1.64 +++ config.bfd 2001/08/29 03:32:39 @@ -733,6 +733,10 @@ case "${targ}" in powerpc-*-aix* | powerpc-*-beos* | rs6000-*-*) targ_defvec=rs6000coff_vec targ64_selvecs="rs6000coff64_vec" + case "${targ}" in + *-*-aix4.[3456789]* | *-*-aix[56789]*) + want64=true;; + esac ;; #ifdef BFD64 powerpc64-*-aix*) Index: targmatch.sed =================================================================== RCS file: /cvs/src/src/bfd/targmatch.sed,v retrieving revision 1.1.1.1 diff -u -p -r1.1.1.1 targmatch.sed --- targmatch.sed 1999/05/03 07:28:58 1.1.1.1 +++ targmatch.sed 2001/08/29 03:32:39 @@ -1,5 +1,6 @@ 1,/START OF targmatch.h/ d /END OF targmatch.h/,$ d +/^[ ]*case/,/^[ ]*esac/ d s/^#if/KEEP #if/ s/^#endif/KEEP #endif/ s/^[ ]*#.*$//