projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove ghc-pkg's dependency on haskell98
[ghc-hetmet.git]
/
includes
/
rts
/
Linker.h
diff --git
a/includes/rts/Linker.h
b/includes/rts/Linker.h
index
df74e7e
..
f7c8ce9
100644
(file)
--- a/
includes/rts/Linker.h
+++ b/
includes/rts/Linker.h
@@
-1,9
+1,14
@@
/* -----------------------------------------------------------------------------
*
/* -----------------------------------------------------------------------------
*
- * (c) The GHC Team, 2000
+ * (c) The GHC Team, 2009
*
* RTS Object Linker
*
*
* 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
* ---------------------------------------------------------------------------*/
#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 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 );
/* resolve all the currently unlinked objects in memory */
HsInt resolveObjs( void );