--- o/sfasli.c.orig 2016-03-05 21:42:19.792523387 -0700
+++ o/sfasli.c 2016-03-05 21:42:55.312685006 -0700
@@ -141,7 +141,8 @@ extern void __aeabi_unwind_cpp_pr1(void)
int
use_symbols(double d,...) {
- sincos(d,&d,&d);
+ double d2;
+ sincos(d,&d,&d2);
#ifdef GCL_GPROF
_mcount();
@@ -151,7 +152,7 @@ use_symbols(double d,...) {
__aeabi_unwind_cpp_pr1();
#endif
- return (int)d;
+ return (int)(d + d2);
}
#endif