diff options
author | 2003-11-18 12:39:05 +0000 | |
---|---|---|
committer | 2003-11-18 12:39:05 +0000 | |
commit | e280eb565d60f596dcccee6bf150f7eca4c0b64e (patch) | |
tree | 1ba38db9b7f1efe80d64024f3975753b4d2fc419 /lib/libcrypto/perlasm/x86asm.pl | |
parent | unbreak fake authloop for non-existent users (my screwup). Spotted and (diff) | |
download | wireguard-openbsd-e280eb565d60f596dcccee6bf150f7eca4c0b64e.tar.xz wireguard-openbsd-e280eb565d60f596dcccee6bf150f7eca4c0b64e.zip |
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.pl | 8 |
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); } |