diff options
| author | Dan Nicolaescu | 2007-02-26 05:40:11 +0000 |
|---|---|---|
| committer | Dan Nicolaescu | 2007-02-26 05:40:11 +0000 |
| commit | 94218e27a558fb071f2c8d6b8e20e7b8eb27e4d6 (patch) | |
| tree | 4ea3292986b2dcd6a82ae5606192bb142133e9ea | |
| parent | 16f462c5f9eb3b6b88004cb65cc8ec886bde78c0 (diff) | |
| download | emacs-94218e27a558fb071f2c8d6b8e20e7b8eb27e4d6.tar.gz emacs-94218e27a558fb071f2c8d6b8e20e7b8eb27e4d6.zip | |
* configure.in (xtensa-*-linux-gnu*): New configuration.
* configure: Regenerate.
* m/xtensa.h: New file.
| -rwxr-xr-x | configure | 5 | ||||
| -rw-r--r-- | configure.in | 5 | ||||
| -rw-r--r-- | src/m/xtensa.h | 28 |
3 files changed, 38 insertions, 0 deletions
| @@ -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 | |||
| 4 | This file is part of GNU Emacs. | ||
| 5 | |||
| 6 | GNU Emacs is free software; you can redistribute it and/or modify | ||
| 7 | it under the terms of the GNU General Public License as published by | ||
| 8 | the Free Software Foundation; either version 1, or (at your option) | ||
| 9 | any later version. | ||
| 10 | |||
| 11 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 14 | GNU General Public License for more details. | ||
| 15 | |||
| 16 | You should have received a copy of the GNU General Public License | ||
| 17 | along with GNU Emacs; see the file COPYING. If not, write to | ||
| 18 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
| 19 | Boston, 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 | ||