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 /math/Makefile | |
parent | 4d952856e32d0b35e5e25c1fc4d73c38b832bd6c (diff) | |
download | glibc-977a30801f61b7bbc27e8f185c1e7eb49675c60c.zip glibc-977a30801f61b7bbc27e8f185c1e7eb49675c60c.tar.gz glibc-977a30801f61b7bbc27e8f185c1e7eb49675c60c.tar.bz2 |
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/Makefile')
-rw-r--r-- | math/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/math/Makefile b/math/Makefile index 0ff3baa..6a926e9 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 |