[Gmp-commit] /var/hg/gmp: Undo inadvertent change.

mercurial at gmplib.org mercurial at gmplib.org
Wed Nov 23 09:25:17 UTC 2016


details:   /var/hg/gmp/rev/ca07af6e95ac
changeset: 17131:ca07af6e95ac
user:      Torbjorn Granlund <tg at gmplib.org>
date:      Wed Nov 23 10:25:13 2016 +0100
description:
Undo inadvertent change.

diffstat:

 mpn/x86_64/fat/fat_entry.asm |  11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diffs (26 lines):

diff -r 7fbdda08f4ec -r ca07af6e95ac mpn/x86_64/fat/fat_entry.asm
--- a/mpn/x86_64/fat/fat_entry.asm	Tue Nov 22 18:49:03 2016 +0100
+++ b/mpn/x86_64/fat/fat_entry.asm	Wed Nov 23 10:25:13 2016 +0100
@@ -88,11 +88,22 @@
 
 define(FAT_ENTRY,
 m4_assert_numargs(2)
+`ifdef(`HOST_DOS64',
 `	ALIGN(8)
 `'PROLOGUE($1)
 	jmp	*$2+GSYM_PREFIX`'__gmpn_cpuvec(%rip)
 EPILOGUE()
+',
+`	ALIGN(ifdef(`PIC',16,8))
+`'PROLOGUE($1)
+ifdef(`PRETEND_PIC',
+`	LEA(	GSYM_PREFIX`'__gmpn_cpuvec, %rax)
+	jmp	*$2(%rax)
+',`dnl non-PIC
+	jmp	*GSYM_PREFIX`'__gmpn_cpuvec+$2
 ')
+EPILOGUE()
+')')
 
 
 dnl  FAT_ENTRY for each CPUVEC_FUNCS_LIST


More information about the gmp-commit mailing list