From a356f643722d69d6ba2a80cc1c76316ae63ae98a Mon Sep 17 00:00:00 2001 From: Dave Love Date: Sat, 4 Dec 1999 19:46:10 +0000 Subject: Derived from acorn.h by deletions. --- src/m/arm.h | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 src/m/arm.h (limited to 'src/m/arm.h') diff --git a/src/m/arm.h b/src/m/arm.h new file mode 100644 index 0000000000..3711bdd740 --- /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 -- cgit v1.2.3