Commit 6d656178 by Marc Gauthier Committed by Bob Wilson

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
parent 82d6e6fc
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> 2008-08-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* builtins.c (expand_builtin_profile_func): Avoid C++ keywords. * builtins.c (expand_builtin_profile_func): Avoid C++ keywords.
......
...@@ -2348,11 +2348,11 @@ xstormy16-*-elf) ...@@ -2348,11 +2348,11 @@ xstormy16-*-elf)
tmake_file="stormy16/t-stormy16" tmake_file="stormy16/t-stormy16"
extra_parts="crtbegin.o crtend.o" extra_parts="crtbegin.o crtend.o"
;; ;;
xtensa-*-elf*) xtensa*-*-elf*)
tm_file="${tm_file} dbxelf.h elfos.h svr4.h xtensa/elf.h" tm_file="${tm_file} dbxelf.h elfos.h svr4.h xtensa/elf.h"
tmake_file="xtensa/t-xtensa xtensa/t-elf" 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" 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" tmake_file="${tmake_file} xtensa/t-xtensa xtensa/t-linux"
;; ;;
......
...@@ -22800,7 +22800,7 @@ esac ...@@ -22800,7 +22800,7 @@ esac
case "$target" in case "$target" in
i?86*-*-* | mips*-*-* | alpha*-*-* | powerpc*-*-* | sparc*-*-* | m68*-*-* \ i?86*-*-* | mips*-*-* | alpha*-*-* | powerpc*-*-* | sparc*-*-* | m68*-*-* \
| x86_64*-*-* | hppa*-*-* | arm*-*-* \ | x86_64*-*-* | hppa*-*-* | arm*-*-* \
| xstormy16*-*-* | cris-*-* | xtensa-*-* | bfin-*-* | score*-*-* \ | xstormy16*-*-* | cris-*-* | xtensa*-*-* | bfin-*-* | score*-*-* \
| spu-*-* | fido*-*-*) | spu-*-* | fido*-*-*)
insn="nop" insn="nop"
;; ;;
......
...@@ -3085,7 +3085,7 @@ esac ...@@ -3085,7 +3085,7 @@ esac
case "$target" in case "$target" in
i?86*-*-* | mips*-*-* | alpha*-*-* | powerpc*-*-* | sparc*-*-* | m68*-*-* \ i?86*-*-* | mips*-*-* | alpha*-*-* | powerpc*-*-* | sparc*-*-* | m68*-*-* \
| x86_64*-*-* | hppa*-*-* | arm*-*-* \ | x86_64*-*-* | hppa*-*-* | arm*-*-* \
| xstormy16*-*-* | cris-*-* | xtensa-*-* | bfin-*-* | score*-*-* \ | xstormy16*-*-* | cris-*-* | xtensa*-*-* | bfin-*-* | score*-*-* \
| spu-*-* | fido*-*-*) | spu-*-* | fido*-*-*)
insn="nop" insn="nop"
;; ;;
......
...@@ -2625,9 +2625,9 @@ information are. ...@@ -2625,9 +2625,9 @@ information are.
@item @item
@uref{#x86-64-x-x,,x86_64-*-*, amd64-*-*} @uref{#x86-64-x-x,,x86_64-*-*, amd64-*-*}
@item @item
@uref{#xtensa-x-elf,,xtensa-*-elf} @uref{#xtensa-x-elf,,xtensa*-*-elf}
@item @item
@uref{#xtensa-x-linux,,xtensa-*-linux*} @uref{#xtensa-x-linux,,xtensa*-*-linux*}
@item @item
@uref{#windows,,Microsoft Windows} @uref{#windows,,Microsoft Windows}
@item @item
...@@ -4036,7 +4036,7 @@ both 64-bit x86-64 and 32-bit x86 code (via the @option{-m32} switch). ...@@ -4036,7 +4036,7 @@ both 64-bit x86-64 and 32-bit x86 code (via the @option{-m32} switch).
@html @html
<hr /> <hr />
@end 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 This target is intended for embedded Xtensa systems using the
@samp{newlib} C library. It uses ELF but does not support shared @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. ...@@ -4054,14 +4054,14 @@ which you can use to replace the default header file.
@html @html
<hr /> <hr />
@end 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 This target is for Xtensa systems running GNU/Linux. It supports ELF
shared objects and the GNU C library (glibc). It also generates shared objects and the GNU C library (glibc). It also generates
position-independent code (PIC) regardless of whether the position-independent code (PIC) regardless of whether the
@option{-fpic} or @option{-fPIC} options are used. In other @option{-fpic} or @option{-fPIC} options are used. In other
respects, this target is the same as the respects, this target is the same as the
@uref{#xtensa-*-elf,,@samp{xtensa-*-elf}} target. @uref{#xtensa*-*-elf,,@samp{xtensa*-*-elf}} target.
@html @html
<hr /> <hr />
......
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> 2008-08-06 H.J. Lu <hongjiu.lu@intel.com>
PR middle-end/37010 PR middle-end/37010
......
// { 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. // Test that variadic function calls using thunks work right.
// Note that this will break on any target that uses the generic thunk // Note that this will break on any target that uses the generic thunk
// support, because it doesn't support variadic functions. // support, because it doesn't support variadic functions.
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
/* { dg-do assemble } */ /* { dg-do assemble } */
/* { dg-xfail-if "function larger than 64K" { m6811-*-* } { "*" } { "" } } */ /* { dg-xfail-if "function larger than 64K" { m6811-*-* } { "*" } { "" } } */
/* { dg-skip-if "too much code for avr" { "avr-*-*" } { "*" } { "" } } */ /* { 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-xfail-if "PR36698" { spu-*-* } { "-O0" } { "" } } */
/* { dg-skip-if "" { m32c-*-* } { "*" } { "" } } */ /* { dg-skip-if "" { m32c-*-* } { "*" } { "" } } */
......
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-options "-Wall" } */ /* { 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 /* Compile with -Wall to get a warning if built-in and system intmax_t don't
match. */ match. */
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
Copyright (C) 2002 Free Software Foundation Inc. Copyright (C) 2002 Free Software Foundation Inc.
Contributed by Hans-Peter Nilsson <hp@bitrange.com> */ 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. */ /* -mlongcall disables sibcall patterns. */
/* { dg-skip-if "" { powerpc*-*-* } { "-mlongcall" } { "" } } */ /* { dg-skip-if "" { powerpc*-*-* } { "-mlongcall" } { "" } } */
/* { dg-options "-O2 -foptimize-sibling-calls" } */ /* { dg-options "-O2 -foptimize-sibling-calls" } */
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
Copyright (C) 2002 Free Software Foundation Inc. Copyright (C) 2002 Free Software Foundation Inc.
Contributed by Hans-Peter Nilsson <hp@bitrange.com> */ 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. */ /* -mlongcall disables sibcall patterns. */
/* { dg-skip-if "" { powerpc*-*-* } { "-mlongcall" } { "" } } */ /* { dg-skip-if "" { powerpc*-*-* } { "-mlongcall" } { "" } } */
/* { dg-options "-O2 -foptimize-sibling-calls" } */ /* { dg-options "-O2 -foptimize-sibling-calls" } */
......
...@@ -476,7 +476,7 @@ proc check_profiling_available { test_what } { ...@@ -476,7 +476,7 @@ proc check_profiling_available { test_what } {
|| [istarget m68k-*-uclinux*] || [istarget m68k-*-uclinux*]
|| [istarget mips*-*-elf*] || [istarget mips*-*-elf*]
|| [istarget xstormy16-*] || [istarget xstormy16-*]
|| [istarget xtensa-*-elf] || [istarget xtensa*-*-elf]
|| [istarget *-*-vxworks*] } { || [istarget *-*-vxworks*] } {
set profiling_available_saved 0 set profiling_available_saved 0
} else { } else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment