Mercurial > hg > xemacs-beta
comparison src/m/powerpc.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 |
---|---|
41 /* This level of optimization is reported to work. */ | 41 /* This level of optimization is reported to work. */ |
42 # define C_OPTIMIZE_SWITCH "-O2" | 42 # define C_OPTIMIZE_SWITCH "-O2" |
43 # endif | 43 # endif |
44 #endif | 44 #endif |
45 | 45 |
46 /* XINT must explicitly sign-extend */ | |
47 | |
48 #define EXPLICIT_SIGN_EXTEND | |
49 | |
46 #ifndef __linux__ | 50 #ifndef __linux__ |
47 /* Data type of load average, as read out of kmem. */ | 51 /* Data type of load average, as read out of kmem. */ |
48 | 52 |
49 #define LOAD_AVE_TYPE long | 53 #define LOAD_AVE_TYPE long |
50 | 54 |
60 | 64 |
61 /* Define addresses, macros, change some setup for dump */ | 65 /* Define addresses, macros, change some setup for dump */ |
62 | 66 |
63 #define NO_REMAP | 67 #define NO_REMAP |
64 | 68 |
69 #if 0 | |
70 #define TEXT_START 0x00001000 | |
71 #define TEXT_END 0 | |
72 #define DATA_START 0x01000000 | |
73 #define DATA_END 0 | |
74 | |
75 /* The data segment in this machine always starts at address 0x10000000. | |
76 An address of data cannot be stored correctly in a Lisp object; | |
77 we always lose the high bits. We must tell XPNTR to add them back. */ | |
78 | |
79 #define DATA_SEG_BITS 0x10000000 | |
80 #endif | |
81 | |
65 /* Use type int rather than a union, to represent Lisp_Object */ | 82 /* Use type int rather than a union, to represent Lisp_Object */ |
66 | 83 |
67 /* #define NO_UNION_TYPE */ | 84 /* #define NO_UNION_TYPE */ |
68 | 85 |
69 #ifdef CANNOT_DUMP | 86 #ifdef CANNOT_DUMP |
87 /* Define shared memory segment symbols */ | |
70 | 88 |
89 #define PURE_SEG_BITS 0x30000000 | |
90 | |
91 /* Use shared memory. */ | |
92 /* This is turned off because it does not always work. See etc/AIX.DUMP. */ | |
93 /* #define HAVE_SHM */ | |
94 #define SHMKEY 5305035 /* used for shared memory code segments */ | |
71 #endif /* CANNOT_DUMP */ | 95 #endif /* CANNOT_DUMP */ |
72 | 96 |
73 #define N_BADMAG(x) BADMAG(x) | 97 #define N_BADMAG(x) BADMAG(x) |
74 #define N_TXTOFF(x) A_TEXTPOS(x) | 98 #define N_TXTOFF(x) A_TEXTPOS(x) |
75 #define N_SYMOFF(x) A_SYMPOS(x) | 99 #define N_SYMOFF(x) A_SYMPOS(x) |