Skip to content

Commit

Permalink
Use PIC relocation in ALIAS_IMPL
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Andrew Senkevich authored and H.J. Lu committed Feb 17, 2016
1 parent e9db92d commit a5df321
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
7 changes: 7 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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]
Expand Down
3 changes: 1 addition & 2 deletions sysdeps/x86_64/fpu/svml_finite_alias.S
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@

#define ALIAS_IMPL(alias, target) \
ENTRY (alias); \
call target; \
ret; \
jmp *target@GOTPCREL(%rip); \
END (alias)

.text
Expand Down

0 comments on commit a5df321

Please sign in to comment.