Mercurial > emacs
view src/s/irix6-5.h @ 31897:a292cc13911a
(GC_CHECK_STRING_BYTES): Temporarily define, for bug
hunting.
(struct sdata) [GC_CHECK_STRING_BYTES]: Always record the string's
size in the sdata structure.
(SDATA_NBYTES, SDATA_DATA): New macros.
(SDATA_OF_STRING, SDATA_SIZE) [GC_CHECK_STRING_BYTES]: Define
differently for the different layout of the sdata structure.
(allocate_string_data) [GC_CHECK_STRING_BYTES]: Record string size
in sdata.
(sweep_strings, compact_small_strings) [GC_CHECK_STRING_BYTES]:
Check that size recorded in the string size and size recorded in
the sdata structure agree.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Tue, 26 Sep 2000 11:11:51 +0000 |
parents | a0367b506722 |
children | b52aacb6e2c4 |
line wrap: on
line source
#define IRIX6 #define IRIX6_5 #include "irix5-0.h" #if _MIPS_SZLONG == 64 /* -mabi=64 (gcc) or -64 (MIPSpro) */ #error "The 64 bit ABI doesn't work yet. Please fix it and send the changes!" #define _LP64 #define EMACS_INT long #define BITS_PER_LONG 64 #define BITS_PER_EMACS_INT BITS_PER_LONG #define EMACS_UINT unsigned long #endif /* _MIPS_SZLONG */ /* This macro definition, which we inherited from irix5-0.h, is needed in configure on Irix 5, but gets in the way there on Irix 6. So get rid of it except in Makefile.in where we need it. */ #ifndef THIS_IS_MAKEFILE #undef C_SWITCH_SYSTEM #endif /* The only supported configuration of GCC under IRIX6.x produces n32 MIPS ABI binaries and also supports -g. */ #ifdef __GNUC__ #undef C_DEBUG_SWITCH #define C_DEBUG_SWITCH -g #else /* Optimize, inaccurate debugging, increase limit on size of what's optimized. This should also be applicable other than on Irix 6.5, but I don't know for which compiler versions. -- fx */ #define C_DEBUG_SWITCH -g3 -O -OPT:Olimit=3500 #endif #undef SA_RESTART /* It turns out that the #define in irix5-0.h is needed in Irix 6 as well. */ #if 0 /* Cancel the #define that is in irix5-0.h. */ #undef ospeed #endif