Mercurial > emacs
annotate src/m/acorn.h @ 83542:2d56e13fd23d
Merged from emacs@sv.gnu.org
Patches applied:
* emacs@sv.gnu.org/emacs--devo--0--patch-413
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-414
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-415
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-416
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-417
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-418
Merge from gnus--rel--5.10
* emacs@sv.gnu.org/emacs--devo--0--patch-419
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-420
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-421
Merge from gnus--rel--5.10
* emacs@sv.gnu.org/emacs--devo--0--patch-422
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-423
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-424
Merge from gnus--rel--5.10
* emacs@sv.gnu.org/emacs--devo--0--patch-425
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-426
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-427
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-428
Merge from gnus--rel--5.10
* emacs@sv.gnu.org/emacs--devo--0--patch-429
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-430
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-431
Merge from gnus--rel--5.10
* emacs@sv.gnu.org/emacs--devo--0--patch-432
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-433
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-434
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-435
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-436
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-437
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-438
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-439
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-440
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-441
lisp/url/url-methods.el: Fix format error when http_proxy is empty string
* emacs@sv.gnu.org/emacs--devo--0--patch-442
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-443
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-444
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-445
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-446
Merge from gnus--rel--5.10
* emacs@sv.gnu.org/emacs--devo--0--patch-447
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-448
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-449
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-450
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-451
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-452
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-453
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-454
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-455
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-456
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-457
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-458
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-459
Merge from gnus--rel--5.10
* emacs@sv.gnu.org/emacs--devo--0--patch-460
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-461
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-462
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-463
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-464
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-465
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-466
Merge from gnus--rel--5.10
* emacs@sv.gnu.org/emacs--devo--0--patch-467
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-468
Merge from gnus--rel--5.10
* emacs@sv.gnu.org/emacs--devo--0--patch-469
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-470
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-471
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-472
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-473
Update from CVS
* emacs@sv.gnu.org/gnus--rel--5.10--patch-128
Update from CVS
* emacs@sv.gnu.org/gnus--rel--5.10--patch-129
Merge from emacs--devo--0
* emacs@sv.gnu.org/gnus--rel--5.10--patch-130
Update from CVS
* emacs@sv.gnu.org/gnus--rel--5.10--patch-131
Update from CVS
* emacs@sv.gnu.org/gnus--rel--5.10--patch-132
Update from CVS
* emacs@sv.gnu.org/gnus--rel--5.10--patch-133
Update from CVS
* emacs@sv.gnu.org/gnus--rel--5.10--patch-134
Merge from emacs--devo--0
* emacs@sv.gnu.org/gnus--rel--5.10--patch-135
Update from CVS
* emacs@sv.gnu.org/gnus--rel--5.10--patch-136
Update from CVS
* emacs@sv.gnu.org/gnus--rel--5.10--patch-137
Update from CVS
* emacs@sv.gnu.org/gnus--rel--5.10--patch-138
Update from CVS
* emacs@sv.gnu.org/gnus--rel--5.10--patch-139
Update from CVS
* emacs@sv.gnu.org/gnus--rel--5.10--patch-140
Update from CVS
* emacs@sv.gnu.org/gnus--rel--5.10--patch-141
Merge from emacs--devo--0
* emacs@sv.gnu.org/gnus--rel--5.10--patch-142
Update from CVS
* emacs@sv.gnu.org/gnus--rel--5.10--patch-143
Update from CVS
* emacs@sv.gnu.org/gnus--rel--5.10--patch-144
Update from CVS
* emacs@sv.gnu.org/gnus--rel--5.10--patch-145
Merge from emacs--devo--0
* emacs@sv.gnu.org/gnus--rel--5.10--patch-146
Update from CVS
* emacs@sv.gnu.org/gnus--rel--5.10--patch-147
Update from CVS
* emacs@sv.gnu.org/gnus--rel--5.10--patch-148
Update from CVS
* emacs@sv.gnu.org/gnus--rel--5.10--patch-149
Update from CVS
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-582
author | Karoly Lorentey <lorentey@elte.hu> |
---|---|
date | Sat, 14 Oct 2006 17:36:28 +0000 |
parents | 3bd95f4f2941 |
children | e90d04cd455a c5406394f567 |
rev | line source |
---|---|
9023 | 1 /* Machine description file for Acorn RISCiX machines. |
68651
3bd95f4f2941
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64767
diff
changeset
|
2 Copyright (C) 1994, 2002, 2003, 2004, 2005, |
3bd95f4f2941
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64767
diff
changeset
|
3 2006 Free Software Foundation, Inc. |
9023 | 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 2, 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 | |
64083 | 19 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
20 Boston, MA 02110-1301, USA. */ | |
9023 | 21 |
22 | |
23 | |
9095
23f72b18b420
(WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
parents:
9024
diff
changeset
|
24 /* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word |
9023 | 25 is the most significant byte. */ |
26 | |
9095
23f72b18b420
(WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
parents:
9024
diff
changeset
|
27 #undef WORDS_BIG_ENDIAN |
9023 | 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 /* ARM note - The RISCiX Norcroft C Compiler has ALL | |
48 non-32-bit types as unsigned */ | |
49 | |
50 #define SIGN_EXTEND_CHAR(c) (((int)(c) << 24) >> 24) | |
51 | |
52 /* Now define a symbol for the cpu type, if your compiler | |
53 does not define it automatically: | |
54 Ones defined so far include vax, m68000, ns16000, pyramid, | |
55 orion, tahoe, APOLLO and many others */ | |
56 | |
57 /* ARM note - this is done by the Norcroft compiler - symbol is `__arm' */ | |
58 | |
59 /* Use type int rather than a union, to represent Lisp_Object */ | |
60 /* This is desirable for most machines. */ | |
61 | |
62 #define NO_UNION_TYPE | |
63 | |
64 /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend | |
65 the 24-bit bit field into an int. In other words, if bit fields | |
66 are always unsigned. | |
67 | |
68 If you use NO_UNION_TYPE, this flag does not matter. */ | |
69 | |
70 #define EXPLICIT_SIGN_EXTEND | |
71 | |
72 #ifdef LDAV_SYMBOL | |
73 #undef LDAV_SYMBOL | |
74 #endif | |
75 | |
76 #define LDAV_SYMBOL "_iavenrun" | |
77 | |
78 | |
79 /* Data type of load average, as read out of kmem. */ | |
80 | |
81 #define LOAD_AVE_TYPE long | |
82 | |
83 /* Convert that into an integer that is 100 for a load average of 1.0 */ | |
84 | |
85 /* | |
86 * Scale factor for scaled integers used to count | |
87 * %cpu time and load averages. | |
88 */ | |
89 | |
90 /* FSHIFT and FSCALE are defined in param.h, but are required by | |
91 LOAD_AVE_CVT, so they need to be defined here. */ | |
92 | |
93 #ifndef FSHIFT | |
94 #define FSHIFT 8 /* bits to right of fixed binary point */ | |
95 #endif | |
96 | |
97 #ifndef FSCALE | |
98 #define FSCALE (1<<FSHIFT) | |
99 #endif | |
100 | |
101 #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) | |
102 | |
103 /* Define CANNOT_DUMP on machines where unexec does not work. | |
104 Then the function dump-emacs will not be defined | |
105 and temacs will do (load "loadup") automatically unless told otherwise. */ | |
106 | |
107 #undef CANNOT_DUMP | |
108 | |
109 /* Define VIRT_ADDR_VARIES if the virtual addresses of | |
110 pure and impure space as loaded can vary, and even their | |
111 relative order cannot be relied on. | |
112 | |
113 Otherwise Emacs assumes that text space precedes data space, | |
114 numerically. */ | |
115 | |
116 #undef VIRT_ADDR_VARIES | |
117 | |
118 /* This prevents Emacs dumping an unsqueezed binary with the | |
119 SQUEEZE bit set in the magic number. */ | |
120 | |
121 #define ADJUST_EXEC_HEADER {hdr.a_magic &= ~MF_SQUEEZED;} | |
122 | |
123 #ifdef __GNUC__ | |
124 | |
125 /* Keep gcc/RISCiX happy - it uses __gccmain where other versions of | |
126 gcc use __main, because of a library routine name clash. */ | |
127 #define __main __gccmain | |
128 | |
129 #endif /* __GNUC__ */ | |
130 | |
131 /* Define NO_REMAP if memory segmentation makes it not work well | |
132 to change the boundary between the text section and data section | |
133 when Emacs is dumped. If you define this, the preloaded Lisp | |
134 code will not be sharable; but that's better than failing completely. */ | |
135 | |
136 #define NO_REMAP | |
137 | |
138 | |
139 #ifndef NOT_C_CODE | |
140 #define TEXT_START 0x8000 | |
141 #define DATA_END &_edata | |
142 extern int _edata; | |
143 #define etext _etext | |
144 #endif | |
145 | |
146 /* Avoid debugging library */ | |
147 #define LIBS_DEBUG | |
148 | |
149 /* Avoid sharing libc */ | |
150 #define LIB_STANDARD -lc_n | |
151 | |
152 /* Avoid sharing libX11 */ | |
153 #define LIB_X11_LIB -lX11_n | |
154 | |
155 /* All kinds of symbol definitions, so as to avoid multiply defined symbol | |
156 errors from the RISCiX linker. */ | |
157 | |
158 #ifdef __GNUC__ | |
159 #define C_DEBUG_SWITCH | |
160 | |
161 #define C_OPTIMIZE_SWITCH -O1 -fomit-frame-pointer -w -g -Dgetopt=gnu_getopt -Dopterr=gnu_opterr -Doptind=gnu_optind -Doptarg=gnu_optarg -Dcfree=gnu_cfree -D___type= | |
162 | |
163 #else | |
164 #define C_DEBUG_SWITCH -O -w -g -Dgetopt=gnu_getopt -Dopterr=gnu_opterr -Doptind=gnu_optind -Doptarg=gnu_optarg -Dcfree=gnu_cfree | |
165 #endif | |
166 | |
167 /* Turn this on to avoid the emacs malloc and use standard one */ | |
168 | |
169 #undef SYSTEM_MALLOC | |
170 | |
171 /* Use <dirent.h>. */ | |
172 #define SYSV_SYSTEM_DIR | |
173 | |
174 #ifdef NO_REMAP | |
175 /* CRT0_O is defined in s/riscix1-1.h or s/riscix1-2.h, as appropriate. */ | |
176 #define START_FILES pre-crt0.o CRT0_O | |
177 #else | |
178 Cannot | |
179 do | |
180 this | |
181 yet | |
182 #endif | |
52401 | 183 |
184 /* arch-tag: acee2955-8c49-4b40-813c-579f76f4c0c3 | |
185 (do not change this comment) */ |