8sa1-binutils-gdb/ld/testsuite/ld-plugin
H.J. Lu d82184d782 Improve plugin error handling
ld/

	PR ld/14904
	* ldmain.c (main): Don't check plugin_load_plugins return.

	* lexsup.c (parse_args): Don't check plugin_opt_plugin return.

	* plugin.c (dlerror): New.  Defined if HAVE_DLFCN_H isn't
	defined.
	(plugin_opt_plugin): Change return type to void.  Stop on
	dlopen error and report error with dlerror ().
	(plugin_load_plugins): Change return type to void.  Stop on
	dlsym error and report error with dlerror ().  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.

ld/testsuite/

	PR ld/14904
	* ld-plugin/plugin-2.d: Update expected error message.
	* ld-plugin/plugin-4.d: Likewise.
2012-12-03 14:34:06 +00:00
..
func.c
main.c
plugin-1.d PR ld/13329 2011-10-06 10:07:17 +00:00
plugin-2.d Improve plugin error handling 2012-12-03 14:34:06 +00:00
plugin-3.d PR ld/13329 2011-10-06 10:07:17 +00:00
plugin-4.d Improve plugin error handling 2012-12-03 14:34:06 +00:00
plugin-5.d PR ld/13329 2011-10-06 10:07:17 +00:00
plugin-6.d PR ld/13329 2011-10-06 10:07:17 +00:00
plugin-7.d PR ld/13329 2011-10-06 10:07:17 +00:00
plugin-8.d PR ld/13329 2011-10-06 10:07:17 +00:00
plugin-9.d PR ld/13329 2011-10-06 10:07:17 +00:00
plugin-10.d PR ld/13329 2011-10-06 10:07:17 +00:00
plugin-11.d PR ld/13329 2011-10-06 10:07:17 +00:00
plugin-12.d PR ld/12365 2011-04-17 23:15:13 +00:00
plugin-vis-1.d Properly convert LTO plugin visibility to ELF visibility. 2010-12-06 00:00:15 +00:00
plugin.exp * config/tc-m68hc11.c: Add S12X and XGATE co-processor support. 2012-05-15 12:55:51 +00:00
text.c