diff options
author | Kevin B Kenny <kennykb@acm.org> | 2007-02-13 03:43:40 (GMT) |
---|---|---|
committer | Kevin B Kenny <kennykb@acm.org> | 2007-02-13 03:43:40 (GMT) |
commit | a03146b597b00bea94e0be033795d2afe4c2f0fc (patch) | |
tree | f7de8f94abd586b2e67d3a8a21084e6795b73f30 /generic | |
parent | 1c067fb11af9b699bf05dcb25667aece3c696d61 (diff) | |
download | tcl-a03146b597b00bea94e0be033795d2afe4c2f0fc.zip tcl-a03146b597b00bea94e0be033795d2afe4c2f0fc.tar.gz tcl-a03146b597b00bea94e0be033795d2afe4c2f0fc.tar.bz2 |
* tools/fix_tommath_h.tcl: Added code to patch out a check for
__x86_64__ that caused Tommath to use __attributes(TI)__ for
the mp_word type. Tetra-int's simply fail on too many gcc-glibc-OS
combinations to be ready for shipment today, even if they
work for some of us. This change allows reversion of das's change
of 2006-08-18 that accomplised the same thing on Darwin.
* generic/tclTomMath.h: Regenerated.
Diffstat (limited to 'generic')
-rw-r--r-- | generic/tclTomMath.h | 20 |
1 files changed, 5 insertions, 15 deletions
diff --git a/generic/tclTomMath.h b/generic/tclTomMath.h index c6a2f84..aaa3fe7 100644 --- a/generic/tclTomMath.h +++ b/generic/tclTomMath.h @@ -10,7 +10,7 @@ * The library is free for all purposes without any express * guarantee it works. * - * Tom St Denis, tomstdenis@iahu.ca, http://math.libtomcrypt.org + * Tom St Denis, tomstdenis@gmail.com, http://math.libtomcrypt.com */ #ifndef BN_H_ #define BN_H_ @@ -51,22 +51,11 @@ extern "C" { /* detect 64-bit mode if possible */ -#if defined(__x86_64__) +#if defined(NEVER) #if !(defined(MP_64BIT) && defined(MP_16BIT) && defined(MP_8BIT)) #define MP_64BIT #endif #endif -#if defined(__APPLE__) && defined(__LP64__) -/* - * At present, use of 128-bit arithmetic via __attribute__ ((mode(TI))) - * leads to link errors on Darwin x86_64__ and ppc64. rdar://4685527 - */ -# ifdef HAVE_LP64_MODE_TI -# define MP_64BIT -# else -# undef MP_64BIT -# endif -#endif /* some default configurations. * @@ -850,6 +839,7 @@ MODULE_SCOPE const char *mp_s_rmap; /* $Source: /root/tcl/repos-to-convert/tcl/generic/tclTomMath.h,v $ */ -/* $Revision: 1.8 $ */ -/* $Date: 2006/12/02 01:22:41 $ */ +/* Based on Tom's version 1.8 */ +/* $Revision: 1.9 $ */ +/* $Date: 2007/02/13 03:43:41 $ */ |