diff options
author | Jan Beulich <jbeulich@novell.com> | 2006-01-11 22:42:05 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-12 04:01:10 +0100 |
commit | 6e0c47ede7b1473a4e2ab65a0fecf0385ab23c03 (patch) | |
tree | b190f8d76776faf5a2fba9fbfa866c71ec793265 /arch/x86_64/Makefile | |
parent | [PATCH] x86_64: Support constant TSC feature in future AMD CPUs. (diff) | |
download | linux-6e0c47ede7b1473a4e2ab65a0fecf0385ab23c03.tar.xz linux-6e0c47ede7b1473a4e2ab65a0fecf0385ab23c03.zip |
[PATCH] x86_64: Separate CONFIG_UNWIND_INFO from CONFIG_DEBUG_INFO
As a follow-up to the introduction of CONFIG_UNWIND_INFO, this
separates the generation of frame unwind information for x86-64 from
that of full debug information.
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/x86_64/Makefile')
-rw-r--r-- | arch/x86_64/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/x86_64/Makefile b/arch/x86_64/Makefile index 51d83288d62b..2d3e9be229c0 100644 --- a/arch/x86_64/Makefile +++ b/arch/x86_64/Makefile @@ -38,8 +38,10 @@ CFLAGS += -pipe # actually it makes the kernel smaller too. CFLAGS += -fno-reorder-blocks CFLAGS += -Wno-sign-compare -ifneq ($(CONFIG_DEBUG_INFO),y) +ifneq ($(CONFIG_UNWIND_INFO),y) CFLAGS += -fno-asynchronous-unwind-tables +endif +ifneq ($(CONFIG_DEBUG_INFO),y) # -fweb shrinks the kernel a bit, but the difference is very small # it also messes up debugging, so don't use it for now. #CFLAGS += $(call cc-option,-fweb) |