Mercurial > hg > CbC > old > device
diff mc-code-powerpc.c @ 664:ec1bac997e50
fix 387 floating point stack overflow
author | kono |
---|---|
date | Sat, 28 Apr 2007 21:10:26 +0900 |
parents | 92a401bef729 |
children | dbfbeb05210c |
line wrap: on
line diff
--- a/mc-code-powerpc.c Sun Mar 04 18:24:10 2007 +0900 +++ b/mc-code-powerpc.c Sat Apr 28 21:10:26 2007 +0900 @@ -31,7 +31,7 @@ #include "mc-include.c" -#undef __APPLE__ +// #undef __APPLE__ static char *init_src0 = "\ @@ -3358,7 +3358,7 @@ register_name(REG_VAR_BASE-max_reg_var),reg_save,register_name(1)); printf("\tstw %s,8(%s)\n",register_name(0),register_name(1)); if (max_freg_var>=0) { -#ifdef __APPLE +#ifdef __APPLE__ printf("\tb saveFP+%d ; save f%d-f31\n", freg_save, FREG_VAR_BASE-max_freg_var);