From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from tango.tkos.co.il ([62.219.50.35]) by canuck.infradead.org with esmtps (Exim 4.72 #1 (Red Hat Linux)) id 1PwvEL-0001XY-DC for barebox@lists.infradead.org; Tue, 08 Mar 2011 11:37:35 +0000 Date: Tue, 8 Mar 2011 13:37:21 +0200 From: Baruch Siach Message-ID: <20110308113721.GE22012@jasper.tkos.co.il> References: <1299583492-29504-1-git-send-email-s.hauer@pengutronix.de> <1299583492-29504-3-git-send-email-s.hauer@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1299583492-29504-3-git-send-email-s.hauer@pengutronix.de> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: barebox-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: [PATCH 2/3] ARM: Add stack unwinding support To: Sascha Hauer Cc: barebox@lists.infradead.org Hi Sascha, On Tue, Mar 08, 2011 at 12:24:51PM +0100, Sascha Hauer wrote: > Signed-off-by: Sascha Hauer > --- > arch/arm/Kconfig | 10 ++ > arch/arm/Makefile | 4 + > arch/arm/cpu/interrupts.c | 4 + > arch/arm/lib/Makefile | 2 +- > arch/arm/lib/barebox.lds.S | 16 ++ > arch/arm/lib/unwind.c | 344 ++++++++++++++++++++++++++++++++++++++++++++ > 6 files changed, 379 insertions(+), 1 deletions(-) > create mode 100644 arch/arm/lib/unwind.c > > diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig > index bc54e58..aae0e99 100644 > --- a/arch/arm/Kconfig > +++ b/arch/arm/Kconfig > @@ -115,6 +115,16 @@ config ARM_OPTIMZED_STRING_FUNCTIONS > These functions work much faster than the normal versions but > increase your binary size. > > +config ARM_UNWIND > + bool "enable stack unwinding support" > + depends on AEABI > + help > + This option enables stack unwinding support in barebox > + using the information automatically generated by the > + compiler. The resulting kernel image is slightly bigger but s/kernel/barebox/ baruch -- ~. .~ Tk Open Systems =}------------------------------------------------ooO--U--Ooo------------{= - baruch@tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il - _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox