summaryrefslogtreecommitdiffstats
path: root/crypto/perlasm
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2008-07-17 09:46:09 +0000
committerAndy Polyakov <appro@openssl.org>2008-07-17 09:46:09 +0000
commite4662fdb620d8c4d321a1fd67776ce8bab12b95a (patch)
tree7caff42ae22a35b0c3ef404ce27e72665ed9852d /crypto/perlasm
parentefa73a77e41777415f0d5830fe0fac66a18d54fc (diff)
x86masm.pl: harmonize functions' alignment.
Diffstat (limited to 'crypto/perlasm')
-rw-r--r--crypto/perlasm/x86masm.pl4
1 files 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"; }