m68k.h (LONG_DOUBLE_TYPE_SIZE): Change to 64 on TARGET_FIDOA.
authorKazu Hirata <kazu@codesourcery.com>
Mon, 16 Apr 2007 18:01:12 +0000 (18:01 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Mon, 16 Apr 2007 18:01:12 +0000 (18:01 +0000)
* config/m68k/m68k.h (LONG_DOUBLE_TYPE_SIZE): Change to 64 on
TARGET_FIDOA.
(LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Change to 64 if __mfido__ is
defined.

From-SVN: r123884

gcc/ChangeLog
gcc/config/m68k/m68k.h

index f94cf97..9b2422d 100644 (file)
@@ -1,3 +1,10 @@
+2007-04-16  Kazu Hirata  <kazu@codesourcery.com>
+
+       * config/m68k/m68k.h (LONG_DOUBLE_TYPE_SIZE): Change to 64 on
+       TARGET_FIDOA.
+       (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Change to 64 if __mfido__ is
+       defined.
+
 2007-04-16  Anatoly Sokolov <aesok@post.ru>
 
        * config/avr/avr.c (avr_arch_types): Rearranging  array.
index a872ee9..b8d1e79 100644 (file)
@@ -262,13 +262,15 @@ Boston, MA 02110-1301, USA.  */
 \f
 /* target machine storage layout */
 
-/* "long double" is the same as "double" on ColdFire targets.  */
+/* "long double" is the same as "double" on ColdFire and fido
+   targets.  */
 
-#define LONG_DOUBLE_TYPE_SIZE (TARGET_COLDFIRE ? 64 : 80)
+#define LONG_DOUBLE_TYPE_SIZE                  \
+  ((TARGET_COLDFIRE || TARGET_FIDOA) ? 64 : 80)
 
 /* We need to know the size of long double at compile-time in libgcc2.  */
 
-#ifdef __mcoldfire__
+#if defined(__mcoldfire__) || defined(__mfido__)
 #define LIBGCC2_LONG_DOUBLE_TYPE_SIZE 64
 #else
 #define LIBGCC2_LONG_DOUBLE_TYPE_SIZE 80