summaryrefslogtreecommitdiff
path: root/mpn/x86_64/x86_64-defs.m4
diff options
context:
space:
mode:
Diffstat (limited to 'mpn/x86_64/x86_64-defs.m4')
-rw-r--r--mpn/x86_64/x86_64-defs.m44
1 files changed, 4 insertions, 0 deletions
diff --git a/mpn/x86_64/x86_64-defs.m4 b/mpn/x86_64/x86_64-defs.m4
index 5180ad5d8..870abb6b7 100644
--- a/mpn/x86_64/x86_64-defs.m4
+++ b/mpn/x86_64/x86_64-defs.m4
@@ -187,6 +187,10 @@ ifdef(`PIC',
define(`JUMPTABSECT', `.section .data.rel.ro.local,"aw",@progbits')
+ifdef(`PIC',
+ `define(`JMPENT', `.long $1-$2')',
+ `define(`JMPENT', `.quad $1')')
+
dnl These macros are defined just for DOS64, where they provide calling
dnl sequence glue code.