# HG changeset patch # User Dan Nicolaescu # Date 1172468411 0 # Node ID 75b3a340972ae990d6fc4410e467f19b31f51f9c # Parent d38be8d450875f4230fe7e4ed29a826825100c30 * configure.in (xtensa-*-linux-gnu*): New configuration. * configure: Regenerate. * m/xtensa.h: New file. diff -r d38be8d45087 -r 75b3a340972a configure --- 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 ;; diff -r d38be8d45087 -r 75b3a340972a configure.in --- 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 ;; diff -r d38be8d45087 -r 75b3a340972a src/m/xtensa.h --- /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