[arm,patch] Prevent unwindiing off top of stack.

Nick Clifton nickc@redhat.com
Fri Nov 26 16:39:00 GMT 2004


Hi Paul,Hi Jeff,

> The attached patch adds Arm EABI unwinding annotations to _start to prevent 
> unwinding off the top of the stack if main() throws an exception.
> 
> Tested with cross to arm-none-elf and arm-none-eabi.
> Ok?
> 
> Paul
> 
> 2004-11-24  Paul Brook  <paul@codesourcery.com>
> 
>  * libc/sys/arm/crt0.S (_start): Add .cantunwind annotation.

I do not have official approval priveledges for newlib, but if it helps 
Jeff OK the patch then I have looked at it and it certainly seems OK to me.

Cheers

   Nick



More information about the Newlib mailing list