diff options
author | Andrew Senkevich <andrew.senkevich@intel.com> | 2015-11-27 16:22:26 +0300 |
---|---|---|
committer | Andrew Senkevich <andrew.senkevich@intel.com> | 2015-11-27 16:22:26 +0300 |
commit | 977a30801f61b7bbc27e8f185c1e7eb49675c60c (patch) | |
tree | 6fa3e3d03f75a3a096818979b2bfa4e1863e1c21 /sysdeps/x86_64/fpu/Makefile | |
parent | 4d952856e32d0b35e5e25c1fc4d73c38b832bd6c (diff) | |
download | glibc-977a30801f61b7bbc27e8f185c1e7eb49675c60c.tar.gz glibc-977a30801f61b7bbc27e8f185c1e7eb49675c60c.tar.xz glibc-977a30801f61b7bbc27e8f185c1e7eb49675c60c.zip |
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.
Diffstat (limited to 'sysdeps/x86_64/fpu/Makefile')
-rw-r--r-- | sysdeps/x86_64/fpu/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sysdeps/x86_64/fpu/Makefile b/sysdeps/x86_64/fpu/Makefile index f98f6cf3cd..88742faff1 100644 --- a/sysdeps/x86_64/fpu/Makefile +++ b/sysdeps/x86_64/fpu/Makefile @@ -20,7 +20,9 @@ libmvec-support += svml_d_cos2_core svml_d_cos4_core_avx \ svml_d_pow_data svml_s_powf4_core svml_s_powf8_core_avx \ svml_s_powf8_core svml_s_powf16_core svml_s_powf_data \ svml_s_sincosf4_core svml_s_sincosf8_core_avx \ - svml_s_sincosf8_core svml_s_sincosf16_core + svml_s_sincosf8_core svml_s_sincosf16_core svml_finite_alias + +libmvec-static-only-routines = svml_finite_alias endif # Variables for libmvec tests. |