From a5df3210a641c175138052037fcdad34298bfa4d Mon Sep 17 00:00:00 2001 From: Andrew Senkevich Date: Wed, 17 Feb 2016 14:23:32 -0800 Subject: 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. --- sysdeps/x86_64/fpu/svml_finite_alias.S | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sysdeps') 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 -- cgit v1.2.3