/* -----------------------------------------------------------------------------
- * $Id: StgStartup.hc,v 1.16 2001/09/04 18:29:21 ken Exp $
+ * $Id: StgStartup.hc,v 1.19 2002/07/16 14:56:09 simonmar Exp $
*
* (c) The GHC Team, 1998-1999
*
EXTFUN(stg_stop_thread_entry);
-#ifdef PROFILING
-#define STOP_THREAD_BITMAP 1
+#if defined(PROFILING)
+#define STOP_THREAD_BITMAP 3
#else
#define STOP_THREAD_BITMAP 0
#endif
/* -----------------------------------------------------------------------------
Special STG entry points for module registration.
-
- This stuff is problematic for Hugs, because it introduces a
- dependency between the RTS and the program (ie. __stginit_PrelMain). So
- we currently disable module initialisation for Hugs.
-------------------------------------------------------------------------- */
extern F_ *init_stack;
JMP_(POP_INIT_STACK());
FE_
}
-
-/* PrelGHC doesn't really exist... */
-
-START_MOD_INIT(__stginit_PrelGHC);
-END_MOD_INIT();