projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ce424ae
)
[project @ 2001-03-26 16:52:03 by simonmar]
author
simonmar
<unknown>
Mon, 26 Mar 2001 16:52:03 +0000
(16:52 +0000)
committer
simonmar
<unknown>
Mon, 26 Mar 2001 16:52:03 +0000
(16:52 +0000)
if the STOLEN_X86_REGS arg is missing, assume 4.
ghc/driver/mangler/ghc-asm.lprl
patch
|
blob
|
history
diff --git
a/ghc/driver/mangler/ghc-asm.lprl
b/ghc/driver/mangler/ghc-asm.lprl
index
cd4d99a
..
68a0cdb
100644
(file)
--- a/
ghc/driver/mangler/ghc-asm.lprl
+++ b/
ghc/driver/mangler/ghc-asm.lprl
@@
-66,7
+66,11
@@
$ifile = $ARGV[0];
$ofile = $ARGV[1];
if ( $TargetPlatform =~ /^i386-/ ) {
$ofile = $ARGV[1];
if ( $TargetPlatform =~ /^i386-/ ) {
- $StolenX86Regs = $ARGV[2];
+ if ($ARGV[2] eq '') {
+ $StolenX86Regs = 4;
+ } else {
+ $StolenX86Regs = $ARGV[2];
+ }
}
&mangle_asm($ifile,$ofile);
}
&mangle_asm($ifile,$ofile);