summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2013-03-18 10:30:25 +0100
committerWerner Koch <wk@gnupg.org>2013-03-18 10:30:25 +0100
commita35396a90f9a540d5107796a54b51164a59a4f5b (patch)
tree938b055a37cff7b7df278dee868ee15596b7da82
parent5770a016ef6e55771a593c692b741f053a7a0412 (diff)
downloadlibgcrypt-a35396a90f9a540d5107796a54b51164a59a4f5b.tar.gz
mpi: Support the x32 ABI
* mpi/amd64/mpi-asm-defs.h: New. -- Debian-bug-id: 698404
-rw-r--r--mpi/amd64/distfiles1
-rw-r--r--mpi/amd64/mpi-asm-defs.h4
2 files changed, 5 insertions, 0 deletions
diff --git a/mpi/amd64/distfiles b/mpi/amd64/distfiles
index e664c8db..634e36fb 100644
--- a/mpi/amd64/distfiles
+++ b/mpi/amd64/distfiles
@@ -5,3 +5,4 @@ mpih-mul2.S
mpih-mul3.S
mpih-rshift.S
mpih-sub1.S
+mpi-asm-defs.h
diff --git a/mpi/amd64/mpi-asm-defs.h b/mpi/amd64/mpi-asm-defs.h
new file mode 100644
index 00000000..17de1c19
--- /dev/null
+++ b/mpi/amd64/mpi-asm-defs.h
@@ -0,0 +1,4 @@
+/* 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. */
+#define BYTES_PER_MPI_LIMB 8