Mercurial > hg > xemacs-beta
comparison src/m/acorn.h @ 442:abe6d1db359e r21-2-36
Import from CVS: tag r21-2-36
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:35:02 +0200 |
parents | 3ecd8885ac67 |
children | 943eaba38521 |
comparison
equal
deleted
inserted
replaced
441:72a7cfa4a488 | 442:abe6d1db359e |
---|---|
18 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, | 18 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
19 Boston, MA 02111-1307, USA. */ | 19 Boston, MA 02111-1307, USA. */ |
20 | 20 |
21 /* Synched up with: FSF 19.31. */ | 21 /* Synched up with: FSF 19.31. */ |
22 | 22 |
23 /* Define WORD_MACHINE if addresses and such have | |
24 * to be corrected before they can be used as byte counts. */ | |
25 | |
26 #undef WORD_MACHINE | |
27 | |
28 /* Define how to take a char and sign-extend into an int. | |
29 On machines where char is signed, this is a no-op. */ | |
30 | |
31 /* ARM note - The RISCiX Norcroft C Compiler has ALL | |
32 non-32-bit types as unsigned */ | |
33 | |
34 #define SIGN_EXTEND_CHAR(c) (((int)(c) << 24) >> 24) | |
35 | |
36 /* Now define a symbol for the cpu type, if your compiler | 23 /* Now define a symbol for the cpu type, if your compiler |
37 does not define it automatically: | 24 does not define it automatically: |
38 Ones defined so far include vax, m68000, ns16000, pyramid, | 25 Ones defined so far include vax, m68000, ns16000, pyramid, |
39 orion, tahoe, APOLLO and many others */ | 26 orion, tahoe, APOLLO and many others */ |
40 | 27 |
41 /* ARM note - this is done by the Norcroft compiler - symbol is `__arm' */ | 28 /* ARM note - this is done by the Norcroft compiler - symbol is `__arm' */ |
42 | |
43 /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend | |
44 the bit field into an int. In other words, if bit fields | |
45 are always unsigned. | |
46 | |
47 If you use NO_UNION_TYPE, this flag does not matter. */ | |
48 | |
49 #define EXPLICIT_SIGN_EXTEND | |
50 | 29 |
51 #ifdef LDAV_SYMBOL | 30 #ifdef LDAV_SYMBOL |
52 #undef LDAV_SYMBOL | 31 #undef LDAV_SYMBOL |
53 #endif | 32 #endif |
54 | 33 |
82 /* Define CANNOT_DUMP on machines where unexec does not work. | 61 /* Define CANNOT_DUMP on machines where unexec does not work. |
83 Then the function dump-emacs will not be defined | 62 Then the function dump-emacs will not be defined |
84 and temacs will do (load "loadup") automatically unless told otherwise. */ | 63 and temacs will do (load "loadup") automatically unless told otherwise. */ |
85 | 64 |
86 #undef CANNOT_DUMP | 65 #undef CANNOT_DUMP |
87 | |
88 /* Define VIRT_ADDR_VARIES if the virtual addresses of | |
89 pure and impure space as loaded can vary, and even their | |
90 relative order cannot be relied on. | |
91 | |
92 Otherwise Emacs assumes that text space precedes data space, | |
93 numerically. */ | |
94 | |
95 #undef VIRT_ADDR_VARIES | |
96 | 66 |
97 /* This prevents Emacs dumping an unsqueezed binary with the | 67 /* This prevents Emacs dumping an unsqueezed binary with the |
98 SQUEEZE bit set in the magic number. */ | 68 SQUEEZE bit set in the magic number. */ |
99 | 69 |
100 #define ADJUST_EXEC_HEADER {hdr.a_magic &= ~MF_SQUEEZED;} | 70 #define ADJUST_EXEC_HEADER {hdr.a_magic &= ~MF_SQUEEZED;} |