m68hc11.h (CPP_SPEC): Pass -D__HAVE_SHORT_DOUBLE__ to the pre-processor when -fshort...
authorStephane Carrez <Stephane.Carrez@worldnet.fr>
Fri, 4 May 2001 19:49:25 +0000 (21:49 +0200)
committerStephane Carrez <ciceron@gcc.gnu.org>
Fri, 4 May 2001 19:49:25 +0000 (21:49 +0200)
* config/m68hc11/m68hc11.h (CPP_SPEC): Pass -D__HAVE_SHORT_DOUBLE__
to the pre-processor when -fshort-double is specified.
* config/m68hc11/m68hc11.2 (CPP_SPEC): Likewise.

From-SVN: r41843

gcc/ChangeLog
gcc/config/m68hc11/m68hc11.h
gcc/config/m68hc11/m68hc12.h

index b89fd9439973909f7276ad9bec7f5a04e75cf99e..fbd7d2b8538032ecfb544d68085c05c1df22852c 100644 (file)
@@ -1,3 +1,9 @@
+2001-05-04  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
+
+       * config/m68hc11/m68hc11.h (CPP_SPEC): Pass -D__HAVE_SHORT_DOUBLE__
+       to the pre-processor when -fshort-double is specified.
+       * config/m68hc11/m68hc11.2 (CPP_SPEC): Likewise.
+
 2001-05-04  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
 
        * config/m68hc11/larith.asm (divmodhi4): Empty for 68HC12.
index 3114a47c5cbceede22a54d99dfbe1e414b910d02..2d30ade5d4a0f25ae3e04820aad83e59c5d506dd 100644 (file)
@@ -65,7 +65,8 @@ Note:
 "%{mshort:-D__HAVE_SHORT_INT__ -D__INT__=16 -D__INT_MAX__=32767}\
  %{!mshort:-D__INT__=32 -D__INT_MAX__=2147483647}\
  %{m68hc12:-Dmc6812 -DMC6812 -Dmc68hc12}\
- %{!m68hc12:-Dmc6811 -DMC6811 -Dmc68hc11}"
+ %{!m68hc12:-Dmc6811 -DMC6811 -Dmc68hc11}\
+ %{fshort-double:-D__HAVE_SHORT_DOUBLE__}"
 #endif
 
 #undef STARTFILE_SPEC
index 7cd4dddc46875fe815c7314f9c067e02c730a716..277c788915bfcd16f69c7eed499c2c0021caac75 100644 (file)
@@ -32,7 +32,8 @@ Boston, MA 02111-1307, USA.  */
 "%{mshort:-D__HAVE_SHORT_INT__ -D__INT__=16 -D__INT_MAX__=32767}\
  %{!mshort:-D__INT__=32 -D__INT_MAX__=2147483647}\
  %{m68hc11:-Dmc6811 -DMC6811 -Dmc68hc11}\
- %{!m68hc11:-Dmc6812 -DMC6812 -Dmc68hc12}"
+ %{!m68hc11:-Dmc6812 -DMC6812 -Dmc68hc12}\
+ %{fshort-double:-D__HAVE_SHORT_DOUBLE__}"
 
 /* Default target_flags if no switches specified.  */
 #define TARGET_DEFAULT         (MASK_M6812)