diff options
author | Andy Polyakov <appro@openssl.org> | 2012-01-21 11:34:53 +0000 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2012-01-21 11:34:53 +0000 |
commit | e6903980af2ca1efbdec5366c197dca9f9bff945 (patch) | |
tree | 4c2b500bbef15d5f040ebd5ea0bee07f43291e66 /crypto/perlasm | |
parent | 855d29184ea88140e3c810e854607cc00a3f1806 (diff) | |
download | openssl-e6903980af2ca1efbdec5366c197dca9f9bff945.tar.gz |
x86_64-xlate.pl: proper solution for RT#2620.
Diffstat (limited to 'crypto/perlasm')
-rwxr-xr-x | crypto/perlasm/x86_64-xlate.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/perlasm/x86_64-xlate.pl b/crypto/perlasm/x86_64-xlate.pl index 1f4ce0a84e..1492e1c2e7 100755 --- a/crypto/perlasm/x86_64-xlate.pl +++ b/crypto/perlasm/x86_64-xlate.pl @@ -569,7 +569,8 @@ my %globals; $v.=" READONLY"; $v.=" ALIGN(".($1 eq "p" ? 4 : 8).")" if ($masm>=$masmref); } elsif ($line=~/\.CRT\$/i) { - $v.=" READONLY ALIGN(8)"; + $v.=" READONLY "; + $v.=$masm>=$masmref ? "ALIGN(8)" : "DWORD"; } } $current_segment = $line; |