Permalink
Browse files

windows: fix the x64 debug build

  • Loading branch information...
1 parent 44dd2c3 commit 9b22944b68a91dc41015022679779472c75d4e9b @piscisaureus piscisaureus committed Nov 8, 2012
@@ -1,6 +1,6 @@
OPTION DOTNAME
EXTERN OPENSSL_cpuid_setup:NEAR
-.CRT$XCU SEGMENT READONLY DWORD
+.CRT$XCU SEGMENT READONLY ALIGN(8)
DQ OPENSSL_cpuid_setup
.CRT$XCU ENDS
@@ -555,7 +555,8 @@
$v.=" READONLY";
$v.=" ALIGN(".($1 eq "p" ? 4 : 8).")" if ($masm>=$masmref);
} elsif ($line=~/\.CRT\$/i) {
- $v.=" READONLY DWORD";
+ $v.=" READONLY ";
+ $v.=$masm>=$masmref ? "ALIGN(8)" : "DWORD";
}
}
$current_segment = $line;

0 comments on commit 9b22944

Please sign in to comment.