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:
56b7650
)
[project @ 2000-07-11 08:43:35 by simonmar]
author
simonmar
<unknown>
Tue, 11 Jul 2000 08:43:35 +0000
(08:43 +0000)
committer
simonmar
<unknown>
Tue, 11 Jul 2000 08:43:35 +0000
(08:43 +0000)
workaround for strange gcc-ism: elide 'popl %edx' in the epilogue.
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
b5db622
..
10b928f
100644
(file)
--- a/
ghc/driver/mangler/ghc-asm.lprl
+++ b/
ghc/driver/mangler/ghc-asm.lprl
@@
-733,6
+733,7
@@
sub mangle_asm {
$e =~ s/^\tret\n//;
$e =~ s/^\tpopl \%edi\n//;
$e =~ s/^\tpopl \%esi\n//;
+ $e =~ s/^\tpopl \%edx\n//;
$e =~ s/^\tpopl \%ecx\n//;
$e =~ s/^\taddl \$\d+,\%esp\n//;
$e =~ s/^\tsubl \$-\d+,\%esp\n//;