X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=includes%2Frts%2FLinker.h;h=f7c8ce9c4b6f2c4479f151a3f71e7137bd645465;hb=16a037a8f9c7e444230c226081023fe56ffa2264;hp=df74e7eeb872650b2d04827f3eb16c6f69838080;hpb=a2a67cd520b9841114d69a87a423dabcb3b4368e;p=ghc-hetmet.git diff --git a/includes/rts/Linker.h b/includes/rts/Linker.h index df74e7e..f7c8ce9 100644 --- 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 * + * 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 );