1 /* -----------------------------------------------------------------------------
3 * (c) The GHC Team, 2000
7 * ---------------------------------------------------------------------------*/
12 /* initialize the object linker */
13 void initLinker( void );
15 /* lookup a symbol in the hash table */
16 void *lookupSymbol( char *lbl );
18 /* delete an object from the pool */
19 HsInt unloadObj( char *path );
21 /* add an obj (populate the global symbol table, but don't resolve yet) */
22 HsInt loadObj( char *path );
24 /* resolve all the currently unlinked objects in memory */
25 HsInt resolveObjs( void );
27 /* load a dynamic library */
28 char *addDLL( char* dll_name );