aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Shaw <[email protected]>2002-07-25 17:56:07 +0000
committerDavid Shaw <[email protected]>2002-07-25 17:56:07 +0000
commitcead1f26f7114f3177005354c49f560608ab52a3 (patch)
tree56da602c94300cc8109f4f0ef4cb8701573a3d0f
parentThese are special i386 files for use on OpenBSD, which (at least until (diff)
downloadgnupg-cead1f26f7114f3177005354c49f560608ab52a3.tar.gz
gnupg-cead1f26f7114f3177005354c49f560608ab52a3.zip
* config.links: Add special rule for OpenBSD on x86 to use special
i386-openbsd files. OpenBSD (at least until version 3.1) has an older assembler that won't work with the files in i386.
-rw-r--r--mpi/ChangeLog6
-rw-r--r--mpi/config.links7
2 files changed, 13 insertions, 0 deletions
diff --git a/mpi/ChangeLog b/mpi/ChangeLog
index de8c1e18c..4cb44d254 100644
--- a/mpi/ChangeLog
+++ b/mpi/ChangeLog
@@ -1,3 +1,9 @@
+2002-07-25 David Shaw <[email protected]>
+
+ * config.links: Add special rule for OpenBSD on x86 to use special
+ i386-openbsd files. OpenBSD (at least until version 3.1) has an
+ older assembler that won't work with the files in i386.
+
2002-07-24 Stefan Bellon <[email protected]>
* longlong.h [__riscos__]: Removed #pragma which is not needed
diff --git a/mpi/config.links b/mpi/config.links
index cb89513a5..64645a297 100644
--- a/mpi/config.links
+++ b/mpi/config.links
@@ -54,6 +54,13 @@ case "${target}" in
cat $srcdir/mpi/i386/syntax.h >>./mpi/asm-syntax.h
path="i386"
;;
+# Use old assembler syntax for OpenBSD as their assembler is really old.
+ i[34567]86*-*-openbsd*)
+ echo '#define BSD_SYNTAX' >>./mpi/asm-syntax.h
+ echo '#define X86_BROKEN_ALIGN' >>./mpi/asm-syntax.h
+ cat $srcdir/mpi/i386-openbsd/syntax.h >>./mpi/asm-syntax.h
+ path="i386-openbsd"
+ ;;
i[3467]86*-*-linuxaout* | \
i[3467]86*-*-linuxoldld* | \
i[3467]86*-*-*bsd*)