aboutsummaryrefslogtreecommitdiff
path: root/crypto/bf
diff options
context:
space:
mode:
authorUlf Möller <ulf@openssl.org>1999-03-31 12:38:27 +0000
committerUlf Möller <ulf@openssl.org>1999-03-31 12:38:27 +0000
commit2613c1fa2f08814cd276800008b5a20c159ea7ff (patch)
treede5e7f25ed8fbfb65fad1a067234037e7db5b352 /crypto/bf
parent6d02d8e444f57d96465642b07233ed41801a3a75 (diff)
downloadopenssl-2613c1fa2f08814cd276800008b5a20c159ea7ff.zip
openssl-2613c1fa2f08814cd276800008b5a20c159ea7ff.tar.gz
openssl-2613c1fa2f08814cd276800008b5a20c159ea7ff.tar.bz2
New option to generate 80386 code.
Diffstat (limited to 'crypto/bf')
-rw-r--r--crypto/bf/Makefile.ssl2
-rw-r--r--crypto/bf/asm/bf-586.pl2
2 files changed, 2 insertions, 2 deletions
diff --git a/crypto/bf/Makefile.ssl b/crypto/bf/Makefile.ssl
index cc4e358..2f92eda 100644
--- a/crypto/bf/Makefile.ssl
+++ b/crypto/bf/Makefile.ssl
@@ -64,7 +64,7 @@ asm/bx86bsdi.o: asm/bx86unix.cpp
$(CPP) -DBSDI asm/bx86unix.cpp | sed 's/ :/:/' | as -o asm/bx86bsdi.o
asm/bx86unix.cpp:
- (cd asm; perl bf-586.pl cpp >bx86unix.cpp)
+ (cd asm; perl bf-586.pl cpp $(PROCESSOR) >bx86unix.cpp)
files:
perl $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
diff --git a/crypto/bf/asm/bf-586.pl b/crypto/bf/asm/bf-586.pl
index 252abb7..b556642 100644
--- a/crypto/bf/asm/bf-586.pl
+++ b/crypto/bf/asm/bf-586.pl
@@ -4,7 +4,7 @@ push(@INC,"perlasm","../../perlasm");
require "x86asm.pl";
require "cbc.pl";
-&asm_init($ARGV[0],"bf-586.pl");
+&asm_init($ARGV[0],"bf-586.pl",$ARGV[$#ARGV] eq "386");
$BF_ROUNDS=16;
$BF_OFF=($BF_ROUNDS+2)*4;