|
|
1.1 root 1: #include "tm-mips.h"
2:
3: /* Names to predefine in the preprocessor for this target machine. */
4:
5: #undef CPP_PREDEFINES
6: #define CPP_PREDEFINES "-Dunix -Dmips"
7: #undef CPP_SPEC
8: #define CPP_SPEC "-Dsgi -DSVR3 -Dhost_mips -DMIPSEB -DSYSTYPE_SYSV -DLANGUAGE_C"
9:
10: #define STARTFILE_SPEC \
11: "%{pg:gcrt1.o%s}%{!pg:%{p:mcrt1.o%s}%{!p:crt1.o%s}}"
12:
13: #define LIB_SPEC "%{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p} crtn.o%s"
14:
15: #define ASM_OUTPUT_SOURCE_FILENAME(FILE, FILENAME) \
16: fprintf (FILE, "\t.file\t1 \"%s\"\n", FILENAME)
17:
18: #undef ASM_OUTPUT_SOURCE_LINE
19: #define ASM_OUTPUT_SOURCE_LINE(file, line) \
20: { static int sym_lineno = 1; \
21: fprintf (file, "\t.loc\t1 %d\nLM%d:\n", \
22: line, sym_lineno); \
23: sym_lineno += 1; }
24:
25: #undef STACK_ARGS_ADJUST
26: #define STACK_ARGS_ADJUST(SIZE) \
27: { \
28: SIZE.constant += 4; \
29: if (SIZE.var) \
30: { \
31: rtx size1 = ARGS_SIZE_RTX (SIZE); \
32: rtx rounded = gen_reg_rtx (SImode); \
33: rtx label = gen_label_rtx (); \
34: emit_move_insn (rounded, size1); \
35: /* Needed: insns to jump to LABEL if ROUNDED is < 16. */ \
36: abort (); \
37: emit_move_insn (rounded, gen_rtx (CONST_INT, VOIDmode, 16)); \
38: emit_label (label); \
39: SIZE.constant = 0; \
40: SIZE.var = rounded; \
41: } \
42: else if (SIZE.constant < 32) \
43: SIZE.constant = 32; \
44: }
45:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.