Commit Graph

123 Commits

Author SHA1 Message Date
martin
07615c3492 Apply upstream r8705: fix logic error.
Reported by Henning Petersen in PR toolchain/51283.
2016-06-27 11:35:21 +00:00
christos
7e68b5ef19 Add -DPIC for PIE builds so that we can avoid text relocations. 2016-04-12 19:38:41 +00:00
matt
6b3c8b5ddd RISC-V configury. 2014-09-19 17:23:57 +00:00
matt
cbbb2b6894 OR1K configury for NetBSD 2014-09-03 19:11:24 +00:00
kiyohara
6354014157 Revert previous commit. Requested by matt@. 2014-06-24 12:54:56 +00:00
matt
866279dbba Teach configfsf.guess about coldfire and earm 2014-06-23 17:18:43 +00:00
kiyohara
3c3e9119fb Support earm*-*-*. 2014-06-23 12:48:42 +00:00
macallan
c999b0e1d9 on mips64* use generic C functions instead of assembly routines when building
n32 binaries. Should work around PR48696
ok mrg@
2014-05-13 18:46:48 +00:00
joerg
9aad7ddd6d Use C version of umul_ppmm for Clang on MIPS. 2014-03-25 15:28:15 +00:00
riastradh
6cb10275d0 Merge riastradh-drm2 to HEAD. 2014-03-18 18:20:35 +00:00
mrg
aeea229482 rebuild for GMP 5.1.3. 2014-03-09 20:54:01 +00:00
christos
884d1bf4a2 powerpc64 support. 2014-02-26 15:35:05 +00:00
joerg
59c1e99909 -march=armv6 is no longer needed here, the multiplication instructions
are now parsed correctly for all ARM variants in LLVM.
2014-01-15 22:23:14 +00:00
joerg
aa98996d36 Should be ARMv6. 2013-12-25 22:54:24 +00:00
joerg
8100ad861d Tag files using "more" advanced instructions than ARMv4 ISA with the
necessary support.
2013-12-25 22:06:11 +00:00
gdt
2fcdfb0522 rm -f an .objdir file before copying to it. 2013-12-19 01:10:19 +00:00
gdt
855b0c1683 When copying an .OBJDIR file, rm -f first.
Arguably there should be some general mechanism, but there isn't yet,
and I hit a build failure at

	cp ${.CURDIR}/arch/${GMP_MACHINE_ARCH}/config.m4 ${.OBJDIR}/config.m4

because my source tree is mode 444, and hence my previously-copied
config.m4 was too.
2013-12-19 01:07:03 +00:00
mrg
c2447f5c30 add a couple of more things to worry about. 2013-12-04 11:43:52 +00:00
mrg
196f70e45c repply the hacks from rev 1.2 to the gmp*.h files, and
make a note about it.
2013-12-04 01:03:15 +00:00
mrg
5f8d1ba0a4 make trialdivtab.h depend on the Makefile. 2013-12-04 00:57:21 +00:00
mrg
ad5c4fb9d3 consolidate the trialdivtab.h generation code. 2013-12-04 00:49:17 +00:00
martin
3c849f9e1c remove accidently commited file 2013-12-03 08:49:09 +00:00
skrll
863426f493 Fix typo in secureplt support. 2013-12-02 13:16:49 +00:00
martin
5d372c84d4 Enable warnings on sparc64 again 2013-12-01 09:29:37 +00:00
martin
a2fc3339a7 Apply upstream fix for warnings seen on sparc64 2013-12-01 09:29:06 +00:00
wiz
43d5f031a4 Disable parentheses checks since libgmp doesn't pass them. 2013-11-30 23:45:05 +00:00
martin
8bbc6acbfe Avoid warning on sparc64 2013-11-30 20:30:22 +00:00
jnemeth
bd07cf4a8f PR/48419 - Henning Petersen -- unbalanced parenthesis 2013-11-30 19:05:25 +00:00
martin
9e26225e44 Make warnings non-fatal on sparc64.
Warings reported upstream.
2013-11-29 14:51:36 +00:00
mrg
c8016f96cd fix definition of __GMP_CC. 2013-11-29 13:48:15 +00:00
mrg
3fd6c8d025 clean up __GMP_CC, GMP_MPARAM_H_SUGGEST and CONFIG_TOP_SRCDIR. 2013-11-29 13:26:16 +00:00
mrg
0aff01013b GMP 5.1.3 updates for armeb and earm. 2013-11-29 08:54:48 +00:00
mrg
e19c02daef GMP 5.1.3 files for earmeb and mips64el. 2013-11-29 08:10:04 +00:00
mrg
65705a8482 updates for GMP 5.1.3, and new build files for most platforms. 2013-11-29 08:03:41 +00:00
mrg
41ff5b3ae1 port forward our changes:
- allow working on thumb-missing platforms
- fix some minor issues
2013-11-29 08:02:28 +00:00
mrg
3f2a32320a merge GMP 5.1.3 (part 1.) 2013-11-29 07:57:10 +00:00
mrg
dab47db46b initial import GMP 5.1.3 sources. changes include:
fixes for:
- mpn_sbpi1_div_qr_sec and mpn_sbpi1_div_r_sec
- mpz_powm_ui
- AMD family 11h
- mpz_powm_sec and mpn_powm_sec
- ASSERT() fixes
- gcd, gcdext, and invert function fixes
- some PPC division operations
2013-11-29 07:49:47 +00:00
mrg
3119017743 find mpfr.h. 2013-11-28 14:21:31 +00:00
mrg
2d9724377a build fixes for MPFR 3.1.2. 2013-11-28 12:36:55 +00:00
mrg
ac86932595 merge MPFR 3.1.2. changes to moved srcs are already merged. 2013-11-28 12:35:03 +00:00
mrg
d59437c0bc initial import of MPFR 3.1.2. changes since 3.0.1:
- Bug fixes (see <http://www.mpfr.org/mpfr-3.1.1/#fixed> or ChangeLog file).
- Bug fixes (see <http://www.mpfr.org/mpfr-3.1.0/#fixed> or ChangeLog file).
- TLS support is now detected automatically. If TLS is supported, MPFR is
  built as thread safe by default. To disable TLS explicitly, configure
  MPFR with --disable-thread-safe.
- The mpfr_urandom and mpfr_urandomb functions now return identical values
  on processors with different word size (assuming the same random seed, and
  since the GMP random generator does not depend itself on the word size,
  cf http://gmplib.org/list-archives/gmp-devel/2010-September/001642.html).
- The mpfr_add_one_ulp and mpfr_sub_one_ulp macros (which are obsolete and
  no more documented) will be removed in a future release.
- Speed improvement for the mpfr_sqr and mpfr_div functions using Mulders'
  algorithm. As a consequence, other functions using those routines are
  also faster.
- Much faster formatted output (mpfr_printf, etc.) with %Rg and similar.
- New functions mpfr_buildopt_gmpinternals_p, mpfr_buildopt_tune_case,
  mpfr_frexp, mpfr_grandom and mpfr_z_sub.
- New divide-by-zero exception (flag) and associated functions.
- Internal change: the logging mechanism has been improved.
- Bug fixes, in particular a huge inefficiency in mpfr_exp (when the
  target precision is less than MPFR_EXP_THRESHOLD) on hard-to-round
  cases, which can take several minutes.
2013-11-28 12:30:54 +00:00
mrg
a21412c687 build files for mpc 1.0.1. 2013-11-28 10:57:30 +00:00
mrg
8fa80f2961 initial import of MPC 1.0.1 package. changes since 0.9:
Changes in version 1.0.1:
  - Switched to automake 1.11.6, see
    https://lists.gnu.org/archive/html/automake/2012-07/msg00023.html
  - #14669: Fixed extraction of CC from gmp.h
  - Fixed case of intermediate zero real or imaginary part in mpc_fma,
    found by hydra with GMP_CHECK_RANDOMIZE=1346362345

Changes in version 1.0:
  - First release as a GNU package
  - License change: LGPLv3+ for code, GFDLv1.3+ (with no invariant sections)
    for documentation
  - 100% of all lines are covered by tests
  - Functions renamed:
    mpc_mul_2exp to mpc_mul_2ui, mpc_div_2exp to mpc_div_2ui
  - 0^0, which returned (NaN,NaN) previously, now returns (1,+0)
  - Removed compatibility with K&R compilers, untestable due to lack of
    such compilers
  - New functions: mpc_log10, mpc_mul_2si, mpc_div_2si
  - Speed-ups:
    - mpc_fma
  - Bug fixes:
    - mpc_div and mpc_norm now return a value indicating the effective
      rounding direction, as the other functions
    - mpc_mul, mpc_sqr and mpc_norm now return correct results even if there
      are over- or underflows during the computation
    - mpc_asin, mpc_proj, mpc_sqr: Wrong result when input variable has
      infinite part and equals output variable is corrected
    - mpc_fr_sub: Wrong return value for imaginary part is corrected
2013-11-28 10:32:39 +00:00
skrll
8cb04b2cd3 Appease new gas. Already fixed upstream. 2013-09-30 12:30:51 +00:00
matt
2959ac0b5b Add dropped v 2013-08-20 00:20:55 +00:00
matt
0e6587832d always compile GMP and MPFR as ARM 2013-08-19 22:25:32 +00:00
matt
0d76fcf318 Use armv[4-7] to be consistend 2013-08-06 05:35:56 +00:00
matt
10ba3edce2 Use GMP_MACHINE_ARCH which is MACHINE_ARCH with arm substituted for armv[467]. 2013-08-05 01:46:57 +00:00
matt
6618efcaf4 If MACHINE_ARCH contains armv[467], use arm instead. 2013-08-04 23:37:54 +00:00
matt
3ab889c115 gmp, binutils, gcc, gdb configury for coldfire 2013-07-19 22:14:23 +00:00