diff options
author | Andrew Senkevich <andrew.senkevich@intel.com> | 2016-02-17 14:23:32 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2016-02-17 14:23:32 -0800 |
commit | a5df3210a641c175138052037fcdad34298bfa4d (patch) | |
tree | 50aad63ae76931a697f758ca6dc6ab6a409cc2c3 /sysdeps | |
parent | e9db92d3acfe1822d56d11abcea5bfc4c41cf6ca (diff) | |
download | glibc-a5df3210a641c175138052037fcdad34298bfa4d.tar.gz glibc-a5df3210a641c175138052037fcdad34298bfa4d.tar.xz glibc-a5df3210a641c175138052037fcdad34298bfa4d.zip |
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.
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/x86_64/fpu/svml_finite_alias.S | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sysdeps/x86_64/fpu/svml_finite_alias.S b/sysdeps/x86_64/fpu/svml_finite_alias.S index 0062fe49ff..2dcfc37590 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 |