From patchwork Mon Jun 25 12:08:22 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthias Klose X-Patchwork-Id: 167062 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 19E481007D1 for ; Mon, 25 Jun 2012 22:10:28 +1000 (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=1341231029; h=Comment: DomainKey-Signature:Received:Received:Received:Received: Message-ID:Date:From:User-Agent:MIME-Version:To:Subject: Content-Type:Mailing-List:Precedence:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:Sender:Delivered-To; bh=jtuDigP 1uqWjy/IOPIJxEH6wBdg=; b=Xgp1BUzCx5SwGhJGkrmYHRe/MLcN4aWOHEWdMRZ OTSOoH1av3NXBMVe2sQu2kGM7dhRAmZ2QwAYjHCxTBtTUN5Fv1rzRU7AVyP44VuJ RHAAXKBKCmBAw7LUct9FSQhjK8/2gMDF3dWEqsyB0+TvfHcpTPBa02o8rFyS1UGK an4g= 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:Subject:Content-Type:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=PNuZwCK0yC4ZmWrRbD29z+Fa1PxTn8zfVflpncyzWV3k3XolPCSKJJ93fNIWWv rZao8cfqd/5QCK4qTuuMNOXzfHbTtaOr3XVmGmjdMp+liDXN+YOxNyrqCDsLu/56 EIMF6sgPFT3pYIN4QpX5IpmezzpAkG2fh5+8/ENfqWvSQ=; Received: (qmail 27801 invoked by alias); 25 Jun 2012 12:10:16 -0000 Received: (qmail 27771 invoked by uid 22791); 25 Jun 2012 12:10:13 -0000 X-SWARE-Spam-Status: No, hits=-0.2 required=5.0 tests=AWL, BAYES_00, KHOP_RCVD_UNTRUST, RCVD_IN_DNSWL_LOW, URIBL_BLACK 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; Mon, 25 Jun 2012 12:09:29 +0000 Received: from dslb-088-073-081-176.pools.arcor-ip.net ([88.73.81.176] helo=[192.168.42.210]) by youngberry.canonical.com with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1Sj86i-0002T1-H4; Mon, 25 Jun 2012 12:09:28 +0000 Message-ID: <4FE854B6.9070500@ubuntu.com> Date: Mon, 25 Jun 2012 14:08:22 +0200 From: Matthias Klose User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1 MIME-Version: 1.0 To: GCC Patches , GCJ-patches , "libstdc++@gcc.gnu.org" Subject: [patch] [gcc/libgcc/ada/libstdc++] Match arm*-*-linux-*eabi* for ARM Linux/GNU EABI 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 gcc/config.gcc now allows matching arm*-*-linux-*eabi* instead of arm*-*-linux-*eabi for ARM Linux/GNU EABI. This changes the matching in various other places as well. arm-linux-gnueabihf is used as a triplet by some distributions. Ok for the trunk? Matthias gcc/testsuite/ 2012-06-25 Matthias Klose * lib/target-supports.exp (check_profiling_available): Match arm*-*-linux-*eabi* for ARM Linux/GNU EABI. gcc/ada/ 2012-06-25 Matthias Klose * gcc-interface/Makefile.in: Match arm*-*-linux-*eabi* for ARM Linux/GNU EABI. libgcc/ 2012-06-25 Matthias Klose * config.host: Match arm*-*-linux-*eabi* for ARM Linux/GNU EABI. libstdc++-v3/ 2012-06-25 Matthias Klose * configure.host: Match arm*-*-linux-*eabi* for ARM Linux/GNU EABI. * testsuite/20_util/make_signed/requirements/typedefs-2.cc: Likewise. * testsuite/20_util/make_unsigned/requirements/typedefs-2.cc: Likewise. libjava/ 2012-06-25 Matthias Klose * configure.ac: Match arm*-*-linux-*eabi* for ARM Linux/GNU EABI. # DP: add support for arm-linux-*eabi* triplets; useful for armhf --- a/src/libjava/configure.ac.orig +++ b/src/libjava/configure.ac @@ -924,7 +924,7 @@ # on Darwin -single_module speeds up loading of the dynamic libraries. extra_ldflags_libjava=-Wl,-single_module ;; -arm*linux*eabi) +arm*-*-linux-*eabi*) # Some of the ARM unwinder code is actually in libstdc++. We # could in principle replicate it in libgcj, but it's better to # have a dependency on libstdc++. --- a/src/gcc/testsuite/lib/target-supports.exp.orig +++ b/src/gcc/testsuite/lib/target-supports.exp @@ -3235,7 +3235,7 @@ || [istarget i?86-*-*] || [istarget x86_64-*-*] || [istarget alpha*-*-*] - || [istarget arm*-*-linux-gnueabi] + || [istarget arm*-*-linux-*eabi*] || [istarget bfin*-*linux*] || [istarget hppa*-*linux*] || [istarget s390*-*-*] @@ -3266,7 +3266,7 @@ || [istarget i?86-*-*] || [istarget x86_64-*-*] || [istarget alpha*-*-*] - || [istarget arm*-*-linux-gnueabi] + || [istarget arm*-*-linux-*eabi*] || [istarget hppa*-*linux*] || [istarget s390*-*-*] || [istarget powerpc*-*-*] --- a/src/gcc/ada/gcc-interface/Makefile.in.orig +++ b/src/gcc/ada/gcc-interface/Makefile.in @@ -1846,7 +1846,7 @@ LIBRARY_VERSION := $(LIB_VERSION) endif -ifeq ($(strip $(filter-out arm% linux-gnueabi,$(arch) $(osys)-$(word 4,$(targ)))),) +ifeq ($(strip $(filter-out arm%-linux,$(arch)-$(osys)) $(if $(findstring eabi,$(word 4,$(targ))),,$(word 4,$(targ)))),) LIBGNAT_TARGET_PAIRS = \ a-intnam.ads // --- a/src/libstdc++-v3/testsuite/20_util/make_signed/requirements/typedefs-2.cc.orig +++ b/src/libstdc++-v3/testsuite/20_util/make_signed/requirements/typedefs-2.cc @@ -1,5 +1,5 @@ // { dg-options "-std=gnu++0x -funsigned-char -fshort-enums" } -// { dg-options "-std=gnu++0x -funsigned-char -fshort-enums -Wl,--no-enum-size-warning" { target arm*-*-linux*eabi } } +// { dg-options "-std=gnu++0x -funsigned-char -fshort-enums -Wl,--no-enum-size-warning" { target arm*-*-linux-*eabi* } } // 2007-05-03 Benjamin Kosnik // --- a/src/libgcc/config.host +++ b/src/libgcc/config.host @@ -334,7 +334,7 @@ arm*-*-linux*) # ARM GNU/Linux with ELF tmake_file="${tmake_file} arm/t-arm t-fixedpoint-gnu-prefix" case ${host} in - arm*-*-linux-*eabi) + arm*-*-linux-*eabi*) tmake_file="${tmake_file} arm/t-elf arm/t-bpabi arm/t-linux-eabi t-slibgcc-libgcc" tm_file="$tm_file arm/bpabi-lib.h" unwind_header=config/arm/unwind-arm.h