OSDN Git Service

Backport r192475 from mainline.
authormgretton <mgretton@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 18 Dec 2012 14:27:14 +0000 (14:27 +0000)
committermgretton <mgretton@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 18 Dec 2012 14:27:14 +0000 (14:27 +0000)
gcc/
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/testsuite/
2012-10-15  Matthias Klose  <doko@ubuntu.com>

        * lib/target-supports.exp (check_profiling_available): Match
        arm*-*-linux-* for ARM Linux/GNU.
        * g++.dg/torture/predcom-1.C: 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++.other/enum4.C: Likewise.
        * g++.old-deja/g++.law/enum9.C: Likewise.

gcc/ada/
2012-10-15  Matthias Klose  <doko@ubuntu.com>

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

libgcc/
2012-10-15  Matthias Klose  <doko@ubuntu.com>

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

libstdc++-v3/
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.

libjava/
2012-10-15  Matthias Klose  <doko@ubuntu.com>

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@194580 138bc75d-0d04-0410-961f-82ee72b054a4

22 files changed:
gcc/ChangeLog
gcc/ada/ChangeLog
gcc/ada/gcc-interface/Makefile.in
gcc/config.gcc
gcc/doc/install.texi
gcc/testsuite/ChangeLog
gcc/testsuite/g++.old-deja/g++.jason/enum6.C
gcc/testsuite/g++.old-deja/g++.law/enum9.C
gcc/testsuite/g++.old-deja/g++.other/enum4.C
gcc/testsuite/gcc.target/arm/synchronize.c
gcc/testsuite/gfortran.dg/enum_10.f90
gcc/testsuite/gfortran.dg/enum_9.f90
gcc/testsuite/lib/target-supports.exp
libgcc/ChangeLog
libgcc/config.host
libjava/ChangeLog
libjava/configure
libjava/configure.ac
libstdc++-v3/ChangeLog
libstdc++-v3/configure.host
libstdc++-v3/testsuite/20_util/make_signed/requirements/typedefs-2.cc
libstdc++-v3/testsuite/20_util/make_unsigned/requirements/typedefs-2.cc

index c42fe1f..f40ff6f 100644 (file)
@@ -1,3 +1,11 @@
+2012-12-18  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.
+
 2012-12-16  Eric Botcazou  <ebotcazou@adacore.com>
            Tomash Brechko  <tomash.brechko@gmail.com>
 
index c32a316..891e42e 100644 (file)
@@ -1,3 +1,11 @@
+2012-12-18  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.
+
 2012-12-16  Eric Botcazou  <ebotcazou@adacore.com>
 
        PR ada/54614
index 9b5135e..9f20f07 100644 (file)
@@ -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 \
index 2c003ca..4eacb07 100644 (file)
@@ -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.
index b74ea7a..2b0fbc7 100644 (file)
@@ -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
index 7f11821..fa0bc78 100644 (file)
@@ -1,3 +1,18 @@
+2012-12-18  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.
+       * g++.dg/torture/predcom-1.C: 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++.other/enum4.C: Likewise.
+       * g++.old-deja/g++.law/enum9.C: Likewise.
+
 2012-12-15  Eric Botcazou  <ebotcazou@adacore.com>
 
        PR ada/53766
index 7be0cd8..bf1126c 100644 (file)
@@ -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>
 
index 5a74b2f..0ecb87d 100644 (file)
@@ -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 *, ...);
index 429e812..509da6d 100644 (file)
@@ -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
index 8626d8e..cf5dcdf 100644 (file)
@@ -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)
 {
index 99a1690..1889766 100644 (file)
@@ -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.
 
index 8a5c60a..fec5d92 100644 (file)
@@ -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
index 4a8eee1..ab2c5e8 100644 (file)
@@ -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*-*-*]
index b493fb4..44222ea 100644 (file)
@@ -1,3 +1,10 @@
+2012-12-18  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.
+
 2012-12-17  Matthias Klose  <doko@ubuntu.com>
 
        * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
index bbf21a9..51aec66 100644 (file)
@@ -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
index 0010d59..1344f11 100644 (file)
@@ -1,3 +1,11 @@
+2012-12-18  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.
+
 2012-09-20  Release Manager
 
        * GCC 4.7.2 released.
index b0b45bb..d8a408d 100755 (executable)
@@ -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++.
index 8a25a42..93b25df 100644 (file)
@@ -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++.
index 69cd727..0a789d4 100644 (file)
@@ -1,3 +1,12 @@
+2012-12-18  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.
+
 2012-12-18  Jonathan Wakely  <jwakely.gcc@gmail.com>
 
        * doc/xml/manual/abi.xml: Update URLs for C++ ABI.
index ca4d819..b0e2cd9 100644 (file)
@@ -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
index adf3af4..9bebef2 100644 (file)
@@ -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>
 //
index a1465d3..3a80439 100644 (file)
@@ -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>
 //