Source-Changes-HG archive

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

[src/trunk]: src/external/lgpl3/gmp/dist merge GMP 6.1.2.



details:   https://anonhg.NetBSD.org/src/rev/8b9ff11521af
branches:  trunk
changeset: 826225:8b9ff11521af
user:      mrg <mrg%NetBSD.org@localhost>
date:      Tue Aug 22 09:55:44 2017 +0000

description:
merge GMP 6.1.2.

diffstat:

 external/lgpl3/gmp/dist/COPYING.LIB                           |   165 -
 external/lgpl3/gmp/dist/Makefile.in                           |   521 +-
 external/lgpl3/gmp/dist/acinclude.m4                          |   289 +-
 external/lgpl3/gmp/dist/configfsf.guess                       |   369 +-
 external/lgpl3/gmp/dist/configfsf.sub                         |   110 +-
 external/lgpl3/gmp/dist/configure                             |  7971 +++------
 external/lgpl3/gmp/dist/gmp-h.in                              |   235 +-
 external/lgpl3/gmp/dist/gmp-impl.h                            |   426 +-
 external/lgpl3/gmp/dist/longlong.h                            |   469 +-
 external/lgpl3/gmp/dist/mpn/Makefile.in                       |   318 +-
 external/lgpl3/gmp/dist/mpn/a29k/add_n.s                      |   118 -
 external/lgpl3/gmp/dist/mpn/a29k/addmul_1.s                   |   111 -
 external/lgpl3/gmp/dist/mpn/a29k/lshift.s                     |    91 -
 external/lgpl3/gmp/dist/mpn/a29k/mul_1.s                      |    95 -
 external/lgpl3/gmp/dist/mpn/a29k/rshift.s                     |    87 -
 external/lgpl3/gmp/dist/mpn/a29k/sub_n.s                      |   118 -
 external/lgpl3/gmp/dist/mpn/a29k/submul_1.s                   |   114 -
 external/lgpl3/gmp/dist/mpn/a29k/udiv.s                       |    28 -
 external/lgpl3/gmp/dist/mpn/a29k/umul.s                       |    27 -
 external/lgpl3/gmp/dist/mpn/alpha/ev6/sqr_diagonal.asm        |   115 -
 external/lgpl3/gmp/dist/mpn/alpha/sqr_diagonal.asm            |    65 -
 external/lgpl3/gmp/dist/mpn/arm/aorscnd_n.asm                 |   124 -
 external/lgpl3/gmp/dist/mpn/arm/aorslsh1_n.asm                |    39 +-
 external/lgpl3/gmp/dist/mpn/arm/bdiv_dbm1c.asm                |    37 +-
 external/lgpl3/gmp/dist/mpn/arm/com.asm                       |    40 +-
 external/lgpl3/gmp/dist/mpn/arm/copyd.asm                     |    71 +-
 external/lgpl3/gmp/dist/mpn/arm/copyi.asm                     |    67 +-
 external/lgpl3/gmp/dist/mpn/arm/invert_limb.asm               |    38 +-
 external/lgpl3/gmp/dist/mpn/arm/logops_n.asm                  |    41 +-
 external/lgpl3/gmp/dist/mpn/arm/lshift.asm                    |    49 +-
 external/lgpl3/gmp/dist/mpn/arm/lshiftc.asm                   |    49 +-
 external/lgpl3/gmp/dist/mpn/arm/mod_34lsub1.asm               |    52 +-
 external/lgpl3/gmp/dist/mpn/arm/mode1o.asm                    |    49 +-
 external/lgpl3/gmp/dist/mpn/arm/rsh1aors_n.asm                |    63 +-
 external/lgpl3/gmp/dist/mpn/arm/rshift.asm                    |    51 +-
 external/lgpl3/gmp/dist/mpn/arm/udiv.asm                      |    36 +-
 external/lgpl3/gmp/dist/mpn/arm/v6t2/mode1o.asm               |    75 -
 external/lgpl3/gmp/dist/mpn/clipper/add_n.s                   |    46 -
 external/lgpl3/gmp/dist/mpn/clipper/mul_1.s                   |    45 -
 external/lgpl3/gmp/dist/mpn/clipper/sub_n.s                   |    46 -
 external/lgpl3/gmp/dist/mpn/generic/addcnd_n.c                |    62 -
 external/lgpl3/gmp/dist/mpn/generic/div_qr_2.c                |    48 +-
 external/lgpl3/gmp/dist/mpn/generic/divrem_2.c                |    35 +-
 external/lgpl3/gmp/dist/mpn/generic/get_d.c                   |    27 +-
 external/lgpl3/gmp/dist/mpn/generic/mod_1_1.c                 |    55 +-
 external/lgpl3/gmp/dist/mpn/generic/mod_1_2.c                 |    35 +-
 external/lgpl3/gmp/dist/mpn/generic/mod_1_3.c                 |    35 +-
 external/lgpl3/gmp/dist/mpn/generic/mod_1_4.c                 |    37 +-
 external/lgpl3/gmp/dist/mpn/generic/powm_sec.c                |   446 -
 external/lgpl3/gmp/dist/mpn/generic/sb_div_sec.c              |   105 -
 external/lgpl3/gmp/dist/mpn/generic/sbpi1_div_sec.c           |   162 -
 external/lgpl3/gmp/dist/mpn/generic/subcnd_n.c                |    62 -
 external/lgpl3/gmp/dist/mpn/generic/tabselect.c               |    48 -
 external/lgpl3/gmp/dist/mpn/generic/toom_interpolate_7pts.c   |    34 +-
 external/lgpl3/gmp/dist/mpn/i960/README                       |     9 -
 external/lgpl3/gmp/dist/mpn/i960/add_n.s                      |    41 -
 external/lgpl3/gmp/dist/mpn/i960/addmul_1.s                   |    46 -
 external/lgpl3/gmp/dist/mpn/i960/mul_1.s                      |    43 -
 external/lgpl3/gmp/dist/mpn/i960/sub_n.s                      |    41 -
 external/lgpl3/gmp/dist/mpn/ia64/aorslsh1_n.asm               |    51 -
 external/lgpl3/gmp/dist/mpn/ia64/aorslsh2_n.asm               |    51 -
 external/lgpl3/gmp/dist/mpn/ia64/aorslshC_n.asm               |   360 -
 external/lgpl3/gmp/dist/mpn/ia64/tabselect.asm                |   139 -
 external/lgpl3/gmp/dist/mpn/ns32k/add_n.s                     |    44 -
 external/lgpl3/gmp/dist/mpn/ns32k/addmul_1.s                  |    46 -
 external/lgpl3/gmp/dist/mpn/ns32k/mul_1.s                     |    45 -
 external/lgpl3/gmp/dist/mpn/ns32k/sub_n.s                     |    44 -
 external/lgpl3/gmp/dist/mpn/ns32k/submul_1.s                  |    46 -
 external/lgpl3/gmp/dist/mpn/powerpc32/elf.m4                  |    47 +-
 external/lgpl3/gmp/dist/mpn/powerpc32/sqr_diagonal.asm        |   103 -
 external/lgpl3/gmp/dist/mpn/powerpc32/tabselect.asm           |    98 -
 external/lgpl3/gmp/dist/mpn/powerpc64/mode64/aorscnd_n.asm    |   185 -
 external/lgpl3/gmp/dist/mpn/powerpc64/mode64/aorslsh1_n.asm   |    44 -
 external/lgpl3/gmp/dist/mpn/powerpc64/mode64/aorslsh2_n.asm   |    44 -
 external/lgpl3/gmp/dist/mpn/powerpc64/mode64/aorslshC_n.asm   |   156 -
 external/lgpl3/gmp/dist/mpn/powerpc64/mode64/rsh1add_n.asm    |   102 -
 external/lgpl3/gmp/dist/mpn/powerpc64/mode64/rsh1sub_n.asm    |   100 -
 external/lgpl3/gmp/dist/mpn/powerpc64/tabselect.asm           |    96 -
 external/lgpl3/gmp/dist/mpn/pyr/add_n.s                       |    74 -
 external/lgpl3/gmp/dist/mpn/pyr/addmul_1.s                    |    43 -
 external/lgpl3/gmp/dist/mpn/pyr/mul_1.s                       |    40 -
 external/lgpl3/gmp/dist/mpn/pyr/sub_n.s                       |    74 -
 external/lgpl3/gmp/dist/mpn/sparc64/lshift.asm                |   140 +
 external/lgpl3/gmp/dist/mpn/sparc64/rshift.asm                |   142 +
 external/lgpl3/gmp/dist/mpn/sparc64/ultrasparc1234/lshift.asm |   150 -
 external/lgpl3/gmp/dist/mpn/sparc64/ultrasparc1234/rshift.asm |   147 -
 external/lgpl3/gmp/dist/mpn/sparc64/ultrasparct1/lshift.asm   |    59 -
 external/lgpl3/gmp/dist/mpn/sparc64/ultrasparct1/lshiftc.asm  |    60 -
 external/lgpl3/gmp/dist/mpn/sparc64/ultrasparct1/rshift.asm   |    61 -
 external/lgpl3/gmp/dist/mpn/x86/tabselect.asm                 |   104 -
 external/lgpl3/gmp/dist/mpn/x86_64/aorscnd_n.asm              |   172 -
 external/lgpl3/gmp/dist/mpn/x86_64/mul_basecase.asm           |   458 -
 external/lgpl3/gmp/dist/mpn/x86_64/mullo_basecase.asm         |   425 -
 external/lgpl3/gmp/dist/mpn/x86_64/mulmid_basecase.asm        |   548 -
 external/lgpl3/gmp/dist/mpn/x86_64/redc_1.asm                 |   327 -
 external/lgpl3/gmp/dist/mpn/x86_64/sqr_basecase.asm           |   796 -
 external/lgpl3/gmp/dist/mpn/x86_64/tabselect.asm              |   115 -
 external/lgpl3/gmp/dist/mpn/z8000/README                      |    34 -
 external/lgpl3/gmp/dist/mpn/z8000/add_n.s                     |    51 -
 external/lgpl3/gmp/dist/mpn/z8000/gmp-mparam.h                |    21 -
 external/lgpl3/gmp/dist/mpn/z8000/mul_1.s                     |    66 -
 external/lgpl3/gmp/dist/mpn/z8000/sub_n.s                     |    52 -
 external/lgpl3/gmp/dist/tests/t-gmpmax.c                      |    73 -
 103 files changed, 5689 insertions(+), 14575 deletions(-)

diffs (truncated from 27961 to 300 lines):

diff -r 7030efdae5b2 -r 8b9ff11521af external/lgpl3/gmp/dist/COPYING.LIB
--- a/external/lgpl3/gmp/dist/COPYING.LIB       Tue Aug 22 09:40:46 2017 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,165 +0,0 @@
-                  GNU LESSER GENERAL PUBLIC LICENSE
-                       Version 3, 29 June 2007
-
- Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
- Everyone is permitted to copy and distribute verbatim copies
- of this license document, but changing it is not allowed.
-
-
-  This version of the GNU Lesser General Public License incorporates
-the terms and conditions of version 3 of the GNU General Public
-License, supplemented by the additional permissions listed below.
-
-  0. Additional Definitions. 
-
-  As used herein, "this License" refers to version 3 of the GNU Lesser
-General Public License, and the "GNU GPL" refers to version 3 of the GNU
-General Public License.
-
-  "The Library" refers to a covered work governed by this License,
-other than an Application or a Combined Work as defined below.
-
-  An "Application" is any work that makes use of an interface provided
-by the Library, but which is not otherwise based on the Library.
-Defining a subclass of a class defined by the Library is deemed a mode
-of using an interface provided by the Library.
-
-  A "Combined Work" is a work produced by combining or linking an
-Application with the Library.  The particular version of the Library
-with which the Combined Work was made is also called the "Linked
-Version".
-
-  The "Minimal Corresponding Source" for a Combined Work means the
-Corresponding Source for the Combined Work, excluding any source code
-for portions of the Combined Work that, considered in isolation, are
-based on the Application, and not on the Linked Version.
-
-  The "Corresponding Application Code" for a Combined Work means the
-object code and/or source code for the Application, including any data
-and utility programs needed for reproducing the Combined Work from the
-Application, but excluding the System Libraries of the Combined Work.
-
-  1. Exception to Section 3 of the GNU GPL.
-
-  You may convey a covered work under sections 3 and 4 of this License
-without being bound by section 3 of the GNU GPL.
-
-  2. Conveying Modified Versions.
-
-  If you modify a copy of the Library, and, in your modifications, a
-facility refers to a function or data to be supplied by an Application
-that uses the facility (other than as an argument passed when the
-facility is invoked), then you may convey a copy of the modified
-version:
-
-   a) under this License, provided that you make a good faith effort to
-   ensure that, in the event an Application does not supply the
-   function or data, the facility still operates, and performs
-   whatever part of its purpose remains meaningful, or
-
-   b) under the GNU GPL, with none of the additional permissions of
-   this License applicable to that copy.
-
-  3. Object Code Incorporating Material from Library Header Files.
-
-  The object code form of an Application may incorporate material from
-a header file that is part of the Library.  You may convey such object
-code under terms of your choice, provided that, if the incorporated
-material is not limited to numerical parameters, data structure
-layouts and accessors, or small macros, inline functions and templates
-(ten or fewer lines in length), you do both of the following:
-
-   a) Give prominent notice with each copy of the object code that the
-   Library is used in it and that the Library and its use are
-   covered by this License.
-
-   b) Accompany the object code with a copy of the GNU GPL and this license
-   document.
-
-  4. Combined Works.
-
-  You may convey a Combined Work under terms of your choice that,
-taken together, effectively do not restrict modification of the
-portions of the Library contained in the Combined Work and reverse
-engineering for debugging such modifications, if you also do each of
-the following:
-
-   a) Give prominent notice with each copy of the Combined Work that
-   the Library is used in it and that the Library and its use are
-   covered by this License.
-
-   b) Accompany the Combined Work with a copy of the GNU GPL and this license
-   document.
-
-   c) For a Combined Work that displays copyright notices during
-   execution, include the copyright notice for the Library among
-   these notices, as well as a reference directing the user to the
-   copies of the GNU GPL and this license document.
-
-   d) Do one of the following:
-
-       0) Convey the Minimal Corresponding Source under the terms of this
-       License, and the Corresponding Application Code in a form
-       suitable for, and under terms that permit, the user to
-       recombine or relink the Application with a modified version of
-       the Linked Version to produce a modified Combined Work, in the
-       manner specified by section 6 of the GNU GPL for conveying
-       Corresponding Source.
-
-       1) Use a suitable shared library mechanism for linking with the
-       Library.  A suitable mechanism is one that (a) uses at run time
-       a copy of the Library already present on the user's computer
-       system, and (b) will operate properly with a modified version
-       of the Library that is interface-compatible with the Linked
-       Version. 
-
-   e) Provide Installation Information, but only if you would otherwise
-   be required to provide such information under section 6 of the
-   GNU GPL, and only to the extent that such information is
-   necessary to install and execute a modified version of the
-   Combined Work produced by recombining or relinking the
-   Application with a modified version of the Linked Version. (If
-   you use option 4d0, the Installation Information must accompany
-   the Minimal Corresponding Source and Corresponding Application
-   Code. If you use option 4d1, you must provide the Installation
-   Information in the manner specified by section 6 of the GNU GPL
-   for conveying Corresponding Source.)
-
-  5. Combined Libraries.
-
-  You may place library facilities that are a work based on the
-Library side by side in a single library together with other library
-facilities that are not Applications and are not covered by this
-License, and convey such a combined library under terms of your
-choice, if you do both of the following:
-
-   a) Accompany the combined library with a copy of the same work based
-   on the Library, uncombined with any other library facilities,
-   conveyed under the terms of this License.
-
-   b) Give prominent notice with the combined library that part of it
-   is a work based on the Library, and explaining where to find the
-   accompanying uncombined form of the same work.
-
-  6. Revised Versions of the GNU Lesser General Public License.
-
-  The Free Software Foundation may publish revised and/or new versions
-of the GNU Lesser General Public License from time to time. Such new
-versions will be similar in spirit to the present version, but may
-differ in detail to address new problems or concerns.
-
-  Each version is given a distinguishing version number. If the
-Library as you received it specifies that a certain numbered version
-of the GNU Lesser General Public License "or any later version"
-applies to it, you have the option of following the terms and
-conditions either of that published version or of any later version
-published by the Free Software Foundation. If the Library as you
-received it does not specify a version number of the GNU Lesser
-General Public License, you may choose any version of the GNU Lesser
-General Public License ever published by the Free Software Foundation.
-
-  If the Library as you received it specifies that a proxy can decide
-whether future versions of the GNU Lesser General Public License shall
-apply, that proxy's public statement of acceptance of any version is
-permanent authorization for you to choose that version for the
-Library.
diff -r 7030efdae5b2 -r 8b9ff11521af external/lgpl3/gmp/dist/Makefile.in
--- a/external/lgpl3/gmp/dist/Makefile.in       Tue Aug 22 09:40:46 2017 +0000
+++ b/external/lgpl3/gmp/dist/Makefile.in       Tue Aug 22 09:55:44 2017 +0000
@@ -1,9 +1,8 @@
-# Makefile.in generated by automake 1.11.6 from Makefile.am.
+# Makefile.in generated by automake 1.15 from Makefile.am.
 # @configure_input@
 
-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
-# Foundation, Inc.
+# Copyright (C) 1994-2014 Free Software Foundation, Inc.
+
 # This Makefile.in is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
@@ -15,23 +14,34 @@
 
 @SET_MAKE@
 
-# Copyright 1991, 1993, 1994, 1996, 1997, 1999, 2000, 2001, 2002, 2003, 2004,
-# 2006, 2007, 2008, 2009, 2011, 2012, 2013 Free Software Foundation, Inc.
+# Copyright 1991, 1993, 1994, 1996, 1997, 1999-2004, 2006-2009, 2011-2016 Free
+# Software Foundation, Inc.
+#
+#  This file is part of the GNU MP Library.
 #
-# This file is part of the GNU MP Library.
+#  The GNU MP Library is free software; you can redistribute it and/or modify
+#  it under the terms of either:
+#
+#    * the GNU Lesser General Public License as published by the Free
+#      Software Foundation; either version 3 of the License, or (at your
+#      option) any later version.
+#
+#  or
 #
-# The GNU MP Library is free software; you can redistribute it and/or modify
-# it under the terms of the GNU Lesser General Public License as published by
-# the Free Software Foundation; either version 3 of the License, or (at your
-# option) any later version.
+#    * the GNU General Public License as published by the Free Software
+#      Foundation; either version 2 of the License, or (at your option) any
+#      later version.
+#
+#  or both in parallel, as here.
 #
-# The GNU MP Library is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
-# or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public
-# License for more details.
+#  The GNU MP Library is distributed in the hope that it will be useful, but
+#  WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+#  or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+#  for more details.
 #
-# You should have received a copy of the GNU Lesser General Public License
-# along with the GNU MP Library.  If not, see http://www.gnu.org/licenses/.
+#  You should have received copies of the GNU General Public License and the
+#  GNU Lesser General Public License along with the GNU MP Library.  If not,
+#  see https://www.gnu.org/licenses/.
 
 # The following options are the same as AM_INIT_AUTOMAKE in configure.in,
 # except no $(top_builddir) on ansi2knr.  That directory is wanted for the
@@ -86,7 +96,10 @@
 #        5.1.0   11:0:1    7:0:3     -
 #        5.1.1   11:1:1    7:1:3     -
 #        5.1.2   11:2:1    7:2:3     -
-#        5.1.3   11:3:1    7:3:3     -
+#        6.0.0   12:0:2    8:0:4     -
+#        6.1.0   13:0:3    9:0:5     -
+#        6.1.1   13:1:3    9:1:5     -
+#        6.1.2   13:2:3    9:2:5     -
 #
 # Starting at 3:0:0 is a slight abuse of the versioning system, but it
 # ensures we're past soname libgmp.so.2, which was used on Debian GNU/Linux
@@ -101,23 +114,61 @@
 
 
 VPATH = @srcdir@
-am__make_dryrun = \
-  { \
-    am__dry=no; \
+am__is_gnu_make = { \
+  if test -z '$(MAKELEVEL)'; then \
+    false; \
+  elif test -n '$(MAKE_HOST)'; then \
+    true; \
+  elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
+    true; \
+  else \
+    false; \
+  fi; \
+}
+am__make_running_with_option = \
+  case $${target_option-} in \
+      ?) ;; \
+      *) echo "am__make_running_with_option: internal error: invalid" \
+              "target option '$${target_option-}' specified" >&2; \
+         exit 1;; \
+  esac; \
+  has_opt=no; \
+  sane_makeflags=$$MAKEFLAGS; \
+  if $(am__is_gnu_make); then \
+    sane_makeflags=$$MFLAGS; \
+  else \
     case $$MAKEFLAGS in \
       *\\[\ \  ]*) \
-        echo 'am--echo: ; @echo "AM"  OK' | $(MAKE) -f - 2>/dev/null \
-          | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
-      *) \
-        for am__flg in $$MAKEFLAGS; do \
-          case $$am__flg in \
-            *=*|--*) ;; \
-            *n*) am__dry=yes; break;; \
-          esac; \
-        done;; \
+        bs=\\; \
+        sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+          | sed "s/$$bs$$bs[$$bs $$bs  ]*//g"`;; \
     esac; \
-    test $$am__dry = yes; \
-  }
+  fi; \
+  skip_next=no; \
+  strip_trailopt () \
+  { \
+    flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+  }; \
+  for flg in $$sane_makeflags; do \
+    test $$skip_next = yes && { skip_next=no; continue; }; \



Home | Main Index | Thread Index | Old Index