Don't use INTDEF with __ldexpf (bug 14132)

Joseph S. Myers joseph@codesourcery.com
Tue Oct 21 22:38:00 GMT 2014


Continuing the removal of the obsolete INTDEF / INTUSE mechanism, this
patch removes the use of INTDEF for __ldexpf.  As far as I can tell,
the resulting alias is completely unused.

Tested for x86_64 that stripped installed shared libraries are
unchanged by this patch.

2014-10-21  Joseph Myers  <joseph@codesourcery.com>

	[BZ #14132]
	* math/s_ldexpf.c (__ldexpf): Do not use INTDEF.

diff --git a/math/s_ldexpf.c b/math/s_ldexpf.c
index b105e29..bd94677 100644
--- a/math/s_ldexpf.c
+++ b/math/s_ldexpf.c
@@ -28,5 +28,4 @@ float __ldexpf(float value, int exp)
 	if(!__finitef(value)||value==(float)0.0) __set_errno (ERANGE);
 	return value;
 }
-INTDEF(__ldexpf)
 weak_alias (__ldexpf, ldexpf)

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Libc-alpha mailing list