2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / config / mips / iris6-o32.h
bloba525db163ae656da7af93af11ca97f2876e10d7d
1 /* Definitions of target machine for GNU compiler, for MIPS running IRIX 6
2 (O32 ABI). */
4 /* The O32 ABI on IRIX 6 defaults to the mips2 ISA. */
5 #undef MIPS_CPU_STRING_DEFAULT
6 #define MIPS_CPU_STRING_DEFAULT "mips2"
8 /* Specify wchar_t and wint_t types. */
9 #undef WCHAR_TYPE
10 #define WCHAR_TYPE "long int"
12 #undef WCHAR_TYPE_SIZE
13 #define WCHAR_TYPE_SIZE 32
15 #undef WINT_TYPE
16 #define WINT_TYPE "long int"
18 #undef WINT_TYPE_SIZE
19 #define WINT_TYPE_SIZE 32
21 /* Enforce use of O32 assembler, irrespective of SGI_ABI environment variable
22 and machine type (e.g., R8000 systems default to -64). Gas doesn't need
23 this, but doesn't hurt either. Need to pass -mips2 to gas which defaults
24 to -mips1 if no ISA is specified. */
25 #undef SUBTARGET_ASM_SPEC
26 #define SUBTARGET_ASM_SPEC "-32 %{!mips*:-mips2}"