HomeFreeBSD

msun: remove fabs from Symbol.map, and adjust comment

Description

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)

Details

Provenance
dimAuthored on Jan 27 2024, 9:24 PM
Parents
rG31c3fc40dedd: Merge commit 16a1ef86cbc5 from llvm-project (by David CARLIER):
Branches
Unknown
Tags
Unknown