]> git.ipfire.org Git - thirdparty/glibc.git/commit
Avoid compat symbols for totalorder in powerpc64le IEEE long double
authorGabriel F. T. Gomes <gabrielftg@linux.ibm.com>
Mon, 9 Sep 2019 17:59:46 +0000 (12:59 -0500)
committerGabriel F. T. Gomes <gabrielftg@linux.ibm.com>
Fri, 13 Dec 2019 22:06:02 +0000 (19:06 -0300)
commit5b4ba3c1d5aa96261e401d3616bb99004838a636
tree21678b33b51d0f848e3f7c573a18348296cabf42
parent11e1ab157645425662e14e7295fea015f5cfe519
Avoid compat symbols for totalorder in powerpc64le IEEE long double

No changes since v3.

No changes since v2.

Changes since v1:

  - Added comment on the redefinition of libm_alias_float128_other_r_ldbl.

-- 8< --
On powerpc64le, the libm_alias_float128_other_r_ldbl macro is
used to create an alias between totalorderf128 and __totalorderlieee128,
as well as between the totalordermagf128 and __totalordermaglieee128.

However, the totalorder* and totalordermag* functions changed their
parameter type since commit ID 42760d764649 and got compat symbols for
their old versions.  With this change, the aforementioned macro would
create two conflicting aliases for __totalorderlieee128 and
__totalordermaglieee128.

This patch avoids the creation of the alias between the IEEE long double
symbols (__totalorderl*ieee128) and the compat symbols, because the IEEE
long double functions have never been exported thus don't need such
compat symbol.

Tested for powerpc64le.

Reviewed-by: Joseph Myers <joseph@codesourcery.com>
sysdeps/ieee754/ldbl-128/s_totalorderl.c
sysdeps/ieee754/ldbl-128/s_totalordermagl.c