From patchwork Fri Feb 4 23:47:36 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joseph Myers X-Patchwork-Id: 81983 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id 4A0A1B70FF for ; Sat, 5 Feb 2011 10:47:47 +1100 (EST) Received: (qmail 28666 invoked by alias); 4 Feb 2011 23:47:45 -0000 Received: (qmail 28658 invoked by uid 22791); 4 Feb 2011 23:47:44 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL, BAYES_00, TW_XG, T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 04 Feb 2011 23:47:40 +0000 Received: (qmail 12370 invoked from network); 4 Feb 2011 23:47:38 -0000 Received: from unknown (HELO digraph.polyomino.org.uk) (joseph@127.0.0.2) by mail.codesourcery.com with ESMTPA; 4 Feb 2011 23:47:38 -0000 Received: from jsm28 (helo=localhost) by digraph.polyomino.org.uk with local-esmtp (Exim 4.72) (envelope-from ) id 1PlVNI-0002J8-QR; Fri, 04 Feb 2011 23:47:36 +0000 Date: Fri, 4 Feb 2011 23:47:36 +0000 (UTC) From: "Joseph S. Myers" To: Rainer Orth cc: Eric Botcazou , gcc-patches@gcc.gnu.org, rth@redhat.com, davem@redhat.com, jakub@redhat.com Subject: Re: Add SPARC Solaris options from specs to new sparc/sol2.opt In-Reply-To: Message-ID: References: <201102040955.06608.ebotcazou@adacore.com> MIME-Version: 1.0 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org On Fri, 4 Feb 2011, Rainer Orth wrote: > Eric Botcazou writes: > > >> Tested building cc1 and xgcc for cross to sparc-solaris2.8. OK to > >> commit? (Or, in the alternative, OK to commit the obvious patch to > >> remove %{sun4:} %{target:} from specs in sol2-bi.h?) > > > > I'd personally be in favor of the latter solution. What do you think, Rainer? > > Me too. I couldn't find any hint of -sun4 or -target (with or without > sun4) in not-too-ancient Studio compilers. This stuff seems like > ancient (as in SunOS 4) history to me, so good riddance. Is this alternative patch OK, then? 2011-02-04 Joseph Myers * config/sparc/sol2-bi.h (CC1_SPEC): Remove %{sun4:} %{target:}. Index: gcc/config/sparc/sol2-bi.h =================================================================== --- gcc/config/sparc/sol2-bi.h (revision 169841) +++ gcc/config/sparc/sol2-bi.h (working copy) @@ -229,14 +229,12 @@ see the files COPYING3 and COPYING.RUNTI #undef CC1_SPEC #if DEFAULT_ARCH32_P #define CC1_SPEC "\ -%{sun4:} %{target:} \ %{m64:%{m32:%emay not use both -m32 and -m64}} \ %{m64:-mptr64 -mstack-bias -mno-v8plus \ %{!mcpu*:-%{!mv8plus:mcpu=v9}}} \ " #else #define CC1_SPEC "\ -%{sun4:} %{target:} \ %{m32:%{m64:%emay not use both -m32 and -m64}} \ %{m32:-mptr32 -mno-stack-bias \ %{!mcpu*:%{!mv8plus:-mcpu=v9}}} \