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.
This commit is contained in:
Joseph Myers 2017-11-28 00:01:11 +00:00
parent f07d2ec8c0
commit d812486444
2 changed files with 6 additions and 1 deletions

View File

@ -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>.

View 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, \