diff options
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/rs6000/darwin.h | 11 |
2 files changed, 13 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0e98db7..39107ae 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2005-06-30 Andrew Pinski <pinskia@physics.uc.edu> + + * config/rs6000/darwin.h (STARTING_FRAME_OFFSET): + Set to 0 for FRAME_GROWS_DOWNWARD. + (REGISTER_NAMES): Add sfp. + 2005-07-01 Kelley Cook <kcook@gcc.gnu.org> * config/arm/libunwind.S, config/arm/pr-support.c, diff --git a/gcc/config/rs6000/darwin.h b/gcc/config/rs6000/darwin.h index a315a24..7edee27 100644 --- a/gcc/config/rs6000/darwin.h +++ b/gcc/config/rs6000/darwin.h @@ -161,9 +161,11 @@ do { \ #undef STARTING_FRAME_OFFSET #define STARTING_FRAME_OFFSET \ - (RS6000_ALIGN (current_function_outgoing_args_size, 16) \ - + RS6000_VARARGS_AREA \ - + RS6000_SAVE_AREA) + (FRAME_GROWS_DOWNWARD \ + ? 0 \ + : (RS6000_ALIGN (current_function_outgoing_args_size, 16) \ + + RS6000_VARARGS_AREA \ + + RS6000_SAVE_AREA)) #undef STACK_DYNAMIC_OFFSET #define STACK_DYNAMIC_OFFSET(FUNDECL) \ @@ -206,7 +208,8 @@ do { \ "v16", "v17", "v18", "v19", "v20", "v21", "v22", "v23", \ "v24", "v25", "v26", "v27", "v28", "v29", "v30", "v31", \ "vrsave", "vscr", \ - "spe_acc", "spefscr" \ + "spe_acc", "spefscr", \ + "sfp" \ } /* This outputs NAME to FILE. */ |