aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Senkevich <andrew.senkevich@intel.com>2016-02-17 14:23:32 -0800
committerH.J. Lu <hjl.tools@gmail.com>2016-02-17 14:23:32 -0800
commita5df3210a641c175138052037fcdad34298bfa4d (patch)
tree50aad63ae76931a697f758ca6dc6ab6a409cc2c3
parente9db92d3acfe1822d56d11abcea5bfc4c41cf6ca (diff)
downloadglibc-a5df3210a641c175138052037fcdad34298bfa4d.zip
glibc-a5df3210a641c175138052037fcdad34298bfa4d.tar.gz
glibc-a5df3210a641c175138052037fcdad34298bfa4d.tar.bz2
Use PIC relocation in ALIAS_IMPL
Since libmvec_nonshared.a may be linked into shared objects, ALIAS_IMPL should use PIC relocation. [BZ #19590] * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC relocation.
-rw-r--r--ChangeLog7
-rw-r--r--sysdeps/x86_64/fpu/svml_finite_alias.S3
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index de3f55d..ec7d6bc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+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.
+
2016-02-15 Carlos O'Donell <carlos@redhat.com>
[BZ #18665]
diff --git a/sysdeps/x86_64/fpu/svml_finite_alias.S b/sysdeps/x86_64/fpu/svml_finite_alias.S
index 0062fe4..2dcfc37 100644
--- a/sysdeps/x86_64/fpu/svml_finite_alias.S
+++ b/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