Support ldbl-opt libm_alias_double use from .S files.
authorJoseph Myers <joseph@codesourcery.com>
Tue, 28 Nov 2017 00:01:11 +0000 (00:01 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Tue, 28 Nov 2017 00:01:11 +0000 (00:01 +0000)
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.

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

ChangeLog
sysdeps/ieee754/ldbl-opt/libm-alias-double.h

index be3e856..70ea90a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+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.
+
 2017-11-27  Joseph Myers  <joseph@codesourcery.com>
 
        * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
index 4c22ffb..f98e9d5 100644 (file)
@@ -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,                                  \