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.
This commit is contained in:
Andrew Senkevich 2016-02-17 14:23:32 -08:00 committed by H.J. Lu
parent e9db92d3ac
commit a5df3210a6
2 changed files with 8 additions and 2 deletions

View File

@ -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]

View File

@ -23,8 +23,7 @@
#define ALIAS_IMPL(alias, target) \
ENTRY (alias); \
call target; \
ret; \
jmp *target@GOTPCREL(%rip); \
END (alias)
.text