From bbcff98633fb2ab9bb903890352cacb77e934817 Mon Sep 17 00:00:00 2001 From: Richard Sandiford Date: Sat, 14 Mar 2009 09:11:38 +0000 Subject: [PATCH] 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. --- bfd/ChangeLog | 6 ++++++ bfd/config.bfd | 4 ++-- bfd/configure | 2 +- bfd/configure.in | 4 +++- binutils/ChangeLog | 6 ++++++ binutils/configure | 2 +- binutils/configure.in | 4 +++- binutils/configure.tgt | 2 +- gas/ChangeLog | 6 ++++++ gas/configure | 2 +- gas/configure.in | 4 +++- gas/configure.tgt | 2 +- ld/ChangeLog | 4 ++++ ld/configure.tgt | 4 ++-- 14 files changed, 40 insertions(+), 12 deletions(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 5bd669d4d..38e761c48 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,9 @@ +2009-03-14 Richard Sandiford + + * config.bfd: Treat AIX 6+ in the same way as AIX 5. + * configure.in: Likewise. + * configure: Regenerate. + 2009-03-13 H.J. Lu PR binutils/9945 diff --git a/bfd/config.bfd b/bfd/config.bfd index d9865e617..8a448faa6 100644 --- a/bfd/config.bfd +++ b/bfd/config.bfd @@ -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" diff --git a/bfd/configure b/bfd/configure index adcd52d5b..a45eef31c 100755 --- a/bfd/configure +++ b/bfd/configure @@ -19228,7 +19228,7 @@ if test "${target}" = "${host}"; then rs6000-*-lynx*) COREFILE=lynx-core.lo ;; - rs6000-*-aix5.* | powerpc-*-aix5.*) + rs6000-*-aix[5-9].* | powerpc-*-aix[5-9].*) COREFILE=rs6000-core.lo COREFLAG="$COREFLAG -DAIX_5_CORE -DAIX_CORE_DUMPX_CORE" ;; diff --git a/bfd/configure.in b/bfd/configure.in index fe780a978..df5202638 100644 --- a/bfd/configure.in +++ b/bfd/configure.in @@ -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" ;; diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 87badcd2d..877349ba8 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,9 @@ +2009-03-14 Richard Sandiford + + * configure.tgt: Extend AIX 5 behavior to AIX 6 and above. + * configure.in: Likewise. + * configure: Regenerate. + 2009-03-13 H.J. Lu PR binutils/9945 diff --git a/binutils/configure b/binutils/configure index 6914de754..431dfc8f1 100755 --- a/binutils/configure +++ b/binutils/configure @@ -16159,7 +16159,7 @@ do ;; powerpc*-aix5.[01]) ;; - powerpc*-aix5.*) + powerpc*-aix[5-9].*) OBJDUMP_DEFS="-DAIX_WEAK_SUPPORT" ;; powerpc*-*-pe* | powerpc*-*-cygwin*) diff --git a/binutils/configure.in b/binutils/configure.in index 8a2c345f1..9931eb274 100644 --- a/binutils/configure.in +++ b/binutils/configure.in @@ -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*) diff --git a/binutils/configure.tgt b/binutils/configure.tgt index 2d5ce2b8a..253f7310c 100644 --- a/binutils/configure.tgt +++ b/binutils/configure.tgt @@ -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 ;; diff --git a/gas/ChangeLog b/gas/ChangeLog index 7f6042213..b4472b273 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,9 @@ +2009-03-14 Richard Sandiford + + * configure.tgt: Extend AIX 5 behavior to AIX 6 and above. + * configure.in: Likewise. + * configure: Regenerate. + 2009-03-11 Hans-Peter Nilsson * config/tc-cris.c (cris_create_short_jump): Remove prototype. diff --git a/gas/configure b/gas/configure index 3c5a04662..ec23638c9 100755 --- a/gas/configure +++ b/gas/configure @@ -12050,7 +12050,7 @@ echo "$as_me: error: Unknown vendor for mips-bsd configuration." >&2;} { (exit 1); exit 1; }; } ;; - ppc-*-aix5.*) + ppc-*-aix[5-9].*) cat >>confdefs.h <<\_ACEOF #define AIX_WEAK_SUPPORT 1 diff --git a/gas/configure.in b/gas/configure.in index 242bac7d2..011e886db 100644 --- a/gas/configure.in +++ b/gas/configure.in @@ -143,7 +143,9 @@ for this_target in $target $canon_targets ; do 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.]) ;; diff --git a/gas/configure.tgt b/gas/configure.tgt index 38455d8a1..e3eadac31 100644 --- a/gas/configure.tgt +++ b/gas/configure.tgt @@ -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 ;; diff --git a/ld/ChangeLog b/ld/ChangeLog index 86cdeb8bc..8e09dbf25 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,7 @@ +2009-03-14 Richard Sandiford + + * configure.tgt: Extend AIX 5 behavior to AIX 6 and above. + 2009-03-14 Dave Korn Danny Smith diff --git a/ld/configure.tgt b/ld/configure.tgt index 72cef1778..329399f07 100644 --- a/ld/configure.tgt +++ b/ld/configure.tgt @@ -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 -- 2.11.4.GIT