From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27498 invoked by alias); 25 Jun 2012 13:23:07 -0000 Received: (qmail 27480 invoked by uid 22791); 25 Jun 2012 13:23:05 -0000 X-SWARE-Spam-Status: No, hits=1.7 required=5.0 tests=AWL,BAYES_50,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_NO,URIBL_BLACK X-Spam-Check-By: sourceware.org Received: from service87.mimecast.com (HELO service87.mimecast.com) (91.220.42.44) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 25 Jun 2012 13:22:19 +0000 Received: from cam-owa2.Emea.Arm.com (fw-tnat.cambridge.arm.com [217.140.96.21]) by service87.mimecast.com; Mon, 25 Jun 2012 14:22:17 +0100 Received: from [10.1.69.67] ([10.1.255.212]) by cam-owa2.Emea.Arm.com with Microsoft SMTPSVC(6.0.3790.3959); Mon, 25 Jun 2012 14:23:03 +0100 Message-ID: <4FE86608.8020808@arm.com> Date: Mon, 25 Jun 2012 13:23:00 -0000 From: Richard Earnshaw User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1 MIME-Version: 1.0 To: Matthias Klose CC: GCC Patches , GCJ-patches , "libstdc++@gcc.gnu.org" Subject: Re: [patch] [gcc/libgcc/ada/libstdc++] Match arm*-*-linux-*eabi* for ARM Linux/GNU EABI References: <4FE854B6.9070500@ubuntu.com> In-Reply-To: <4FE854B6.9070500@ubuntu.com> X-MC-Unique: 112062514221702001 Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable Mailing-List: contact java-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-patches-owner@gcc.gnu.org X-SW-Source: 2012-q2/txt/msg00024.txt.bz2 On 25/06/12 13:08, Matthias Klose wrote: > 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. >=20 > Ok for the trunk? >=20 now that all arm-linux ports are EABI conforming, why can't this just become arm*-*-linux* ? R. > Matthias >=20 > gcc/testsuite/ > 2012-06-25 Matthias Klose >=20 > * lib/target-supports.exp (check_profiling_available): Match > arm*-*-linux-*eabi* for ARM Linux/GNU EABI. >=20 > gcc/ada/ > 2012-06-25 Matthias Klose >=20 > * gcc-interface/Makefile.in: Match arm*-*-linux-*eabi* for > ARM Linux/GNU EABI. >=20 > libgcc/ > 2012-06-25 Matthias Klose >=20 > * config.host: Match arm*-*-linux-*eabi* for ARM Linux/GNU EABI. >=20 > libstdc++-v3/ > 2012-06-25 Matthias Klose >=20 > * 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. >=20 > libjava/ > 2012-06-25 Matthias Klose >=20 > * configure.ac: Match arm*-*-linux-*eabi* for ARM Linux/GNU EABI. >=20 >=20 > armhf-triplet.diff >=20 >=20 > # DP: add support for arm-linux-*eabi* triplets; useful for armhf >=20 > --- 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 librarie= s. > extra_ldflags_libjava=3D-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*-*-*]=20 > - || [istarget arm*-*-linux-gnueabi]=20 > + || [istarget arm*-*-linux-*eabi*]=20 > || [istarget bfin*-*linux*] > || [istarget hppa*-*linux*] > || [istarget s390*-*-*]=20 > @@ -3266,7 +3266,7 @@ > || [istarget i?86-*-*] > || [istarget x86_64-*-*] > || [istarget alpha*-*-*]=20 > - || [istarget arm*-*-linux-gnueabi]=20 > + || [istarget arm*-*-linux-*eabi*]=20 > || [istarget hppa*-*linux*] > || [istarget s390*-*-*]=20 > || [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 :=3D $(LIB_VERSION) > endif >=20=20 > -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 =3D \ > a-intnam.ads s-inmaop.adb --- a/src/libstdc++-v3/configure.host.orig > +++ b/src/libstdc++-v3/configure.host > @@ -322,7 +322,7 @@ > fi > esac > case "${host}" in > - arm*-*-linux-*eabi) > + arm*-*-linux-*eabi*) > port_specific_symbol_files=3D"\$(srcdir)/../config/os/gnu-linux/arm-eab= i-extra.ver" > ;; > esac > --- a/src/libstdc++-v3/testsuite/20_util/make_unsigned/requirements/typed= efs-2.cc.orig > +++ b/src/libstdc++-v3/testsuite/20_util/make_unsigned/requirements/typed= efs-2.cc > @@ -1,5 +1,5 @@ > // { dg-options "-std=3Dgnu++0x -funsigned-char -fshort-enums" } > -// { dg-options "-std=3Dgnu++0x -funsigned-char -fshort-enums -Wl,--no-e= num-size-warning" { target arm*-*-linux*eabi } } > +// { dg-options "-std=3Dgnu++0x -funsigned-char -fshort-enums -Wl,--no-e= num-size-warning" { target arm*-*-linux-*eabi* } } >=20=20 > // 2007-05-03 Benjamin Kosnik > // > --- a/src/libstdc++-v3/testsuite/20_util/make_signed/requirements/typedef= s-2.cc.orig > +++ b/src/libstdc++-v3/testsuite/20_util/make_signed/requirements/typedef= s-2.cc > @@ -1,5 +1,5 @@ > // { dg-options "-std=3Dgnu++0x -funsigned-char -fshort-enums" } > -// { dg-options "-std=3Dgnu++0x -funsigned-char -fshort-enums -Wl,--no-e= num-size-warning" { target arm*-*-linux*eabi } } > +// { dg-options "-std=3Dgnu++0x -funsigned-char -fshort-enums -Wl,--no-e= num-size-warning" { target arm*-*-linux-*eabi* } } >=20=20 > // 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=3D"${tmake_file} arm/t-arm t-fixedpoint-gnu-prefix" > case ${host} in > - arm*-*-linux-*eabi) > + arm*-*-linux-*eabi*) > tmake_file=3D"${tmake_file} arm/t-elf arm/t-bpabi arm/t-linux-eabi t-= slibgcc-libgcc" > tm_file=3D"$tm_file arm/bpabi-lib.h" > unwind_header=3Dconfig/arm/unwind-arm.h >=20