From ccb7e88d5b16cb57b51904698a8f992e786298cd Mon Sep 17 00:00:00 2001 From: Heiko Carstens Date: Mon, 3 Jul 2006 00:24:38 -0700 Subject: [PATCH] --- yaml --- r: 31782 b: refs/heads/master c: cbbd1fa72d22896332301ca7e6b7164284be105c h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/arch/s390/Makefile | 5 +++++ trunk/lib/Kconfig.debug | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 93fcac03c25e..db5d9fc5e7b2 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 8637c09901049f061b94f684915d4f18ecf91d79 +refs/heads/master: cbbd1fa72d22896332301ca7e6b7164284be105c diff --git a/trunk/arch/s390/Makefile b/trunk/arch/s390/Makefile index b3791fb094a8..74ef57dcfa60 100644 --- a/trunk/arch/s390/Makefile +++ b/trunk/arch/s390/Makefile @@ -34,6 +34,11 @@ cflags-$(CONFIG_MARCH_G5) += $(call cc-option,-march=g5) cflags-$(CONFIG_MARCH_Z900) += $(call cc-option,-march=z900) cflags-$(CONFIG_MARCH_Z990) += $(call cc-option,-march=z990) +# +# Prevent tail-call optimizations, to get clearer backtraces: +# +cflags-$(CONFIG_FRAME_POINTER) += -fno-optimize-sibling-calls + # old style option for packed stacks ifeq ($(call cc-option-yn,-mkernel-backchain),y) cflags-$(CONFIG_PACK_STACK) += -mkernel-backchain -D__PACK_STACK diff --git a/trunk/lib/Kconfig.debug b/trunk/lib/Kconfig.debug index 04e374c6fd46..91e338a3d069 100644 --- a/trunk/lib/Kconfig.debug +++ b/trunk/lib/Kconfig.debug @@ -208,7 +208,7 @@ config DEBUG_VM config FRAME_POINTER bool "Compile the kernel with frame pointers" - depends on DEBUG_KERNEL && (X86 || CRIS || M68K || M68KNOMMU || FRV || UML) + depends on DEBUG_KERNEL && (X86 || CRIS || M68K || M68KNOMMU || FRV || UML || S390) default y if DEBUG_INFO && UML help If you say Y here the resulting kernel image will be slightly larger