Mercurial > hg > CbC > CbC_gcc
diff gcc/config/mips/sdemtk.h @ 63:b7f97abdc517 gcc-4.6-20100522
update gcc from gcc-4.5.0 to gcc-4.6
author | ryoma <e075725@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 24 May 2010 12:47:05 +0900 |
parents | 77e2b8dfacca |
children | f6334be47118 |
line wrap: on
line diff
--- a/gcc/config/mips/sdemtk.h Fri Feb 12 23:41:23 2010 +0900 +++ b/gcc/config/mips/sdemtk.h Mon May 24 12:47:05 2010 +0900 @@ -35,10 +35,7 @@ builtin_define ("__mipsfp64"); \ \ if (TARGET_NO_FLOAT) \ - { \ - builtin_define ("__NO_FLOAT"); \ - builtin_define ("__mips_no_float"); \ - } \ + builtin_define ("__NO_FLOAT"); \ else if (TARGET_SOFT_FLOAT_ABI) \ builtin_define ("__SOFT_FLOAT"); \ else if (TARGET_SINGLE_FLOAT) \ @@ -57,18 +54,6 @@ } \ while (0) -#undef SUBTARGET_OVERRIDE_OPTIONS -#define SUBTARGET_OVERRIDE_OPTIONS \ - do \ - { \ - if (TARGET_NO_FLOAT) \ - { \ - target_flags |= MASK_SOFT_FLOAT_ABI; \ - target_flags_explicit |= MASK_SOFT_FLOAT_ABI; \ - } \ - } \ - while (0) - /* For __clear_cache in libgcc2.c. */ #ifdef IN_LIBGCC2 extern void mips_sync_icache (void *beg, unsigned long len); @@ -113,3 +98,6 @@ /* ...nor does the call sequence preserve $31. */ #undef MIPS_SAVE_REG_FOR_PROFILING_P #define MIPS_SAVE_REG_FOR_PROFILING_P(REGNO) ((REGNO) == RETURN_ADDR_REGNUM) + +/* Compile in support for the -mno-float option. */ +#define TARGET_SUPPORTS_NO_FLOAT 1