Skip to content

Commit

Permalink
add comment why preferred stack boundary is 4 on i386
Browse files Browse the repository at this point in the history
  • Loading branch information
Denis Vlasenko committed Jul 23, 2007
1 parent 64a8a3b commit 65b8cfb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/i386/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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,)

0 comments on commit 65b8cfb

Please sign in to comment.