* configure.in (xtensa-*-linux-gnu*): New configuration.

* configure: Regenerate.

* m/xtensa.h: New file.
This commit is contained in:
Dan Nicolaescu 2007-02-26 05:40:11 +00:00
parent 16f462c5f9
commit 94218e27a5
3 changed files with 38 additions and 0 deletions

5
configure vendored
View file

@ -3100,6 +3100,11 @@ _ACEOF
machine=amdx86-64 opsys=gnu-linux
;;
## Tensilica Xtensa Linux-based GNU system
xtensa-*-linux-gnu* )
machine=xtensa opsys=gnu-linux
;;
* )
unported=yes
;;

View file

@ -1134,6 +1134,11 @@ dnl see the `changequote' comment above.
machine=amdx86-64 opsys=gnu-linux
;;
## Tensilica Xtensa Linux-based GNU system
xtensa-*-linux-gnu* )
machine=xtensa opsys=gnu-linux
;;
* )
unported=yes
;;

28
src/m/xtensa.h Normal file
View file

@ -0,0 +1,28 @@
/* Machine description file for Tensilica Xtensa.
Copyright (C) 2007 Free Software Foundation, Inc.
This file is part of GNU Emacs.
GNU Emacs is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 1, or (at your option)
any later version.
GNU Emacs is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with GNU Emacs; see the file COPYING. If not, write to
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA. */
#define NO_ARG_ARRAY
#define NO_UNION_TYPE
#ifdef __LITTLE_ENDIAN
#undef WORDS_BIG_ENDIAN
#else
#define WORDS_BIG_ENDIAN
#endif