diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2004-11-26 16:42:10 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2004-11-26 16:42:10 +0000 |
commit | a330d85a45a30ba3ece7d67af34bb8aaead27957 (patch) | |
tree | 0850d1944873016b963697790f511e75a8a8fc9e /newlib | |
parent | 69037299812dba9204127416efb183654f7da2bb (diff) | |
download | newlib-a330d85a45a30ba3ece7d67af34bb8aaead27957.zip newlib-a330d85a45a30ba3ece7d67af34bb8aaead27957.tar.gz newlib-a330d85a45a30ba3ece7d67af34bb8aaead27957.tar.bz2 |
2004-11-26 Paul Brook <paul@codesourcery.com>
* libc/sys/arm/crt0.S (_start): Add .cantunwind annotation.
Diffstat (limited to 'newlib')
-rw-r--r-- | newlib/ChangeLog | 4 | ||||
-rw-r--r-- | newlib/libc/sys/arm/crt0.S | 9 |
2 files changed, 13 insertions, 0 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog index e0f6591..77ee7ed 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,7 @@ +2004-11-26 Paul Brook <paul@codesourcery.com> + + * libc/sys/arm/crt0.S (_start): Add .cantunwind annotation. + 2004-11-24 Jeff Johnston <jjohnstn@redhat.com> * libc/include/stdlib.h (putenv, _putenv_r): Change to remove diff --git a/newlib/libc/sys/arm/crt0.S b/newlib/libc/sys/arm/crt0.S index 3ebb5f7..5772228 100644 --- a/newlib/libc/sys/arm/crt0.S +++ b/newlib/libc/sys/arm/crt0.S @@ -21,6 +21,10 @@ start: _start: _mainCRTStartup: +#if defined(__ELF__) && !defined(__USING_SJLJ_EXCEPTIONS__) + /* Annotation for EABI unwinding tables. */ + .fnstart +#endif /* Start by setting up a stack */ #ifdef ARM_RDP_MONITOR @@ -237,6 +241,11 @@ change_back: #endif #endif #endif +#if defined(__ELF__) && !defined(__USING_SJLJ_EXCEPTIONS__) + /* Protect against unhandled exceptions. */ + .cantunwind + .fnend +#endif .LC1: .word __bss_start__ .LC2: |