diff options
author | Marc Gauthier <marc@tensilica.com> | 2008-08-06 16:02:16 +0000 |
---|---|---|
committer | Bob Wilson <bwilson@gcc.gnu.org> | 2008-08-06 16:02:16 +0000 |
commit | 6d65617886e363fdf518567364af5f5619adfaf4 (patch) | |
tree | 04b72429df3f259fee46022b382b3e79da5ae885 | |
parent | 82d6e6fc38181e135084463bbf35b49484d68f04 (diff) | |
download | gcc-6d65617886e363fdf518567364af5f5619adfaf4.zip gcc-6d65617886e363fdf518567364af5f5619adfaf4.tar.gz gcc-6d65617886e363fdf518567364af5f5619adfaf4.tar.bz2 |
config.gcc: Match more processor names for Xtensa.
2008-08-06 Marc Gauthier <marc@tensilica.com>
* config.gcc: Match more processor names for Xtensa.
* configure.ac: Likewise.
* doc/install.texi (Specific): Likewise.
* configure: Regenerate.
testsuite/
* lib/target-supports.exp (check_profiling_available): Match more
processor names for Xtensa.
* g++.old-deja/g++.jason/thunk3.C: Likewise.
* gcc.dg/intmax_t-1.c: Likewise.
* gcc.dg/sibcall-3.c: Likewise.
* gcc.dg/sibcall-4.c: Likewise.
* gcc.c-torture/compile/20001226-1.c: Likewise.
From-SVN: r138810
-rw-r--r-- | gcc/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/config.gcc | 4 | ||||
-rwxr-xr-x | gcc/configure | 2 | ||||
-rw-r--r-- | gcc/configure.ac | 2 | ||||
-rw-r--r-- | gcc/doc/install.texi | 10 | ||||
-rw-r--r-- | gcc/testsuite/ChangeLog | 10 | ||||
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.jason/thunk3.C | 2 | ||||
-rw-r--r-- | gcc/testsuite/gcc.c-torture/compile/20001226-1.c | 2 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/intmax_t-1.c | 2 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/sibcall-3.c | 2 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/sibcall-4.c | 2 | ||||
-rw-r--r-- | gcc/testsuite/lib/target-supports.exp | 2 |
12 files changed, 32 insertions, 15 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 37c57db..244175e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2008-08-06 Marc Gauthier <marc@tensilica.com> + + * config.gcc: Match more processor names for Xtensa. + * configure.ac: Likewise. + * doc/install.texi (Specific): Likewise. + * configure: Regenerate. + 2008-08-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> * builtins.c (expand_builtin_profile_func): Avoid C++ keywords. diff --git a/gcc/config.gcc b/gcc/config.gcc index a2aa424..c327547 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -2348,11 +2348,11 @@ xstormy16-*-elf) tmake_file="stormy16/t-stormy16" extra_parts="crtbegin.o crtend.o" ;; -xtensa-*-elf*) +xtensa*-*-elf*) tm_file="${tm_file} dbxelf.h elfos.h svr4.h xtensa/elf.h" tmake_file="xtensa/t-xtensa xtensa/t-elf" ;; -xtensa-*-linux*) +xtensa*-*-linux*) tm_file="${tm_file} dbxelf.h elfos.h svr4.h linux.h xtensa/linux.h" tmake_file="${tmake_file} xtensa/t-xtensa xtensa/t-linux" ;; diff --git a/gcc/configure b/gcc/configure index abb1fd8..0ad273b 100755 --- a/gcc/configure +++ b/gcc/configure @@ -22800,7 +22800,7 @@ esac case "$target" in i?86*-*-* | mips*-*-* | alpha*-*-* | powerpc*-*-* | sparc*-*-* | m68*-*-* \ | x86_64*-*-* | hppa*-*-* | arm*-*-* \ - | xstormy16*-*-* | cris-*-* | xtensa-*-* | bfin-*-* | score*-*-* \ + | xstormy16*-*-* | cris-*-* | xtensa*-*-* | bfin-*-* | score*-*-* \ | spu-*-* | fido*-*-*) insn="nop" ;; diff --git a/gcc/configure.ac b/gcc/configure.ac index 54e1eb4..f2f0eea 100644 --- a/gcc/configure.ac +++ b/gcc/configure.ac @@ -3085,7 +3085,7 @@ esac case "$target" in i?86*-*-* | mips*-*-* | alpha*-*-* | powerpc*-*-* | sparc*-*-* | m68*-*-* \ | x86_64*-*-* | hppa*-*-* | arm*-*-* \ - | xstormy16*-*-* | cris-*-* | xtensa-*-* | bfin-*-* | score*-*-* \ + | xstormy16*-*-* | cris-*-* | xtensa*-*-* | bfin-*-* | score*-*-* \ | spu-*-* | fido*-*-*) insn="nop" ;; diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi index f2aeb2c..7c95644 100644 --- a/gcc/doc/install.texi +++ b/gcc/doc/install.texi @@ -2625,9 +2625,9 @@ information are. @item @uref{#x86-64-x-x,,x86_64-*-*, amd64-*-*} @item -@uref{#xtensa-x-elf,,xtensa-*-elf} +@uref{#xtensa-x-elf,,xtensa*-*-elf} @item -@uref{#xtensa-x-linux,,xtensa-*-linux*} +@uref{#xtensa-x-linux,,xtensa*-*-linux*} @item @uref{#windows,,Microsoft Windows} @item @@ -4036,7 +4036,7 @@ both 64-bit x86-64 and 32-bit x86 code (via the @option{-m32} switch). @html <hr /> @end html -@heading @anchor{xtensa-x-elf}xtensa-*-elf +@heading @anchor{xtensa-x-elf}xtensa*-*-elf This target is intended for embedded Xtensa systems using the @samp{newlib} C library. It uses ELF but does not support shared @@ -4054,14 +4054,14 @@ which you can use to replace the default header file. @html <hr /> @end html -@heading @anchor{xtensa-x-linux}xtensa-*-linux* +@heading @anchor{xtensa-x-linux}xtensa*-*-linux* This target is for Xtensa systems running GNU/Linux. It supports ELF shared objects and the GNU C library (glibc). It also generates position-independent code (PIC) regardless of whether the @option{-fpic} or @option{-fPIC} options are used. In other respects, this target is the same as the -@uref{#xtensa-*-elf,,@samp{xtensa-*-elf}} target. +@uref{#xtensa*-*-elf,,@samp{xtensa*-*-elf}} target. @html <hr /> diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index a2f0d06..a8b0b149 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,13 @@ +2008-08-06 Marc Gauthier <marc@tensilica.com> + + * lib/target-supports.exp (check_profiling_available): Match more + processor names for Xtensa. + * g++.old-deja/g++.jason/thunk3.C: Likewise. + * gcc.dg/intmax_t-1.c: Likewise. + * gcc.dg/sibcall-3.c: Likewise. + * gcc.dg/sibcall-4.c: Likewise. + * gcc.c-torture/compile/20001226-1.c: Likewise. + 2008-08-06 H.J. Lu <hongjiu.lu@intel.com> PR middle-end/37010 diff --git a/gcc/testsuite/g++.old-deja/g++.jason/thunk3.C b/gcc/testsuite/g++.old-deja/g++.jason/thunk3.C index 1b235ef..d91982f 100644 --- a/gcc/testsuite/g++.old-deja/g++.jason/thunk3.C +++ b/gcc/testsuite/g++.old-deja/g++.jason/thunk3.C @@ -1,4 +1,4 @@ -// { dg-do run { xfail rs6000-*-* powerpc-*-eabi m68k-*-coff mn10300-*-* v850-*-* sh-*-* sh64-*-* h8*-*-* xtensa-*-* m32r*-*-* } } +// { dg-do run { xfail rs6000-*-* powerpc-*-eabi m68k-*-coff mn10300-*-* v850-*-* sh-*-* sh64-*-* h8*-*-* xtensa*-*-* m32r*-*-* } } // Test that variadic function calls using thunks work right. // Note that this will break on any target that uses the generic thunk // support, because it doesn't support variadic functions. diff --git a/gcc/testsuite/gcc.c-torture/compile/20001226-1.c b/gcc/testsuite/gcc.c-torture/compile/20001226-1.c index 19701ab..64cf37c 100644 --- a/gcc/testsuite/gcc.c-torture/compile/20001226-1.c +++ b/gcc/testsuite/gcc.c-torture/compile/20001226-1.c @@ -3,7 +3,7 @@ /* { dg-do assemble } */ /* { dg-xfail-if "function larger than 64K" { m6811-*-* } { "*" } { "" } } */ /* { dg-skip-if "too much code for avr" { "avr-*-*" } { "*" } { "" } } */ -/* { dg-xfail-if "jump beyond 128K not supported" { xtensa-*-* } { "-O0" } { "" } } */ +/* { dg-xfail-if "jump beyond 128K not supported" { xtensa*-*-* } { "-O0" } { "" } } */ /* { dg-xfail-if "PR36698" { spu-*-* } { "-O0" } { "" } } */ /* { dg-skip-if "" { m32c-*-* } { "*" } { "" } } */ diff --git a/gcc/testsuite/gcc.dg/intmax_t-1.c b/gcc/testsuite/gcc.dg/intmax_t-1.c index 9ac0cb9..00b503c 100644 --- a/gcc/testsuite/gcc.dg/intmax_t-1.c +++ b/gcc/testsuite/gcc.dg/intmax_t-1.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ /* { dg-options "-Wall" } */ -/* { dg-error "" "" { target { { *arm*-*-*elf* xtensa-*-elf* } || vxworks_kernel } } 0 } */ +/* { dg-error "" "" { target { { *arm*-*-*elf* xtensa*-*-elf* } || vxworks_kernel } } 0 } */ /* Compile with -Wall to get a warning if built-in and system intmax_t don't match. */ diff --git a/gcc/testsuite/gcc.dg/sibcall-3.c b/gcc/testsuite/gcc.dg/sibcall-3.c index 38f3e37..a33d4d3 100644 --- a/gcc/testsuite/gcc.dg/sibcall-3.c +++ b/gcc/testsuite/gcc.dg/sibcall-3.c @@ -5,7 +5,7 @@ Copyright (C) 2002 Free Software Foundation Inc. Contributed by Hans-Peter Nilsson <hp@bitrange.com> */ -/* { dg-do run { xfail arc-*-* avr-*-* cris-*-* crisv32-*-* h8300-*-* hppa*64*-*-* m32r-*-* m68hc1?-*-* mcore-*-* mn10300-*-* xstormy16-*-* v850*-*-* vax-*-* xtensa-*-* } } */ +/* { dg-do run { xfail arc-*-* avr-*-* cris-*-* crisv32-*-* h8300-*-* hppa*64*-*-* m32r-*-* m68hc1?-*-* mcore-*-* mn10300-*-* xstormy16-*-* v850*-*-* vax-*-* xtensa*-*-* } } */ /* -mlongcall disables sibcall patterns. */ /* { dg-skip-if "" { powerpc*-*-* } { "-mlongcall" } { "" } } */ /* { dg-options "-O2 -foptimize-sibling-calls" } */ diff --git a/gcc/testsuite/gcc.dg/sibcall-4.c b/gcc/testsuite/gcc.dg/sibcall-4.c index 535efb6..e13db6b 100644 --- a/gcc/testsuite/gcc.dg/sibcall-4.c +++ b/gcc/testsuite/gcc.dg/sibcall-4.c @@ -5,7 +5,7 @@ Copyright (C) 2002 Free Software Foundation Inc. Contributed by Hans-Peter Nilsson <hp@bitrange.com> */ -/* { dg-do run { xfail arc-*-* avr-*-* cris-*-* crisv32-*-* h8300-*-* hppa*64*-*-* m32r-*-* m68hc1?-*-* mcore-*-* mn10300-*-* xstormy16-*-* v850*-*-* vax-*-* xtensa-*-* } } */ +/* { dg-do run { xfail arc-*-* avr-*-* cris-*-* crisv32-*-* h8300-*-* hppa*64*-*-* m32r-*-* m68hc1?-*-* mcore-*-* mn10300-*-* xstormy16-*-* v850*-*-* vax-*-* xtensa*-*-* } } */ /* -mlongcall disables sibcall patterns. */ /* { dg-skip-if "" { powerpc*-*-* } { "-mlongcall" } { "" } } */ /* { dg-options "-O2 -foptimize-sibling-calls" } */ diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp index d82829e..570b43e 100644 --- a/gcc/testsuite/lib/target-supports.exp +++ b/gcc/testsuite/lib/target-supports.exp @@ -476,7 +476,7 @@ proc check_profiling_available { test_what } { || [istarget m68k-*-uclinux*] || [istarget mips*-*-elf*] || [istarget xstormy16-*] - || [istarget xtensa-*-elf] + || [istarget xtensa*-*-elf] || [istarget *-*-vxworks*] } { set profiling_available_saved 0 } else { |