From patchwork Fri Jun 9 12:53:32 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Richard Earnshaw \(lists\)" X-Patchwork-Id: 103477 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp193629qgd; Fri, 9 Jun 2017 05:55:07 -0700 (PDT) X-Received: by 10.99.8.1 with SMTP id 1mr39267676pgi.15.1497012907415; Fri, 09 Jun 2017 05:55:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497012907; cv=none; d=google.com; s=arc-20160816; b=HUUBejeJ/T0v7fBecsmRQPkzSkOm1V1u4jFlkEHdvciA4OF0OaXZJI44NgCFQk4+8n zcXwzDrDayJoEU9ifJzrO/GX3kmOL9WwjKsL6twHnahuvdZtZxXD/7E9LNXbmD5yn4Q9 uA3ZtW0RngZ3zCIm4ksGnXl07M4YkbJBli/odNrRtF4xKDUUo0btzv3jB0azD0xW9sao sxB4BhpV9xmGHr20GA/REUte/jcfPCiggt2ksvR8PKQ2ngtw41gVGLvaRsAOmdaCLL4q QmDuXFKd5Waw4tX10gm1/szZs7G3NIpHRw6gflvjhUe58Rp/9im7qaZR22ofsJJK0Fmn CTrQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:references:in-reply-to:references:in-reply-to :message-id:date:subject:cc:to:from:delivered-to:sender:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence :mailing-list:dkim-signature:domainkey-signature :arc-authentication-results; bh=nUcxi7+QpljoQSqnOvYS/768EHDzclpt6hjEsZT8wfM=; b=wBsSODPiyP/y+A4F8JNBIfeDsnzQ+pOHn9ZGyKgoTpif1jcHTOoCfYlrvIDykY+1EB Tc7F92Mtp/nPeJMN0P89Bk6l1IMudKMPz19O7Zm8t5h0rMI6yd3r1JpUHAMlXU93NtO3 /m2LIbnSlDsxzfK/NxmmJh1PLvtpbOb22UREZk+kjpR1a0qN4ROi5ADAgBsZC8O2gWla CDFgEazHygjyDVDHKg2b2AbCoLph6d7HCq3c37JDsDCcKd21t+PwIN1bChmqa7dv553K eaJJaADdgVuxbI/JwbA6WG3f5/HcYddAKcPDqR1VkJ6TOmWoMs+prGAEK3EjnloRqJaa PV4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org; spf=pass (google.com: domain of gcc-patches-return-455521-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=gcc-patches-return-455521-patch=linaro.org@gcc.gnu.org Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id 20si920036pft.334.2017.06.09.05.55.06 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 09 Jun 2017 05:55:07 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-return-455521-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org; spf=pass (google.com: domain of gcc-patches-return-455521-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=gcc-patches-return-455521-patch=linaro.org@gcc.gnu.org DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references:mime-version:content-type; q=dns; s= default; b=jya7q3f6bKR/hjPBJgynDlOkfRU+3ylr5A7tFdwgBTlYkgSg3cqD9 wyJnQ8YB7LDVC+XoFK3HyOhVnKyccvrc5mAK7FGuuZKrX8vZ+BVj2goxMnRspBIX RE6skoP6yS1Xum7FYsJzv1k0FM2i1CjlNZipKDShiwE4U9vnJlyRLc= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references:mime-version:content-type; s=default; bh=ppJvtU2DOXrYMsiWOfxYX9JaIGE=; b=vnxaJXcC++TNwEvAwJrcXrtILRd6 oOyQjR7rI788iWIDgc33ARKKhQl+PRVxvh7z1IpWmdQH6mMltTrKrzh3ObHAGCH5 V8LH/Ghd9jJ49ixG9UfOkl8c1RDtRg4SRLd1lKFjrH47b9vtsaNOz1gd+ul+V34j VeS1vlF3baqm0PQ= Received: (qmail 75966 invoked by alias); 9 Jun 2017 12:54:10 -0000 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 Received: (qmail 72319 invoked by uid 89); 9 Jun 2017 12:54:08 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-26.9 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, SPF_PASS, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy= X-HELO: foss.arm.com Received: from foss.arm.com (HELO foss.arm.com) (217.140.101.70) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 09 Jun 2017 12:54:07 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 46D841610; Fri, 9 Jun 2017 05:54:10 -0700 (PDT) Received: from e105689-lin.cambridge.arm.com (e105689-lin.cambridge.arm.com [10.2.207.32]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id C98743F3E1; Fri, 9 Jun 2017 05:54:09 -0700 (PDT) From: Richard Earnshaw To: gcc-patches@gcc.gnu.org Cc: Richard Earnshaw Subject: [PATCH 03/30] [arm] Don't pass -mfpu=auto through to the assembler. Date: Fri, 9 Jun 2017 13:53:32 +0100 Message-Id: <4200ed9d10985ec6b8bd7e86ab7ad924a9080078.1497004220.git.Richard.Earnshaw@arm.com> In-Reply-To: References: In-Reply-To: References: MIME-Version: 1.0 The assembler doesn't understand -mfpu=auto. The easiest way to handle this is to surpress this value from being passed through, while still passing through legacy values. * config/arm/elf.h (ASM_SPEC): Only pass -mfpu through to the assembler when it is not -mfpu=auto. --- gcc/config/arm/elf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/config/arm/elf.h b/gcc/config/arm/elf.h index f119b87..fcc4f3f 100644 --- a/gcc/config/arm/elf.h +++ b/gcc/config/arm/elf.h @@ -64,7 +64,7 @@ %{mapcs-*:-mapcs-%*} \ %(subtarget_asm_float_spec) \ %{mthumb-interwork:-mthumb-interwork} \ -%{mfloat-abi=*} %{mfpu=*} \ +%{mfloat-abi=*} %{!mfpu=auto: %{mfpu=*}} \ %(subtarget_extra_asm_spec)" #endif