From patchwork Tue Jul 19 16:07:05 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Clifton X-Patchwork-Id: 650268 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 3rv4gY2Rwyz9snm for ; Wed, 20 Jul 2016 02:07:21 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=JvdHAzTn; dkim-atps=neutral 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:subject:date:message-id:mime-version:content-type; q=dns; s= default; b=irvdMPny2Dv2Dy80+h2tY7tOzQtHOgH5yCXLo8wbiSJYyZVTPrwqf +yfJl/2jH1ymO0DaeDjhUyvE/tPGJdt6J4ZCDB7UgcamY22QWFADQw/+QmcRvYA7 evPQVH2Ykvt4CrDLW2CyLBjp+t5pzQNMnIKTiFxRny2k8k3c/5Lwdo= 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:subject:date:message-id:mime-version:content-type; s= default; bh=Zq7Od7nQHhQbX06Js936Q+Rpt5o=; b=JvdHAzTn9RrwKCiZyMuS +u7cPgLUxmar8It1XcsmwHptzA3KMMJdeUOK0chO8eBq2k3+g78d3NLbIAB/1Wun qy+RY2CQcizfVzabHOLo4KECJ1rxM2kSf2c6xrif1qfER5nvNbyps6vHrg72RvNo 41u+aQTD3ZkcZU3k2uRpQr0= Received: (qmail 54843 invoked by alias); 19 Jul 2016 16:07:11 -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 54831 invoked by uid 89); 19 Jul 2016 16:07:10 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.2 required=5.0 tests=BAYES_00, RP_MATCHES_RCVD, SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=Guys, Tested, 7878 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Tue, 19 Jul 2016 16:07:09 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 2491A7D0EA for ; Tue, 19 Jul 2016 16:07:08 +0000 (UTC) Received: from localhost.localdomain.redhat.com (vpn1-7-144.ams2.redhat.com [10.36.7.144]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u6JG7624001531 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Tue, 19 Jul 2016 12:07:07 -0400 From: Nick Clifton To: gcc-patches@gcc.gnu.org Subject: Commit: M32R: Build crtinit.o and crtfini.o Date: Tue, 19 Jul 2016 17:07:05 +0100 Message-ID: <87poq9mx1y.fsf@redhat.com> MIME-Version: 1.0 X-IsSubscribed: yes Hi Guys, I am applying the patch below to fix a long standing snafu for the m32r target where the files crtinit.o and crtfini.o were not being built along with the rest of libgcc. Tested with no regressions and a lot of test case fixes using an m32r-elf toolchain. Cheers Nick libgcc/ChangeLog 2016-07-19 Nick Clifton * config.host (m32r): Add m32r/t-m32r to tmake_file. Add crtinit.o and crtfini.o to extra_parts. Index: libgcc/config.host =================================================================== --- libgcc/config.host (revision 238477) +++ libgcc/config.host (working copy) @@ -787,7 +787,8 @@ tmake_file="lm32/t-lm32 lm32/t-uclinux t-libgcc-pic t-softfp-sfdf t-softfp" ;; m32r-*-elf*) - tmake_file=t-fdpbit + tmake_file="$tmake_file m32r/t-m32r t-fdpbit" + extra_parts="$extra_parts crtinit.o crtfini.o" ;; m32rle-*-elf*) tmake_file=t-fdpbit