summaryrefslogtreecommitdiff
path: root/src/m
diff options
context:
space:
mode:
authorDave Love <fx@gnu.org>1999-12-04 19:46:10 +0000
committerDave Love <fx@gnu.org>1999-12-04 19:46:10 +0000
commitcbb15e8cc28a266afbb80a3a6a2d77966cadc059 (patch)
tree223e8a55c0d902b5c32249a240921612105c0009 /src/m
parent5079d398b69c006f4b070d00d5304621ff8f9401 (diff)
downloademacs-cbb15e8cc28a266afbb80a3a6a2d77966cadc059.tar.gz
Derived from acorn.h by deletions.
Diffstat (limited to 'src/m')
-rw-r--r--src/m/arm.h63
1 files changed, 63 insertions, 0 deletions
diff --git a/src/m/arm.h b/src/m/arm.h
new file mode 100644
index 00000000000..3711bdd740c
--- /dev/null
+++ b/src/m/arm.h
@@ -0,0 +1,63 @@
+/* Machine description file for ARM-based non-RISCiX machines.
+ Copyright (C) 1994 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 2, 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., 59 Temple Place - Suite 330,
+Boston, MA 02111-1307, USA. */
+
+
+
+/* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word
+ is the most significant byte. */
+
+#undef WORDS_BIG_ENDIAN
+
+/* Define NO_ARG_ARRAY if you cannot take the address of the first of a
+ * group of arguments and treat it as an array of the arguments. We can't
+ * do this on the arm with gcc, since the first 4 args are in registers. */
+
+#ifdef __GNUC__
+#define NO_ARG_ARRAY
+#else
+#undef NO_ARG_ARRAY
+#endif
+
+/* Define WORD_MACHINE if addresses and such have
+ * to be corrected before they can be used as byte counts. */
+
+#undef WORD_MACHINE
+
+/* Define how to take a char and sign-extend into an int.
+ On machines where char is signed, this is a no-op. */
+
+#define SIGN_EXTEND_CHAR(c) (((int)(c) << 24) >> 24)
+
+#define NO_UNION_TYPE
+
+#ifdef __GNUC__
+
+/* Use builtin alloca. Also be sure that no other ones are tried out. */
+#define alloca __builtin_alloca
+#define HAVE_ALLOCA
+
+#else
+#define C_ALLOCA
+#undef HAVE_ALLOCA
+#endif /* __GNUC__ */
+
+#define NO_REMAP
+
+#define STACK_DIRECTION -1