This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Support ldbl-opt libm_alias_double use from .S files [committed]
- From: Joseph Myers <joseph at codesourcery dot com>
- To: <libc-alpha at sourceware dot org>
- Date: Tue, 28 Nov 2017 00:02:02 +0000
- Subject: Support ldbl-opt libm_alias_double use from .S files [committed]
- Authentication-results: sourceware.org; auth=none
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