comparison mc-code-powerpc.c @ 173:3b33c7daae95

*** empty log message ***
author kono
date Wed, 26 Nov 2003 18:55:37 +0900
parents 096559f07a70
children 352feeae4b0a
comparison
equal deleted inserted replaced
172:096559f07a70 173:3b33c7daae95
3 3
4 #define EXTERN extern 4 #define EXTERN extern
5 #include "mc.h" 5 #include "mc.h"
6 #include "mc-code.h" 6 #include "mc-code.h"
7 #include "mc-codegen.h" 7 #include "mc-codegen.h"
8
9 char *l_include_path[] = {
10 "/usr/include/",
11 0
12 };
8 13
9 #define TEXT_EMIT_MODE 0 14 #define TEXT_EMIT_MODE 0
10 #define DATA_EMIT_MODE 1 15 #define DATA_EMIT_MODE 1
11 #define RODATA_EMIT_MODE 2 16 #define RODATA_EMIT_MODE 2
12 17
293 } 298 }
294 299
295 void 300 void
296 code_init(void) 301 code_init(void)
297 { 302 {
303 macro_define("__ppc__ 1\n");
304
298 init_ptr_cache(); 305 init_ptr_cache();
299 } 306 }
300 307
301 void 308 void
302 gexpr_code_init(void){ 309 gexpr_code_init(void){