summaryrefslogtreecommitdiff
path: root/mpn/x86_64/dos64.m4
diff options
context:
space:
mode:
Diffstat (limited to 'mpn/x86_64/dos64.m4')
-rw-r--r--mpn/x86_64/dos64.m44
1 files changed, 4 insertions, 0 deletions
diff --git a/mpn/x86_64/dos64.m4 b/mpn/x86_64/dos64.m4
index 74ca5489f..c1ae46c04 100644
--- a/mpn/x86_64/dos64.m4
+++ b/mpn/x86_64/dos64.m4
@@ -24,6 +24,10 @@ define(`LEA',`
define(`JUMPTABSECT', `RODATA')
+ifdef(`PIC',
+ `define(`JMPENT', `.long $1-$2')',
+ `define(`JMPENT', `.quad $1')')
+
dnl Usage: FUNC_ENTRY(nregparmas)
dnl Usage: FUNC_EXIT()