Blob Blame History Raw
--- ./o/sfasli.c.orig	2014-09-06 09:45:30.000000000 -0600
+++ ./o/sfasli.c	2014-09-09 12:00:00.000000000 -0600
@@ -133,6 +133,11 @@ extern int __remqu();
 
 #ifndef DARWIN
 #ifndef _WIN32
+#if defined(__arm__) && !defined(__aarch64__)
+extern void __aeabi_unwind_cpp_pr0(void);
+extern void __aeabi_unwind_cpp_pr1(void);
+#endif
+
 int
 use_symbols(double d,...) {
 
@@ -141,6 +146,10 @@ use_symbols(double d,...) {
 #ifdef GCL_GPROF
   _mcount();
 #endif
+#if defined(__arm__) && !defined(__aarch64__)
+  __aeabi_unwind_cpp_pr0();
+  __aeabi_unwind_cpp_pr1();
+#endif
   
   return (int)d;