diff options
Diffstat (limited to 'gcc/libgcc2.c')
-rw-r--r-- | gcc/libgcc2.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/libgcc2.c b/gcc/libgcc2.c index 861e6d9..158f374 100644 --- a/gcc/libgcc2.c +++ b/gcc/libgcc2.c @@ -127,7 +127,15 @@ typedef int word_type __attribute__ ((mode (__word__))); #define float bogus_type #define double bogus_type +#if BITS_PER_UNIT == 8 +#define SI_TYPE_SIZE 32 +#else #define SI_TYPE_SIZE (sizeof (SItype) * BITS_PER_UNIT) +#endif +#define W_TYPE_SIZE SI_TYPE_SIZE +#define UWtype USItype +#define UHWtype USItype +#define UDWtype UDItype /* DIstructs are pairs of SItype values in the order determined by LIBGCC2_WORDS_BIG_ENDIAN. */ |