Add missing <complex.h> functions.
FreeBSD doesn't seem interested in having low-quality implementations of
these functions:
cacoshl, cacosl, casinhl, casinl, catanhl, catanl, ccoshl, ccosl, cexpl,
clog, clogf, clogl, cpow, cpowf, cpowl, csinhl, csinl, ctanhl, ctanl.
And they still haven't got round to writing good implementations, so for
now let's just take the NetBSD ones so we have the full set.
Bug: http://b/27555792
Change-Id: I6b72003cf749b1043f006377a01fffe5e1d659bc
diff --git a/libm/libm.mips.map b/libm/libm.mips.map
index 2429dba..44bf167 100644
--- a/libm/libm.mips.map
+++ b/libm/libm.mips.map
@@ -272,10 +272,33 @@
*;
};
+LIBC_O {
+ global:
+ cacoshl;
+ cacosl;
+ casinhl;
+ casinl;
+ catanhl;
+ catanl;
+ ccoshl;
+ ccosl;
+ cexpl;
+ clog;
+ clogf;
+ clogl;
+ cpow;
+ cpowf;
+ cpowl;
+ csinhl;
+ csinl;
+ ctanhl;
+ ctanl;
+} LIBC;
+
LIBC_DEPRECATED { # arm mips
global: # arm mips
__fixdfdi; # arm mips
__fixsfdi; # arm mips
__fixunsdfdi; # arm mips
__fixunssfdi; # arm mips
-} LIBC; # arm mips
+} LIBC_O; # arm mips