annotate src/m/m68k.h @ 71553:fab9a5c14338

*** empty log message ***
author Kim F. Storm <storm@cua.dk>
date Sat, 01 Jul 2006 23:28:38 +0000
parents 3bd95f4f2941
children e90d04cd455a c5406394f567
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.
64767
11814686b09f Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents: 64083
diff changeset
2 Copyright (C) 1985, 1995, 2002, 2003, 2004,
68651
3bd95f4f2941 Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents: 64767
diff changeset
3 2005, 2006 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
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
7 GNU Emacs is free software; you can redistribute it and/or modify
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
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
9 the Free Software Foundation; either version 2, or (at your option)
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
10 any later version.
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
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
18 along with GNU Emacs; see the file COPYING. If not, write to
64083
23a17af379b1 Update FSF's address.
Lute Kamstra <lute@gnu.org>
parents: 52401
diff changeset
19 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
23a17af379b1 Update FSF's address.
Lute Kamstra <lute@gnu.org>
parents: 52401
diff changeset
20 Boston, MA 02110-1301, USA. */
13369
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
21
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
22
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
23 /* The following three symbols give information on
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
24 the size of various data types. */
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
25
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
26
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
27 /* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
28 is the most significant byte. */
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 WORDS_BIG_ENDIAN
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
31
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
32 /* 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
33 * group of arguments and treat it as an array of the arguments. */
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 NO_ARG_ARRAY */
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
36
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
37 /* Define WORD_MACHINE if addresses and such have
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
38 * to be corrected before they can be used as byte counts. */
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 /* #define WORD_MACHINE */
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
41
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
42 /* Now define a symbol for the cpu type, if your compiler
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
43 does not define it automatically. */
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
44
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
45 #ifndef m68k
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
46 #define m68k
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
47 #endif
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
48
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
49 /* Use type int rather than a union, to represent Lisp_Object */
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
50 /* This is desirable for most machines. */
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 NO_UNION_TYPE
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
53
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
54 /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
55 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
56 are always unsigned.
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 If you use NO_UNION_TYPE, this flag does not matter. */
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 EXPLICIT_SIGN_EXTEND
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
61
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
62 /* Define CANNOT_DUMP on machines where unexec does not work.
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
63 Then the function dump-emacs will not be defined
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
64 and temacs will do (load "loadup") automatically unless told otherwise. */
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 CANNOT_DUMP */
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
67
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
68 /* Define VIRT_ADDR_VARIES if the virtual addresses of
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
69 pure and impure space as loaded can vary, and even their
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
70 relative order cannot be relied on.
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
71
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
72 Otherwise Emacs assumes that text space precedes data space,
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
73 numerically. */
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 /* #define VIRT_ADDR_VARIES */
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
76
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
77 #ifdef linux
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
78 #ifdef __ELF__
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
79 #define DATA_SEG_BITS 0x80000000
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
80 #endif
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
81
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
82 #define NO_REMAP
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
83 #define TEXT_START 0
850f2e0c73b6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
84 #endif
52401
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 48439
diff changeset
85
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 48439
diff changeset
86 /* arch-tag: 4eadd161-b4e8-4b82-82a1-e4ce7f42969d
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 48439
diff changeset
87 (do not change this comment) */