public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [RFA/4.7/ARM] Backport arm-*-linux-gnueabihf triplet support to 4.7
@ 2012-11-20 20:35 Matthew Gretton-Dann
  2012-11-21  0:05 ` Matthias Klose
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Matthew Gretton-Dann @ 2012-11-20 20:35 UTC (permalink / raw)
  To: gcc-patches, patches; +Cc: rguenther, rearnsha

[-- Attachment #1: Type: text/plain, Size: 2503 bytes --]

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?

Thanks,

Matt

2012-11-08  Matthew Gretton-Dann  <matthew.gretton-dann@linaro.org>

	Backport from mainline
	2012-10-15  Matthias Klose  <doko@ubuntu.com>

	* config.gcc: Match arm*-*-linux-* for ARM Linux/GNU.
	* doc/install.texi: Use arm-*-*linux-* instead of arm-*-*linux-gnueabi.

gcc/ada/ChangeLog:
2012-11-08  Matthew Gretton-Dann  <matthew.gretton-dann@linaro.org>

	Backport from mainline.
	2012-10-15  Matthias Klose  <doko@ubuntu.com>

	* gcc-interface/Makefile.in: Match arm*-*-linux-*eabi* for
	ARM Linux/GNU.

gcc/testsuite/ChangeLog:
2012-11-08  Matthew Gretton-Dann  <matthew.gretton-dann@linaro.org>

	Backport from mainline
	2012-10-15  Matthias Klose  <doko@ubuntu.com>

	* lib/target-supports.exp (check_profiling_available): Match
	arm*-*-linux-* for ARM Linux/GNU.
	* gfortran.dg/enum_10.f90: Likewise.
	* gfortran.dg/enum_9.f90: Likewise.
	* gcc.target/arm/synchronize.c: Likewise.
	* g++.old-deja/g++.jason/enum6.C: Likewise.
	* g++.old-deja/g++.law/enum9.C: Likewise.
	* g++.old-deja/g++.other/enum4.C: Likewise.

libgcc/ChangeLog:
2012-11-08  Matthew Gretton-Dann  <matthew.gretton-dann@linaro.org

	Backport from mainline.
	2012-10-15  Matthias Klose  <doko@ubuntu.com>

	* config.host: Match arm*-*-linux-* for ARM Linux/GNU.

libjava/ChangeLog:
2012-11-08  Matthew Gretton-Dann  <matthew.gretton-dann@linaro.org>

	Backport from mainline.
	2012-10-15  Matthias Klose  <doko@ubuntu.com>

	* configure.ac: Match arm*-*-linux-* for ARM Linux/GNU.
	* configure: Regenerate.

libstdc++-v3/ChangeLog:
2012-11-08  Matthew Gretton-Dann  <matthew.gretton-dann@linaro.org>

	Backport from mainline
	2012-10-15  Matthias Klose  <doko@ubuntu.com>

	* configure.host: Match arm*-*-linux-* for ARM Linux/GNU.
	* testsuite/20_util/make_signed/requirements/typedefs-2.cc: Likewise.
	* testsuite/20_util/make_unsigned/requirements/typedefs-2.cc: Likewise.

-- 
Matthew Gretton-Dann
Linaro Toolchain Working Group
matthew.gretton-dann@linaro.org

[-- Attachment #2: 4.7-arm-gnueabihf-triplet.txt --]
[-- Type: text/plain, Size: 10625 bytes --]

diff --git a/gcc/ada/gcc-interface/Makefile.in b/gcc/ada/gcc-interface/Makefile.in
index 9b5135e..9f20f07 100644
--- a/gcc/ada/gcc-interface/Makefile.in
+++ b/gcc/ada/gcc-interface/Makefile.in
@@ -1866,7 +1866,7 @@ ifeq ($(strip $(filter-out powerpc% linux%,$(arch) $(osys))),)
   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-intnam-linux.ads \
   s-inmaop.adb<s-inmaop-posix.adb \
diff --git a/gcc/config.gcc b/gcc/config.gcc
index 2c003ca..4eacb07 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -855,7 +855,7 @@ arm*-*-linux*)			# ARM GNU/Linux with ELF
 	esac
 	tmake_file="${tmake_file} arm/t-arm"
 	case ${target} in
-	arm*-*-linux-*eabi)
+	arm*-*-linux-*eabi*)
 	    tm_file="$tm_file arm/bpabi.h arm/linux-eabi.h"
 	    tmake_file="$tmake_file arm/t-arm-elf arm/t-bpabi arm/t-linux-eabi"
 	    # Define multilib configuration for arm-linux-androideabi.
diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi
index 598873a..489757c 100644
--- a/gcc/doc/install.texi
+++ b/gcc/doc/install.texi
@@ -3222,7 +3222,7 @@ This is a synonym for @samp{x86_64-*-solaris2.1[0-9]*}.
 @heading @anchor{arm-x-eabi}arm-*-eabi
 ARM-family processors.  Subtargets that use the ELF object format
 require GNU binutils 2.13 or newer.  Such subtargets include:
-@code{arm-*-netbsdelf}, @code{arm-*-*linux-gnueabi}
+@code{arm-*-netbsdelf}, @code{arm-*-*linux-gnueabi*}
 and @code{arm-*-rtemseabi}.
 
 @html
diff --git a/gcc/testsuite/g++.old-deja/g++.jason/enum6.C b/gcc/testsuite/g++.old-deja/g++.jason/enum6.C
index 7be0cd8..bf1126c 100644
--- a/gcc/testsuite/g++.old-deja/g++.jason/enum6.C
+++ b/gcc/testsuite/g++.old-deja/g++.jason/enum6.C
@@ -7,10 +7,10 @@
 // enum-size attributes should only be emitted if there are values of
 // enum type that can escape the compilation unit, gcc cannot currently
 // detect this; if this facility is added then this linker option should
-// not be needed.  arm-*-linux*eabi should be a good approximation to
+// not be needed.  arm-*-linux*eabi* should be a good approximation to
 // those platforms where the EABI supplement defines enum values to be
 // 32 bits wide.
-// { dg-options "-fshort-enums -Wl,--no-enum-size-warning" { target arm*-*-linux*eabi } }
+// { dg-options "-fshort-enums -Wl,--no-enum-size-warning" { target arm*-*-linux*eabi* } }
 
 #include <limits.h>
 
diff --git a/gcc/testsuite/g++.old-deja/g++.law/enum9.C b/gcc/testsuite/g++.old-deja/g++.law/enum9.C
index 5a74b2f..0ecb87d 100644
--- a/gcc/testsuite/g++.old-deja/g++.law/enum9.C
+++ b/gcc/testsuite/g++.old-deja/g++.law/enum9.C
@@ -7,10 +7,10 @@
 // enum-size attributes should only be emitted if there are values of
 // enum type that can escape the compilation unit, gcc cannot currently
 // detect this; if this facility is added then this linker option should
-// not be needed.  arm-*-linux*eabi should be a good approximation to
+// not be needed.  arm-*-linux*eabi* should be a good approximation to
 // those platforms where the EABI supplement defines enum values to be
 // 32 bits wide.
-// { dg-options "-fshort-enums -Wl,--no-enum-size-warning" { target arm*-*-linux*eabi } }
+// { dg-options "-fshort-enums -Wl,--no-enum-size-warning" { target arm*-*-linux*eabi* } }
 
 // GROUPS passed enums
   extern "C" int printf (const char *, ...);
diff --git a/gcc/testsuite/g++.old-deja/g++.other/enum4.C b/gcc/testsuite/g++.old-deja/g++.other/enum4.C
index 429e812..509da6d 100644
--- a/gcc/testsuite/g++.old-deja/g++.other/enum4.C
+++ b/gcc/testsuite/g++.old-deja/g++.other/enum4.C
@@ -9,10 +9,10 @@
 // enum-size attributes should only be emitted if there are values of
 // enum type that can escape the compilation unit, gcc cannot currently
 // detect this; if this facility is added then this linker option should
-// not be needed.  arm-*-linux*eabi should be a good approximation to
+// not be needed.  arm-*-linux*eabi* should be a good approximation to
 // those platforms where the EABI supplement defines enum values to be
 // 32 bits wide.
-// { dg-options "-fshort-enums -Wl,--no-enum-size-warning" { target arm*-*-linux*eabi } }
+// { dg-options "-fshort-enums -Wl,--no-enum-size-warning" { target arm*-*-linux*eabi* } }
 
 enum E { 
   a = -312
diff --git a/gcc/testsuite/gcc.target/arm/synchronize.c b/gcc/testsuite/gcc.target/arm/synchronize.c
index 8626d8e..cf5dcdf 100644
--- a/gcc/testsuite/gcc.target/arm/synchronize.c
+++ b/gcc/testsuite/gcc.target/arm/synchronize.c
@@ -1,4 +1,4 @@
-/* { dg-final { scan-assembler "__sync_synchronize|dmb|mcr" { target arm*-*-linux-*eabi } } } */
+/* { dg-final { scan-assembler "__sync_synchronize|dmb|mcr" { target arm*-*-linux-*eabi* } } } */
 
 void *foo (void)
 {
diff --git a/gcc/testsuite/gfortran.dg/enum_10.f90 b/gcc/testsuite/gfortran.dg/enum_10.f90
index 99a1690..1889766 100644
--- a/gcc/testsuite/gfortran.dg/enum_10.f90
+++ b/gcc/testsuite/gfortran.dg/enum_10.f90
@@ -1,7 +1,7 @@
 ! { dg-do run }
 ! { dg-additional-sources enum_10.c }
 ! { dg-options "-fshort-enums -w" }
-! { dg-options "-fshort-enums -w -Wl,--no-enum-size-warning" { target arm*-*-linux*eabi } }
+! { dg-options "-fshort-enums -w -Wl,--no-enum-size-warning" { target arm*-*-linux*eabi* } }
 ! Make sure short enums are indeed interoperable with the
 ! corresponding C type.
 
diff --git a/gcc/testsuite/gfortran.dg/enum_9.f90 b/gcc/testsuite/gfortran.dg/enum_9.f90
index 8a5c60a..fec5d92 100644
--- a/gcc/testsuite/gfortran.dg/enum_9.f90
+++ b/gcc/testsuite/gfortran.dg/enum_9.f90
@@ -1,6 +1,6 @@
 ! { dg-do run }
 ! { dg-options "-fshort-enums" }
-! { dg-options "-fshort-enums -Wl,--no-enum-size-warning" { target arm*-*-linux*eabi } }
+! { dg-options "-fshort-enums -Wl,--no-enum-size-warning" { target arm*-*-linux*eabi* } }
 ! Program to test enumerations when option -fshort-enums is given
 
 program main
diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp
index 4a8eee1..ab2c5e8 100644
--- a/gcc/testsuite/lib/target-supports.exp
+++ b/gcc/testsuite/lib/target-supports.exp
@@ -3818,7 +3818,7 @@ proc check_effective_target_sync_long_long_runtime { } {
 		}
 	    } ""
 	}]
-    } elseif { [istarget arm*-*-linux-gnueabi] } {
+    } elseif { [istarget arm*-*-linux-gnueabi*] } {
 	return [check_runtime sync_longlong_runtime {
 	    #include <stdlib.h>
 	    int main ()
@@ -3860,7 +3860,7 @@ proc check_effective_target_sync_int_long { } {
 	     || [istarget i?86-*-*]
 	     || [istarget x86_64-*-*]
 	     || [istarget alpha*-*-*] 
-	     || [istarget arm*-*-linux-gnueabi] 
+	     || [istarget arm*-*-linux-gnueabi*] 
 	     || [istarget bfin*-*linux*]
 	     || [istarget hppa*-*linux*]
 	     || [istarget s390*-*-*] 
@@ -3890,7 +3890,7 @@ proc check_effective_target_sync_char_short { } {
 	     || [istarget i?86-*-*]
 	     || [istarget x86_64-*-*]
 	     || [istarget alpha*-*-*] 
-	     || [istarget arm*-*-linux-gnueabi] 
+	     || [istarget arm*-*-linux-gnueabi*] 
 	     || [istarget hppa*-*linux*]
 	     || [istarget s390*-*-*] 
 	     || [istarget powerpc*-*-*]
diff --git a/libgcc/config.host b/libgcc/config.host
index bbf21a9..51aec66 100644
--- a/libgcc/config.host
+++ b/libgcc/config.host
@@ -327,7 +327,7 @@ arm*-*-netbsdelf*)
 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
diff --git a/libjava/configure b/libjava/configure
index b0b45bb..d8a408d 100755
--- a/libjava/configure
+++ b/libjava/configure
@@ -20542,7 +20542,7 @@ case "${host}" in
     # 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++.
diff --git a/libjava/configure.ac b/libjava/configure.ac
index 8a25a42..93b25df 100644
--- a/libjava/configure.ac
+++ b/libjava/configure.ac
@@ -931,7 +931,7 @@ case "${host}" in
     # 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++.
diff --git a/libstdc++-v3/configure.host b/libstdc++-v3/configure.host
index ca4d819..b0e2cd9 100644
--- a/libstdc++-v3/configure.host
+++ b/libstdc++-v3/configure.host
@@ -340,7 +340,7 @@ case "${host}" in
         fi
     esac
     case "${host}" in
-      arm*-*-linux-*eabi)
+      arm*-*-linux-*eabi*)
 	port_specific_symbol_files="\$(srcdir)/../config/os/gnu-linux/arm-eabi-extra.ver"
 	;;
     esac
diff --git a/libstdc++-v3/testsuite/20_util/make_signed/requirements/typedefs-2.cc b/libstdc++-v3/testsuite/20_util/make_signed/requirements/typedefs-2.cc
index adf3af4..9bebef2 100644
--- a/libstdc++-v3/testsuite/20_util/make_signed/requirements/typedefs-2.cc
+++ b/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  <bkoz@redhat.com>
 //
diff --git a/libstdc++-v3/testsuite/20_util/make_unsigned/requirements/typedefs-2.cc b/libstdc++-v3/testsuite/20_util/make_unsigned/requirements/typedefs-2.cc
index a1465d3..3a80439 100644
--- a/libstdc++-v3/testsuite/20_util/make_unsigned/requirements/typedefs-2.cc
+++ b/libstdc++-v3/testsuite/20_util/make_unsigned/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  <bkoz@redhat.com>
 //

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [RFA/4.7/ARM] Backport arm-*-linux-gnueabihf triplet support to 4.7
  2012-11-20 20:35 [RFA/4.7/ARM] Backport arm-*-linux-gnueabihf triplet support to 4.7 Matthew Gretton-Dann
@ 2012-11-21  0:05 ` Matthias Klose
  2012-11-21 11:49   ` Matthew Gretton-Dann
  2012-11-26 12:13 ` Richard Biener
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 9+ messages in thread
From: Matthias Klose @ 2012-11-21  0:05 UTC (permalink / raw)
  To: Matthew Gretton-Dann; +Cc: gcc-patches, patches, rguenther, rearnsha

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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [RFA/4.7/ARM] Backport arm-*-linux-gnueabihf triplet support to 4.7
  2012-11-21  0:05 ` Matthias Klose
@ 2012-11-21 11:49   ` Matthew Gretton-Dann
  2012-12-17 14:35     ` Richard Earnshaw
  0 siblings, 1 reply; 9+ messages in thread
From: Matthew Gretton-Dann @ 2012-11-21 11:49 UTC (permalink / raw)
  To: Matthias Klose; +Cc: gcc-patches, patches, Richard Biener, Richard Earnshaw

On 21 November 2012 00:05, Matthias Klose <doko@ubuntu.com> 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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [RFA/4.7/ARM] Backport arm-*-linux-gnueabihf triplet support to 4.7
  2012-11-20 20:35 [RFA/4.7/ARM] Backport arm-*-linux-gnueabihf triplet support to 4.7 Matthew Gretton-Dann
  2012-11-21  0:05 ` Matthias Klose
@ 2012-11-26 12:13 ` Richard Biener
  2012-11-29 14:45 ` Matthew Gretton-Dann
  2012-12-17 14:28 ` Richard Earnshaw
  3 siblings, 0 replies; 9+ messages in thread
From: Richard Biener @ 2012-11-26 12:13 UTC (permalink / raw)
  To: Matthew Gretton-Dann; +Cc: gcc-patches, patches, rearnsha

On Tue, 20 Nov 2012, Matthew Gretton-Dann wrote:

> 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?

I'll defer to the arm maintainers for this.

Richard.

> Thanks,
> 
> Matt
> 
> 2012-11-08  Matthew Gretton-Dann  <matthew.gretton-dann@linaro.org>
> 
> 	Backport from mainline
> 	2012-10-15  Matthias Klose  <doko@ubuntu.com>
> 
> 	* config.gcc: Match arm*-*-linux-* for ARM Linux/GNU.
> 	* doc/install.texi: Use arm-*-*linux-* instead of arm-*-*linux-gnueabi.
> 
> gcc/ada/ChangeLog:
> 2012-11-08  Matthew Gretton-Dann  <matthew.gretton-dann@linaro.org>
> 
> 	Backport from mainline.
> 	2012-10-15  Matthias Klose  <doko@ubuntu.com>
> 
> 	* gcc-interface/Makefile.in: Match arm*-*-linux-*eabi* for
> 	ARM Linux/GNU.
> 
> gcc/testsuite/ChangeLog:
> 2012-11-08  Matthew Gretton-Dann  <matthew.gretton-dann@linaro.org>
> 
> 	Backport from mainline
> 	2012-10-15  Matthias Klose  <doko@ubuntu.com>
> 
> 	* lib/target-supports.exp (check_profiling_available): Match
> 	arm*-*-linux-* for ARM Linux/GNU.
> 	* gfortran.dg/enum_10.f90: Likewise.
> 	* gfortran.dg/enum_9.f90: Likewise.
> 	* gcc.target/arm/synchronize.c: Likewise.
> 	* g++.old-deja/g++.jason/enum6.C: Likewise.
> 	* g++.old-deja/g++.law/enum9.C: Likewise.
> 	* g++.old-deja/g++.other/enum4.C: Likewise.
> 
> libgcc/ChangeLog:
> 2012-11-08  Matthew Gretton-Dann  <matthew.gretton-dann@linaro.org
> 
> 	Backport from mainline.
> 	2012-10-15  Matthias Klose  <doko@ubuntu.com>
> 
> 	* config.host: Match arm*-*-linux-* for ARM Linux/GNU.
> 
> libjava/ChangeLog:
> 2012-11-08  Matthew Gretton-Dann  <matthew.gretton-dann@linaro.org>
> 
> 	Backport from mainline.
> 	2012-10-15  Matthias Klose  <doko@ubuntu.com>
> 
> 	* configure.ac: Match arm*-*-linux-* for ARM Linux/GNU.
> 	* configure: Regenerate.
> 
> libstdc++-v3/ChangeLog:
> 2012-11-08  Matthew Gretton-Dann  <matthew.gretton-dann@linaro.org>
> 
> 	Backport from mainline
> 	2012-10-15  Matthias Klose  <doko@ubuntu.com>
> 
> 	* configure.host: Match arm*-*-linux-* for ARM Linux/GNU.
> 	* testsuite/20_util/make_signed/requirements/typedefs-2.cc: Likewise.
> 	* testsuite/20_util/make_unsigned/requirements/typedefs-2.cc: Likewise.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [RFA/4.7/ARM] Backport arm-*-linux-gnueabihf triplet support to 4.7
  2012-11-20 20:35 [RFA/4.7/ARM] Backport arm-*-linux-gnueabihf triplet support to 4.7 Matthew Gretton-Dann
  2012-11-21  0:05 ` Matthias Klose
  2012-11-26 12:13 ` Richard Biener
@ 2012-11-29 14:45 ` Matthew Gretton-Dann
  2012-12-07 13:52   ` Matthew Gretton-Dann
  2012-12-17 14:28 ` Richard Earnshaw
  3 siblings, 1 reply; 9+ messages in thread
From: Matthew Gretton-Dann @ 2012-11-29 14:45 UTC (permalink / raw)
  To: gcc-patches, Patch Tracking; +Cc: Richard Earnshaw, ramrad01, doko

PING

On 20 November 2012 20:34, Matthew Gretton-Dann
<matthew.gretton-dann@linaro.org> wrote:
> 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?
>
> Thanks,
>
> Matt
>
> 2012-11-08  Matthew Gretton-Dann  <matthew.gretton-dann@linaro.org>
>
>         Backport from mainline
>         2012-10-15  Matthias Klose  <doko@ubuntu.com>
>
>         * config.gcc: Match arm*-*-linux-* for ARM Linux/GNU.
>         * doc/install.texi: Use arm-*-*linux-* instead of arm-*-*linux-gnueabi.
>
> gcc/ada/ChangeLog:
> 2012-11-08  Matthew Gretton-Dann  <matthew.gretton-dann@linaro.org>
>
>         Backport from mainline.
>         2012-10-15  Matthias Klose  <doko@ubuntu.com>
>
>         * gcc-interface/Makefile.in: Match arm*-*-linux-*eabi* for
>         ARM Linux/GNU.
>
> gcc/testsuite/ChangeLog:
> 2012-11-08  Matthew Gretton-Dann  <matthew.gretton-dann@linaro.org>
>
>         Backport from mainline
>         2012-10-15  Matthias Klose  <doko@ubuntu.com>
>
>         * lib/target-supports.exp (check_profiling_available): Match
>         arm*-*-linux-* for ARM Linux/GNU.
>         * gfortran.dg/enum_10.f90: Likewise.
>         * gfortran.dg/enum_9.f90: Likewise.
>         * gcc.target/arm/synchronize.c: Likewise.
>         * g++.old-deja/g++.jason/enum6.C: Likewise.
>         * g++.old-deja/g++.law/enum9.C: Likewise.
>         * g++.old-deja/g++.other/enum4.C: Likewise.
>
> libgcc/ChangeLog:
> 2012-11-08  Matthew Gretton-Dann  <matthew.gretton-dann@linaro.org
>
>         Backport from mainline.
>         2012-10-15  Matthias Klose  <doko@ubuntu.com>
>
>         * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
>
> libjava/ChangeLog:
> 2012-11-08  Matthew Gretton-Dann  <matthew.gretton-dann@linaro.org>
>
>         Backport from mainline.
>         2012-10-15  Matthias Klose  <doko@ubuntu.com>
>
>         * configure.ac: Match arm*-*-linux-* for ARM Linux/GNU.
>         * configure: Regenerate.
>
> libstdc++-v3/ChangeLog:
> 2012-11-08  Matthew Gretton-Dann  <matthew.gretton-dann@linaro.org>
>
>         Backport from mainline
>         2012-10-15  Matthias Klose  <doko@ubuntu.com>
>
>         * configure.host: Match arm*-*-linux-* for ARM Linux/GNU.
>         * testsuite/20_util/make_signed/requirements/typedefs-2.cc: Likewise.
>         * testsuite/20_util/make_unsigned/requirements/typedefs-2.cc: Likewise.
>
> --
> Matthew Gretton-Dann
> Linaro Toolchain Working Group
> matthew.gretton-dann@linaro.org



--
Matthew Gretton-Dann
Linaro Toolchain Working Group
matthew.gretton-dann@linaro.org

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [RFA/4.7/ARM] Backport arm-*-linux-gnueabihf triplet support to 4.7
  2012-11-29 14:45 ` Matthew Gretton-Dann
@ 2012-12-07 13:52   ` Matthew Gretton-Dann
  0 siblings, 0 replies; 9+ messages in thread
From: Matthew Gretton-Dann @ 2012-12-07 13:52 UTC (permalink / raw)
  To: gcc-patches, Patch Tracking; +Cc: Richard Earnshaw, ramrad01, doko

PING^2

On 29 November 2012 14:45, Matthew Gretton-Dann
<matthew.gretton-dann@linaro.org> wrote:
> PING
>
> On 20 November 2012 20:34, Matthew Gretton-Dann
> <matthew.gretton-dann@linaro.org> wrote:
>> 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?
>>
>> Thanks,
>>
>> Matt
>>
>> 2012-11-08  Matthew Gretton-Dann  <matthew.gretton-dann@linaro.org>
>>
>>         Backport from mainline
>>         2012-10-15  Matthias Klose  <doko@ubuntu.com>
>>
>>         * config.gcc: Match arm*-*-linux-* for ARM Linux/GNU.
>>         * doc/install.texi: Use arm-*-*linux-* instead of arm-*-*linux-gnueabi.
>>
>> gcc/ada/ChangeLog:
>> 2012-11-08  Matthew Gretton-Dann  <matthew.gretton-dann@linaro.org>
>>
>>         Backport from mainline.
>>         2012-10-15  Matthias Klose  <doko@ubuntu.com>
>>
>>         * gcc-interface/Makefile.in: Match arm*-*-linux-*eabi* for
>>         ARM Linux/GNU.
>>
>> gcc/testsuite/ChangeLog:
>> 2012-11-08  Matthew Gretton-Dann  <matthew.gretton-dann@linaro.org>
>>
>>         Backport from mainline
>>         2012-10-15  Matthias Klose  <doko@ubuntu.com>
>>
>>         * lib/target-supports.exp (check_profiling_available): Match
>>         arm*-*-linux-* for ARM Linux/GNU.
>>         * gfortran.dg/enum_10.f90: Likewise.
>>         * gfortran.dg/enum_9.f90: Likewise.
>>         * gcc.target/arm/synchronize.c: Likewise.
>>         * g++.old-deja/g++.jason/enum6.C: Likewise.
>>         * g++.old-deja/g++.law/enum9.C: Likewise.
>>         * g++.old-deja/g++.other/enum4.C: Likewise.
>>
>> libgcc/ChangeLog:
>> 2012-11-08  Matthew Gretton-Dann  <matthew.gretton-dann@linaro.org
>>
>>         Backport from mainline.
>>         2012-10-15  Matthias Klose  <doko@ubuntu.com>
>>
>>         * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
>>
>> libjava/ChangeLog:
>> 2012-11-08  Matthew Gretton-Dann  <matthew.gretton-dann@linaro.org>
>>
>>         Backport from mainline.
>>         2012-10-15  Matthias Klose  <doko@ubuntu.com>
>>
>>         * configure.ac: Match arm*-*-linux-* for ARM Linux/GNU.
>>         * configure: Regenerate.
>>
>> libstdc++-v3/ChangeLog:
>> 2012-11-08  Matthew Gretton-Dann  <matthew.gretton-dann@linaro.org>
>>
>>         Backport from mainline
>>         2012-10-15  Matthias Klose  <doko@ubuntu.com>
>>
>>         * configure.host: Match arm*-*-linux-* for ARM Linux/GNU.
>>         * testsuite/20_util/make_signed/requirements/typedefs-2.cc: Likewise.
>>         * testsuite/20_util/make_unsigned/requirements/typedefs-2.cc: Likewise.

--
Matthew Gretton-Dann
Linaro Toolchain Working Group
matthew.gretton-dann@linaro.org

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [RFA/4.7/ARM] Backport arm-*-linux-gnueabihf triplet support to 4.7
  2012-11-20 20:35 [RFA/4.7/ARM] Backport arm-*-linux-gnueabihf triplet support to 4.7 Matthew Gretton-Dann
                   ` (2 preceding siblings ...)
  2012-11-29 14:45 ` Matthew Gretton-Dann
@ 2012-12-17 14:28 ` Richard Earnshaw
  3 siblings, 0 replies; 9+ messages in thread
From: Richard Earnshaw @ 2012-12-17 14:28 UTC (permalink / raw)
  To: Matthew Gretton-Dann; +Cc: gcc-patches, patches, rguenther

On 20/11/12 20:34, Matthew Gretton-Dann wrote:
> 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?
>
> Thanks,
>
> Matt
>
> 2012-11-08  Matthew Gretton-Dann  <matthew.gretton-dann@linaro.org>
>
> 	Backport from mainline
> 	2012-10-15  Matthias Klose  <doko@ubuntu.com>
>
> 	* config.gcc: Match arm*-*-linux-* for ARM Linux/GNU.
> 	* doc/install.texi: Use arm-*-*linux-* instead of arm-*-*linux-gnueabi.
>
> gcc/ada/ChangeLog:
> 2012-11-08  Matthew Gretton-Dann  <matthew.gretton-dann@linaro.org>
>
> 	Backport from mainline.
> 	2012-10-15  Matthias Klose  <doko@ubuntu.com>
>
> 	* gcc-interface/Makefile.in: Match arm*-*-linux-*eabi* for
> 	ARM Linux/GNU.
>
> gcc/testsuite/ChangeLog:
> 2012-11-08  Matthew Gretton-Dann  <matthew.gretton-dann@linaro.org>
>
> 	Backport from mainline
> 	2012-10-15  Matthias Klose  <doko@ubuntu.com>
>
> 	* lib/target-supports.exp (check_profiling_available): Match
> 	arm*-*-linux-* for ARM Linux/GNU.
> 	* gfortran.dg/enum_10.f90: Likewise.
> 	* gfortran.dg/enum_9.f90: Likewise.
> 	* gcc.target/arm/synchronize.c: Likewise.
> 	* g++.old-deja/g++.jason/enum6.C: Likewise.
> 	* g++.old-deja/g++.law/enum9.C: Likewise.
> 	* g++.old-deja/g++.other/enum4.C: Likewise.
>
> libgcc/ChangeLog:
> 2012-11-08  Matthew Gretton-Dann  <matthew.gretton-dann@linaro.org
>
> 	Backport from mainline.
> 	2012-10-15  Matthias Klose  <doko@ubuntu.com>
>
> 	* config.host: Match arm*-*-linux-* for ARM Linux/GNU.
>
> libjava/ChangeLog:
> 2012-11-08  Matthew Gretton-Dann  <matthew.gretton-dann@linaro.org>
>
> 	Backport from mainline.
> 	2012-10-15  Matthias Klose  <doko@ubuntu.com>
>
> 	* configure.ac: Match arm*-*-linux-* for ARM Linux/GNU.
> 	* configure: Regenerate.
>
> libstdc++-v3/ChangeLog:
> 2012-11-08  Matthew Gretton-Dann  <matthew.gretton-dann@linaro.org>
>
> 	Backport from mainline
> 	2012-10-15  Matthias Klose  <doko@ubuntu.com>
>
> 	* configure.host: Match arm*-*-linux-* for ARM Linux/GNU.
> 	* testsuite/20_util/make_signed/requirements/typedefs-2.cc: Likewise.
> 	* testsuite/20_util/make_unsigned/requirements/typedefs-2.cc: Likewise.
>

OK.

R.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [RFA/4.7/ARM] Backport arm-*-linux-gnueabihf triplet support to 4.7
  2012-11-21 11:49   ` Matthew Gretton-Dann
@ 2012-12-17 14:35     ` Richard Earnshaw
  2012-12-21 10:02       ` Matthew Gretton-Dann
  0 siblings, 1 reply; 9+ messages in thread
From: Richard Earnshaw @ 2012-12-17 14:35 UTC (permalink / raw)
  To: Matthew Gretton-Dann; +Cc: Matthias Klose, gcc-patches, patches, Richard Biener

On 21/11/12 11:48, Matthew Gretton-Dann wrote:
> On 21 November 2012 00:05, Matthias Klose <doko@ubuntu.com> wrote:
>>
>> 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.
>

I would have thought this ought to be done for consistency.

R.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [RFA/4.7/ARM] Backport arm-*-linux-gnueabihf triplet support to 4.7
  2012-12-17 14:35     ` Richard Earnshaw
@ 2012-12-21 10:02       ` Matthew Gretton-Dann
  0 siblings, 0 replies; 9+ messages in thread
From: Matthew Gretton-Dann @ 2012-12-21 10:02 UTC (permalink / raw)
  To: Richard Earnshaw; +Cc: Matthias Klose, gcc-patches, patches, Richard Biener

[-- Attachment #1: Type: text/plain, Size: 1625 bytes --]

On 17 December 2012 14:28, Richard Earnshaw <rearnsha@arm.com> wrote:
> On 21/11/12 11:48, Matthew Gretton-Dann wrote:
>>
>> On 21 November 2012 00:05, Matthias Klose <doko@ubuntu.com> wrote:
>>>
>>>
>>> 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.
>>
>
> I would have thought this ought to be done for consistency.

Committed above as obvious (after discussions off-list with Richard
Earnshaw).  Attached patch shows what was actually committed.

Thanks,

Matt


--
Matthew Gretton-Dann
Linaro Toolchain Working Group
matthew.gretton-dann@linaro.org

[-- Attachment #2: uclinux-eabi.txt --]
[-- Type: text/plain, Size: 969 bytes --]

Index: gcc/config.gcc
===================================================================
--- gcc/config.gcc	(revision 194655)
+++ gcc/config.gcc	(working copy)
@@ -882,7 +882,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
Index: gcc/ChangeLog
===================================================================
--- gcc/ChangeLog	(revision 194655)
+++ gcc/ChangeLog	(working copy)
@@ -1,3 +1,7 @@
+2012-12-21  Matthew Gretton-Dann  <matthew.gretton-dann@linaro.org>
+
+	* config.gcc: Match arm*-*-uclinux*eabi* for EABI uCLinux.
+
 2012-12-18  Matthew Gretton-Dann  <matthew.gretton-dann@linaro.org>
 
 	Backport from mainline

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2012-12-21 10:02 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-20 20:35 [RFA/4.7/ARM] Backport arm-*-linux-gnueabihf triplet support to 4.7 Matthew Gretton-Dann
2012-11-21  0:05 ` Matthias Klose
2012-11-21 11:49   ` Matthew Gretton-Dann
2012-12-17 14:35     ` Richard Earnshaw
2012-12-21 10:02       ` Matthew Gretton-Dann
2012-11-26 12:13 ` Richard Biener
2012-11-29 14:45 ` Matthew Gretton-Dann
2012-12-07 13:52   ` Matthew Gretton-Dann
2012-12-17 14:28 ` Richard Earnshaw

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).