Better workaround for aliases of *_finite symbols in vector math library.
authorAndrew Senkevich <andrew.senkevich@intel.com>
Fri, 27 Nov 2015 13:22:26 +0000 (16:22 +0300)
committerAndrew Senkevich <andrew.senkevich@intel.com>
Fri, 27 Nov 2015 13:22:26 +0000 (16:22 +0300)
commit977a30801f61b7bbc27e8f185c1e7eb49675c60c
tree6fa3e3d03f75a3a096818979b2bfa4e1863e1c21
parent4d952856e32d0b35e5e25c1fc4d73c38b832bd6c
Better workaround for aliases of *_finite symbols in vector math library.

Old workaround based on assembly aliases can lead to link fail (bug 19058).
This patch makes workaround in another way to avoid it.

    [BZ #19058]
    * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a
    to AS_NEEDED.
    * sysdeps/x86/fpu/bits/math-vector.h: Removed code with old workaround.
    * sysdeps/x86_64/fpu/Makefile (libmvec-support,
    libmvec-static-only-routines): Added new file.
    * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
ChangeLog
math/Makefile
sysdeps/x86/fpu/bits/math-vector.h
sysdeps/x86_64/fpu/Makefile
sysdeps/x86_64/fpu/svml_finite_alias.S [new file with mode: 0644]