summaryrefslogtreecommitdiff
path: root/rts
diff options
context:
space:
mode:
authorAustin Seipp <austin@well-typed.com>2015-04-03 06:12:35 -0500
committerAustin Seipp <austin@well-typed.com>2015-04-03 14:46:48 -0500
commit54b7dc5537f8b871e655752bace1ad6f5e6fe89a (patch)
tree8d1ff113207bfb08d07f3792974ea8c00c6f0d46 /rts
parenta0c1c96515f4fbe1cf04b9760ed4f87e1544fcda (diff)
downloadhaskell-54b7dc5537f8b871e655752bace1ad6f5e6fe89a.tar.gz
rts/linker: make an error msg a debug msg
This fixes more testsuite failures on Windows. Signed-off-by: Austin Seipp <austin@well-typed.com>
Diffstat (limited to 'rts')
-rw-r--r--rts/Linker.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/rts/Linker.c b/rts/Linker.c
index 0bd2aa864b..5015135438 100644
--- a/rts/Linker.c
+++ b/rts/Linker.c
@@ -4038,8 +4038,9 @@ lookupSymbolInDLLs ( UChar *lbl )
ret->addr = sym;
ret->next = indirects;
indirects = ret;
- errorBelch("warning: %s from %S is linked instead of %s",
- (char*)(lbl+6), o_dll->name, (char*)lbl);
+ IF_DEBUG(linker,
+ debugBelch("warning: %s from %S is linked instead of %s",
+ (char*)(lbl+6), o_dll->name, (char*)lbl));
return (void*) & ret->addr;
}
}