comparison src/m/powerpc.h @ 400:a86b2b5e0111 r21-2-30

Import from CVS: tag r21-2-30
author cvs
date Mon, 13 Aug 2007 11:14:34 +0200
parents ca9a9ec9c1c1
children 697ef44129c6
comparison
equal deleted inserted replaced
399:376370fb5946 400:a86b2b5e0111
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
50 #ifndef __linux__ 46 #ifndef __linux__
51 /* Data type of load average, as read out of kmem. */ 47 /* Data type of load average, as read out of kmem. */
52 48
53 #define LOAD_AVE_TYPE long 49 #define LOAD_AVE_TYPE long
54 50
64 60
65 /* Define addresses, macros, change some setup for dump */ 61 /* Define addresses, macros, change some setup for dump */
66 62
67 #define NO_REMAP 63 #define NO_REMAP
68 64
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
82 /* Use type int rather than a union, to represent Lisp_Object */ 65 /* Use type int rather than a union, to represent Lisp_Object */
83 66
84 /* #define NO_UNION_TYPE */ 67 /* #define NO_UNION_TYPE */
85 68
86 #ifdef CANNOT_DUMP 69 #ifdef CANNOT_DUMP
87 /* Define shared memory segment symbols */
88 70
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 */
95 #endif /* CANNOT_DUMP */ 71 #endif /* CANNOT_DUMP */
96 72
97 #define N_BADMAG(x) BADMAG(x) 73 #define N_BADMAG(x) BADMAG(x)
98 #define N_TXTOFF(x) A_TEXTPOS(x) 74 #define N_TXTOFF(x) A_TEXTPOS(x)
99 #define N_SYMOFF(x) A_SYMPOS(x) 75 #define N_SYMOFF(x) A_SYMPOS(x)