aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Nicolaescu2007-02-26 05:40:11 +0000
committerDan Nicolaescu2007-02-26 05:40:11 +0000
commit94218e27a558fb071f2c8d6b8e20e7b8eb27e4d6 (patch)
tree4ea3292986b2dcd6a82ae5606192bb142133e9ea
parent16f462c5f9eb3b6b88004cb65cc8ec886bde78c0 (diff)
downloademacs-94218e27a558fb071f2c8d6b8e20e7b8eb27e4d6.tar.gz
emacs-94218e27a558fb071f2c8d6b8e20e7b8eb27e4d6.zip
* configure.in (xtensa-*-linux-gnu*): New configuration.
* configure: Regenerate. * m/xtensa.h: New file.
-rwxr-xr-xconfigure5
-rw-r--r--configure.in5
-rw-r--r--src/m/xtensa.h28
3 files changed, 38 insertions, 0 deletions
diff --git a/configure b/configure
index d0ed64546d6..5a3da683a77 100755
--- a/configure
+++ b/configure
@@ -3100,6 +3100,11 @@ _ACEOF
3100 machine=amdx86-64 opsys=gnu-linux 3100 machine=amdx86-64 opsys=gnu-linux
3101 ;; 3101 ;;
3102 3102
3103 ## Tensilica Xtensa Linux-based GNU system
3104 xtensa-*-linux-gnu* )
3105 machine=xtensa opsys=gnu-linux
3106 ;;
3107
3103 * ) 3108 * )
3104 unported=yes 3109 unported=yes
3105 ;; 3110 ;;
diff --git a/configure.in b/configure.in
index e0883acee91..7de491bb0b5 100644
--- a/configure.in
+++ b/configure.in
@@ -1134,6 +1134,11 @@ dnl see the `changequote' comment above.
1134 machine=amdx86-64 opsys=gnu-linux 1134 machine=amdx86-64 opsys=gnu-linux
1135 ;; 1135 ;;
1136 1136
1137 ## Tensilica Xtensa Linux-based GNU system
1138 xtensa-*-linux-gnu* )
1139 machine=xtensa opsys=gnu-linux
1140 ;;
1141
1137 * ) 1142 * )
1138 unported=yes 1143 unported=yes
1139 ;; 1144 ;;
diff --git a/src/m/xtensa.h b/src/m/xtensa.h
new file mode 100644
index 00000000000..103ed63de8b
--- /dev/null
+++ b/src/m/xtensa.h
@@ -0,0 +1,28 @@
1/* Machine description file for Tensilica Xtensa.
2 Copyright (C) 2007 Free Software Foundation, Inc.
3
4This file is part of GNU Emacs.
5
6GNU Emacs is free software; you can redistribute it and/or modify
7it under the terms of the GNU General Public License as published by
8the Free Software Foundation; either version 1, or (at your option)
9any later version.
10
11GNU Emacs is distributed in the hope that it will be useful,
12but WITHOUT ANY WARRANTY; without even the implied warranty of
13MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14GNU General Public License for more details.
15
16You should have received a copy of the GNU General Public License
17along with GNU Emacs; see the file COPYING. If not, write to
18the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19Boston, MA 02110-1301, USA. */
20
21#define NO_ARG_ARRAY
22#define NO_UNION_TYPE
23
24#ifdef __LITTLE_ENDIAN
25#undef WORDS_BIG_ENDIAN
26#else
27#define WORDS_BIG_ENDIAN
28#endif