Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2013-12-16 | Change dummy variable in mpih-div.c to mpi_limb_t type | Jussi Kivilinna | 1 | -2/+2 | |
* mpi/mpih-div.c (_gcry_mpih_mod_1, _gcry_mpih_divmod_1): Change dummy variable to 'mpi_limb_t' type from 'int'. -- Patch attempts to fix problem reported by Matthias Wachs: while updating our buildbots I got another compile error: On a OS X machine: Darwin luke.net.in.tum.de 11.3.0 Darwin Kernel Version 11.3.0: Thu Jan 12 18:47:41 PST 2012; root:xnu-1699.24.23~1/RELEASE_X86_64 x86_64 /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../src -I../src -I/opt/local/include -I/opt/local/include -g -O2 -Wall -MT mpih-div.lo -MD -MP -MF .deps/mpih-div.Tpo -c -o mpih-div.lo mpih-div.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../src -I../src -I/opt/local/include -I/opt/local/include -g -O2 -Wall -MT mpih-div.lo -MD -MP -MF .deps/mpih-div.Tpo -c mpih-div.c -fno-common -DPIC -o .libs/mpih-div.o mpih-div.c: In function '_gcry_mpih_mod_1': mpih-div.c:183: error: unsupported inline asm: input constraint with a matching output constraint of incompatible type! make[2]: *** [mpih-div.lo] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 The new x86-64 inline assembly for MPI expects outputs to be limb sized variables (64-bit), but mpi/mpih-div.c was using 32-bit dummy variable. Appearently this mismatch between assembly output and variable sizes does not fail on every platform. Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi> | |||||
2013-09-04 | mpi: Suppress newer gcc warnings. | Werner Koch | 1 | -2/+2 | |
* src/g10lib.h (GCC_ATTR_UNUSED): Define for gcc >= 3.5. * mpi/mpih-div.c (_gcry_mpih_mod_1, _gcry_mpih_divmod_1): Mark dummy as unused. * mpi/mpi-internal.h (UDIV_QRNND_PREINV): Mark _ql as unused. -- Due to the use of macros and longlong.h, we use variables which are only used by some architectures. At least gcc 4.7.2 prints new warnings abot set but not used variables. This patch silences them. Signed-off-by: Werner Koch <wk@gnupg.org> | |||||
2012-08-16 | Replace deliberate division by zero with _gcry_divide_by_zero. | Xi Wang | 1 | -3/+2 | |
* mpi/mpi-pow.c: Replace 1 / msize. * mpi/mpih-div.c: Replace 1 / dsize. * src/misc.c: Add _gcry_divide_by_zero. -- 1) Division by zero doesn't "provoke a signal" on architectures like PowerPC. 2) C compilers like clang will optimize away these divisions, even though the code tries "to make the compiler not remove" them. This patch redirects these cases to _gcry_divide_by_zero. | |||||
2011-02-04 | Nuked almost all trailing whitespace. | Werner Koch | 1 | -2/+0 | |
Check and install the standard git pre-commit hook. | |||||
2003-06-09 | 2003-06-09 Moritz Schulte <moritz@g10code.com> | Moritz Schulte | 1 | -2/+2 | |
* mpicoder.c (gcry_mpi_scan): Adjust for libgpg-error. (gcry_mpi_print): Likewise. (gcry_mpi_aprint): Likewise. 2003-06-07 Moritz Schulte <moritz@g10code.com> * longlong.h, mpi-add.c, mpi-bit.c, mpi-cmp.c, mpi-div.c, mpi-gcd.c, mpi-inline.c, mpi-inline.h, mpi-internal.h, mpi-inv.c, mpi-mpow.c, mpi-mul.c, mpi-pow.c, mpi-scan.c, mpicoder.c, mpih-div.c, mpih-mul.c, mpiutil.c, generic/mpi-asm-defs.h, generic/mpih-add1.c, generic/mpih-lshift.c, generic/mpih-mul1.c, generic/mpih-mul2.c, generic/mpih-mul3.c, generic/mpih-rshift.c, generic/mpih-sub1.c, generic/udiv-w-sdiv.c, i386/syntax.h, m68k/syntax.h, mips3/mpi-asm-defs.h, powerpc32/syntax.h: Edited all preprocessor instructions to remove whitespace before the '#'. This is not required by C89, but there are some compilers out there that don't like it. Replaced any occurence of the now deprecated type names with the new ones. | |||||
2002-05-14 | Change the license to the LGPL. | Werner Koch | 1 | -9/+8 | |
2001-05-31 | The first libgcrypt only release. | Werner Koch | 1 | -14/+13 | |
2000-12-21 | Changed program name in all files | Werner Koch | 1 | -3/+3 | |
2000-07-17 | See ChangeLog: Mon Jul 17 16:35:47 CEST 2000 Werner Koch | Werner Koch | 1 | -2/+2 | |
1998-12-23 | See ChangeLog: Wed Dec 23 13:34:22 CET 1998 Werner Koch | Werner Koch | 1 | -3/+3 | |
1998-02-24 | Renamed to GNUPG | Werner Koch | 1 | -4/+4 | |
1997-11-26 | changed the dir layout | Werner Koch | 1 | -0/+9 | |
1997-11-18 | initially checkin | Werner Koch | 1 | -0/+528 | |