PATCH] Use -mpreferred-stack-boundary=3 on x86-64 if supported
From: H.J. Lu
Date: Sat Jun 23 2012 - 12:14:43 EST
Hi,
-mpreferred-stack-boundary=3 can be used on x86-64 with GCC 4.8.0:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53383
I backported it to hjl/x32/gcc-4_7-branch branch at
http://gcc.gnu.org/git/?p=gcc.git;a=summary
http://gcc.gnu.org/git/?p=gcc.git;a=commit;h=96828b1f869a31e3a1227afa420b8f28e71
e006c
This patch uses -mpreferred-stack-boundary=3 on x86-64 if it is supported.
I have been running 3.4 kernel compiled with this option for weeks.
H.J.
Attachment:
0001-Use-mpreferred-stack-boundary-3-if-supported.patch
Description: Binary data