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
This commit is contained in:
parent
82d6e6fc38
commit
6d65617886
12 changed files with 32 additions and 15 deletions
|
@ -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.
|
||||
|
|
|
@ -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"
|
||||
;;
|
||||
|
|
2
gcc/configure
vendored
2
gcc/configure
vendored
|
@ -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"
|
||||
;;
|
||||
|
|
|
@ -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"
|
||||
;;
|
||||
|
|
|
@ -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 />
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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-*-* } { "*" } { "" } } */
|
||||
|
||||
|
|
|
@ -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. */
|
||||
|
|
|
@ -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" } */
|
||||
|
|
|
@ -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" } */
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue