From patchwork Tue Jan 24 11:20:12 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alan Modra X-Patchwork-Id: 137538 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 7E739B6F65 for ; Tue, 24 Jan 2012 22:20:43 +1100 (EST) Comment: DKIM? See http://www.dkim.org DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=gcc.gnu.org; s=default; x=1328008844; h=Comment: DomainKey-Signature:Received:Received:Received:Received:Received: Received:Received:Date:From:To:Cc:Subject:Message-ID: Mail-Followup-To:References:MIME-Version:Content-Type: Content-Disposition:In-Reply-To:User-Agent:Mailing-List: Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:Sender:Delivered-To; bh=NmgKvmU6YAbYypVfBm9ymNixDWU=; b=NgyGcan1D00879y7g6Ryg+RVE8q8IYqyLGHFvaZpm3HEOHugK1PXhFBQzFxf9O U9aYQu5cWrCkXXHs9VrwzZTjijoEiwv6exU6EJs/8bYiiXJN35faWiJQl5ScKVu4 o76cxnn6mnanTceHqKpr4FrxSkKP8o0TTTJnLAe7d8AtM= Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=gcc.gnu.org; h=Received:Received:X-SWARE-Spam-Status:X-Spam-Check-By:Received:Received:Received:Received:Received:Date:From:To:Cc:Subject:Message-ID:Mail-Followup-To:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent:X-IsSubscribed:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=x+xNYdKiV4bAAs02IVYJN5tATZlVZV2cmVpqZ4RGfUg+wX9WISzk5nuhfaE4gX 6YfDDLShpYJTVrE5TycaZzbSsueQ/jUO3YFxO5CWedRTFHeWilhq3mjHrpg2RoWs dMOiRJapTtIA3cBlZdOGLHsqAmS5TrfyCrU+5PtsDPkCg=; Received: (qmail 16138 invoked by alias); 24 Jan 2012 11:20:38 -0000 Received: (qmail 16113 invoked by uid 22791); 24 Jan 2012 11:20:36 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL, BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from mail-yx0-f175.google.com (HELO mail-yx0-f175.google.com) (209.85.213.175) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 24 Jan 2012 11:20:21 +0000 Received: by yenr5 with SMTP id r5so1705667yen.20 for ; Tue, 24 Jan 2012 03:20:20 -0800 (PST) Received: by 10.236.161.232 with SMTP id w68mr16416504yhk.56.1327404020635; Tue, 24 Jan 2012 03:20:20 -0800 (PST) Received: from bubble.grove.modra.org ([115.187.252.19]) by mx.google.com with ESMTPS id b4sm43883775and.18.2012.01.24.03.20.16 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 24 Jan 2012 03:20:19 -0800 (PST) Received: by bubble.grove.modra.org (Postfix, from userid 1000) id 52197170C2EA; Tue, 24 Jan 2012 21:50:12 +1030 (CST) Date: Tue, 24 Jan 2012 21:50:12 +1030 From: Alan Modra To: David Edelsohn Cc: Rainer Orth , gcc-patches@gcc.gnu.org, Paolo Bonzini , Joel Sherill Subject: Re: [build] Cleanup rs6000/t-ppccomm configurations (PR other/51022) Message-ID: <20120124112012.GC5903@bubble.grove.modra.org> Mail-Followup-To: David Edelsohn , Rainer Orth , gcc-patches@gcc.gnu.org, Paolo Bonzini , Joel Sherill References: <20111128032646.GF7827@bubble.grove.modra.org> <20111129040352.GO7827@bubble.grove.modra.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-IsSubscribed: yes 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 Mon, Dec 05, 2011 at 07:25:35PM -0500, David Edelsohn wrote: > Is this fixed or is someone writing a follow-up patch? This does the trick. You could also use case ${host}:${with_multisubdir} in *:*32*) ;; powerpc64-*:* | *:*64*) tmake_file="$tmake_file rs6000/t-linux64" ;; esac in config.host, but that's unnecessarily complicated. The t-linux64 bits can safely go in other config files. Bootstrapped and regression tested powerpc-linux and powerpc64-linux. * config/rs6000/t-linux64: Delete. Move.. * config/rs6000/t-ppc64-fp: .. softfp_wrap defines to here.. * config/rs6000/t-linux: ..and libgcc flags to here. Index: libgcc/config/rs6000/t-linux64 =================================================================== --- libgcc/config/rs6000/t-linux64 (revision 183464) +++ libgcc/config/rs6000/t-linux64 (working copy) @@ -1,4 +0,0 @@ -HOST_LIBGCC2_CFLAGS += -mno-minimal-toc - -softfp_wrap_start := '\#ifndef __powerpc64__' -softfp_wrap_end := '\#endif' Index: libgcc/config/rs6000/t-ppc64-fp =================================================================== --- libgcc/config/rs6000/t-ppc64-fp (revision 183464) +++ libgcc/config/rs6000/t-ppc64-fp (working copy) @@ -1,2 +1,5 @@ # Can be used unconditionally, wrapped in __powerpc64__ || __64BIT__ __ppc64__. LIB2ADD += $(srcdir)/config/rs6000/ppc64-fp.c + +softfp_wrap_start := '\#ifndef __powerpc64__' +softfp_wrap_end := '\#endif' Index: libgcc/config/rs6000/t-linux =================================================================== --- libgcc/config/rs6000/t-linux (revision 183464) +++ libgcc/config/rs6000/t-linux (working copy) @@ -1,3 +1,3 @@ SHLIB_MAPFILES += $(srcdir)/config/rs6000/libgcc-glibc.ver -HOST_LIBGCC2_CFLAGS += -mlong-double-128 +HOST_LIBGCC2_CFLAGS += -mlong-double-128 -mno-minimal-toc