Support ldbl-opt libm_alias_double use from .S files [committed]

Joseph Myers joseph@codesourcery.com
Tue Nov 28 00:02:00 GMT 2017


This patch makes the ldbl-opt libm_alias_double implementation support
use from .S sources, by adding a semicolon after its use of
weak_alias.

Tested (compilation only) with build-many-glibcs.py for
alpha-linux-gnu, in conjunction with a patch introducing uses of
libm_alias_double in alpha .S files.  Committed.

2017-11-28  Joseph Myers  <joseph@codesourcery.com>

	* sysdeps/ieee754/ldbl-opt/libm-alias-double.h
	(libm_alias_double_r): Add semicolon after weak_alias call.

diff --git a/sysdeps/ieee754/ldbl-opt/libm-alias-double.h b/sysdeps/ieee754/ldbl-opt/libm-alias-double.h
index 4c22ffb..f98e9d5 100644
--- a/sysdeps/ieee754/ldbl-opt/libm-alias-double.h
+++ b/sysdeps/ieee754/ldbl-opt/libm-alias-double.h
@@ -41,7 +41,7 @@
    (where there is one name per format, not per type) or for
    obsolescent functions not provided for _FloatN types.  */
 #define libm_alias_double_r(from, to, r)			\
-  weak_alias (from ## r, to ## r)				\
+  weak_alias (from ## r, to ## r);				\
   LONG_DOUBLE_COMPAT_CHOOSE_libm_ ## to ## l ## r		\
     (compat_symbol (libm,					\
 		    from ## r,					\

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Libc-alpha mailing list