summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-04-30 00:59:05 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-04-30 00:59:05 +0000
commit9f59aad1ccf423d0e3d2d8873e45901a321011b4 (patch)
treee20cc54c124f34e4e63653fe19762e5733021658
parentd37cbbd0219b65ad8f8c033d907c82c1a896a646 (diff)
Rules.mak: fix -falign/-malign mixup
-rw-r--r--Rules.mak12
1 files changed, 6 insertions, 6 deletions
diff --git a/Rules.mak b/Rules.mak
index 794d2b531..a3e97415b 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -184,16 +184,16 @@ ifeq ($(TARGET_ARCH),i386)
# Generic: no alignment at all (smallest code)
GCC_FALIGN=$(call check_gcc,-falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1,-malign-jumps=1 -malign-loops=1)
ifeq ($(CONFIG_K7),y)
- # Align functions to four bytes, use default for labels and loops (why?)
- GCC_FALIGN=$(call check_gcc,-falign-functions=4 -falign-jumps=1,-malign-functions=4 -falign-jumps=1)
+ # Align functions to four bytes, use default for jumps and loops (why?)
+ GCC_FALIGN=$(call check_gcc,-falign-functions=4 -falign-labels=1,-malign-functions=4)
endif
ifeq ($(CONFIG_CRUSOE),y)
- # Use compiler's default for functions, labels and loops (why?)
- GCC_FALIGN=$(call check_gcc,-falign-functions=0 -falign-jumps=1,-malign-functions=0 -falign-jumps=1)
+ # Use compiler's default for functions, jumps and loops (why?)
+ GCC_FALIGN=$(call check_gcc,-falign-functions=0 -falign-labels=1,-malign-functions=0)
endif
ifeq ($(CONFIG_CYRIXIII),y)
- # Use compiler's default for functions, labels and loops (why?)
- GCC_FALIGN=$(call check_gcc,-falign-functions=0 -falign-jumps=1,-malign-functions=0 -falign-jumps=1)
+ # Use compiler's default for functions, jumps and loops (why?)
+ GCC_FALIGN=$(call check_gcc,-falign-functions=0 -falign-labels=1,-malign-functions=0)
endif
OPTIMIZATION+=$(GCC_FALIGN)