changeset 76149:75b3a340972a

* configure.in (xtensa-*-linux-gnu*): New configuration. * configure: Regenerate. * m/xtensa.h: New file.
author Dan Nicolaescu <dann@ics.uci.edu>
date Mon, 26 Feb 2007 05:40:11 +0000
parents d38be8d45087
children 64b2c68c0b8a
files configure configure.in src/m/xtensa.h
diffstat 3 files changed, 38 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Sun Feb 25 23:48:54 2007 +0000
+++ b/configure	Mon Feb 26 05:40:11 2007 +0000
@@ -3100,6 +3100,11 @@
     machine=amdx86-64 opsys=gnu-linux
   ;;
 
+  ## Tensilica Xtensa Linux-based GNU system
+  xtensa-*-linux-gnu* )
+    machine=xtensa opsys=gnu-linux
+    ;;
+
   * )
     unported=yes
   ;;
--- a/configure.in	Sun Feb 25 23:48:54 2007 +0000
+++ b/configure.in	Mon Feb 26 05:40:11 2007 +0000
@@ -1134,6 +1134,11 @@
     machine=amdx86-64 opsys=gnu-linux
   ;;
 
+  ## Tensilica Xtensa Linux-based GNU system    
+  xtensa-*-linux-gnu* )
+    machine=xtensa opsys=gnu-linux
+    ;;
+
   * )
     unported=yes
   ;;
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/m/xtensa.h	Mon Feb 26 05:40:11 2007 +0000
@@ -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