Commit 72120463 by Kazu Hirata Committed by Kazu Hirata

m68k.h (LONG_DOUBLE_TYPE_SIZE): Change to 64 on TARGET_FIDOA.

	* 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
parent 14683174
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> 2007-04-16 Anatoly Sokolov <aesok@post.ru>
* config/avr/avr.c (avr_arch_types): Rearranging array. * config/avr/avr.c (avr_arch_types): Rearranging array.
......
...@@ -262,13 +262,15 @@ Boston, MA 02110-1301, USA. */ ...@@ -262,13 +262,15 @@ Boston, MA 02110-1301, USA. */
/* target machine storage layout */ /* 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. */ /* 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 #define LIBGCC2_LONG_DOUBLE_TYPE_SIZE 64
#else #else
#define LIBGCC2_LONG_DOUBLE_TYPE_SIZE 80 #define LIBGCC2_LONG_DOUBLE_TYPE_SIZE 80
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment