This is the mail archive of the binutils@sources.redhat.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]

Re: BFD configuration for AIX


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 <powerpc-*-aix* entry>: 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/^[ 	]*#.*$//


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