2004-11-26 Paul Brook <paul@codesourcery.com>

* arm/crt0.S (_start): Add .cantunwind annotation.
This commit is contained in:
Jeff Johnston 2004-11-26 16:43:35 +00:00
parent a330d85a45
commit 60e4d52a55
2 changed files with 13 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2004-11-26 Paul Brook <paul@codesourcery.com>
* libc/sys/arm/crt0.S (_start): Add .cantunwind annotation.
2004-10-28 Nick Clifton <nickc@redhat.com> 2004-10-28 Nick Clifton <nickc@redhat.com>
* configure.in: Add support for iq2000 target. * configure.in: Add support for iq2000 target.

View File

@ -21,6 +21,10 @@
start: start:
_start: _start:
_mainCRTStartup: _mainCRTStartup:
#if defined(__ELF__) && !defined(__USING_SJLJ_EXCEPTIONS__)
/* Annotation for EABI unwinding tables. */
.fnstart
#endif
/* Start by setting up a stack */ /* Start by setting up a stack */
#ifdef ARM_RDP_MONITOR #ifdef ARM_RDP_MONITOR
@ -328,6 +332,11 @@ change_back:
.weak FUNCTION (software_init_hook) .weak FUNCTION (software_init_hook)
#endif #endif
#endif
#if defined(__ELF__) && !defined(__USING_SJLJ_EXCEPTIONS__)
/* Protect against unhandled exceptions. */
.cantunwind
.fnend
#endif #endif
.LC1: .LC1:
.word __bss_start__ .word __bss_start__