diff options
Diffstat (limited to 'gcc/config/i386/rtemself.h')
-rw-r--r-- | gcc/config/i386/rtemself.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/gcc/config/i386/rtemself.h b/gcc/config/i386/rtemself.h index 08ef18ccec5..087179191cb 100644 --- a/gcc/config/i386/rtemself.h +++ b/gcc/config/i386/rtemself.h @@ -26,7 +26,15 @@ along with GCC; see the file COPYING3. If not see builtin_define ("__rtems__"); \ builtin_define ("__USE_INIT_FINI__"); \ builtin_assert ("system=rtems"); \ - if (!TARGET_80387) \ - builtin_define ("_SOFT_FLOAT"); \ } \ while (0) + +#undef LONG_DOUBLE_TYPE_SIZE +#define LONG_DOUBLE_TYPE_SIZE (TARGET_80387 ? 80 : 64) + +#undef LIBGCC2_LONG_DOUBLE_TYPE_SIZE +#ifdef _SOFT_FLOAT +#define LIBGCC2_LONG_DOUBLE_TYPE_SIZE 64 +#else +#define LIBGCC2_LONG_DOUBLE_TYPE_SIZE 80 +#endif |