OSDN Git Service

2005-06-30 Andrew Pinski <pinskia@physics.uc.edu>
authorpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 1 Jul 2005 02:54:32 +0000 (02:54 +0000)
committerpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 1 Jul 2005 02:54:32 +0000 (02:54 +0000)
        * 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

gcc/ChangeLog
gcc/config/rs6000/darwin.h

index 0e98db7..39107ae 100644 (file)
@@ -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,
index a315a24..7edee27 100644 (file)
@@ -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.  */