[Gmp-commit] /var/hg/gmp: Declare mpn_invert_limb_table .protected.

mercurial at gmplib.org mercurial at gmplib.org
Tue Apr 12 10:15:57 CEST 2011


details:   /var/hg/gmp/rev/922434895724
changeset: 14127:922434895724
user:      Niels M?ller <nisse at lysator.liu.se>
date:      Tue Apr 12 10:15:46 2011 +0200
description:
Declare mpn_invert_limb_table .protected.

diffstat:

 ChangeLog                  |  5 +++++
 mpn/x86_64/invert_limb.asm |  1 +
 2 files changed, 6 insertions(+), 0 deletions(-)

diffs (23 lines):

diff -r 24037ebc567a -r 922434895724 ChangeLog
--- a/ChangeLog	Mon Apr 11 21:58:44 2011 +0200
+++ b/ChangeLog	Tue Apr 12 10:15:46 2011 +0200
@@ -1,3 +1,8 @@
+2011-04-12  Niels Möller  <nisse at lysator.liu.se>
+
+	* mpn/x86_64/invert_limb.asm [PIC]: Declare mpn_invert_limb_table
+	as .protected.
+
 2011-04-11  Torbjorn Granlund  <tege at gmplib.org>
 
 	* mpn/x86/k7/invert_limb.asm: Use deflit for Darwin bug workaround.
diff -r 24037ebc567a -r 922434895724 mpn/x86_64/invert_limb.asm
--- a/mpn/x86_64/invert_limb.asm	Mon Apr 11 21:58:44 2011 +0200
+++ b/mpn/x86_64/invert_limb.asm	Tue Apr 12 10:15:46 2011 +0200
@@ -45,6 +45,7 @@
 	mov	mpn_invert_limb_table at GOTPCREL(%rip), %r8
 	add	$-512, %r8
 ',`
+	.protected mpn_invert_limb_table
 	lea	-512+mpn_invert_limb_table(%rip), %r8
 ')',`
 	movabs	$-512+mpn_invert_limb_table, %r8


More information about the gmp-commit mailing list