From 94218e27a558fb071f2c8d6b8e20e7b8eb27e4d6 Mon Sep 17 00:00:00 2001 From: Dan Nicolaescu Date: Mon, 26 Feb 2007 05:40:11 +0000 Subject: [PATCH] * configure.in (xtensa-*-linux-gnu*): New configuration. * configure: Regenerate. * m/xtensa.h: New file. --- configure | 5 +++++ configure.in | 5 +++++ src/m/xtensa.h | 28 ++++++++++++++++++++++++++++ 3 files changed, 38 insertions(+) create mode 100644 src/m/xtensa.h diff --git a/configure b/configure index d0ed64546d6..5a3da683a77 100755 --- a/configure +++ b/configure @@ -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 ;; 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. machine=amdx86-64 opsys=gnu-linux ;; + ## Tensilica Xtensa Linux-based GNU system + xtensa-*-linux-gnu* ) + machine=xtensa opsys=gnu-linux + ;; + * ) unported=yes ;; 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 @@ +/* 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 -- 2.39.5