root/trunk/src/m/arm.h

Revision 4220, 1.9 kB (checked in by miyoshi, 8 months ago)

Sync up with Emacs22.2.

  • Property svn:eol-style set to native
Line 
1 /* Machine description file for ARM-based non-RISCiX machines.
2    Copyright (C) 1994, 2001, 2002, 2003, 2004, 2005,
3                  2006, 2007, 2008  Free Software Foundation, Inc.
4
5 This file is part of GNU Emacs.
6
7 GNU Emacs is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 3, or (at your option)
10 any later version.
11
12 GNU Emacs is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 GNU General Public License for more details.
16
17 You should have received a copy of the GNU General Public License
18 along with GNU Emacs; see the file COPYING.  If not, write to
19 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20 Boston, MA 02110-1301, USA.  */
21
22
23
24 /* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word
25    is the most significant byte.  */
26
27 #undef WORDS_BIG_ENDIAN
28
29 /* Define NO_ARG_ARRAY if you cannot take the address of the first of a
30  * group of arguments and treat it as an array of the arguments.  We can't
31  * do this on the arm with gcc, since the first 4 args are in registers.  */
32
33 #ifdef __GNUC__
34 #define NO_ARG_ARRAY
35 #else
36 #undef NO_ARG_ARRAY
37 #endif
38
39 /* Define WORD_MACHINE if addresses and such have
40  * to be corrected before they can be used as byte counts.  */
41
42 #undef WORD_MACHINE
43
44 /* Define how to take a char and sign-extend into an int.
45    On machines where char is signed, this is a no-op.  */
46
47 #define SIGN_EXTEND_CHAR(c) (((int)(c) << 24) >> 24)
48
49 #define NO_UNION_TYPE
50
51 #ifdef __GNUC__
52
53 /* Use builtin alloca. Also be sure that no other ones are tried out. */
54 #define alloca __builtin_alloca
55 #define HAVE_ALLOCA
56
57 #else
58 #define C_ALLOCA
59 #undef HAVE_ALLOCA
60 #endif  /* __GNUC__ */
61
62 #define NO_REMAP
63
64 #define STACK_DIRECTION -1
Note: See TracBrowser for help on using the browser.