Denis Vlasenko noticed that falign=0 is meaningless, and that should probably
authorRob Landley <rob@landley.net>
Fri, 3 Mar 2006 17:57:50 +0000 (17:57 -0000)
committerRob Landley <rob@landley.net>
Fri, 3 Mar 2006 17:57:50 +0000 (17:57 -0000)
be falign=1.  Saves a little over 3k on an x86 "make defconfig" build.

Rules.mak

index 32ca312b924ca703fa4b5258253654b5649d83be..1cab1f2fcb36d975531e2e64c7c74a733519547d 100644 (file)
--- a/Rules.mak
+++ b/Rules.mak
@@ -190,7 +190,7 @@ $(if $(call is_eq,$(__TARGET_ARCH),i386),\
 # gcc-4.0 and older seem to suffer from these
 $(if $(call cc_le,4,0),\
   $(call check_gcc,OPTIMIZATIONS,-mpreferred-stack-boundary=2,)\
-  $(call check_gcc,OPTIMIZATIONS,-falign-functions=0 -falign-jumps=0 -falign-loops=0,\
+  $(call check_gcc,OPTIMIZATIONS,-falign-functions=1 -falign-jumps=1 -falign-loops=1,\
                -malign-functions=0 -malign-jumps=0 -malign-loops=0))
 
 # gcc-4.1 and beyond seem to benefit from these