diff options
author | Andi Kleen <ak@suse.de> | 2007-05-02 13:27:08 -0400 |
---|---|---|
committer | Andi Kleen <andi@basil.nowhere.org> | 2007-05-02 13:27:08 -0400 |
commit | 1652fcbf37abdbbebaf386b46b20e486769e7b45 (patch) | |
tree | a123d8c0fddf1fb7f468925eb2ee996d7aff09a4 /arch/x86_64/Makefile | |
parent | 184c44d2049c4db7ef6ec65794546954da2c6a0e (diff) |
[PATCH] x86-64: Don't disable basic block reordering
When compiling with -Os (which is default) the compiler defaults to it
anyways. And with -O2 it probably generates somewhat better (although
also larger) code.
Signed-off-by: Andi Kleen <ak@suse.de>
Diffstat (limited to 'arch/x86_64/Makefile')
-rw-r--r-- | arch/x86_64/Makefile | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/x86_64/Makefile b/arch/x86_64/Makefile index 2941a915d4ef..803cfcc9b346 100644 --- a/arch/x86_64/Makefile +++ b/arch/x86_64/Makefile | |||
@@ -41,9 +41,6 @@ cflags-y += -mno-red-zone | |||
41 | cflags-y += -mcmodel=kernel | 41 | cflags-y += -mcmodel=kernel |
42 | cflags-y += -pipe | 42 | cflags-y += -pipe |
43 | cflags-kernel-$(CONFIG_REORDER) += -ffunction-sections | 43 | cflags-kernel-$(CONFIG_REORDER) += -ffunction-sections |
44 | # this makes reading assembly source easier, but produces worse code | ||
45 | # actually it makes the kernel smaller too. | ||
46 | cflags-y += -fno-reorder-blocks | ||
47 | cflags-y += -Wno-sign-compare | 44 | cflags-y += -Wno-sign-compare |
48 | cflags-y += -fno-asynchronous-unwind-tables | 45 | cflags-y += -fno-asynchronous-unwind-tables |
49 | ifneq ($(CONFIG_DEBUG_INFO),y) | 46 | ifneq ($(CONFIG_DEBUG_INFO),y) |