summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2015-09-16 22:04:40 +0000
committerJoseph Myers <joseph@codesourcery.com>2015-09-16 22:04:40 +0000
commit1f11365a75a1eedf07a221938e79cd6c9b915ccb (patch)
tree1a7a8d4ad08c4b0b88fe3f57017dabfada5b7a4b /ChangeLog
parentda2f4f2dd5c07e1949f81a5ee23f880e891e3a82 (diff)
downloadglibc-1f11365a75a1eedf07a221938e79cd6c9b915ccb.tar.gz
glibc-1f11365a75a1eedf07a221938e79cd6c9b915ccb.tar.xz
glibc-1f11365a75a1eedf07a221938e79cd6c9b915ccb.zip
Don't declare float / long double Bessel functions for XSI POSIX (bug 18977).
The float and long double versions of Bessel function (j0f, y1l, etc.)
are not in POSIX; only the double versions are.  This patch
accordingly limits the declarations of those functions to __USE_MISC,
and fixes the conform/ test expectations which matched the previous
incorrect declarations.

Tested for x86_64 and x86 (testsuite, and that installed stripped
shared libraries are unchanged by this patch).

	[BZ #18977]
	* math/bits/mathcalls.h
	[!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
	not declare.
	[!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
	Likewise.
	[!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
	Likewise.
	[!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
	Likewise.
	[!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
	Likewise.
	[!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
	Likewise.
	* conform/data/math.h-data
	[!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
	function.
	[!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
	[!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
	[!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
	[!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
	[!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
	[!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
	[!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
	[!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
	[!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
	[!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
	[!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog29
1 files changed, 29 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 7751dfac9d..deef2a31a6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,34 @@
 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
 
+	[BZ #18977]
+	* math/bits/mathcalls.h
+	[!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
+	not declare.
+	[!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
+	Likewise.
+	[!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
+	Likewise.
+	[!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
+	Likewise.
+	[!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
+	Likewise.
+	[!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
+	Likewise.
+	* conform/data/math.h-data
+	[!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
+	function.
+	[!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
+	[!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
+	[!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
+	[!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
+	[!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
+	[!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
+	[!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
+	[!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
+	[!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
+	[!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
+	[!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
+
 	[BZ #6803]
 	* math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
 	[NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.