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

Paul Brook paul@codesourcery.com
Wed Nov 24 22:37:00 GMT 2004


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.newlib_unwind
Type: text/x-diff
Size: 796 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20041124/e49e30ce/attachment.bin>


More information about the Newlib mailing list