From: Andrew Senkevich Date: Wed, 17 Feb 2016 22:23:32 +0000 (-0800) Subject: Use PIC relocation in ALIAS_IMPL X-Git-Tag: glibc-2.23~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a5df3210a641c175138052037fcdad34298bfa4d;p=thirdparty%2Fglibc.git 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. --- diff --git a/ChangeLog b/ChangeLog index de3f55d3157..ec7d6bc40de 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2016-02-17 Andrew Senkevich + H.J. Lu + + [BZ #19590] + * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC + relocation. + 2016-02-15 Carlos O'Donell [BZ #18665] diff --git a/sysdeps/x86_64/fpu/svml_finite_alias.S b/sysdeps/x86_64/fpu/svml_finite_alias.S index 0062fe49ff9..2dcfc375903 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