aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-07-23 21:05:06 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-07-23 21:05:06 +0000
commit65b8cfb2a0b6854271dbd8baf5203896223cd4ce (patch)
treec764dacae025474940f698c79378e1e67443822e
parent64a8a3bd7498f515dc29f8fb2996c46acce0483a (diff)
downloadbusybox-65b8cfb2a0b6854271dbd8baf5203896223cd4ce.tar.gz
add comment why preferred stack boundary is 4 on i386
-rw-r--r--arch/i386/Makefile2
1 files changed, 2 insertions, 0 deletions
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,)