------- Comment #28 from hjl dot tools at gmail dot com 2010-09-01 01:08 ------- (In reply to comment #27) > I don't think MAIN_STACK_BOUNDARY needs to be set, nor will it help to set > it. > The alignment is set up by the crt runtime, and just to call to main, the > alignment of the stack must be 128, before we issue the call. >
If you don't set MAIN_STACK_BOUNDARY to 128, gcc may align stack in main. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36502