From: simonm Date: Tue, 13 Jun 2000 15:35:29 +0000 (+0000) Subject: [project @ 2000-06-13 15:35:29 by simonm] X-Git-Tag: Approximately_9120_patches~4238 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=4b820508674d9926ce9a0bd22b78167a55cc2222;p=ghc-hetmet.git [project @ 2000-06-13 15:35:29 by simonm] egcs sometimes leaves a 'popl %ecx' in the epilogue, it seems. --- diff --git a/ghc/driver/mangler/ghc-asm.lprl b/ghc/driver/mangler/ghc-asm.lprl index cdf8d7a..9fa847f 100644 --- a/ghc/driver/mangler/ghc-asm.lprl +++ b/ghc/driver/mangler/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//;