summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/isnan.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/gen/isnan.c')
-rw-r--r--lib/libc/gen/isnan.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/libc/gen/isnan.c b/lib/libc/gen/isnan.c
index 64b0ac1..72c2868 100644
--- a/lib/libc/gen/isnan.c
+++ b/lib/libc/gen/isnan.c
@@ -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
OpenPOWER on IntegriCloud