aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorAndrew Pinski <pinskia@physics.uc.edu>2005-07-01 02:54:32 +0000
committerAndrew Pinski <pinskia@gcc.gnu.org>2005-06-30 19:54:32 -0700
commitc9c02d9864cb12a280481e89e74141f7c6c81f05 (patch)
tree5d17122d5c1924758d4d77927f849d740939749f /gcc
parent7e5a65360f0de7c6347876f15691f446f3b0254c (diff)
downloadgcc-c9c02d9864cb12a280481e89e74141f7c6c81f05.zip
gcc-c9c02d9864cb12a280481e89e74141f7c6c81f05.tar.gz
gcc-c9c02d9864cb12a280481e89e74141f7c6c81f05.tar.bz2
darwin.h (STARTING_FRAME_OFFSET): Set to 0 for FRAME_GROWS_DOWNWARD.
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. From-SVN: r101495
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/rs6000/darwin.h11
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. */