From b669d6d93e1107dc6717162fb031fe5e15f4d8ba Mon Sep 17 00:00:00 2001 From: simonmar Date: Tue, 27 Aug 2002 09:12:53 +0000 Subject: [PATCH] [project @ 2002-08-27 09:12:53 by simonmar] Replace "Funny global thing" with a better error message, as suggested by Alastair Reid. The message is: Warning: retaining unknown function `$_' in output from C compiler ("unknown function" is a bit vague, but I couldn't come up with an alternative that wasn't misleading). --- ghc/driver/mangler/ghc-asm.lprl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghc/driver/mangler/ghc-asm.lprl b/ghc/driver/mangler/ghc-asm.lprl index 1edd32f..a0c3921 100644 --- a/ghc/driver/mangler/ghc-asm.lprl +++ b/ghc/driver/mangler/ghc-asm.lprl @@ -613,7 +613,7 @@ sub mangle_asm { || ! /^L\$\d+$/ ) ) { local($thing); chop($thing = $_); - print STDERR "Funny global thing?: $_" + print STDERR "Warning: retaining unknown function `$_' in output from C compiler" unless # $KNOWN_FUNNY_THING{$thing} /^${T_US}stg_.*${T_POST_LBL}$/o # RTS internals || /^${T_US}__stg_.*${T_POST_LBL}$/o # more RTS internals -- 1.7.10.4