mirror of
https://github.com/QuasarApp/openssl.git
synced 2025-05-15 10:59:39 +00:00
Ad-hockery for Platform SDK ml64.
This commit is contained in:
parent
9e5df8e448
commit
8ab9025e31
@ -65,7 +65,10 @@ my $output = shift;
|
|||||||
if ($stddev!=$outdev || $stdino!=$outino);
|
if ($stddev!=$outdev || $stdino!=$outino);
|
||||||
}
|
}
|
||||||
|
|
||||||
my $masm=1 if ($output =~ /\.asm/);
|
my $masmref=8 + 50727*2**-32; # 8.00.50727 shipped with VS2005
|
||||||
|
my $masm=$masmref if ($output =~ /\.asm/);
|
||||||
|
if ($masm && `ml64 2>&1` =~ m/Version ([0-9]+)\.([0-9]+)(\.([0-9]+))?/)
|
||||||
|
{ $masm=$1 + $2*2**-16 + $4*2**-32; }
|
||||||
|
|
||||||
my $current_segment;
|
my $current_segment;
|
||||||
my $current_function;
|
my $current_function;
|
||||||
@ -356,7 +359,9 @@ my $current_function;
|
|||||||
$v="$current_segment\tENDS\n" if ($current_segment);
|
$v="$current_segment\tENDS\n" if ($current_segment);
|
||||||
$current_segment = "_$1\$";
|
$current_segment = "_$1\$";
|
||||||
$current_segment =~ tr/[a-z]/[A-Z]/;
|
$current_segment =~ tr/[a-z]/[A-Z]/;
|
||||||
$v.="$current_segment\tSEGMENT ALIGN(64) 'CODE'";
|
$v.="$current_segment\tSEGMENT ";
|
||||||
|
$v.=$masm>=$masmref ? "ALIGN(64)" : "PAGE";
|
||||||
|
$v.=" 'CODE'";
|
||||||
$self->{value} = $v;
|
$self->{value} = $v;
|
||||||
last;
|
last;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user