OSDN Git Service

2004-11-26 Paul Brook <paul@codesourcery.com>
authorjjohnstn <jjohnstn>
Fri, 26 Nov 2004 16:42:09 +0000 (16:42 +0000)
committerjjohnstn <jjohnstn>
Fri, 26 Nov 2004 16:42:09 +0000 (16:42 +0000)
        * libc/sys/arm/crt0.S (_start): Add .cantunwind annotation.

newlib/ChangeLog
newlib/libc/sys/arm/crt0.S

index e0f6591..77ee7ed 100644 (file)
@@ -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
index 3ebb5f7..5772228 100644 (file)
 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: