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: 200532 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]) by ozlabs.org (Postfix) with SMTP id B7CB82C0085 for ; Wed, 21 Nov 2012 11:06:21 +1100 (EST) Comment: DKIM? See http://www.dkim.org DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=gcc.gnu.org; s=default; x=1354061183; h=Comment: DomainKey-Signature:Received:Received:Received:Received: Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject: References:In-Reply-To:Content-Type:Content-Transfer-Encoding: Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:Sender:Delivered-To; bh=ZsFxFqOLeV6uJPt4papy 1iSnmh4=; b=lbobXWKc/uT4Rz8jPg5/STlRzmLKdfA387/Ho+Y5zHNY43ZLaNLZ p52f0t3GVO32tZIDPhwYNS6Ub/WyzfMP1fYQatsaJNdH/mtNnrGT7jMx/jrVVTX7 9h79wU/nu5B439gy2Qa23p0nVKRFIan0DIGVro3wGCb8Q4r7RlgZYeY= Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=gcc.gnu.org; h=Received:Received:X-SWARE-Spam-Status:X-Spam-Check-By:Received:Received:Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=RxPK+7uIOdHfZq6shoApeULVfL8M5U2A8uLOFpZQdZKIkv9d0oFhIkHcYvI9ig qze239/v3q6l3ocJXsXI7j4pKyytzcL14ERiDLvammzT0K/Ix3F7bn5PMU2DJiRF Ou0uABMKEjVdlNA0OqnwaANaZ3XZDcOu4nGjyKtW0SX5c=; 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 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> 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 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"