summaryrefslogtreecommitdiff
path: root/lib/libcrypto/perlasm/x86asm.pl
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2003-11-18 12:39:06 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2003-11-18 12:39:06 +0000
commit3ecc1487d41b0329f588ff32ee48f4705f68abd3 (patch)
tree7eec320154c6278b9b33b5ff1490edcabae503da /lib/libcrypto/perlasm/x86asm.pl
parent0d9a21b9e0a3bcb33d01f67bee2ce6bc20494ae6 (diff)
use bn_asm_vax.S (from netbsd); test + ok by miod
use asm code for i386, except for the CBC code, because it is not clean PIC code. add <machime/asm.h> support to x86unix.pl tested by: nick (on 30386), henning, djm, tedu, jmc and more; no shlib minor crank necessary, only internal symbols changed.
Diffstat (limited to 'lib/libcrypto/perlasm/x86asm.pl')
-rw-r--r--lib/libcrypto/perlasm/x86asm.pl8
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/libcrypto/perlasm/x86asm.pl b/lib/libcrypto/perlasm/x86asm.pl
index 1cb96e914ab..7c675e3ced3 100644
--- a/lib/libcrypto/perlasm/x86asm.pl
+++ b/lib/libcrypto/perlasm/x86asm.pl
@@ -18,9 +18,13 @@ sub main'asm_init
($type,$fn,$i386)=@_;
$filename=$fn;
- $elf=$cpp=$sol=$aout=$win32=$gaswin=0;
+ $elf=$cpp=$sol=$aout=$win32=$gaswin=$openbsd=0;
if ( ($type eq "elf"))
{ $elf=1; require "x86unix.pl"; }
+ elsif ( ($type eq "openbsd-elf"))
+ { $openbsd=$elf=1; require "x86unix.pl"; }
+ elsif ( ($type eq "openbsd-a.out"))
+ { $openbsd=1; require "x86unix.pl"; }
elsif ( ($type eq "a.out"))
{ $aout=1; require "x86unix.pl"; }
elsif ( ($type eq "gaswin"))
@@ -43,6 +47,8 @@ Pick one target type from
cpp - format so x86unix.cpp can be used
win32 - Windows 95/Windows NT
win32n - Windows 95/Windows NT NASM format
+ openbsd-elf - OpenBSD elf
+ openbsd-a.out - OpenBSD a.out
EOF
exit(1);
}