2012-11-22 H.J. Lu <hongjiu.lu@intel.com> | |
* ldmain.c (main): Don't check plugin_load_plugins return. | |
* lexsup.c (parse_args): Don't check plugin_opt_plugin return. | |
* plugin.c (dl_error): New. | |
(plugin_opt_plugin): Change return type to void. Stop on | |
dlopen error and report error with dl_error (). | |
(plugin_load_plugins): Change return type to void. Stop on | |
dlsym error and report error with dl_error (). Don't use | |
set_plugin_error. | |
(plugin_call_cleanup): Issue an error for each plugin. | |
* plugin.h (plugin_opt_plugin): Change return type to void. | |
(plugin_load_plugins): Likewise. |