From: John Marino Date: Sun, 27 Mar 2011 16:19:07 +0000 (+0200) Subject: Update gmp headers in gnu/usr.bin/cc44 X-Git-Tag: v2.11.0~101 X-Git-Url: https://gitweb.dragonflybsd.org/dragonfly.git/commitdiff_plain/4c7b7ef20bba0a362da854ce5c21956a4d9f141b Update gmp headers in gnu/usr.bin/cc44 --- diff --git a/gnu/usr.bin/cc44/gmp/config.h b/gnu/usr.bin/cc44/gmp/config.h index fcb8eeea05..93aceb267c 100644 --- a/gnu/usr.bin/cc44/gmp/config.h +++ b/gnu/usr.bin/cc44/gmp/config.h @@ -1,4 +1,4 @@ -/* config.h. Generated by configure. */ +/* config.h. Generated from config.in by configure. */ /* config.in. Generated from configure.in by autoheader. */ /* @@ -24,7 +24,7 @@ along with the GNU MP Library. If not, see http://www.gnu.org/licenses/. /* The gmp-mparam.h file (a string) the tune program should suggest updating. */ -#define GMP_MPARAM_H_SUGGEST "../gmp/mpn/x86/p6/sse2/gmp-mparam.h" +#define GMP_MPARAM_H_SUGGEST "./mpn/x86_64/gmp-mparam.h" /* Define to 1 if you have the `alarm' function. */ #define HAVE_ALARM 1 @@ -434,13 +434,13 @@ along with the GNU MP Library. If not, see http://www.gnu.org/licenses/. #define PACKAGE_NAME "GNU MP" /* Define to the full name and version of this package. */ -#define PACKAGE_STRING "GNU MP 4.3.1" +#define PACKAGE_STRING "GNU MP 4.3.2" /* Define to the one symbol short name of this package. */ #define PACKAGE_TARNAME "gmp" /* Define to the version of this package. */ -#define PACKAGE_VERSION "4.3.1" +#define PACKAGE_VERSION "4.3.2" /* Define to 1 if the C compiler supports function prototypes. */ #define PROTOTYPES 1 @@ -473,7 +473,7 @@ along with the GNU MP Library. If not, see http://www.gnu.org/licenses/. /* #undef TUNE_SQR_KARATSUBA_MAX */ /* Version number of package */ -#define VERSION "4.3.1" +#define VERSION "4.3.2" /* Define to 1 to enable ASSERT checking, per --enable-assert */ /* #undef WANT_ASSERT */ diff --git a/gnu/usr.bin/cc44/gmp/gmp.h b/gnu/usr.bin/cc44/gmp/gmp.h index f3038284ff..97c409a651 100644 --- a/gnu/usr.bin/cc44/gmp/gmp.h +++ b/gnu/usr.bin/cc44/gmp/gmp.h @@ -33,7 +33,7 @@ along with the GNU MP Library. If not, see http://www.gnu.org/licenses/. */ #elif defined(__x86_64__) #define __GMP_BITS_PER_MP_LIMB 64 #else -#error port me! +#error Platform Not Supported! #endif #define __GMP_HAVE_HOST_CPU_FAMILY_power 0 #define __GMP_HAVE_HOST_CPU_FAMILY_powerpc 0 @@ -1530,7 +1530,7 @@ __GMP_DECLSPEC mp_size_t mpn_gcd __GMP_PROTO ((mp_ptr, mp_ptr, mp_size_t, mp_ptr __GMP_DECLSPEC mp_limb_t mpn_gcd_1 __GMP_PROTO ((mp_srcptr, mp_size_t, mp_limb_t)) __GMP_ATTRIBUTE_PURE; #define mpn_gcdext_1 __MPN(gcdext_1) -__GMP_DECLSPEC mp_limb_t mpn_gcdext_1 __GMP_PROTO ((mp_ptr, mp_ptr, mp_limb_t, mp_limb_t)); +__GMP_DECLSPEC mp_limb_t mpn_gcdext_1 __GMP_PROTO ((mp_limb_signed_t *, mp_limb_signed_t *, mp_limb_t, mp_limb_t)); #define mpn_gcdext __MPN(gcdext) __GMP_DECLSPEC mp_size_t mpn_gcdext __GMP_PROTO ((mp_ptr, mp_ptr, mp_size_t *, mp_ptr, mp_size_t, mp_ptr, mp_size_t)); @@ -1556,6 +1556,9 @@ __GMP_DECLSPEC mp_limb_t mpn_mul_1 __GMP_PROTO ((mp_ptr, mp_srcptr, mp_size_t, m #define mpn_mul_n __MPN(mul_n) __GMP_DECLSPEC void mpn_mul_n __GMP_PROTO ((mp_ptr, mp_srcptr, mp_srcptr, mp_size_t)); +#define mpn_sqr __MPN(sqr) +__GMP_DECLSPEC void mpn_sqr __GMP_PROTO ((mp_ptr, mp_srcptr, mp_size_t)); + #define mpn_neg_n __MPN(neg_n) #if __GMP_INLINE_PROTOTYPES || defined (__GMP_FORCE_mpn_neg_n) __GMP_DECLSPEC mp_limb_t mpn_neg_n __GMP_PROTO ((mp_ptr, mp_srcptr, mp_size_t)); @@ -2221,13 +2224,13 @@ enum }; /* Define CC and CFLAGS which were used to build this version of GMP */ -#define __GMP_CC "gcc" +#define __GMP_CC "gcc -std=gnu99" #define __GMP_CFLAGS "-m32 -O2 -pedantic -fomit-frame-pointer -mtune=k8 -march=k8" /* Major version number is the value of __GNU_MP__ too, above and in mp.h. */ #define __GNU_MP_VERSION 4 #define __GNU_MP_VERSION_MINOR 3 -#define __GNU_MP_VERSION_PATCHLEVEL 1 +#define __GNU_MP_VERSION_PATCHLEVEL 2 #define __GMP_H__ #endif /* __GMP_H__ */