aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/perlasm/x86asm.pl
diff options
context:
space:
mode:
authorUlf Möller <ulf@openssl.org>1999-03-30 12:49:36 +0000
committerUlf Möller <ulf@openssl.org>1999-03-30 12:49:36 +0000
commit0f247decd0d29c92afa404791daac75c58b5db3b (patch)
treec6e5537f55a96e8dba8a302f38a3cd17d761c1e6 /crypto/perlasm/x86asm.pl
parentbc37a6b81c9a5e295481a1dd9ee572a4bddbf5ec (diff)
downloadopenssl-0f247decd0d29c92afa404791daac75c58b5db3b.tar.gz
New switch "386" to generate 80386 code (emulate bswap).
Diffstat (limited to 'crypto/perlasm/x86asm.pl')
-rw-r--r--crypto/perlasm/x86asm.pl7
1 files changed, 7 insertions, 0 deletions
diff --git a/crypto/perlasm/x86asm.pl b/crypto/perlasm/x86asm.pl
index d62c9bc9ee..b35dd1bc53 100644
--- a/crypto/perlasm/x86asm.pl
+++ b/crypto/perlasm/x86asm.pl
@@ -18,6 +18,11 @@ sub main'asm_init
($type,$fn)=@_;
$filename=$fn;
+ if ($ARGV[$#ARGV] eq "386")
+ {
+ $i386=1;
+ }
+
$cpp=$sol=$aout=$win32=0;
if ( ($type eq "elf"))
{ require "x86unix.pl"; }
@@ -32,6 +37,8 @@ sub main'asm_init
else
{
print STDERR <<"EOF";
+Usage: $filename <target> [386]
+
Pick one target type from
elf - linux, FreeBSD etc
a.out - old linux