diff options
author | pinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-07-01 02:54:32 +0000 |
---|---|---|
committer | pinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-07-01 02:54:32 +0000 |
commit | 4ef10655662c9cb1fdb8a634a7c515c0aa342f30 (patch) | |
tree | 5d17122d5c1924758d4d77927f849d740939749f /gcc/config/rs6000/darwin.h | |
parent | c2b61805b992eb3df6bc7642835773c7edb8fa69 (diff) | |
download | gcc-4ef10655662c9cb1fdb8a634a7c515c0aa342f30.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101495 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/rs6000/darwin.h')
-rw-r--r-- | gcc/config/rs6000/darwin.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/gcc/config/rs6000/darwin.h b/gcc/config/rs6000/darwin.h index a315a242dfd..7edee27587c 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. */ |