From d9416e6bee758dbb91ee732ee4fbe3eff5503516 Mon Sep 17 00:00:00 2001 From: William Hart Date: Mon, 17 Feb 2014 15:54:07 +0000 Subject: [PATCH] Added some GMP m4 macros for new sqr_basecase code + license changes. --- mpn/x86_64/x86_64-defs.m4 | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/mpn/x86_64/x86_64-defs.m4 b/mpn/x86_64/x86_64-defs.m4 index bd1ce9a6..9e28d99d 100644 --- a/mpn/x86_64/x86_64-defs.m4 +++ b/mpn/x86_64/x86_64-defs.m4 @@ -8,8 +8,8 @@ dnl This file is just an adaptation of similar file in the x86 directory. dnl Adapted by P. Gaudry in April 2005. dnl Here is the copyright of the original x86 version: -dnl Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008, 2009, 2011, 2012 -dnl Free Software Foundation, Inc. +dnl Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008, 2009, 2011, +dnl 2012, 2013 Free Software Foundation, Inc. dnl dnl This file is part of the GNU MP Library. dnl @@ -117,6 +117,17 @@ $1: ifelse(WANT_PROFILING,`no',,`call_mcount ')') +define(`JUMPTABSECT', `.section .data.rel.ro.local,"aw",@progbits') + + +dnl Usage: JMPENT(targlabel,tablabel) + +define(`JMPENT',`dnl +ifdef(`PIC', + `.long $1-$2' +, + `.quad $1' +)') dnl Usage: call_mcount dnl