diff options
author | Nathan Sidwell <nathan@codesourcery.com> | 2007-01-18 19:29:48 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2007-01-18 19:29:48 +0000 |
commit | 47b41fa34abeff893fb1358c8154e681e68fdddd (patch) | |
tree | c1ce496cc8ad1aab36c512fa6b5b52749444b6b7 /gcc/config/m68k/fpgnulib.c | |
parent | a96533d5e5ec94af81be2c74a41d8f67fb809cfe (diff) | |
download | gcc-47b41fa34abeff893fb1358c8154e681e68fdddd.zip gcc-47b41fa34abeff893fb1358c8154e681e68fdddd.tar.gz gcc-47b41fa34abeff893fb1358c8154e681e68fdddd.tar.bz2 |
200x-xx-xx Nathan Sidwell <nathan@codesourcery.com>
gcc/
200x-xx-xx Nathan Sidwell <nathan@codesourcery.com>
* config.gcc (m68k-*-aout*, m68k-*-coff*, m68020-*-elf*, m68k-*-elf*)
(m68k-*-uclinuxoldabi, m68k-*-uclinux*, m68k-*-rtems*): Add t-floatlib
to $tmake_file.
* config/m68k/t-floatlib: New file, extracting common code from...
* config/m68k/t-m68kbare, config/m68k/t-m68kelf,
* config/m68k/t-uclinux: Here.
* config/m68k/fpgnulib.c: Do not compile extendeed precision
routines on ColdFire targets.
From-SVN: r120917
Diffstat (limited to 'gcc/config/m68k/fpgnulib.c')
-rw-r--r-- | gcc/config/m68k/fpgnulib.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/config/m68k/fpgnulib.c b/gcc/config/m68k/fpgnulib.c index 1ef43c7..cbff918 100644 --- a/gcc/config/m68k/fpgnulib.c +++ b/gcc/config/m68k/fpgnulib.c @@ -361,6 +361,10 @@ __fixsfsi (float a1) #else /* EXTFLOAT */ +/* We do not need these routines for coldfire, as it has no extended + float format. */ +#if !defined (__mcoldfire__) + /* Primitive extended precision floating point support. We assume all numbers are normalized, don't do any rounding, etc. */ @@ -569,4 +573,5 @@ __gexf2 (long double x1, long double x2) return __cmpdf2 ((double) x1, (double) x2); } +#endif /* !__mcoldfire__ */ #endif /* EXTFLOAT */ |