From: Andrew Senkevich Date: Wed, 17 Feb 2016 22:23:32 +0000 (-0800) Subject: Use PIC relocation in ALIAS_IMPL X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2b8ab5c3f618e4d9e0a9147c24f8cf6bbf35a1d8;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. (cherry picked from commit a5df3210a641c175138052037fcdad34298bfa4d) --- diff --git a/ChangeLog b/ChangeLog index 6e42a1e775a..b224f46afb4 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. + 2015-09-24 Joseph Myers [BZ #19003] diff --git a/NEWS b/NEWS index 46792587b22..93c46afa83f 100644 --- a/NEWS +++ b/NEWS @@ -25,7 +25,7 @@ Version 2.22.1 17905, 18420, 18421, 18480, 18589, 18743, 18778, 18781, 18787, 18796, 18870, 18887, 18921, 18928, 18969, 18985, 19003, 19018, 19058, 19174, - 19178, 19682. + 19178, 19590, 19682. * The LD_POINTER_GUARD environment variable can no longer be used to disable the pointer guard feature. It is always enabled. diff --git a/sysdeps/x86_64/fpu/svml_finite_alias.S b/sysdeps/x86_64/fpu/svml_finite_alias.S index f8bcfeb5500..aed16612661 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