This is the mail archive of the newlib@sources.redhat.com mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]