[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gmp-commit
Subject:    [Gmp-commit] /var/hg/gmp: Undo inadvertent change.
From:       mercurial () gmplib ! org (mercurial at gmplib ! org)
Date:       2016-11-23 9:25:17
Message-ID: hg.ca07af6e95ac.1479893117.4753027791226180404 () shell ! gmplib ! org
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic