projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
90dc420
)
[project @ 1999-03-18 11:53:34 by simonm]
author
simonm
<unknown>
Thu, 18 Mar 1999 11:53:34 +0000
(11:53 +0000)
committer
simonm
<unknown>
Thu, 18 Mar 1999 11:53:34 +0000
(11:53 +0000)
egcs sometimes leaves a 'popl %ecx' in the epilogue, it seems.
ghc/driver/ghc-asm.lprl
patch
|
blob
|
history
diff --git
a/ghc/driver/ghc-asm.lprl
b/ghc/driver/ghc-asm.lprl
index
cdf8d7a
..
9fa847f
100644
(file)
--- a/
ghc/driver/ghc-asm.lprl
+++ b/
ghc/driver/ghc-asm.lprl
@@
-703,6
+703,7
@@
sub mangle_asm {
$e =~ s/^\tret\n//;
$e =~ s/^\tpopl \%edi\n//;
$e =~ s/^\tpopl \%esi\n//;
+ $e =~ s/^\tpopl \%ecx\n//;
$e =~ s/^\taddl \$\d+,\%esp\n//;
} elsif ($TargetPlatform =~ /^m68k-/) {
$e =~ s/^\tunlk a6\n//;