annotate src/m/m68k.h @ 94828:3a4bc081639c

Switch to recommended form of GPLv3 permissions notice.
author Glenn Morris <rgm@gnu.org>
date Fri, 09 May 2008 23:19:13 +0000
parents 7e5b32f86a4c
children e1043d6b0d2b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
13369
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1 /* Machine description file for generic Motorola 68k.
94714
7e5b32f86a4c Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 79755
diff changeset
2 Copyright (C) 1985, 1995, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
7e5b32f86a4c Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 79755
diff changeset
3 2008 Free Software Foundation, Inc.
13369
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
4
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
5 This file is part of GNU Emacs.
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
6
94714
7e5b32f86a4c Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 79755
diff changeset
7 GNU Emacs is free software: you can redistribute it and/or modify
13369
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
8 it under the terms of the GNU General Public License as published by
94714
7e5b32f86a4c Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 79755
diff changeset
9 the Free Software Foundation, either version 3 of the License, or
7e5b32f86a4c Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 79755
diff changeset
10 (at your option) any later version.
13369
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
11
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
12 GNU Emacs is distributed in the hope that it will be useful,
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
15 GNU General Public License for more details.
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
16
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
17 You should have received a copy of the GNU General Public License
94714
7e5b32f86a4c Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 79755
diff changeset
18 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
13369
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
19
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
20
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
21 /* The following three symbols give information on
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
22 the size of various data types. */
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
23
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
24
78499
49b363c28dce Replace `iff' in comments.
Glenn Morris <rgm@gnu.org>
parents: 78258
diff changeset
25 /* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word
13369
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
26 is the most significant byte. */
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
27
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
28 #define WORDS_BIG_ENDIAN
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
29
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
30 /* Define NO_ARG_ARRAY if you cannot take the address of the first of a
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
31 * group of arguments and treat it as an array of the arguments. */
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
32
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
33 /* #define NO_ARG_ARRAY */
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
34
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
35 /* Define WORD_MACHINE if addresses and such have
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
36 * to be corrected before they can be used as byte counts. */
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
37
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
38 /* #define WORD_MACHINE */
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
39
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
40 /* Now define a symbol for the cpu type, if your compiler
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
41 does not define it automatically. */
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
42
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
43 #ifndef m68k
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
44 #define m68k
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
45 #endif
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
46
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
47 /* Use type int rather than a union, to represent Lisp_Object */
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
48 /* This is desirable for most machines. */
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
49
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
50 #define NO_UNION_TYPE
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
51
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
52 /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
53 the 24-bit bit field into an int. In other words, if bit fields
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
54 are always unsigned.
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
55
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
56 If you use NO_UNION_TYPE, this flag does not matter. */
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
57
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
58 #define EXPLICIT_SIGN_EXTEND
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
59
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
60 /* Define CANNOT_DUMP on machines where unexec does not work.
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
61 Then the function dump-emacs will not be defined
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
62 and temacs will do (load "loadup") automatically unless told otherwise. */
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
63
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
64 /* #define CANNOT_DUMP */
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
65
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
66 /* Define VIRT_ADDR_VARIES if the virtual addresses of
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
67 pure and impure space as loaded can vary, and even their
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
68 relative order cannot be relied on.
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
69
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
70 Otherwise Emacs assumes that text space precedes data space,
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
71 numerically. */
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
72
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
73 /* #define VIRT_ADDR_VARIES */
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
74
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
75 #ifdef linux
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
76 #ifdef __ELF__
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
77 #define DATA_SEG_BITS 0x80000000
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
78 #endif
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
79
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
80 #define NO_REMAP
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
81 #define TEXT_START 0
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
82 #endif
52401
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 48439
diff changeset
83
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 48439
diff changeset
84 /* arch-tag: 4eadd161-b4e8-4b82-82a1-e4ce7f42969d
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 48439
diff changeset
85 (do not change this comment) */