Add an explanatory comment to lib/libc/gen/isnan.c about the fix to make

static linking with libc and libm work.

Requested by:	jilles
MFC after:	1 week
X-MFC-With:	242879
This commit is contained in:
Dimitry Andric 2012-11-11 13:28:04 +00:00
parent 985518b80a
commit 34a4971299
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=242894

View File

@ -33,6 +33,11 @@
/*
* XXX These routines belong in libm, but they must remain in libc for
* binary compat until we can bump libm's major version number.
*
* Note this only applies to the dynamic versions of libm and libc, so
* for the static and profiled versions we stub out the definitions.
* Otherwise you cannot link statically to libm and libc at the same
* time, when calling both functions.
*/
#ifdef PIC