From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759015AbZEBTnf (ORCPT ); Sat, 2 May 2009 15:43:35 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756626AbZEBTnY (ORCPT ); Sat, 2 May 2009 15:43:24 -0400 Received: from gate.crashing.org ([63.228.1.57]:47079 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755804AbZEBTnX (ORCPT ); Sat, 2 May 2009 15:43:23 -0400 In-Reply-To: <20090502001421.GA9342@oksana.dev.rtsoft.ru> References: <20090502001329.GA11549@oksana.dev.rtsoft.ru> <20090502001421.GA9342@oksana.dev.rtsoft.ru> Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <68B2EF73-0FD2-41F9-966B-9A54965AFBA6@kernel.crashing.org> Cc: Ingo Molnar , linux-kernel@vger.kernel.org, linuxppc-dev@ozlabs.org, Steven Rostedt , Paul Mackerras , Sam Ravnborg Content-Transfer-Encoding: 7bit From: Segher Boessenkool Subject: Re: [PATCH 1/3] powerpc, Makefile: Make it possible to safely select CONFIG_FRAME_POINTER Date: Sat, 2 May 2009 21:48:08 +0200 To: Anton Vorontsov X-Mailer: Apple Mail (2.753.1) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > 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