CVS commit: src/external/lgpl3/gmp/dist
Module Name:src Committed By: mrg Date: Wed Feb 7 07:12:17 UTC 2024 Modified Files: src/external/lgpl3/gmp/dist: config.sub Log Message: add turbosparc to the list of known sparc machines. reported by Ken Wellsch on port-sparc. config.guess knows that this CPU is a turbosparc, and that's what passes "turbosparc" not "sparc" further down. XXX: pullup-10. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/external/lgpl3/gmp/dist/config.sub Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/lgpl3/gmp/dist
Module Name:src Committed By: mrg Date: Wed Feb 7 07:12:17 UTC 2024 Modified Files: src/external/lgpl3/gmp/dist: config.sub Log Message: add turbosparc to the list of known sparc machines. reported by Ken Wellsch on port-sparc. config.guess knows that this CPU is a turbosparc, and that's what passes "turbosparc" not "sparc" further down. XXX: pullup-10. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/external/lgpl3/gmp/dist/config.sub Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/lgpl3/gmp/dist/config.sub diff -u src/external/lgpl3/gmp/dist/config.sub:1.4 src/external/lgpl3/gmp/dist/config.sub:1.5 --- src/external/lgpl3/gmp/dist/config.sub:1.4 Sat Oct 31 21:48:06 2020 +++ src/external/lgpl3/gmp/dist/config.sub Wed Feb 7 07:12:17 2024 @@ -116,7 +116,7 @@ powerpc740 | powerpc7400 | powerpc74[4-5 powerpc801 | powerpc821 | powerpc823 | powerpc860 | \ powerpc64) test_cpu=powerpc ;; -sparcv8 | supersparc | microsparc | \ +sparcv8 | supersparc | microsparc | turbosparc | \ ultrasparc | ultrasparc2 | ultrasparc2i | ultrasparc3 | ultrasparct[12345]) test_cpu=sparc ;; sh2)
CVS commit: src/external/lgpl3/gmp/dist
Module Name:src Committed By: christos Date: Tue May 31 17:52:35 UTC 2022 Modified Files: src/external/lgpl3/gmp/dist: longlong.h Log Message: fix lint build on vax To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/external/lgpl3/gmp/dist/longlong.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/lgpl3/gmp/dist
Module Name:src Committed By: christos Date: Tue May 31 17:52:35 UTC 2022 Modified Files: src/external/lgpl3/gmp/dist: longlong.h Log Message: fix lint build on vax To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/external/lgpl3/gmp/dist/longlong.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/lgpl3/gmp/dist/longlong.h diff -u src/external/lgpl3/gmp/dist/longlong.h:1.5 src/external/lgpl3/gmp/dist/longlong.h:1.6 --- src/external/lgpl3/gmp/dist/longlong.h:1.5 Sun Jul 11 17:15:45 2021 +++ src/external/lgpl3/gmp/dist/longlong.h Tue May 31 13:52:35 2022 @@ -371,7 +371,7 @@ long __MPN(count_leading_zeros) (UDItype #endif -#if defined (__GNUC__) +#if defined (__GNUC__) || defined(__lint__) /* We sometimes need to clobber "cc" with gcc2, but that would not be understood by gcc1. Use cpp to avoid major code duplication. */
CVS commit: src/external/lgpl3/gmp/dist
Module Name:src Committed By: christos Date: Tue Dec 7 02:22:37 UTC 2021 Modified Files: src/external/lgpl3/gmp/dist: gmp-impl.h Log Message: fix alloca for NetBSD lint To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/external/lgpl3/gmp/dist/gmp-impl.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/lgpl3/gmp/dist/gmp-impl.h diff -u src/external/lgpl3/gmp/dist/gmp-impl.h:1.6 src/external/lgpl3/gmp/dist/gmp-impl.h:1.7 --- src/external/lgpl3/gmp/dist/gmp-impl.h:1.6 Sun Jul 11 17:15:45 2021 +++ src/external/lgpl3/gmp/dist/gmp-impl.h Mon Dec 6 21:22:37 2021 @@ -210,6 +210,8 @@ see https://www.gnu.org/licenses/. */ # else # if !defined (__NetBSD__) char *alloca (); +# else +# include # endif # endif #endif
CVS commit: src/external/lgpl3/gmp/dist
Module Name:src Committed By: christos Date: Tue Dec 7 02:22:37 UTC 2021 Modified Files: src/external/lgpl3/gmp/dist: gmp-impl.h Log Message: fix alloca for NetBSD lint To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/external/lgpl3/gmp/dist/gmp-impl.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/lgpl3/gmp/dist/mpz
Module Name:src Committed By: mrg Date: Mon Nov 29 03:57:22 UTC 2021 Modified Files: src/external/lgpl3/gmp/dist/mpz: inp_raw.c Log Message: gmp: pullover fixes for https://nvd.nist.gov/vuln/detail/CVE-2021-43618 changeset 18135:561a9c25298e mpz/inp_raw.c: Avoid bit size overflows author Marco Bodrato XXX: pullup-8, pullup-9 To generate a diff of this commit: cvs rdiff -u -r1.1.1.4 -r1.2 src/external/lgpl3/gmp/dist/mpz/inp_raw.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/lgpl3/gmp/dist/mpz
Module Name:src Committed By: mrg Date: Mon Nov 29 03:57:22 UTC 2021 Modified Files: src/external/lgpl3/gmp/dist/mpz: inp_raw.c Log Message: gmp: pullover fixes for https://nvd.nist.gov/vuln/detail/CVE-2021-43618 changeset 18135:561a9c25298e mpz/inp_raw.c: Avoid bit size overflows author Marco Bodrato XXX: pullup-8, pullup-9 To generate a diff of this commit: cvs rdiff -u -r1.1.1.4 -r1.2 src/external/lgpl3/gmp/dist/mpz/inp_raw.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/lgpl3/gmp/dist/mpz/inp_raw.c diff -u src/external/lgpl3/gmp/dist/mpz/inp_raw.c:1.1.1.4 src/external/lgpl3/gmp/dist/mpz/inp_raw.c:1.2 --- src/external/lgpl3/gmp/dist/mpz/inp_raw.c:1.1.1.4 Sun Sep 27 00:27:05 2020 +++ src/external/lgpl3/gmp/dist/mpz/inp_raw.c Mon Nov 29 03:57:22 2021 @@ -88,8 +88,11 @@ mpz_inp_raw (mpz_ptr x, FILE *fp) abs_csize = ABS (csize); + if (UNLIKELY (abs_csize > ~(mp_bitcnt_t) 0 / 8)) +return 0; /* Bit size overflows */ + /* round up to a multiple of limbs */ - abs_xsize = BITS_TO_LIMBS (abs_csize*8); + abs_xsize = BITS_TO_LIMBS ((mp_bitcnt_t) abs_csize * 8); if (abs_xsize != 0) {
Re: CVS commit: src/external/lgpl3/gmp/dist
On Jun 23, 2014, at 5:48 AM, KIYOHARA Takashi kiyoh...@netbsd.org wrote: Module Name: src Committed By: kiyohara Date: Mon Jun 23 12:48:43 UTC 2014 Modified Files: src/external/lgpl3/gmp/dist: configure Log Message: Support earm*-*-*. why? we don't use that.
Re: CVS commit: src/external/lgpl3/gmp/dist
On 16.12.12 15:40, Christoph Egger wrote: Module Name:src Committed By: cegger Date: Sun Dec 16 14:40:08 UTC 2012 Modified Files: src/external/lgpl3/gmp/dist: gmp-h.in Log Message: Always use extern __inline__ with gcc= 4.2. Fall back to prototypes on older gcc versions. Fixes link errors (duplicate symbols) when mpfr's configure check for libgmp Forgot to mention this has been discussed on tech-toolchain. Christoph