2286cbce5e670fb8dd7513a48f0b3d7ac5cff8e1
[bpt/emacs.git] / src / m / m68k.h
1 /* Machine description file for generic Motorola 68k.
2
3 Copyright (C) 1985, 1995, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
4 2008, 2009, 2010 Free Software Foundation, Inc.
5
6 This file is part of GNU Emacs.
7
8 GNU Emacs is free software: you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation, either version 3 of the License, or
11 (at your option) any later version.
12
13 GNU Emacs is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
17
18 You should have received a copy of the GNU General Public License
19 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
20
21 /* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word
22 is the most significant byte. */
23 #define WORDS_BIG_ENDIAN
24
25 /* Now define a symbol for the cpu type, if your compiler
26 does not define it automatically. */
27 #ifndef m68k
28 #define m68k
29 #endif
30
31 /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend
32 the 24-bit bit field into an int. In other words, if bit fields
33 are always unsigned.
34
35 This flag only matters if you use USE_LISP_UNION_TYPE. */
36 #define EXPLICIT_SIGN_EXTEND
37
38 #ifdef GNU_LINUX
39 #ifdef __ELF__
40 #define DATA_SEG_BITS 0x80000000
41 #endif
42
43 #endif
44
45 /* arch-tag: 4eadd161-b4e8-4b82-82a1-e4ce7f42969d
46 (do not change this comment) */