Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/lgpl3/gmp/lib/libgmp/arch mknative-gmp for GMP 6.2....



details:   https://anonhg.NetBSD.org/src/rev/53a6f3141deb
branches:  trunk
changeset: 1022316:53a6f3141deb
user:      mrg <mrg%NetBSD.org@localhost>
date:      Mon Jul 12 09:34:54 2021 +0000

description:
mknative-gmp for GMP 6.2.1 and most platforms.

diffstat:

 external/lgpl3/gmp/lib/libgmp/arch/aarch64/config.h   |   2 +-
 external/lgpl3/gmp/lib/libgmp/arch/alpha/config.h     |   6 +++---
 external/lgpl3/gmp/lib/libgmp/arch/alpha/gmp.h        |  11 ++++++-----
 external/lgpl3/gmp/lib/libgmp/arch/arm/config.h       |   6 +++---
 external/lgpl3/gmp/lib/libgmp/arch/arm/config.m4      |   2 +-
 external/lgpl3/gmp/lib/libgmp/arch/arm/gmp.h          |   2 +-
 external/lgpl3/gmp/lib/libgmp/arch/armeb/config.h     |   6 +++---
 external/lgpl3/gmp/lib/libgmp/arch/armeb/config.m4    |   2 +-
 external/lgpl3/gmp/lib/libgmp/arch/armeb/gmp.h        |   2 +-
 external/lgpl3/gmp/lib/libgmp/arch/hppa/config.h      |   6 +++---
 external/lgpl3/gmp/lib/libgmp/arch/hppa/gmp.h         |  11 ++++++-----
 external/lgpl3/gmp/lib/libgmp/arch/ia64/config.h      |   6 +++---
 external/lgpl3/gmp/lib/libgmp/arch/ia64/gmp.h         |  11 ++++++-----
 external/lgpl3/gmp/lib/libgmp/arch/m68000/config.h    |   6 +++---
 external/lgpl3/gmp/lib/libgmp/arch/m68000/gmp.h       |  11 ++++++-----
 external/lgpl3/gmp/lib/libgmp/arch/m68k/config.h      |   6 +++---
 external/lgpl3/gmp/lib/libgmp/arch/m68k/gmp.h         |  11 ++++++-----
 external/lgpl3/gmp/lib/libgmp/arch/mips64eb/config.h  |   6 +++---
 external/lgpl3/gmp/lib/libgmp/arch/mips64eb/gmp.h     |  11 ++++++-----
 external/lgpl3/gmp/lib/libgmp/arch/mips64el/config.h  |   6 +++---
 external/lgpl3/gmp/lib/libgmp/arch/mips64el/gmp.h     |  11 ++++++-----
 external/lgpl3/gmp/lib/libgmp/arch/mipseb/config.h    |   6 +++---
 external/lgpl3/gmp/lib/libgmp/arch/mipseb/gmp.h       |  11 ++++++-----
 external/lgpl3/gmp/lib/libgmp/arch/mipsel/config.h    |   6 +++---
 external/lgpl3/gmp/lib/libgmp/arch/mipsel/gmp.h       |  11 ++++++-----
 external/lgpl3/gmp/lib/libgmp/arch/powerpc/config.h   |   6 +++---
 external/lgpl3/gmp/lib/libgmp/arch/powerpc/gmp.h      |  11 ++++++-----
 external/lgpl3/gmp/lib/libgmp/arch/powerpc64/config.h |   6 +++---
 external/lgpl3/gmp/lib/libgmp/arch/powerpc64/gmp.h    |  11 ++++++-----
 external/lgpl3/gmp/lib/libgmp/arch/riscv32/config.h   |   6 +++---
 external/lgpl3/gmp/lib/libgmp/arch/riscv32/gmp.h      |  11 ++++++-----
 external/lgpl3/gmp/lib/libgmp/arch/riscv64/config.h   |   6 +++---
 external/lgpl3/gmp/lib/libgmp/arch/riscv64/gmp.h      |  11 ++++++-----
 external/lgpl3/gmp/lib/libgmp/arch/sh3eb/config.h     |   6 +++---
 external/lgpl3/gmp/lib/libgmp/arch/sh3eb/gmp.h        |  11 ++++++-----
 external/lgpl3/gmp/lib/libgmp/arch/sh3el/config.h     |   6 +++---
 external/lgpl3/gmp/lib/libgmp/arch/sh3el/gmp.h        |  11 ++++++-----
 external/lgpl3/gmp/lib/libgmp/arch/sparc/config.h     |   6 +++---
 external/lgpl3/gmp/lib/libgmp/arch/sparc/gmp.h        |  11 ++++++-----
 external/lgpl3/gmp/lib/libgmp/arch/sparc64/config.h   |   6 +++---
 external/lgpl3/gmp/lib/libgmp/arch/sparc64/gmp.h      |  11 ++++++-----
 external/lgpl3/gmp/lib/libgmp/arch/vax/config.h       |   6 +++---
 external/lgpl3/gmp/lib/libgmp/arch/vax/gmp.h          |  11 ++++++-----
 43 files changed, 173 insertions(+), 155 deletions(-)

diffs (truncated from 1308 to 300 lines):

diff -r de2af9c2b928 -r 53a6f3141deb external/lgpl3/gmp/lib/libgmp/arch/aarch64/config.h
--- a/external/lgpl3/gmp/lib/libgmp/arch/aarch64/config.h       Mon Jul 12 07:59:51 2021 +0000
+++ b/external/lgpl3/gmp/lib/libgmp/arch/aarch64/config.h       Mon Jul 12 09:34:54 2021 +0000
@@ -641,7 +641,7 @@
 
 /* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a
    `char[]'. */
-/* #undef YYTEXT_POINTER */
+#define YYTEXT_POINTER 1
 
 /* Define to `__inline__' or `__inline' if that's what the C compiler
    calls it, or to nothing if 'inline' is not supported under any name.  */
diff -r de2af9c2b928 -r 53a6f3141deb external/lgpl3/gmp/lib/libgmp/arch/alpha/config.h
--- a/external/lgpl3/gmp/lib/libgmp/arch/alpha/config.h Mon Jul 12 07:59:51 2021 +0000
+++ b/external/lgpl3/gmp/lib/libgmp/arch/alpha/config.h Mon Jul 12 09:34:54 2021 +0000
@@ -548,7 +548,7 @@
 #define PACKAGE_NAME "GNU MP"
 
 /* Define to the full name and version of this package. */
-#define PACKAGE_STRING "GNU MP 6.2.0"
+#define PACKAGE_STRING "GNU MP 6.2.1"
 
 /* Define to the one symbol short name of this package. */
 #define PACKAGE_TARNAME "gmp"
@@ -557,7 +557,7 @@
 #define PACKAGE_URL "http://www.gnu.org/software/gmp/";
 
 /* Define to the version of this package. */
-#define PACKAGE_VERSION "6.2.0"
+#define PACKAGE_VERSION "6.2.1"
 
 /* Define as the return type of signal handlers (`int' or `void'). */
 #define RETSIGTYPE void
@@ -590,7 +590,7 @@
 #define TUNE_SQR_TOOM2_MAX SQR_TOOM2_MAX_GENERIC
 
 /* Version number of package */
-#define VERSION "6.2.0"
+#define VERSION "6.2.1"
 
 /* Define to 1 to enable ASSERT checking, per --enable-assert */
 /* #undef WANT_ASSERT */
diff -r de2af9c2b928 -r 53a6f3141deb external/lgpl3/gmp/lib/libgmp/arch/alpha/gmp.h
--- a/external/lgpl3/gmp/lib/libgmp/arch/alpha/gmp.h    Mon Jul 12 07:59:51 2021 +0000
+++ b/external/lgpl3/gmp/lib/libgmp/arch/alpha/gmp.h    Mon Jul 12 09:34:54 2021 +0000
@@ -361,11 +361,9 @@
     GCC 4.3 and above with -std=c99 or -std=gnu99 implements ISO C99
     inline semantics, unless -fgnu89-inline is used.  */
 #ifdef __GNUC__
-#if (defined __GNUC_STDC_INLINE__) || (__GNUC__ == 4 && __GNUC_MINOR__ == 2) \
-  || (defined __GNUC_GNU_INLINE__ && defined __cplusplus)
+#if (defined __GNUC_STDC_INLINE__) || \
+    (__GNUC__ == 4 && __GNUC_MINOR__ >= 2) || (__GNUC__ > 4)
 #define __GMP_EXTERN_INLINE extern __inline__ __attribute__ ((__gnu_inline__))
-#else
-#define __GMP_EXTERN_INLINE      extern __inline__
 #endif
 #define __GMP_INLINE_PROTOTYPES  1
 #endif
@@ -1693,6 +1691,9 @@
 #define mpn_sec_invert_itch __MPN(sec_invert_itch)
 __GMP_DECLSPEC mp_size_t mpn_sec_invert_itch (mp_size_t) __GMP_ATTRIBUTE_PURE;
 
+#define mpn_udiv_w_sdiv __MPN(udiv_w_sdiv)
+__GMP_DECLSPEC mp_limb_t mpn_udiv_w_sdiv (mp_limb_t *, mp_limb_t, mp_limb_t, mp_limb_t);
+
 
 /**************** mpz inlines ****************/
 
@@ -2329,7 +2330,7 @@
 /* Major version number is the value of __GNU_MP__ too, above. */
 #define __GNU_MP_VERSION            6
 #define __GNU_MP_VERSION_MINOR      2
-#define __GNU_MP_VERSION_PATCHLEVEL 0
+#define __GNU_MP_VERSION_PATCHLEVEL 1
 #define __GNU_MP_RELEASE (__GNU_MP_VERSION * 10000 + __GNU_MP_VERSION_MINOR * 100 + __GNU_MP_VERSION_PATCHLEVEL)
 
 #define __GMP_H__
diff -r de2af9c2b928 -r 53a6f3141deb external/lgpl3/gmp/lib/libgmp/arch/arm/config.h
--- a/external/lgpl3/gmp/lib/libgmp/arch/arm/config.h   Mon Jul 12 07:59:51 2021 +0000
+++ b/external/lgpl3/gmp/lib/libgmp/arch/arm/config.h   Mon Jul 12 09:34:54 2021 +0000
@@ -548,7 +548,7 @@
 #define PACKAGE_NAME "GNU MP"
 
 /* Define to the full name and version of this package. */
-#define PACKAGE_STRING "GNU MP 6.2.0"
+#define PACKAGE_STRING "GNU MP 6.2.1"
 
 /* Define to the one symbol short name of this package. */
 #define PACKAGE_TARNAME "gmp"
@@ -557,7 +557,7 @@
 #define PACKAGE_URL "http://www.gnu.org/software/gmp/";
 
 /* Define to the version of this package. */
-#define PACKAGE_VERSION "6.2.0"
+#define PACKAGE_VERSION "6.2.1"
 
 /* Define as the return type of signal handlers (`int' or `void'). */
 #define RETSIGTYPE void
@@ -590,7 +590,7 @@
 #define TUNE_SQR_TOOM2_MAX SQR_TOOM2_MAX_GENERIC
 
 /* Version number of package */
-#define VERSION "6.2.0"
+#define VERSION "6.2.1"
 
 /* Define to 1 to enable ASSERT checking, per --enable-assert */
 /* #undef WANT_ASSERT */
diff -r de2af9c2b928 -r 53a6f3141deb external/lgpl3/gmp/lib/libgmp/arch/arm/config.m4
--- a/external/lgpl3/gmp/lib/libgmp/arch/arm/config.m4  Mon Jul 12 07:59:51 2021 +0000
+++ b/external/lgpl3/gmp/lib/libgmp/arch/arm/config.m4  Mon Jul 12 09:34:54 2021 +0000
@@ -29,7 +29,7 @@
 ifdef(`__CONFIG_M4_INCLUDED__',,`
 include(CONFIG_TOP_SRCDIR`/mpn/asm-defs.m4')
 include_mpn(`arm/arm-defs.m4')
-define_not_for_expansion(`HAVE_HOST_CPU_armv4')
+define_not_for_expansion(`HAVE_HOST_CPU_arm')
 define_not_for_expansion(`HAVE_ABI_32')
 define_not_for_expansion(`HAVE_LIMB_LITTLE_ENDIAN')
 define_not_for_expansion(`HAVE_DOUBLE_IEEE_LITTLE_ENDIAN')
diff -r de2af9c2b928 -r 53a6f3141deb external/lgpl3/gmp/lib/libgmp/arch/arm/gmp.h
--- a/external/lgpl3/gmp/lib/libgmp/arch/arm/gmp.h      Mon Jul 12 07:59:51 2021 +0000
+++ b/external/lgpl3/gmp/lib/libgmp/arch/arm/gmp.h      Mon Jul 12 09:34:54 2021 +0000
@@ -2330,7 +2330,7 @@
 /* Major version number is the value of __GNU_MP__ too, above. */
 #define __GNU_MP_VERSION            6
 #define __GNU_MP_VERSION_MINOR      2
-#define __GNU_MP_VERSION_PATCHLEVEL 0
+#define __GNU_MP_VERSION_PATCHLEVEL 1
 #define __GNU_MP_RELEASE (__GNU_MP_VERSION * 10000 + __GNU_MP_VERSION_MINOR * 100 + __GNU_MP_VERSION_PATCHLEVEL)
 
 #define __GMP_H__
diff -r de2af9c2b928 -r 53a6f3141deb external/lgpl3/gmp/lib/libgmp/arch/armeb/config.h
--- a/external/lgpl3/gmp/lib/libgmp/arch/armeb/config.h Mon Jul 12 07:59:51 2021 +0000
+++ b/external/lgpl3/gmp/lib/libgmp/arch/armeb/config.h Mon Jul 12 09:34:54 2021 +0000
@@ -548,7 +548,7 @@
 #define PACKAGE_NAME "GNU MP"
 
 /* Define to the full name and version of this package. */
-#define PACKAGE_STRING "GNU MP 6.2.0"
+#define PACKAGE_STRING "GNU MP 6.2.1"
 
 /* Define to the one symbol short name of this package. */
 #define PACKAGE_TARNAME "gmp"
@@ -557,7 +557,7 @@
 #define PACKAGE_URL "http://www.gnu.org/software/gmp/";
 
 /* Define to the version of this package. */
-#define PACKAGE_VERSION "6.2.0"
+#define PACKAGE_VERSION "6.2.1"
 
 /* Define as the return type of signal handlers (`int' or `void'). */
 #define RETSIGTYPE void
@@ -590,7 +590,7 @@
 #define TUNE_SQR_TOOM2_MAX SQR_TOOM2_MAX_GENERIC
 
 /* Version number of package */
-#define VERSION "6.2.0"
+#define VERSION "6.2.1"
 
 /* Define to 1 to enable ASSERT checking, per --enable-assert */
 /* #undef WANT_ASSERT */
diff -r de2af9c2b928 -r 53a6f3141deb external/lgpl3/gmp/lib/libgmp/arch/armeb/config.m4
--- a/external/lgpl3/gmp/lib/libgmp/arch/armeb/config.m4        Mon Jul 12 07:59:51 2021 +0000
+++ b/external/lgpl3/gmp/lib/libgmp/arch/armeb/config.m4        Mon Jul 12 09:34:54 2021 +0000
@@ -29,7 +29,7 @@
 ifdef(`__CONFIG_M4_INCLUDED__',,`
 include(CONFIG_TOP_SRCDIR`/mpn/asm-defs.m4')
 include_mpn(`arm/arm-defs.m4')
-define_not_for_expansion(`HAVE_HOST_CPU_armv4eb')
+define_not_for_expansion(`HAVE_HOST_CPU_armeb')
 define_not_for_expansion(`HAVE_ABI_32')
 define_not_for_expansion(`HAVE_LIMB_BIG_ENDIAN')
 define_not_for_expansion(`HAVE_DOUBLE_IEEE_BIG_ENDIAN')
diff -r de2af9c2b928 -r 53a6f3141deb external/lgpl3/gmp/lib/libgmp/arch/armeb/gmp.h
--- a/external/lgpl3/gmp/lib/libgmp/arch/armeb/gmp.h    Mon Jul 12 07:59:51 2021 +0000
+++ b/external/lgpl3/gmp/lib/libgmp/arch/armeb/gmp.h    Mon Jul 12 09:34:54 2021 +0000
@@ -2330,7 +2330,7 @@
 /* Major version number is the value of __GNU_MP__ too, above. */
 #define __GNU_MP_VERSION            6
 #define __GNU_MP_VERSION_MINOR      2
-#define __GNU_MP_VERSION_PATCHLEVEL 0
+#define __GNU_MP_VERSION_PATCHLEVEL 1
 #define __GNU_MP_RELEASE (__GNU_MP_VERSION * 10000 + __GNU_MP_VERSION_MINOR * 100 + __GNU_MP_VERSION_PATCHLEVEL)
 
 #define __GMP_H__
diff -r de2af9c2b928 -r 53a6f3141deb external/lgpl3/gmp/lib/libgmp/arch/hppa/config.h
--- a/external/lgpl3/gmp/lib/libgmp/arch/hppa/config.h  Mon Jul 12 07:59:51 2021 +0000
+++ b/external/lgpl3/gmp/lib/libgmp/arch/hppa/config.h  Mon Jul 12 09:34:54 2021 +0000
@@ -548,7 +548,7 @@
 #define PACKAGE_NAME "GNU MP"
 
 /* Define to the full name and version of this package. */
-#define PACKAGE_STRING "GNU MP 6.2.0"
+#define PACKAGE_STRING "GNU MP 6.2.1"
 
 /* Define to the one symbol short name of this package. */
 #define PACKAGE_TARNAME "gmp"
@@ -557,7 +557,7 @@
 #define PACKAGE_URL "http://www.gnu.org/software/gmp/";
 
 /* Define to the version of this package. */
-#define PACKAGE_VERSION "6.2.0"
+#define PACKAGE_VERSION "6.2.1"
 
 /* Define as the return type of signal handlers (`int' or `void'). */
 #define RETSIGTYPE void
@@ -590,7 +590,7 @@
 #define TUNE_SQR_TOOM2_MAX SQR_TOOM2_MAX_GENERIC
 
 /* Version number of package */
-#define VERSION "6.2.0"
+#define VERSION "6.2.1"
 
 /* Define to 1 to enable ASSERT checking, per --enable-assert */
 /* #undef WANT_ASSERT */
diff -r de2af9c2b928 -r 53a6f3141deb external/lgpl3/gmp/lib/libgmp/arch/hppa/gmp.h
--- a/external/lgpl3/gmp/lib/libgmp/arch/hppa/gmp.h     Mon Jul 12 07:59:51 2021 +0000
+++ b/external/lgpl3/gmp/lib/libgmp/arch/hppa/gmp.h     Mon Jul 12 09:34:54 2021 +0000
@@ -361,11 +361,9 @@
     GCC 4.3 and above with -std=c99 or -std=gnu99 implements ISO C99
     inline semantics, unless -fgnu89-inline is used.  */
 #ifdef __GNUC__
-#if (defined __GNUC_STDC_INLINE__) || (__GNUC__ == 4 && __GNUC_MINOR__ == 2) \
-  || (defined __GNUC_GNU_INLINE__ && defined __cplusplus)
+#if (defined __GNUC_STDC_INLINE__) || \
+    (__GNUC__ == 4 && __GNUC_MINOR__ >= 2) || (__GNUC__ > 4)
 #define __GMP_EXTERN_INLINE extern __inline__ __attribute__ ((__gnu_inline__))
-#else
-#define __GMP_EXTERN_INLINE      extern __inline__
 #endif
 #define __GMP_INLINE_PROTOTYPES  1
 #endif
@@ -1693,6 +1691,9 @@
 #define mpn_sec_invert_itch __MPN(sec_invert_itch)
 __GMP_DECLSPEC mp_size_t mpn_sec_invert_itch (mp_size_t) __GMP_ATTRIBUTE_PURE;
 
+#define mpn_udiv_w_sdiv __MPN(udiv_w_sdiv)
+__GMP_DECLSPEC mp_limb_t mpn_udiv_w_sdiv (mp_limb_t *, mp_limb_t, mp_limb_t, mp_limb_t);
+
 
 /**************** mpz inlines ****************/
 
@@ -2329,7 +2330,7 @@
 /* Major version number is the value of __GNU_MP__ too, above. */
 #define __GNU_MP_VERSION            6
 #define __GNU_MP_VERSION_MINOR      2
-#define __GNU_MP_VERSION_PATCHLEVEL 0
+#define __GNU_MP_VERSION_PATCHLEVEL 1
 #define __GNU_MP_RELEASE (__GNU_MP_VERSION * 10000 + __GNU_MP_VERSION_MINOR * 100 + __GNU_MP_VERSION_PATCHLEVEL)
 
 #define __GMP_H__
diff -r de2af9c2b928 -r 53a6f3141deb external/lgpl3/gmp/lib/libgmp/arch/ia64/config.h
--- a/external/lgpl3/gmp/lib/libgmp/arch/ia64/config.h  Mon Jul 12 07:59:51 2021 +0000
+++ b/external/lgpl3/gmp/lib/libgmp/arch/ia64/config.h  Mon Jul 12 09:34:54 2021 +0000
@@ -548,7 +548,7 @@
 #define PACKAGE_NAME "GNU MP"
 
 /* Define to the full name and version of this package. */
-#define PACKAGE_STRING "GNU MP 6.2.0"
+#define PACKAGE_STRING "GNU MP 6.2.1"
 
 /* Define to the one symbol short name of this package. */
 #define PACKAGE_TARNAME "gmp"
@@ -557,7 +557,7 @@
 #define PACKAGE_URL "http://www.gnu.org/software/gmp/";
 
 /* Define to the version of this package. */
-#define PACKAGE_VERSION "6.2.0"
+#define PACKAGE_VERSION "6.2.1"
 
 /* Define as the return type of signal handlers (`int' or `void'). */
 #define RETSIGTYPE void
@@ -590,7 +590,7 @@
 #define TUNE_SQR_TOOM2_MAX SQR_TOOM2_MAX_GENERIC
 
 /* Version number of package */
-#define VERSION "6.2.0"
+#define VERSION "6.2.1"
 
 /* Define to 1 to enable ASSERT checking, per --enable-assert */
 /* #undef WANT_ASSERT */
diff -r de2af9c2b928 -r 53a6f3141deb external/lgpl3/gmp/lib/libgmp/arch/ia64/gmp.h
--- a/external/lgpl3/gmp/lib/libgmp/arch/ia64/gmp.h     Mon Jul 12 07:59:51 2021 +0000
+++ b/external/lgpl3/gmp/lib/libgmp/arch/ia64/gmp.h     Mon Jul 12 09:34:54 2021 +0000
@@ -361,11 +361,9 @@
     GCC 4.3 and above with -std=c99 or -std=gnu99 implements ISO C99
     inline semantics, unless -fgnu89-inline is used.  */
 #ifdef __GNUC__
-#if (defined __GNUC_STDC_INLINE__) || (__GNUC__ == 4 && __GNUC_MINOR__ == 2) \
-  || (defined __GNUC_GNU_INLINE__ && defined __cplusplus)
+#if (defined __GNUC_STDC_INLINE__) || \
+    (__GNUC__ == 4 && __GNUC_MINOR__ >= 2) || (__GNUC__ > 4)
 #define __GMP_EXTERN_INLINE extern __inline__ __attribute__ ((__gnu_inline__))
-#else
-#define __GMP_EXTERN_INLINE      extern __inline__
 #endif
 #define __GMP_INLINE_PROTOTYPES  1
 #endif
@@ -1693,6 +1691,9 @@



Home | Main Index | Thread Index | Old Index