From 630af8101b7af8583542fc45616383608cb3f76a Mon Sep 17 00:00:00 2001 From: simonmar Date: Thu, 4 Jan 2001 10:48:46 +0000 Subject: [PATCH] [project @ 2001-01-04 10:48:46 by simonmar] Fix the test for epilogue junk, and change it into a warning. --- ghc/driver/mangler/ghc-asm.lprl | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/ghc/driver/mangler/ghc-asm.lprl b/ghc/driver/mangler/ghc-asm.lprl index fa43ae9..44f4693 100644 --- a/ghc/driver/mangler/ghc-asm.lprl +++ b/ghc/driver/mangler/ghc-asm.lprl @@ -758,11 +758,8 @@ sub mangle_asm { print STDERR "$Pgm: unknown epilogue mangling? $TargetPlatform\n"; } - # --- Can't test for residual epilogue junk reliably because - # --- there might be some directives left over that we're going - # --- to move to the next chunk (see below). - # die "Epilogue junk?: $e\n" if $e =~ /^\t[^\.\n]/ - # && $TargetPlatform !~ /^powerpc-/; #ToDo: remove test + print "WARNING: Epilogue junk?: $e\n" if $e =~ /^\t\s*[^\.\s\n]/ + && $TargetPlatform !~ /^powerpc-/; #ToDo: remove test # glue together what's left $c = $r . $e; -- 1.7.10.4