[llvm-commits] [llvm-gcc-4.2] r52263 - in /llvm-gcc-4.2/trunk/gcc: c-cppbuiltin.c cfgexpand.c common.opt function.c toplev.c

Devang Patel dpatel at apple.com
Fri Jun 13 16:48:43 PDT 2008


On Jun 13, 2008, at 4:33 PM, Dale Johannesen wrote:

>
> On Jun 13, 2008, at 4:26 PM, Devang Patel wrote:
>
>>
>> On Jun 13, 2008, at 4:09 PM, Evan Cheng wrote:
>>
>>> Yep. Looks the same. I don't know why your change would break the
>>> build, but please verify and fix. :-)
>>
>> FRAME_GROWS_DOWNWARD is
>> either
>> #define FRAME_GROWS_DOWNWARD 0
>> or
>> #define FRAME_GROWS_DOWNWARD 1
>
> Not on rs6000, bet you didn't build that...

Indeed. Right now, I do not have the setup handy. Would it be possible  
to try (and apply if it works)  this ?
Thanks,
-
Devang

Index: config/rs6000/rs6000.h
===================================================================
--- config/rs6000/rs6000.h	(revision 52264)
+++ config/rs6000/rs6000.h	(working copy)
@@ -1212,8 +1212,11 @@

     On the RS/6000, we grow upwards, from the area after the outgoing
     arguments.  */
-#define FRAME_GROWS_DOWNWARD (flag_stack_protect != 0)
+/* LLVM LOCAL begin stack protector */
+#define FRAME_GROWS_DOWNWARD 0
+/* LLVM LOCAL end stack protector */

+
  /* Size of the outgoing register save area */
  #define RS6000_REG_SAVE ((DEFAULT_ABI == ABI_AIX			\
  			  || DEFAULT_ABI == ABI_DARWIN)			\





More information about the llvm-commits mailing list