From 6d65617886e363fdf518567364af5f5619adfaf4 Mon Sep 17 00:00:00 2001 From: Marc Gauthier Date: Wed, 6 Aug 2008 16:02:16 +0000 Subject: [PATCH] config.gcc: Match more processor names for Xtensa. 2008-08-06 Marc Gauthier * 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 --- gcc/ChangeLog | 7 +++++++ gcc/config.gcc | 4 ++-- gcc/configure | 2 +- gcc/configure.ac | 2 +- gcc/doc/install.texi | 10 +++++----- gcc/testsuite/ChangeLog | 10 ++++++++++ gcc/testsuite/g++.old-deja/g++.jason/thunk3.C | 2 +- gcc/testsuite/gcc.c-torture/compile/20001226-1.c | 2 +- gcc/testsuite/gcc.dg/intmax_t-1.c | 2 +- gcc/testsuite/gcc.dg/sibcall-3.c | 2 +- gcc/testsuite/gcc.dg/sibcall-4.c | 2 +- gcc/testsuite/lib/target-supports.exp | 2 +- 12 files changed, 32 insertions(+), 15 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 37c57db11b36..244175e4102b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2008-08-06 Marc Gauthier + + * config.gcc: Match more processor names for Xtensa. + * configure.ac: Likewise. + * doc/install.texi (Specific): Likewise. + * configure: Regenerate. + 2008-08-06 Kaveh R. Ghazi * builtins.c (expand_builtin_profile_func): Avoid C++ keywords. diff --git a/gcc/config.gcc b/gcc/config.gcc index a2aa4242f801..c32754711699 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 abb1fd85c1b7..0ad273b0cfad 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 54e1eb49bfaf..f2f0eea0b92e 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 f2aeb2c9586d..7c9564419bb0 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
@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
@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
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index a2f0d060844b..a8b0b14924d9 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,13 @@ +2008-08-06 Marc Gauthier + + * 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 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 1b235ef58e9c..d91982f7ed02 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 19701ab3877d..64cf37cb8406 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 9ac0cb9f0373..00b503c25090 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 38f3e37622d4..a33d4d345027 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 */ -/* { 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 535efb645044..e13db6bb74f7 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 */ -/* { 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 d82829e20584..570b43e071a6 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 {