Merge changes from emacs-23 branch.
[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 /* Now define a symbol for the cpu type, if your compiler
22 does not define it automatically. */
23 #ifndef m68k
24 #define m68k
25 #endif
26
27 /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend
28 the 24-bit bit field into an int. In other words, if bit fields
29 are always unsigned.
30
31 This flag only matters if you use USE_LISP_UNION_TYPE. */
32 #define EXPLICIT_SIGN_EXTEND
33
34 #ifdef GNU_LINUX
35 #ifdef __ELF__
36 #define DATA_SEG_BITS 0x80000000
37 #endif
38
39 #endif
40
41 /* arch-tag: 4eadd161-b4e8-4b82-82a1-e4ce7f42969d
42 (do not change this comment) */