Commit 71bc4a3a authored by simonmar's avatar simonmar
Browse files

[project @ 2005-06-03 10:08:55 by simonmar]

Check for reserved stack space blown.
parent c71357f9
......@@ -778,6 +778,12 @@ sub mangle_asm {
$r =~ s/^\s*\n//;
if ($TargetPlatform =~ /^i386-/) {
if ($p =~ /^\tsubl\s+\$(\d+),\s*\%esp\n/) {
if ($1 >= 8192) {
die "Error: reserved stack space exceeded!\n Possible workarounds: compile with -fasm, or try another version of gcc.\n"
}
}
$p =~ s/^\tpushl\s+\%edi\n//;
$p =~ s/^\tpushl\s+\%esi\n//;
$p =~ s/^\tpushl\s+\%ebx\n//;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment