[project @ 2001-07-12 10:34:54 by rrt]
authorrrt <unknown>
Thu, 12 Jul 2001 10:34:54 +0000 (10:34 +0000)
committerrrt <unknown>
Thu, 12 Jul 2001 10:34:54 +0000 (10:34 +0000)
Remove addrOf_ErrorHdrHook, as the NCG now can (or should) cope with
foreign labels, and in any case, we don't use the NCG to build the
standard library.

The motivation for this fix is preventing HSstd_cbits depending on the
RTS, so that it can be built as a DLL (for .NET) without needing to
get the RTS built as a DLL (that way lies madness).

ghc/lib/std/cbits/writeError.c

index 078f224..591f5ad 100644 (file)
@@ -1,7 +1,7 @@
 /* 
  * (c) The GRASP/AQUA Project, Glasgow University, 1998
  *
- * $Id: writeError.c,v 1.6 2001/05/18 16:54:07 simonmar Exp $
+ * $Id: writeError.c,v 1.7 2001/07/12 10:34:54 rrt Exp $
  *
  * hPutStr Runtime Support
  */
@@ -20,12 +20,6 @@ implementation in one or two places.)
 #include "RtsUtils.h"
 #include "HsStd.h"
 
-HsAddr
-addrOf_ErrorHdrHook(void)
-{
-  return &ErrorHdrHook;
-}
-
 void
 writeErrString__ (HsAddr msg_hdr, HsAddr msg, HsInt len)
 {