return dl_last_error;
}
-int dlclose(handle) /* stub only */
+static int dlclose(handle) /* stub only */
void *handle;
{
return 0;
{
"%s(%d): Object Image Load Failure\n",
"%s(%d): Object Image Load Success\n",
- "%s(%d): Not an recognisable object file\n",
+ "%s(%d): Not a recognisable object file\n",
"%s(%d): No valid architecture\n",
"%s(%d): Object image has an invalid format\n",
"%s(%d): Invalid access (permissions?)\n",
// NSLinkModule will cause the run to abort on any link error's
// not very friendly but the error recovery functionality is limited.
handle = NSLinkModule(ofile, path, TRUE);
+ NSDestroyObjectFileImage(ofile);
}
return handle;
}
-void *
+static void *
dlsym(handle, symbol)
void *handle;
char *symbol;