]> 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>
Sat, 27 Jan 2024 21:24:38 +0000 (22:24 +0100)
commitd04e03c19a8d7660ea36f62720eef9bc96b69889
tree86aee7d6a3997f08c6423a8339656c2df84b63b0
parent001c48b4139ff6f07de70a16518161dcea5598b9
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
lib/msun/Makefile
lib/msun/Symbol.map