From 65b8cfb2a0b6854271dbd8baf5203896223cd4ce Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Mon, 23 Jul 2007 21:05:06 +0000 Subject: add comment why preferred stack boundary is 4 on i386 --- arch/i386/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'arch/i386/Makefile') diff --git a/arch/i386/Makefile b/arch/i386/Makefile index 385dd52be..e6c99c67d 100644 --- a/arch/i386/Makefile +++ b/arch/i386/Makefile @@ -2,4 +2,6 @@ # Build system # ========================================================================== +# -mpreferred-stack-boundary=2 is essential in preventing gcc 4.2.x +# from aligning stack to 16 bytes. (Which is gcc's way of supporting SSE). CFLAGS += $(call cc-option,-march=i386 -mpreferred-stack-boundary=2,) -- cgit v1.2.3