1 /* -----------------------------------------------------------------------------
2 * $Id: Linker.h,v 1.2 2000/12/04 12:31:20 simonmar Exp $
4 * (c) The GHC Team, 2000
8 * ---------------------------------------------------------------------------*/
13 /* initialize the object linker */
14 void initLinker( void );
16 /* lookup a symbol in the hash table */
17 void *lookupSymbol( char *lbl );
19 /* delete an object from the pool */
20 HsInt unloadObj( char *path );
22 /* add an obj (populate the global symbol table, but don't resolve yet) */
23 HsInt loadObj( char *path );
25 /* resolve all the currently unlinked objects in memory */
26 HsInt resolveObjs( void );