From patchwork Sat May 10 02:10:13 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cody P Schafer X-Patchwork-Id: 347584 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]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 1398514009B for ; Sat, 10 May 2014 12:10:30 +1000 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:content-type:mime-version :content-transfer-encoding:subject:message-id:date:from:to; q= dns; s=default; b=p/JzaUbxXxt/+6HXqhrsWHfBtnofRdMZ/0IxVwNHz9L7H6 jRAjYOhCdzRXkFFGGUYJ7nmnEMs7O1HntlL4WP7XweIS6IPadW6RlsmrY0kPRvNO OpQ0PLrephRlh/7hc2pCo1jQGPtZ+eKDVyTxWLv7nw3el/+95DN42w6IVZZJs= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:content-type:mime-version :content-transfer-encoding:subject:message-id:date:from:to; s= default; bh=zQJIV1NIHMqHKJ3W67GYuVEI9Vo=; b=ONlOY68LBjnaeDNrxl4W L6ILwmx+U8C0pspXYKZKmSLCLi2weilsDVFexS96G9jVm5C/q//mkdQh1lDnC0y5 NUB+5Zv7LTeoF+WhfKv7gS4Lb1n+Kys3jtXFyImVfl3NFWneys8i54KgPTKyBHFS k6w+osH8oiwDzLAGUEuIWcQ= Received: (qmail 6010 invoked by alias); 10 May 2014 02:10:22 -0000 Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org Delivered-To: mailing list crossgcc@sourceware.org Received: (qmail 5992 invoked by uid 89); 10 May 2014 02:10:21 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.2 required=5.0 tests=BAYES_00, SPF_SOFTFAIL autolearn=no version=3.3.2 X-HELO: e8.ny.us.ibm.com Received: from e8.ny.us.ibm.com (HELO e8.ny.us.ibm.com) (32.97.182.138) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Sat, 10 May 2014 02:10:20 +0000 Received: from /spool/local by e8.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 9 May 2014 22:10:17 -0400 Received: from d01dlp01.pok.ibm.com (9.56.250.166) by e8.ny.us.ibm.com (192.168.1.108) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Fri, 9 May 2014 22:10:15 -0400 Received: from b01cxnp23034.gho.pok.ibm.com (b01cxnp23034.gho.pok.ibm.com [9.57.198.29]) by d01dlp01.pok.ibm.com (Postfix) with ESMTP id 6792138C803B for ; Fri, 9 May 2014 22:10:15 -0400 (EDT) Received: from d01av01.pok.ibm.com (d01av01.pok.ibm.com [9.56.224.215]) by b01cxnp23034.gho.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id s4A2AFwF655632 for ; Sat, 10 May 2014 02:10:15 GMT Received: from d01av01.pok.ibm.com (localhost [127.0.0.1]) by d01av01.pok.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id s4A2AEc4030437 for ; Fri, 9 May 2014 22:10:15 -0400 Received: from localdomain.local ([9.80.100.93]) by d01av01.pok.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with ESMTP id s4A2AEVS030413 for ; Fri, 9 May 2014 22:10:14 -0400 Received: by localdomain.local (Postfix, from userid 1000) id 085BD187048; Fri, 9 May 2014 19:10:13 -0700 (PDT) MIME-Version: 1.0 Subject: [PATCH] Add an ARCH_FLOAT_AUTO option to avoid passing float options to gcc and allow it to choose X-Mercurial-Node: 088489641f4790262685c05bef727ef8ebd5ab83 Message-Id: <088489641f4790262685.1399687813@localhost> User-Agent: Mercurial-patchbomb/2.8.2+90-3a3731a60354 Date: Fri, 09 May 2014 19:10:13 -0700 From: Cody Schafer To: crossgcc@sourceware.org X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 14051002-0320-0000-0000-000003398F66 # HG changeset patch # User Cody Schafer # Date 1399687808 25200 # Fri May 09 19:10:08 2014 -0700 # Node ID 088489641f4790262685c05bef727ef8ebd5ab83 # Parent 782051b16ef832a4a5a800571fa5a53f4a9f9370 Add an ARCH_FLOAT_AUTO option to avoid passing float options to gcc and allow it to choose Signed-off-by: Cody P Schafer --- For unsubscribe information see http://sourceware.org/lists.html#faq diff --git a/config/target.in b/config/target.in --- a/config/target.in +++ b/config/target.in @@ -296,6 +296,15 @@ prompt "Floating point:" depends on ARCH_SUPPORTS_WITH_FLOAT +config ARCH_FLOAT_AUTO + bool + prompt "auto (let gcc decide)" + help + Instead of explicitly passing a float option, don't + pass any float options and let gcc figure it out. + + For multilib configurations, this may help. + config ARCH_FLOAT_HW bool prompt "hardware (FPU)" @@ -364,6 +373,7 @@ config ARCH_FLOAT string default "" if ! ARCH_SUPPORTS_WITH_FLOAT + default "auto" if ARCH_FLOAT_AUTO default "hard" if ARCH_FLOAT_HW default "soft" if ARCH_FLOAT_SW default "softfp" if ARCH_FLOAT_SOFTFP