diff options
Diffstat (limited to 'src/s')
| -rw-r--r-- | src/s/irix6-5.h | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/src/s/irix6-5.h b/src/s/irix6-5.h new file mode 100644 index 00000000000..44bb18e3103 --- /dev/null +++ b/src/s/irix6-5.h | |||
| @@ -0,0 +1,37 @@ | |||
| 1 | #define IRIX6 | ||
| 2 | #define IRIX6_5 | ||
| 3 | #include "irix5-0.h" | ||
| 4 | |||
| 5 | /* Irix 6 tries to do 64 bits, but doesn't do it fully, | ||
| 6 | so inhibit that. */ | ||
| 7 | #define IRIX_FORCE_32_BITS | ||
| 8 | |||
| 9 | #ifndef __GNUC__ | ||
| 10 | #ifndef IRIX6_5 | ||
| 11 | #define LD_SWITCH_SYSTEM -32 | ||
| 12 | #else | ||
| 13 | #define LD_SWITCH_SYSTEM -n32 | ||
| 14 | #endif | ||
| 15 | #endif | ||
| 16 | |||
| 17 | /* This macro definition, which we inherited from irix5-0.h, | ||
| 18 | is needed in configure on Irix 5, but gets in the way there | ||
| 19 | on Irix 6. So get rid of it except in Makefile.in where we need it. */ | ||
| 20 | #ifndef THIS_IS_MAKEFILE | ||
| 21 | #undef C_SWITCH_SYSTEM | ||
| 22 | #endif | ||
| 23 | |||
| 24 | /* The only supported configuration of GCC under IRIX6.x produces | ||
| 25 | n32 MIPS ABI binaries and also supports -g. */ | ||
| 26 | #ifdef __GNUC__ | ||
| 27 | #undef C_DEBUG_SWITCH | ||
| 28 | #define C_DEBUG_SWITCH -g | ||
| 29 | #endif | ||
| 30 | |||
| 31 | #undef SA_RESTART | ||
| 32 | |||
| 33 | /* It turns out that the #define in irix5-0.h is needed in Irix 6 as well. */ | ||
| 34 | #if 0 | ||
| 35 | /* Canced the #define that is in irix5-0.h. */ | ||
| 36 | #undef ospeed | ||
| 37 | #endif | ||