From patchwork Thu Oct 29 09:25:19 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christophe Lyon X-Patchwork-Id: 55748 Delivered-To: patch@linaro.org Received: by 10.112.61.134 with SMTP id p6csp434991lbr; Thu, 29 Oct 2015 02:25:37 -0700 (PDT) X-Received: by 10.50.117.65 with SMTP id kc1mr8697788igb.4.1446110736918; Thu, 29 Oct 2015 02:25:36 -0700 (PDT) Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id f129si2276890iof.18.2015.10.29.02.25.36 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 29 Oct 2015 02:25:36 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-return-411914-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; spf=pass (google.com: domain of gcc-patches-return-411914-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=gcc-patches-return-411914-patch=linaro.org@gcc.gnu.org; dkim=pass header.i=@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 :mime-version:date:message-id:subject:from:to:content-type; q= dns; s=default; b=fdd+YLkIzSTnEs2ky/RUkfpRcs549OGCPF64waKskj5J9t KvqKSTiwXiTFsxw1iFYmPwxSKAETQZIzZcdHXJC+dfUwsie94O5i9sqShjO96g2s EvQbOWQcmNCbG/iXxkdWTnsKlNIvBHENRqZ7WcQ9CllrVzWT4G9nP6q5ek9VI= 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 :mime-version:date:message-id:subject:from:to:content-type; s= default; bh=e6iKIlUk+WdCRcd+fFERrVBa9Vg=; b=PCd/7Rq55poMGhLJiT/j E5zGMGku/DsTqRgOxMPoiFQ1+b5hCcjt7fdlDB2mmvidI3lCLvworfW8MJmQM8NP 6MYZX3nI4HwbiVF9ajqR4n1+6jTnSuw1U1mN88PIrwRhxTBmMCJaSeOM7PlSIlGn YaK9CUXnpoDRbzwa7JpANTc= Received: (qmail 101538 invoked by alias); 29 Oct 2015 09:25:24 -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 101523 invoked by uid 89); 29 Oct 2015 09:25:23 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.5 required=5.0 tests=AWL, BAYES_40, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-qg0-f46.google.com Received: from mail-qg0-f46.google.com (HELO mail-qg0-f46.google.com) (209.85.192.46) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Thu, 29 Oct 2015 09:25:21 +0000 Received: by qgad10 with SMTP id d10so28861210qga.3 for ; Thu, 29 Oct 2015 02:25:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=hI1hoHlfjTex8xzeZyaqmTo53KC6tUSiY56wpwbCTHM=; b=aRmdChY58AtRHuijnKX3ciaueNLkSFVsEeu/QYYIHIWSooTLPY9xui+/N+1ZirNiaQ 4/jxVaJbQtkySEiQ1pdXrdMtjK9OsqtPlyAKHs93xyJZCLYQrwVD6l6O0P05n8E0yQlP s3vM7wZNlHbWcS6rR23ehFd/3EUyVzKNcBGF3nM4ZCN1ceNiFww1QjFJarJUTW6lteLV IPEkfbRR1rB3f9qd95ZgGFrON93MewM/LVTksJUXgvqwQZiBz5eWpb/YPbksup+sC2gu zu6/CEuxd5gSfsSbQOv4KL3ddA7CYOmv+Z3svEorhEMetIIsF779cu6nOJLdDqqtbJ36 9KSg== X-Gm-Message-State: ALoCoQnCuJEdmxDvNb7fBhaDeFOtuHyPicx+5y48rNOBH5w3tT9GriXH0TH8B2gL0RJ0/z27NjoD MIME-Version: 1.0 X-Received: by 10.140.233.196 with SMTP id e187mr725967qhc.86.1446110719673; Thu, 29 Oct 2015 02:25:19 -0700 (PDT) Received: by 10.140.29.136 with HTTP; Thu, 29 Oct 2015 02:25:19 -0700 (PDT) Date: Thu, 29 Oct 2015 10:25:19 +0100 Message-ID: Subject: [ARM] libgcc: include crtfastmath.o From: Christophe Lyon To: "gcc-patches@gcc.gnu.org" X-IsSubscribed: yes Hi, On arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems* targets, crtfastmath.o is not part of $extra_parts, which means that it is not built, even though the make build rule is present via the inclusion of t-crtfm. The impact is that the link fails when using -ffast-math. The attached patch adds crtfastmath.o to $extra_parts, for arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems* targets. I tested on arm-none-eabi, and I am not sure if this is correct for symbian/rtems. OK? Or should I restrict the change to arm*-*-eabi* ? Thanks, Christophe. 2015-10-29 Christophe Lyon * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*): Include crtfastmath.o. diff --git a/libgcc/config.host b/libgcc/config.host index 2ee92c1..b63cc36 100644 --- a/libgcc/config.host +++ b/libgcc/config.host @@ -414,6 +414,7 @@ arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtems*) ;; esac tmake_file="$tmake_file t-softfp-sfdf t-softfp-excl arm/t-softfp t-softfp" + extra_parts="$extra_parts crtfastmath.o" unwind_header=config/arm/unwind-arm.h ;; avr-*-rtems*)