projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update perl asm scripts include paths for perlasm.
[openssl.git]
/
crypto
/
bf
/
asm
/
bf-586.pl
diff --git
a/crypto/bf/asm/bf-586.pl
b/crypto/bf/asm/bf-586.pl
index 252abb710d6b1f02bffe4e2ebe70e64b2119d1c4..b74cfbafd4b05cc9f0d6e643a2df13ae836e92f7 100644
(file)
--- a/
crypto/bf/asm/bf-586.pl
+++ b/
crypto/bf/asm/bf-586.pl
@@
-1,10
+1,11
@@
#!/usr/local/bin/perl
#!/usr/local/bin/perl
-push(@INC,"perlasm","../../perlasm");
+$0 =~ m/(.*[\/\\])[^\/\\]+$/; $dir=$1;
+push(@INC,"${dir}","${dir}../../perlasm");
require "x86asm.pl";
require "cbc.pl";
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;
$BF_ROUNDS=16;
$BF_OFF=($BF_ROUNDS+2)*4;