From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13473 invoked by alias); 21 Nov 2012 11:49:05 -0000 Received: (qmail 13456 invoked by uid 22791); 21 Nov 2012 11:49:01 -0000 X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,TW_IV X-Spam-Check-By: sourceware.org Received: from mail-lb0-f175.google.com (HELO mail-lb0-f175.google.com) (209.85.217.175) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 21 Nov 2012 11:48:57 +0000 Received: by mail-lb0-f175.google.com with SMTP id gg13so2698050lbb.20 for ; Wed, 21 Nov 2012 03:48:56 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=cII+yDon+Q9heUE/RrXlSwsPp5xM8I8vcOaGEoaUnag=; b=SQallKrM5U/vbNnckYiwr4e1jr9zUnWZ1zs/EBzvfRKUqAff580AXy+VwHFo7buOe+ MtipBYM/BmryfzjWU2kEz0tG/GTuB6CiWYnnFKeg9HoWlSwBlCGhbl2kLWKui5vN+B+h i13f7ueW1jsOKYsxozzJIZ1XA3JDxwhV487kP1QjH8v3BI+rM7kzgGLXtpajG/MZ6tws dt5qenZjNFQ3AK9FvfO875kMq+iTlkAla2cQ3Ns6EhKLL+DmpDWeR38/UnuAS12bfFqF L2YFd9gjeAapp/Buf9xirnzEWZ2+sBjKu8y50oxrMQhzk+eoOQNp/BXWfKtRI+QcBDY/ rAnQ== MIME-Version: 1.0 Received: by 10.152.103.18 with SMTP id fs18mr17467561lab.32.1353498536217; Wed, 21 Nov 2012 03:48:56 -0800 (PST) Received: by 10.114.17.10 with HTTP; Wed, 21 Nov 2012 03:48:56 -0800 (PST) In-Reply-To: <50AC1AB4.6060402@ubuntu.com> References: <2043702.301rbd19p6@e103209-lin> <50AC1AB4.6060402@ubuntu.com> Date: Wed, 21 Nov 2012 11:49:00 -0000 Message-ID: Subject: Re: [RFA/4.7/ARM] Backport arm-*-linux-gnueabihf triplet support to 4.7 From: Matthew Gretton-Dann To: Matthias Klose Cc: "gcc-patches@gcc.gnu.org" , patches@linaro.org, Richard Biener , Richard Earnshaw Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQmkA/W2piBuuIDoWJBe83hlvjbfbG1h4FGdpk4xs9FwCQvKck25WhzkZbbwAS4AgE9iBxx6 X-IsSubscribed: yes 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/msg01763.txt.bz2 On 21 November 2012 00:05, Matthias Klose wrote: > 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 This change isn't in your commit to trunk of 2012-10-15 which is what I backported. This is because Richard Earnshaw effectively made this change when he removed FPA support (SVN rev 188510). I'm happy to do a patch that makes this change - but I think it should be a separate patch to this backport one. Thanks, Matt -- Matthew Gretton-Dann Linaro Toolchain Working Group matthew.gretton-dann@linaro.org