about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2017-11-28 00:01:11 +0000
committerJoseph Myers <joseph@codesourcery.com>2017-11-28 00:01:11 +0000
commitd8124864444fa43fe12d9d907fdb5192927add3f (patch)
tree5b00d7c2821bcfd79804c0a768032af5a819f300
parentf07d2ec8c02cf378d40122222b0b1f7ed263457f (diff)
downloadglibc-d8124864444fa43fe12d9d907fdb5192927add3f.tar.gz
glibc-d8124864444fa43fe12d9d907fdb5192927add3f.tar.xz
glibc-d8124864444fa43fe12d9d907fdb5192927add3f.zip
Support ldbl-opt libm_alias_double use from .S files.
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.
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/ieee754/ldbl-opt/libm-alias-double.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index be3e856c8a..70ea90a506 100644
--- 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>.
diff --git a/sysdeps/ieee754/ldbl-opt/libm-alias-double.h b/sysdeps/ieee754/ldbl-opt/libm-alias-double.h
index 4c22ffbcd6..f98e9d5cba 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,					\