Mercurial > emacs
changeset 26706:705ff8a9d6dd
Derived from acorn.h by deletions.
author | Dave Love <fx@gnu.org> |
---|---|
date | Sat, 04 Dec 1999 19:46:10 +0000 |
parents | 4d2acc7d5f3e |
children | f94f6b1c6d7a |
files | src/m/arm.h |
diffstat | 1 files changed, 63 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/m/arm.h Sat Dec 04 19:46:10 1999 +0000 @@ -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