From patchwork Wed Nov 21 00:05:08 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthias Klose X-Patchwork-Id: 13016 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 76E6223FC6 for ; Wed, 21 Nov 2012 00:05:17 +0000 (UTC) Received: from mail-ie0-f180.google.com (mail-ie0-f180.google.com [209.85.223.180]) by fiordland.canonical.com (Postfix) with ESMTP id 25388A18705 for ; Wed, 21 Nov 2012 00:05:17 +0000 (UTC) Received: by mail-ie0-f180.google.com with SMTP id e10so9110201iej.11 for ; Tue, 20 Nov 2012 16:05:16 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:message-id :date:from:user-agent:mime-version:to:cc:subject:references :in-reply-to:x-enigmail-version:content-type :content-transfer-encoding:x-gm-message-state; bh=mw6A5BB/4LwdwBm1UJar55hWabrffkEVRYeebwhRs8A=; b=eqIcDxt5d10N8WnvOf/7gGvhm9lHvxQMAfa6T1iguC/zObOfIF/JKXgF/6233QhMZq bxAy0K6QfULutJ1EmZ3KKr4JDaLFAmSGewXO+IXOlUkXMN0tqimZu7Jzkr1oO2ORHoV6 WNpX8N5uTDhjlbofAAQzGUS5b8zz5dY8oJayp+iM6ODA+sZHHVicjjLnpp9AZ4jKn3ME MTI4oe7W752EpJOrz5ZbImVLTXYjoFmqJSxdpb2fQDrLgAwDr9aS8j9OQyB7Az3ipWWF ttV6WJbXJz2sUSuOI7t0r3wFdgAGC7vw1uhN5+tQ3TsReCq6zgwMZd91SAG6og6VH0Ra 18gA== Received: by 10.50.173.34 with SMTP id bh2mr11828095igc.70.1353456316895; Tue, 20 Nov 2012 16:05:16 -0800 (PST) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.50.67.148 with SMTP id n20csp405401igt; Tue, 20 Nov 2012 16:05:14 -0800 (PST) Received: by 10.216.207.170 with SMTP id n42mr29723weo.173.1353456313563; Tue, 20 Nov 2012 16:05:13 -0800 (PST) Received: from youngberry.canonical.com (youngberry.canonical.com. [91.189.89.112]) by mx.google.com with ESMTP id m63si5814243wep.144.2012.11.20.16.05.13; Tue, 20 Nov 2012 16:05:13 -0800 (PST) Received-SPF: neutral (google.com: 91.189.89.112 is neither permitted nor denied by best guess record for domain of doko@ubuntu.com) client-ip=91.189.89.112; Authentication-Results: mx.google.com; spf=neutral (google.com: 91.189.89.112 is neither permitted nor denied by best guess record for domain of doko@ubuntu.com) smtp.mail=doko@ubuntu.com 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 01:05:08 +0100 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> X-Enigmail-Version: 1.4.5 X-Gm-Message-State: ALoCoQk38GDLlxNNItgof8/CZ6aexgMsKBkJPOCZlRDCHbeiRFUMP4BslIxYYfedcCGWdon/9/kU 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 # The BPABI long long divmod functions return a 128-bit value in 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"