File libmvec-nonshared-pic.patch of Package glibc.6721
2016-02-17 Andrew Senkevich <andrew.senkevich@intel.com>
H.J. Lu <hongjiu.lu@intel.com>
[BZ #19590]
* sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
relocation.
Index: glibc-2.22/sysdeps/x86_64/fpu/svml_finite_alias.S
===================================================================
--- glibc-2.22.orig/sysdeps/x86_64/fpu/svml_finite_alias.S
+++ glibc-2.22/sysdeps/x86_64/fpu/svml_finite_alias.S
@@ -23,8 +23,7 @@
#define ALIAS_IMPL(alias, target) \
ENTRY (alias); \
- call target; \
- ret; \
+ jmp *target@GOTPCREL(%rip); \
END (alias)
.text