Define powerpc64 lroundl compat symbol only once.
authorJoseph Myers <joseph@codesourcery.com>
Fri, 1 Dec 2017 23:58:05 +0000 (23:58 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Fri, 1 Dec 2017 23:58:05 +0000 (23:58 +0000)
commit0ddde474db4e466a991652049888b7dbb8515f69
treed34e31c6119aae583eed78a23f93831816fe28dc
parent0d5ba561c1ef3d4abf060bbdba88c29379d4adbe
Define powerpc64 lroundl compat symbol only once.

sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c defines the
lroundl compat symbol, version GLIBC_2_1, twice, once based on llround
and once based on __lround.  Those are aliases for each other (llround
weak, __lround strong), but defining it twice does not make sense.
This patch changes it to define the compat symbol once only, matching
how libm_alias_double defines it.

Tested with build-many-glibcs.py for its powerpc64 configurations.

* sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
[LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
compat symbol based on llround.
ChangeLog
sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c