]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
msun: remove fabs from Symbol.map, and adjust comment
authorDimitry Andric <dim@FreeBSD.org>
Sat, 27 Jan 2024 21:24:38 +0000 (22:24 +0100)
committerDimitry Andric <dim@FreeBSD.org>
Tue, 30 Jan 2024 17:53:47 +0000 (18:53 +0100)
commit869cfe9fedd77d676dec565ffb2cbe1e5c5e5d5d
tree049c5987a3a56c92faf285ada726e9db8f7109a9
parent3bd3724e4c8685d98bfc6feb3024b8bb213eed49
msun: remove fabs from Symbol.map, and adjust comment

We have s_fabs.c, but fabs(3) is already provided by libc due to
historical reasons, so it is not compiled into libm. When the linker
does not use --undefined-version, this leads to a complaint about the
symbol being nonexistent, so remove it from Symbol.map.

While here, adjust the comment about some functions being supplied by
libc: while it is true that all these are indeed in libc, libm still
includes its own versions of frexp(3), isnan(3), isnanf(3), and
isnanl(3).

Reported by: Steve Kargl <sgk@troutmask.apl.washington.edu>
MFC after: 3 days

(cherry picked from commit d04e03c19a8d7660ea36f62720eef9bc96b69889)
lib/msun/Makefile
lib/msun/Symbol.map