A report suggests that there're nasm version, which defaults to 16-bit
authorAndy Polyakov <appro@openssl.org>
Tue, 28 Jun 2005 11:28:43 +0000 (11:28 +0000)
committerAndy Polyakov <appro@openssl.org>
Tue, 28 Jun 2005 11:28:43 +0000 (11:28 +0000)
segmenting...

crypto/perlasm/x86nasm.pl

index 7d094283878f7e2644b6cd60c7d40a94fc6867e6..ab5b96c6c266bdc10a1aa1d39d67fa232e79654d 100644 (file)
@@ -262,8 +262,8 @@ sub using486
 
 sub main'file
        {
-       push(@out,".") if ($main'mwerks);
-       push(@out,"section\t.text\n");
+       if ($main'mwerks)       { push(@out,".section\t.text\n"); }
+       else                    { push(@out,"section\t.text use32\n"); }
        }
 
 sub main'function_begin