[PATCH 2/3] ARM: Add stack unwinding support
Baruch Siach
baruch at tkos.co.il
Tue Mar 8 06:37:21 EST 2011
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/
baruch
--
~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
More information about the barebox
mailing list