diff options
Diffstat (limited to 'crypto/perlasm/x86asm.pl')
-rw-r--r-- | crypto/perlasm/x86asm.pl | 7 |
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 |