diff options
author | Stephane Carrez <Stephane.Carrez@worldnet.fr> | 2001-05-04 21:49:25 +0200 |
---|---|---|
committer | Stephane Carrez <ciceron@gcc.gnu.org> | 2001-05-04 21:49:25 +0200 |
commit | 3750bc816de62d0364decb5d7400c685f77dcc9e (patch) | |
tree | 4e34d9cd0e732cfd3bcddada2f223439d6fb6c02 /gcc | |
parent | 3d0746bacb7f85bb4787c3343c5890dfc212775f (diff) | |
download | gcc-3750bc816de62d0364decb5d7400c685f77dcc9e.zip gcc-3750bc816de62d0364decb5d7400c685f77dcc9e.tar.gz gcc-3750bc816de62d0364decb5d7400c685f77dcc9e.tar.bz2 |
m68hc11.h (CPP_SPEC): Pass -D__HAVE_SHORT_DOUBLE__ to the pre-processor when -fshort-double is specified.
* 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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/m68hc11/m68hc11.h | 3 | ||||
-rw-r--r-- | gcc/config/m68hc11/m68hc12.h | 3 |
3 files changed, 10 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b89fd94..fbd7d2b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,11 @@ 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. (__mulsi3): Rewrite for 68HC12. * config/m68hc11/m68hc11.md (divmodhi4): Use idivs for 68HC12. diff --git a/gcc/config/m68hc11/m68hc11.h b/gcc/config/m68hc11/m68hc11.h index 3114a47..2d30ade 100644 --- a/gcc/config/m68hc11/m68hc11.h +++ b/gcc/config/m68hc11/m68hc11.h @@ -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 diff --git a/gcc/config/m68hc11/m68hc12.h b/gcc/config/m68hc11/m68hc12.h index 7cd4ddd..277c788 100644 --- a/gcc/config/m68hc11/m68hc12.h +++ b/gcc/config/m68hc11/m68hc12.h @@ -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) |