comparison src/m/acorn.h @ 412:697ef44129c6 r21-2-14

Import from CVS: tag r21-2-14
author cvs
date Mon, 13 Aug 2007 11:20:41 +0200
parents a86b2b5e0111
children
comparison
equal deleted inserted replaced
411:12e008d41344 412:697ef44129c6
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
23 /* Now define a symbol for the cpu type, if your compiler 36 /* Now define a symbol for the cpu type, if your compiler
24 does not define it automatically: 37 does not define it automatically:
25 Ones defined so far include vax, m68000, ns16000, pyramid, 38 Ones defined so far include vax, m68000, ns16000, pyramid,
26 orion, tahoe, APOLLO and many others */ 39 orion, tahoe, APOLLO and many others */
27 40
28 /* ARM note - this is done by the Norcroft compiler - symbol is `__arm' */ 41 /* 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
29 50
30 #ifdef LDAV_SYMBOL 51 #ifdef LDAV_SYMBOL
31 #undef LDAV_SYMBOL 52 #undef LDAV_SYMBOL
32 #endif 53 #endif
33 54