From: Andy Polyakov Date: Thu, 17 Jul 2008 09:46:09 +0000 (+0000) Subject: x86masm.pl: harmonize functions' alignment. X-Git-Tag: OpenSSL_0_9_8k^2~299 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=e4662fdb620d8c4d321a1fd67776ce8bab12b95a;p=oweals%2Fopenssl.git x86masm.pl: harmonize functions' alignment. --- diff --git a/crypto/perlasm/x86masm.pl b/crypto/perlasm/x86masm.pl index 94eee5a76d..98845fab65 100644 --- a/crypto/perlasm/x86masm.pl +++ b/crypto/perlasm/x86masm.pl @@ -78,7 +78,7 @@ ENDIF .MODEL FLAT OPTION DOTNAME IF \@Version LT 800 -.text\$ SEGMENT PAGE 'CODE' +.text\$ SEGMENT PAGE 'CODE' ELSE .text\$ SEGMENT ALIGN(64) 'CODE' ENDIF @@ -92,7 +92,7 @@ sub ::function_begin_B my $begin="${::lbdecor}_${func}_begin"; &::LABEL($func,$global?"$begin":"$nmdecor$func"); - $func=$nmdecor.$func."\tPROC"; + $func="ALIGN\t16\n".$nmdecor.$func."\tPROC"; if ($global) { $func.=" PUBLIC\n${begin}::\n"; } else { $func.=" PRIVATE\n"; }