From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12118 invoked by alias); 21 Nov 2012 00:05:24 -0000 Received: (qmail 11963 invoked by uid 22791); 21 Nov 2012 00:05:21 -0000 X-SWARE-Spam-Status: No, hits=-2.9 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,TW_IV X-Spam-Check-By: sourceware.org Received: from youngberry.canonical.com (HELO youngberry.canonical.com) (91.189.89.112) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 21 Nov 2012 00:05:15 +0000 Received: from dslb-088-073-101-040.pools.arcor-ip.net ([88.73.101.40] helo=[192.168.42.216]) by youngberry.canonical.com with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1TaxoW-0003zY-Lg; Wed, 21 Nov 2012 00:05:12 +0000 Message-ID: <50AC1AB4.6060402@ubuntu.com> Date: Wed, 21 Nov 2012 00:05:00 -0000 From: Matthias Klose User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121028 Thunderbird/16.0.2 MIME-Version: 1.0 To: Matthew Gretton-Dann CC: gcc-patches@gcc.gnu.org, patches@linaro.org, rguenther@suse.de, rearnsha@arm.com Subject: Re: [RFA/4.7/ARM] Backport arm-*-linux-gnueabihf triplet support to 4.7 References: <2043702.301rbd19p6@e103209-lin> In-Reply-To: <2043702.301rbd19p6@e103209-lin> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2012-11/txt/msg01734.txt.bz2 Am 20.11.2012 21:34, schrieb Matthew Gretton-Dann: > All, > > This patch backports Matthais Klose's arm*-*-linux-gnueabihf triplet > support patch of 2012-10-15 to 4.7. > > The backport was not clean as 4.8 has obsoleted various arm*-*-* > triplets which are valid in 4.7. > > I have tested this cross with arm-none-linux-gnueabihf and > arm-none-linux-gnueabi. > > One question I do have having done this work - is there a canonical way to > test for the arm*-*-linux-gnueabi triplet (or variants)? Various configure > and testsuite files test for this, but there doesn't seem to be a consistent > method. > > OK for 4.7? looks fine, except one missing chunk from my original patch. maybe left out intentionally. Matthias Index: b/src/gcc/config.gcc =================================================================== --- a/src/gcc/config.gcc +++ b/src/gcc/config.gcc @@ -934,7 +934,7 @@ tm_file="dbxelf.h elfos.h arm/unknown-elf.h arm/elf.h arm/linux-gas.h arm/uclinux-elf.h glibc-stdint.h" tmake_file="arm/t-arm arm/t-arm-elf" case ${target} in - arm*-*-uclinux*eabi) + arm*-*-uclinux*eabi*) tm_file="$tm_file arm/bpabi.h arm/uclinux-eabi.h" tmake_file="$tmake_file arm/t-bpabi" # The BPABI long long divmod functions return a 128-bit value in