This is the mail archive of the binutils@sourceware.org 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]
Other format: [Raw text]

[2/21] Add support for AIX 6


This second patch simply treats AIX 6 (and later) like AIX 5 instead
of AIX 4.

OK to install?

Richard


bfd/
	* config.bfd: Treat AIX 6+ in the same way as AIX 5.
	* configure.in: Likewise.
	* configure: Regenerate.

binutils/
	* configure.tgt: Extend AIX 5 behavior to AIX 6 and above.
	* configure.in: Likewise.
	* configure: Regenerate.

gas/
	* configure.tgt: Extend AIX 5 behavior to AIX 6 and above.
	* configure.in: Likewise.
	* configure: Regenerate.

ld/
	* configure.tgt: Extend AIX 5 behavior to AIX 6 and above.

Index: bfd/config.bfd
===================================================================
--- bfd/config.bfd	2009-03-10 13:38:53.000000000 +0000
+++ bfd/config.bfd	2009-03-10 13:42:17.000000000 +0000
@@ -1081,14 +1081,14 @@ case "${targ}" in
     want64=true
     ;;
 #endif
-  powerpc-*-aix5*)
+  powerpc-*-aix[5-9]*)
     targ_cflags=-DAIX_WEAK_SUPPORT
     targ_defvec=rs6000coff_vec
     targ_selvecs="aix5coff64_vec"
     want64=true
     ;;
 #ifdef BFD64
-  powerpc64-*-aix5*)
+  powerpc64-*-aix[5-9]*)
     targ_cflags=-DAIX_WEAK_SUPPORT
     targ_defvec=aix5coff64_vec
     targ_selvecs="rs6000coff_vec"
Index: bfd/configure.in
===================================================================
--- bfd/configure.in	2009-03-10 13:38:53.000000000 +0000
+++ bfd/configure.in	2009-03-10 13:42:17.000000000 +0000
@@ -391,7 +391,9 @@ changequote([,])dnl
   rs6000-*-lynx*)
   	COREFILE=lynx-core.lo
 	;;
-  rs6000-*-aix5.* | powerpc-*-aix5.*)
+changequote(,)dnl
+  rs6000-*-aix[5-9].* | powerpc-*-aix[5-9].*)
+changequote([,])dnl
         COREFILE=rs6000-core.lo
 	COREFLAG="$COREFLAG -DAIX_5_CORE -DAIX_CORE_DUMPX_CORE"
 	;;
Index: binutils/configure.tgt
===================================================================
--- binutils/configure.tgt	2009-03-10 13:38:53.000000000 +0000
+++ binutils/configure.tgt	2009-03-10 13:42:17.000000000 +0000
@@ -9,7 +9,7 @@
 # targ_emul_vector	name of vector to use
 
 case "${targ}" in
-    powerpc-*-aix5* | rs6000-*-aix5*)
+    powerpc-*-aix[5-9]* | rs6000-*-aix[5-9]*)
 	targ_emul=aix 
 	targ_emul_vector=bin_aix5_emulation 
         ;;
Index: binutils/configure.in
===================================================================
--- binutils/configure.in	2009-03-10 13:38:53.000000000 +0000
+++ binutils/configure.in	2009-03-10 13:42:17.000000000 +0000
@@ -330,7 +330,9 @@ changequote(,)dnl
 	powerpc*-aix5.[01])
 changequote([,])dnl
 	  ;;
-	powerpc*-aix5.*)
+changequote(,)dnl
+	powerpc*-aix[5-9].*)
+changequote([,])dnl
 	  OBJDUMP_DEFS="-DAIX_WEAK_SUPPORT"
 	  ;;
 	powerpc*-*-pe* | powerpc*-*-cygwin*)
Index: gas/configure.tgt
===================================================================
--- gas/configure.tgt	2009-03-10 13:38:53.000000000 +0000
+++ gas/configure.tgt	2009-03-10 13:42:17.000000000 +0000
@@ -320,7 +320,7 @@ case ${generic_target} in
   ppc-*-pe | ppc-*-cygwin*)		fmt=coff em=pe ;;
   ppc-*-winnt*)				fmt=coff em=pe ;;
   ppc-*-aix5.[01])			fmt=coff em=aix5 ;;
-  ppc-*-aix5.*)				fmt=coff em=aix5 ;;
+  ppc-*-aix[5-9].*)			fmt=coff em=aix5 ;;
   ppc-*-aix*)				fmt=coff ;;
   ppc-*-beos*)				fmt=coff ;;
   ppc-*-*n*bsd* | ppc-*-elf*)		fmt=elf ;;
Index: gas/configure.in
===================================================================
--- gas/configure.in	2009-03-10 13:38:53.000000000 +0000
+++ gas/configure.in	2009-03-10 13:42:17.000000000 +0000
@@ -143,7 +143,9 @@ for this_target in $target $canon_target
 	AC_MSG_ERROR(Unknown vendor for mips-bsd configuration.)
 	;;
 
-      ppc-*-aix5.*)
+changequote(,)dnl
+      ppc-*-aix[5-9].*)
+changequote([,])dnl
 	AC_DEFINE(AIX_WEAK_SUPPORT, 1,
 		  [Define if using AIX 5.2 value for C_WEAKEXT.])
 	;;
Index: ld/configure.tgt
===================================================================
--- ld/configure.tgt	2009-03-10 13:38:53.000000000 +0000
+++ ld/configure.tgt	2009-03-10 13:42:17.000000000 +0000
@@ -487,12 +487,12 @@ powerpc-*-netware*)	targ_emul=ppcnw ;;
 powerpcle-*-pe)         targ_emul=ppcpe ;;
 powerpcle-*-winnt*)     targ_emul=ppcpe ;;
 powerpcle-*-cygwin*)    targ_emul=ppcpe ;;
-powerpc-*-aix5*)	targ_emul=aix5ppc ;;
+powerpc-*-aix[5-9]*)	targ_emul=aix5ppc ;;
 powerpc-*-aix*)		targ_emul=aixppc ;;
 powerpc-*-beos*)	targ_emul=aixppc ;;
 powerpc-*-windiss*)	targ_emul=elf32ppcwindiss ;;
 powerpc-*-lynxos*)	targ_emul=ppclynx ;;
-rs6000-*-aix5*)		targ_emul=aix5rs6 ;;
+rs6000-*-aix[5-9]*)	targ_emul=aix5rs6 ;;
 rs6000-*-aix*)		targ_emul=aixrs6
 			;;
 s390x-*-linux*)         targ_emul=elf64_s390


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