[git] GCRYPT - branch, LIBGCRYPT-1-6-BRANCH, updated. libgcrypt-1.6.1-13-ga015063
by Kristian Fiskerstrand
cvs at cvs.gnupg.org
Tue Aug 5 12:03:03 CEST 2014
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The GNU crypto library".
The branch, LIBGCRYPT-1-6-BRANCH has been updated
via a015063c118d4367b4b1cb4770361c519a17e9de (commit)
from c76acdc1eeea65b5a04c3e044344abb7f7abf8df (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit a015063c118d4367b4b1cb4770361c519a17e9de
Author: Kristian Fiskerstrand <kf at sumptuouscapital.com>
Date: Tue Jul 29 19:34:31 2014 +0200
Fix building for the x32 target without asm modules.
* mpi/generic/mpi-asm-defs.h: Use a fixed value for the x32 ABI.
--
See commit fd6721c235a5bdcb332c8eb708fbd4f96e52e824 for details.
diff --git a/mpi/generic/mpi-asm-defs.h b/mpi/generic/mpi-asm-defs.h
index 13424e2..e607806 100644
--- a/mpi/generic/mpi-asm-defs.h
+++ b/mpi/generic/mpi-asm-defs.h
@@ -1,10 +1,8 @@
-/* This file defines some basic constants for the MPI machinery. We
- * need to define the types on a per-CPU basis, so it is done with
- * this file here. */
+/* This file defines some basic constants for the MPI machinery.
+ * AMD64 compiled for the x32 ABI is special and thus we can't use the
+ * standard values for this ABI. */
+#if __GNUC__ >= 3 && defined(__x86_64__) && defined(__ILP32__)
+#define BYTES_PER_MPI_LIMB 8
+#else
#define BYTES_PER_MPI_LIMB (SIZEOF_UNSIGNED_LONG)
-
-
-
-
-
-
+#endif
-----------------------------------------------------------------------
Summary of changes:
mpi/generic/mpi-asm-defs.h | 16 +++++++---------
1 file changed, 7 insertions(+), 9 deletions(-)
hooks/post-receive
--
The GNU crypto library
http://git.gnupg.org
More information about the Gnupg-commits
mailing list