From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23939 invoked by alias); 10 Mar 2009 14:01:40 -0000 Received: (qmail 23419 invoked by uid 22791); 10 Mar 2009 14:01:38 -0000 X-SWARE-Spam-Status: No, hits=-1.5 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_22,J_CHICKENPOX_33,J_CHICKENPOX_34 X-Spam-Check-By: sourceware.org Received: from mx.transitive.com (HELO mx.transitive.com) (85.91.225.206) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 10 Mar 2009 14:01:27 +0000 Received: by mx.transitive.com (Postfix, from userid 65534) id 27916140C3; Tue, 10 Mar 2009 13:58:28 +0000 (GMT) X-Spam-Score: -2.4 Received: from richards-desktop.transitives.com (richards-desktop.transitives.com [192.168.2.43]) by mx.transitive.com (Postfix) with ESMTP id 8305D13A68 for ; Tue, 10 Mar 2009 13:58:26 +0000 (GMT) Received: from richards-desktop.transitives.com (localhost.localdomain [127.0.0.1]) by richards-desktop.transitives.com (8.13.8/8.13.8) with ESMTP id n2AE1NuS029835 for ; Tue, 10 Mar 2009 14:01:23 GMT Received: (from richards@localhost) by richards-desktop.transitives.com (8.13.8/8.13.8/Submit) id n2AE1NH1029834; Tue, 10 Mar 2009 14:01:23 GMT From: Richard Sandiford To: binutils@sourceware.org Mail-Followup-To: binutils@sourceware.org, richards@transitive.com Subject: [2/21] Add support for AIX 6 References: Date: Tue, 10 Mar 2009 14:01:00 -0000 In-Reply-To: (Richard Sandiford's message of "Tue\, 10 Mar 2009 13\:58\:06 +0000") Message-ID: User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2009-03/txt/msg00174.txt.bz2 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