Re: [PATCH 1/3] powerpc, Makefile: Make it possible to safely select CONFIG_FRAME_POINTER
From: Segher Boessenkool
Date: Sat May 02 2009 - 15:43:36 EST
This patch introduces HAVE_NORMAL_FRAME_POINTER Kconfig symbol. When
defined, the top level Makefile won't add -fno-omit-frame-pointer
cflag (the flag is useless for PowerPC kernels, and also makes gcc
generate wrong code).
+++ b/arch/powerpc/Kconfig
+ select HAVE_NORMAL_FRAME_POINTER
+config HAVE_NORMAL_FRAME_POINTER
+ bool
+ help
+ Architectures should select this symbol if their ABI implies
+ having a frame pointer.
I am totally confused what you call a frame pointer here.
None of the relevant PowerPC ABIs have a frame pointer
separate from the stack pointer; the compiler can create
one, of course. A better config symbol name and help text
would help understand this patch :-)
Segher
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/