use compiler/coq/Makefile to decide if "git submodule update" is required
[ghc-hetmet.git] / includes / rts / Linker.h
index df74e7e..f7c8ce9 100644 (file)
@@ -1,9 +1,14 @@
 /* -----------------------------------------------------------------------------
  *
- * (c) The GHC Team, 2000
+ * (c) The GHC Team, 2009
  *
  * RTS Object Linker
  *
+ * Do not #include this file directly: #include "Rts.h" instead.
+ *
+ * To understand the structure of the RTS headers, see the wiki:
+ *   http://hackage.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes
+ *
  * ---------------------------------------------------------------------------*/
 
 #ifndef RTS_LINKER_H
@@ -27,6 +32,9 @@ HsInt unloadObj( char *path );
 /* add an obj (populate the global symbol table, but don't resolve yet) */
 HsInt loadObj( char *path );
 
+/* add an arch (populate the global symbol table, but don't resolve yet) */
+HsInt loadArchive( char *path );
+
 /* resolve all the currently unlinked objects in memory */
 HsInt resolveObjs( void );