From e4662fdb620d8c4d321a1fd67776ce8bab12b95a Mon Sep 17 00:00:00 2001 From: Andy Polyakov Date: Thu, 17 Jul 2008 09:46:09 +0000 Subject: [PATCH] x86masm.pl: harmonize functions' alignment. --- crypto/perlasm/x86masm.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"; } -- 2.25.1