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:
authorJeff Johnston <jjohnstn@redhat.com>2004-11-26 19:43:35 +0300
committerJeff Johnston <jjohnstn@redhat.com>2004-11-26 19:43:35 +0300
commit60e4d52a558c9af31d27e79de27dfaaa89b00184 (patch)
treea3c0a011603a6040c540087b0707f872a32839ed /libgloss
parenta330d85a45a30ba3ece7d67af34bb8aaead27957 (diff)
2004-11-26 Paul Brook <paul@codesourcery.com>
* arm/crt0.S (_start): Add .cantunwind annotation.
Diffstat (limited to 'libgloss')
-rw-r--r--libgloss/ChangeLog4
-rw-r--r--libgloss/arm/crt0.S9
2 files changed, 13 insertions, 0 deletions
diff --git a/libgloss/ChangeLog b/libgloss/ChangeLog
index 010e8f10a..a0d6e2df2 100644
--- a/libgloss/ChangeLog
+++ b/libgloss/ChangeLog
@@ -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>
* configure.in: Add support for iq2000 target.
diff --git a/libgloss/arm/crt0.S b/libgloss/arm/crt0.S
index 7f36b12fc..b5633368d 100644
--- a/libgloss/arm/crt0.S
+++ b/libgloss/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
@@ -329,6 +333,11 @@ change_back:
#endif
#endif
+#if defined(__ELF__) && !defined(__USING_SJLJ_EXCEPTIONS__)
+ /* Protect against unhandled exceptions. */
+ .cantunwind
+ .fnend
+#endif
.LC1:
.word __bss_start__
.LC2: