Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/sys')
-rw-r--r--newlib/libc/sys/arm/crt0.S9
1 files changed, 9 insertions, 0 deletions
diff --git a/newlib/libc/sys/arm/crt0.S b/newlib/libc/sys/arm/crt0.S
index 3ebb5f7fe..5772228aa 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: