From: Andy Polyakov Date: Tue, 28 Jun 2005 11:28:43 +0000 (+0000) Subject: A report suggests that there're nasm version, which defaults to 16-bit X-Git-Tag: OpenSSL_0_9_8k^2~1963 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=db22e5faa6f973397505d34b1ad962116ac7a9a2;p=openssl A report suggests that there're nasm version, which defaults to 16-bit segmenting... --- diff --git a/crypto/perlasm/x86nasm.pl b/crypto/perlasm/x86nasm.pl index 7d09428387..ab5b96c6c2 100644 --- a/crypto/perlasm/x86nasm.pl +++ b/crypto/perlasm/x86nasm.pl @@ -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