From: Richard Sandiford Date: Sat, 14 Mar 2009 09:11:38 +0000 (+0000) Subject: bfd/ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e52315924b94ebfea09366bebb535692f274dc52;p=binutils-gdb.git 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. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 5bd669d4d9f..38e761c48db 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 d9865e61785..8a448faa6c0 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 adcd52d5bba..a45eef31cb9 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 fe780a97839..df5202638b8 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 87badcd2da7..877349ba859 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 6914de75497..431dfc8f15c 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 8a2c345f1bc..9931eb27469 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 2d5ce2b8a84..253f7310ce2 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 7f6042213bf..b4472b273ad 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 3c5a04662fd..ec23638c997 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 242bac7d222..011e886db40 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 38455d8a1f4..e3eadac3199 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 86cdeb8bcc8..8e09dbf25d2 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 72cef1778ef..329399f07e7 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