aboutsummaryrefslogtreecommitdiffstats
path: root/mpi
diff options
context:
space:
mode:
Diffstat (limited to 'mpi')
-rw-r--r--mpi/ChangeLog6
-rw-r--r--mpi/config.links10
-rw-r--r--mpi/generic/distfiles1
-rw-r--r--mpi/generic/mpi-asm-defs.h3
-rw-r--r--mpi/mips3/distfiles1
5 files changed, 20 insertions, 1 deletions
diff --git a/mpi/ChangeLog b/mpi/ChangeLog
index c1bb7f072..2160034bb 100644
--- a/mpi/ChangeLog
+++ b/mpi/ChangeLog
@@ -1,3 +1,9 @@
+2000-10-12 Werner Koch <[email protected]>
+
+ * generic/mpi-asm-defs.h: New.
+ * mips3/mpi-asm-defs.h: New.
+ * config.links: Create a link to one of the above files.
+
Wed Jul 19 11:26:43 CEST 2000 Werner Koch <wk@>
* config.links: Support for powerpc--netbsd by Gabriel Rosenkoetter.
diff --git a/mpi/config.links b/mpi/config.links
index 71906a06d..18cf9040a 100644
--- a/mpi/config.links
+++ b/mpi/config.links
@@ -277,3 +277,13 @@ for fn in $mpi_ln_modules ; do
done
done
+# Same thing for the file which defines the limb size
+path="$path generic"
+for dir in $path ; do
+ rm -f $srcdir/mpi/mpi-asm-defs.h
+ if test -f $srcdir/mpi/$dir/mpi-asm-defs.h ; then
+ mpi_ln_src="$mpi_ln_src mpi/$dir/mpi-asm-defs.h"
+ mpi_ln_dst="$mpi_ln_dst mpi/mpi-asm-defs.h"
+ break;
+ fi
+done
diff --git a/mpi/generic/distfiles b/mpi/generic/distfiles
index 0bf4600fb..649e829b7 100644
--- a/mpi/generic/distfiles
+++ b/mpi/generic/distfiles
@@ -6,4 +6,5 @@ mpih-lshift.c
mpih-rshift.c
mpih-sub1.c
udiv-w-sdiv.c
+mpi-asm-defs.h
diff --git a/mpi/generic/mpi-asm-defs.h b/mpi/generic/mpi-asm-defs.h
index c25f966a9..13424e280 100644
--- a/mpi/generic/mpi-asm-defs.h
+++ b/mpi/generic/mpi-asm-defs.h
@@ -1,7 +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. */
-#define BYTES_PER_MPI_LIMB (sizeof unsigned long)
+#define BYTES_PER_MPI_LIMB (SIZEOF_UNSIGNED_LONG)
+
diff --git a/mpi/mips3/distfiles b/mpi/mips3/distfiles
index b88f4f869..85260fc8e 100644
--- a/mpi/mips3/distfiles
+++ b/mpi/mips3/distfiles
@@ -6,4 +6,5 @@ mpih-mul2.S
mpih-mul3.S
mpih-lshift.S
mpih-rshift.S
+mpi-asm-defs.h