[Gmp-commit] /var/hg/gmp: (CALL): Swap PIC test and macro defn.
mercurial at gmplib.org
mercurial at gmplib.org
Sun Nov 10 01:12:25 CET 2013
details: /var/hg/gmp/rev/9ba41ccf4351
changeset: 16089:9ba41ccf4351
user: Torbjorn Granlund <tege at gmplib.org>
date: Fri Nov 08 22:20:16 2013 +0100
description:
(CALL): Swap PIC test and macro defn.
diffstat:
mpn/x86_64/x86_64-defs.m4 | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r ae46a4af7f84 -r 9ba41ccf4351 mpn/x86_64/x86_64-defs.m4
--- a/mpn/x86_64/x86_64-defs.m4 Fri Nov 08 22:08:08 2013 +0100
+++ b/mpn/x86_64/x86_64-defs.m4 Fri Nov 08 22:20:16 2013 +0100
@@ -182,9 +182,12 @@
dnl Usage: CALL(funcname)
dnl
+define(`CALL',`dnl
ifdef(`PIC',
- `define(`CALL',`call GSYM_PREFIX`'$1 at PLT')',
- `define(`CALL',`call GSYM_PREFIX`'$1')')
+ `call GSYM_PREFIX`'$1 at PLT'
+,
+ `call GSYM_PREFIX`'$1'
+)')
define(`JUMPTABSECT', `.section .data.rel.ro.local,"aw", at progbits')
More information about the gmp-commit
mailing list