diff options
author | Andrew Senkevich <andrew.senkevich@intel.com> | 2015-11-27 17:30:04 +0300 |
---|---|---|
committer | Andrew Senkevich <andrew.senkevich@intel.com> | 2015-11-27 17:30:04 +0300 |
commit | 060f8dbd0ca6eb17d20442dc4df72c2a707bdf86 (patch) | |
tree | 90b5638f0883a577415c5d9715d8fbdda99f7164 /math | |
parent | af822b45a62940efbf5f691777fd2862c825e6d4 (diff) | |
download | glibc-060f8dbd0ca6eb17d20442dc4df72c2a707bdf86.tar.gz |
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.
* NEWS: Mention this fix.
Diffstat (limited to 'math')
-rw-r--r-- | math/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/math/Makefile b/math/Makefile index 6388baec89..76f99fb720 100644 --- a/math/Makefile +++ b/math/Makefile @@ -98,7 +98,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 |