aboutsummaryrefslogtreecommitdiff
path: root/gcc/config.gcc
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@acm.org>2002-01-23 21:03:53 +0000
committerBob Wilson <bwilson@gcc.gnu.org>2002-01-23 21:03:53 +0000
commit039843087a884e96058fd0fcde72339974d49e81 (patch)
tree474190a92649d5af6ccd7a6f3ed51d377009630f /gcc/config.gcc
parent5b1a76105bb377230a838ddeb0c94d384b33e97b (diff)
downloadgcc-039843087a884e96058fd0fcde72339974d49e81.zip
gcc-039843087a884e96058fd0fcde72339974d49e81.tar.gz
gcc-039843087a884e96058fd0fcde72339974d49e81.tar.bz2
elf.h: New file.
* config/xtensa/elf.h: New file. * config/xtensa/lib1funcs.asm: New file. * config/xtensa/lib2funcs.S: New file. * config/xtensa/linux.h: New file. * config/xtensa/t-xtensa: New file. * config/xtensa/xtensa-config.h: New file. * config/xtensa/xtensa-protos.h: New file. * config/xtensa/xtensa.c: New file. * config/xtensa/xtensa.h: New file. * config/xtensa/xtensa.md: New file. * config.gcc (xtensa-*-elf*): New target. (xtensa-*-linux*): New target. * cse.c (canon_hash): Compare rtx pointers instead of register numbers. This is required for the Xtensa port. * integrate.c (copy_insn_list): Handle case where the static chain is in memory and the memory address has to be copied to a register. * doc/invoke.texi (Option Summary): Add Xtensa options. (Xtensa Options): New node. * doc/md.texi (Machine Constraints): Add Xtensa machine constraints. * gcc.c-torture/compile/20001226-1.x: xfail for Xtensa. From-SVN: r49155
Diffstat (limited to 'gcc/config.gcc')
-rw-r--r--gcc/config.gcc16
1 files changed, 16 insertions, 0 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc
index 9800e4b..ad60a20 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -3260,6 +3260,22 @@ xstormy16-*-elf)
tmake_file="stormy16/t-stormy16"
extra_parts="crtbegin.o crtend.o"
;;
+xtensa-*-elf*)
+ tm_file="${tm_file} dbxelf.h elfos.h svr4.h xtensa/elf.h"
+ with_newlib=yes
+ tmake_file=xtensa/t-xtensa
+ extra_parts="crtbegin.o crtend.o"
+ fixincludes=Makefile.in # newlib headers should be OK
+ ;;
+xtensa-*-linux*)
+ tm_file="${tm_file} dbxelf.h elfos.h svr4.h linux.h xtensa/linux.h"
+ tmake_file="t-linux xtensa/t-xtensa"
+ extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o"
+ gas=yes gnu_ld=yes
+ if test x$enable_threads = xyes; then
+ thread_file='posix'
+ fi
+ ;;
*)
echo "Configuration $machine not supported" 1>&2
exit 1