[Gmp-commit] /var/hg/gmp: Updated name mangling.
mercurial at gmplib.org
mercurial at gmplib.org
Thu May 19 21:22:04 CEST 2011
details: /var/hg/gmp/rev/68c9c8596730
changeset: 14189:68c9c8596730
user: Niels M?ller <nisse at lysator.liu.se>
date: Thu May 19 21:21:02 2011 +0200
description:
Updated name mangling.
diffstat:
ChangeLog | 3 +++
tune/hgcd_lehmer.c | 6 +-----
2 files changed, 4 insertions(+), 5 deletions(-)
diffs (26 lines):
diff -r bd597269199a -r 68c9c8596730 ChangeLog
--- a/ChangeLog Thu May 19 21:09:39 2011 +0200
+++ b/ChangeLog Thu May 19 21:21:02 2011 +0200
@@ -1,5 +1,8 @@
2011-05-19 Niels Möller <nisse at lysator.liu.se>
+ * tune/hgcd_lehmer.c (__gmpn_hgcd_itch): Don't rename symbols for
+ the functions moved to hgcd_matrix.c.
+
* configure.in (gmp_mpn_functions): Added hgcd_matrix.
* mpn/generic/hgcd.c (hgcd_matrix_update_1): Deleted. Several other
diff -r bd597269199a -r 68c9c8596730 tune/hgcd_lehmer.c
--- a/tune/hgcd_lehmer.c Thu May 19 21:09:39 2011 +0200
+++ b/tune/hgcd_lehmer.c Thu May 19 21:21:02 2011 +0200
@@ -25,9 +25,5 @@
#define HGCD_THRESHOLD MP_SIZE_T_MAX
#define __gmpn_hgcd mpn_hgcd_lehmer
#define __gmpn_hgcd_itch mpn_hgcd_lehmer_itch
-/* Same functions, needed to avoid linking collisions. FIXME: Move to
- * separate file? */
-#define __gmpn_hgcd_matrix_init mpn_hgcd_lehmer_matrix_init
-#define __gmpn_hgcd_matrix_adjust mpn_hgcd_lehmer_matrix_adjust
-#define __gmpn_hgcd_matrix_mul mpn_hgcd_lehmer_matrix_mul
+
#include "../mpn/generic/hgcd.c"
More information about the gmp-commit
mailing list