aboutsummaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorAndrew Senkevich <andrew.senkevich@intel.com>2015-11-27 16:22:26 +0300
committerAndrew Senkevich <andrew.senkevich@intel.com>2015-11-27 16:22:26 +0300
commit977a30801f61b7bbc27e8f185c1e7eb49675c60c (patch)
tree6fa3e3d03f75a3a096818979b2bfa4e1863e1c21 /math
parent4d952856e32d0b35e5e25c1fc4d73c38b832bd6c (diff)
downloadglibc-977a30801f61b7bbc27e8f185c1e7eb49675c60c.tar
glibc-977a30801f61b7bbc27e8f185c1e7eb49675c60c.tar.gz
glibc-977a30801f61b7bbc27e8f185c1e7eb49675c60c.tar.bz2
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 'math')
-rw-r--r--math/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/math/Makefile b/math/Makefile
index 0ff3baa19e..6a926e97c3 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -99,7 +99,7 @@ $(inst_libdir)/libm.so: $(common-objpfx)format.lds \
(echo '/* GNU ld script'; echo '*/';\
cat $<; \
echo 'GROUP ( $(slibdir)/libm.so$(libm.so-version) ' \
- 'AS_NEEDED ( $(slibdir)/libmvec.so$(libmvec.so-version) ) )' \
+ 'AS_NEEDED ( $(slibdir)/libmvec_nonshared.a $(slibdir)/libmvec.so$(libmvec.so-version) ) )' \
) > $@
endif