diff options
author | simonm <unknown> | 1999-03-18 11:53:34 +0000 |
---|---|---|
committer | simonm <unknown> | 1999-03-18 11:53:34 +0000 |
commit | 3159f57d1f4ad1005bd9c637760b035145de611a (patch) | |
tree | 4e47f917766852ec71bbbf80a9613df206d94c5b | |
parent | 90dc4201b32723538fcf2404f51de74d4a8dbc28 (diff) | |
download | haskell-3159f57d1f4ad1005bd9c637760b035145de611a.tar.gz |
[project @ 1999-03-18 11:53:34 by simonm]
egcs sometimes leaves a 'popl %ecx' in the epilogue, it seems.
-rw-r--r-- | ghc/driver/ghc-asm.lprl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ghc/driver/ghc-asm.lprl b/ghc/driver/ghc-asm.lprl index cdf8d7ac4d..9fa847f8ea 100644 --- 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//; |