Reorganisation of the source tree
[ghc-hetmet.git] / ghc / compiler / ghci / keepCAFsForGHCi.c
diff --git a/ghc/compiler/ghci/keepCAFsForGHCi.c b/ghc/compiler/ghci/keepCAFsForGHCi.c
deleted file mode 100644 (file)
index 0aabbed..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-#include "Rts.h"
-#include "Storage.h"
-
-// This file is only included when GhcBuildDylibs is set in mk/build.mk.
-// It contains an __attribute__((constructor)) function (run prior to main())
-// which sets the keepCAFs flag in the RTS, before any Haskell code is run.
-// This is required so that GHCi can use dynamic libraries instead of HSxyz.o
-// files.
-
-static void keepCAFsForGHCi() __attribute__((constructor));
-
-static void keepCAFsForGHCi()
-{
-    keepCAFs = 1;
-}