[PATCH 2/3] ARM: Add stack unwinding support

Sascha Hauer s.hauer at pengutronix.de
Tue Mar 8 06:40:32 EST 2011


On Tue, Mar 08, 2011 at 01:37:21PM +0200, Baruch Siach wrote:
> Hi Sascha,
> 
> On Tue, Mar 08, 2011 at 12:24:51PM +0100, Sascha Hauer wrote:
> > Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
> > ---
> >  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/

gna. At least I catched the first 'kernel' :)

Sascha


-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list