2b15d0
--- gcl/o/sfasli.c.orig	2020-01-31 11:47:34.718135761 -0700
2b15d0
+++ gcl/o/sfasli.c	2020-01-31 11:59:24.256902612 -0700
385aba
@@ -112,6 +112,11 @@ LFD(build_symbol_table)(void) {
385aba
 }
Jerry James 85fa88
 
Jerry James 85fa88
 #ifndef _WIN32
Jerry James 85fa88
+#if defined(__arm__) && !defined(__aarch64__)
Jerry James 85fa88
+extern void __aeabi_unwind_cpp_pr0(void);
Jerry James 85fa88
+extern void __aeabi_unwind_cpp_pr1(void);
Jerry James 85fa88
+#endif
Jerry James 85fa88
+
Jerry James 85fa88
 int
Jerry James 85fa88
 use_symbols(double d,...) {
Jerry James 85fa88
 
385aba
@@ -127,6 +132,10 @@ use_symbols(double d,...) {
385aba
   d2=sin(d)+cos(d);
385aba
 
Jerry James 85fa88
 #endif
Jerry James 85fa88
+#if defined(__arm__) && !defined(__aarch64__)
Jerry James 85fa88
+  __aeabi_unwind_cpp_pr0();
Jerry James 85fa88
+  __aeabi_unwind_cpp_pr1();
Jerry James 85fa88
+#endif
385aba
 
385aba
   return (int)(d+d2);
Jerry James 85fa88