about summary refs log tree commit diff
path: root/NEWS
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2015-10-29 22:29:21 +0000
committerJoseph Myers <joseph@codesourcery.com>2015-10-29 22:29:21 +0000
commit5ce8f125063cfd8660710a80243cb705e66f0626 (patch)
tree84bc49dcfb91eea8279fa1243f0b24e6a41d2a18 /NEWS
parent91bcb95ad4454ea878e7a2eac5c4a0eeb6fb4de6 (diff)
downloadglibc-5ce8f125063cfd8660710a80243cb705e66f0626.tar.gz
glibc-5ce8f125063cfd8660710a80243cb705e66f0626.tar.xz
glibc-5ce8f125063cfd8660710a80243cb705e66f0626.zip
Make drem an alias of remainder (bug 16171).
The libm drem functions just call the corresponding __remainder
functions.  This patch removes the unnecessary wrappers by making them
into weak aliases at the ELF level.

Tested for x86_64, x86, mips64 and powerpc.

	[BZ #16171]
	* math/w_remainder.c (drem): Define as weak alias of __remainder.
	[NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
	* math/w_remainderf.c (dremf): Define as weak alias of
	__remainderf.
	* math/w_remainderl.c (dreml): Define as weak alias of
	__remainderl.
	* sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
	__remainder.
	* sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
	__remainderf.
	* sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
	__remainderl.
	* sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
	weak alias of remainderl.
	* sysdeps/ieee754/ldbl-opt/w_remainder.c
	[LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
	alias of __remainder.
	[LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
	* sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
	strong alias of __remainderl.
	(dreml): Use long_double_symbol.
	* math/Makefile (libm-calls): Remove w_drem.
	* sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
	(CFLAGS-nldbl-drem.c): Remove variable.
	(CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
	* math/w_drem.c: Remove file.
	* math/w_dremf.c: Likewise.
	* math/w_dreml.c: Likewise.
	* sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
	* sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
	* sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS24
1 files changed, 12 insertions, 12 deletions
diff --git a/NEWS b/NEWS
index 0831d35881..ae89162d81 100644
--- a/NEWS
+++ b/NEWS
@@ -10,18 +10,18 @@ Version 2.23
 * The following bugs are resolved with this release:
 
   887, 2542, 2543, 2558, 2898, 4404, 6803, 10432, 14341, 14912, 15367,
-  15384, 15470, 15491, 15786, 15918, 16068, 16141, 16296, 16347, 16399,
-  16415, 16422, 16517, 16519, 16520, 16521, 16620, 16734, 16973, 16985,
-  17118, 17243, 17244, 17250, 17404, 17441, 17787, 17886, 17887, 17905,
-  18084, 18086, 18240, 18265, 18370, 18421, 18480, 18525, 18595, 18589,
-  18610, 18611, 18618, 18647, 18661, 18674, 18675, 18681, 18699, 18724,
-  18743, 18757, 18778, 18781, 18787, 18789, 18790, 18795, 18796, 18803,
-  18820, 18823, 18824, 18825, 18857, 18863, 18870, 18872, 18873, 18875,
-  18887, 18918, 18921, 18928, 18951, 18952, 18953, 18956, 18961, 18966,
-  18967, 18969, 18970, 18977, 18980, 18981, 18982, 18985, 19003, 19007,
-  19012, 19016, 19018, 19032, 19046, 19048, 19049, 19050, 19059, 19071,
-  19074, 19076, 19077, 19078, 19079, 19085, 19086, 19088, 19094, 19095,
-  19124, 19125, 19129, 19134, 19137, 19156, 19174, 19181.
+  15384, 15470, 15491, 15786, 15918, 16068, 16141, 16171, 16296, 16347,
+  16399, 16415, 16422, 16517, 16519, 16520, 16521, 16620, 16734, 16973,
+  16985, 17118, 17243, 17244, 17250, 17404, 17441, 17787, 17886, 17887,
+  17905, 18084, 18086, 18240, 18265, 18370, 18421, 18480, 18525, 18595,
+  18589, 18610, 18611, 18618, 18647, 18661, 18674, 18675, 18681, 18699,
+  18724, 18743, 18757, 18778, 18781, 18787, 18789, 18790, 18795, 18796,
+  18803, 18820, 18823, 18824, 18825, 18857, 18863, 18870, 18872, 18873,
+  18875, 18887, 18918, 18921, 18928, 18951, 18952, 18953, 18956, 18961,
+  18966, 18967, 18969, 18970, 18977, 18980, 18981, 18982, 18985, 19003,
+  19007, 19012, 19016, 19018, 19032, 19046, 19048, 19049, 19050, 19059,
+  19071, 19074, 19076, 19077, 19078, 19079, 19085, 19086, 19088, 19094,
+  19095, 19124, 19125, 19129, 19134, 19137, 19156, 19174, 19181.
 
 * A defect in the malloc implementation, present since glibc 2.15 (2012) or
   glibc 2.10 via --enable-experimental-malloc (2009), could result in the