New option to generate 80386 code.
[openssl.git] / crypto / perlasm / x86asm.pl
index b35dd1bc53410aa2b89872d4773e56613ac28d44..c81910851a34716fa2fbb195b8d79d1131dbc1a4 100644 (file)
@@ -15,14 +15,9 @@ sub main'asm_finish
 
 sub main'asm_init
        {
-       ($type,$fn)=@_;
+       ($type,$fn,$i386)=@_;
        $filename=$fn;
 
-       if ($ARGV[$#ARGV] eq "386")
-       {
-       $i386=1;
-       }
-
        $cpp=$sol=$aout=$win32=0;
        if (    ($type eq "elf"))
                { require "x86unix.pl"; }
@@ -37,8 +32,6 @@ 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