about summary refs log tree commit diff
path: root/sysdeps/x86_64/multiarch/memrchr.c
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2017-09-13 22:17:23 +0000
committerJoseph Myers <joseph@codesourcery.com>2017-09-13 22:17:23 +0000
commit1aae75ef80aaa6129fb3f2a68fdfba60a945c4df (patch)
tree480c954692366418e5094e8758c0509559061b2b /sysdeps/x86_64/multiarch/memrchr.c
parentbcea7ad608466a886767ddc743dce0df11980b5f (diff)
downloadglibc-1aae75ef80aaa6129fb3f2a68fdfba60a945c4df.tar.gz
glibc-1aae75ef80aaa6129fb3f2a68fdfba60a945c4df.tar.xz
glibc-1aae75ef80aaa6129fb3f2a68fdfba60a945c4df.zip
Define and use libm_alias_ldouble.
Continuing the process of setting up common macros for libm function
aliases, with a view to using them to define _FloatN / _FloatNx
aliases in future, this patch adds a libm_alias_ldouble macro and uses
it in the type-generic templates.

Since math-type-macros-ldouble.h already did the appropriate thing for
each symbol (weak_alias or long_double_symbol), this is just a
straightforward rearrangement of code, to make the required logic
available in a place that can also be used outside of the type-generic
templates in future (in particular, to eliminate various wrappers for
functions in ldbl-opt and ldbl-64-128).

Tested for x86_64.  Also tested with build-many-glibcs.py that
installed stripped shared libraries are unchanged by the patch.

	* sysdeps/generic/libm-alias-ldouble.h: New file.
	* sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
	* sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
	* sysdeps/generic/math-type-macros-ldouble.h: Include
	<libm-alias-ldouble.h>.
	[!declare_mgen_alias] (declare_mgen_alias): Define to use
	libm_alias_ldouble.
Diffstat (limited to 'sysdeps/x86_64/multiarch/memrchr.c')
0 files changed, 0 insertions, 0 deletions