diff options
author | Robert Nagy <robert@cvs.openbsd.org> | 2009-10-15 22:32:43 +0000 |
---|---|---|
committer | Robert Nagy <robert@cvs.openbsd.org> | 2009-10-15 22:32:43 +0000 |
commit | 50c849c66bb68b270aafb91ca2f146a6f4faa34c (patch) | |
tree | 87d191f84d4d40ec4908bc8a6732ff97d0bf1150 /gnu/gcc | |
parent | a51967045e18f04ba49e564436ca760cab87bcf5 (diff) |
only enable SF, DF, XF, TF modes in libgcc if we are building with gcc4, so we can bootstrap with gcc3 first
Diffstat (limited to 'gnu/gcc')
-rw-r--r-- | gnu/gcc/gcc/libgcc2.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gnu/gcc/gcc/libgcc2.h b/gnu/gcc/gcc/libgcc2.h index c13f0c76bcc..0d04935851e 100644 --- a/gnu/gcc/gcc/libgcc2.h +++ b/gnu/gcc/gcc/libgcc2.h @@ -58,6 +58,7 @@ extern short int __get_eh_table_version (struct exception_descriptor *); #define LIBGCC2_LONG_DOUBLE_TYPE_SIZE LONG_DOUBLE_TYPE_SIZE #endif +#if __GNUC__ >= 4 #ifndef LIBGCC2_HAS_SF_MODE #define LIBGCC2_HAS_SF_MODE (BITS_PER_UNIT == 8) #endif @@ -78,6 +79,7 @@ extern short int __get_eh_table_version (struct exception_descriptor *); #define LIBGCC2_HAS_TF_MODE \ (BITS_PER_UNIT == 8 && LIBGCC2_LONG_DOUBLE_TYPE_SIZE == 128) #endif +#endif /* __GNUC__ >= 4 */ #ifndef SF_SIZE #if LIBGCC2_HAS_SF_MODE |