H.J. Lu 3355cb3b64 Handle symbols defined/referenced only within IR
The plugin is called to claim symbols in an archive element from
plugin_object_p.  But those symbols aren't needed to create output.
They are defined and referenced only within IR.  get_symbols should
return resolution based on IR symbol kinds.

	PR ld/20070
	* Makefile.am (noinst_LTLIBRARIES): Add libldtestplug4.la.
	(libldtestplug4_la_SOURCES): New.
	(libldtestplug4_la_CFLAGS): Likewise.
	(libldtestplug4_la_LDFLAGS): Likewise.
	* Makefile.in: Regenerated.
	* plugin.c (get_symbols): Return resolution based on IR symbol
	kinds for symbols defined/referenced only within IR.
	* testplug4.c: New file.
	* ld/testsuite/ld-plugin/pr20070.d: Likewise.
	* ld/testsuite/ld-plugin/pr20070a.c: Likewise.
	* ld/testsuite/ld-plugin/pr20070b.c: Likewise.
	* testsuite/ld-plugin/plugin.exp (plugin4_name): New.
	(plugin4_path): Likewise.
	Add a test for ld/20070.
2016-05-12 16:50:52 -07:00
..
2012-12-07 19:23:50 +00:00
2012-12-07 19:23:50 +00:00
2012-12-07 19:14:41 +00:00
2012-12-07 19:14:41 +00:00
2012-12-07 19:14:41 +00:00
2015-02-11 05:02:12 -08:00
2012-12-07 19:23:50 +00:00
2012-12-07 19:23:50 +00:00
2012-12-07 19:23:50 +00:00
2012-12-07 19:23:50 +00:00
2012-12-07 19:23:50 +00:00
2012-12-07 19:23:50 +00:00
2012-12-07 19:23:50 +00:00
2012-12-07 19:23:50 +00:00
2012-12-07 19:23:50 +00:00
2012-12-07 19:23:50 +00:00
2012-12-07 19:23:50 +00:00
2012-12-07 19:23:50 +00:00
2012-12-07 19:23:50 +00:00
2012-12-07 19:23:50 +00:00
2012-12-07 19:23:50 +00:00
2012-12-07 19:23:50 +00:00
2012-12-07 19:23:50 +00:00
2012-12-07 19:23:50 +00:00
2012-12-07 19:23:50 +00:00
2012-12-07 19:23:50 +00:00
2012-12-07 19:23:50 +00:00
2012-12-07 19:23:50 +00:00
2012-12-07 19:23:50 +00:00
2012-12-07 19:23:50 +00:00
2012-12-07 19:23:50 +00:00
2012-12-07 19:23:50 +00:00
2012-12-07 19:23:50 +00:00
2012-12-07 19:23:50 +00:00
2012-12-07 19:23:50 +00:00
2012-12-07 19:23:50 +00:00
2012-12-07 19:23:50 +00:00
2012-12-07 19:23:50 +00:00
2012-12-07 19:23:50 +00:00
2012-12-07 19:23:50 +00:00
2012-12-07 19:23:50 +00:00
2012-12-07 19:23:50 +00:00
2012-12-07 19:23:50 +00:00
2012-12-07 19:23:50 +00:00
2012-12-07 19:23:50 +00:00
2012-12-07 19:23:50 +00:00
2012-12-07 19:23:50 +00:00
2012-12-07 19:23:50 +00:00
2012-12-07 19:23:50 +00:00
2012-12-07 19:23:50 +00:00
2012-12-07 19:23:50 +00:00
2012-12-07 19:23:50 +00:00
2012-12-07 19:23:50 +00:00
2012-12-07 19:23:50 +00:00
2012-12-07 19:23:50 +00:00
2016-03-01 12:45:18 -08:00
2011-04-17 23:15:13 +00:00
2015-02-11 05:02:12 -08:00
2015-02-11 05:02:12 -08:00
2015-02-11 05:02:12 -08:00
2015-02-11 05:02:12 -08:00
2015-02-11 05:02:12 -08:00
2015-02-11 05:02:12 -08:00
2015-02-11 05:02:12 -08:00
2015-02-11 05:02:12 -08:00
2015-02-11 05:02:12 -08:00
2015-02-11 05:02:12 -08:00
2015-02-11 05:02:12 -08:00
2015-02-11 05:02:12 -08:00
2015-02-11 05:02:12 -08:00
2015-02-11 05:02:12 -08:00
2015-02-03 09:03:23 -08:00
2015-02-03 09:03:23 -08:00
2015-02-03 09:03:23 -08:00
2012-12-07 19:23:50 +00:00
2012-12-07 19:23:50 +00:00
2012-12-07 19:23:50 +00:00
2012-12-07 19:23:50 +00:00
2012-12-07 19:23:50 +00:00
2012-12-07 19:23:50 +00:00
2013-04-03 11:44:41 +00:00
2012-12-07 19:23:50 +00:00
2012-12-07 19:23:50 +00:00
2012-12-07 19:23:50 +00:00
2012-12-07 19:23:50 +00:00
2012-12-07 19:23:50 +00:00
2012-12-07 19:23:50 +00:00
2012-12-07 19:23:50 +00:00
2013-05-21 07:15:22 +00:00
2012-12-07 19:23:50 +00:00
2012-12-07 19:23:50 +00:00
2012-12-07 19:23:50 +00:00
2012-12-07 19:23:50 +00:00
2012-12-07 19:23:50 +00:00
2012-12-07 19:23:50 +00:00
2012-12-07 19:23:50 +00:00
2012-12-07 19:23:50 +00:00
2012-12-07 19:23:50 +00:00
2012-12-07 19:23:50 +00:00
2012-12-07 19:23:50 +00:00
2012-12-07 19:23:50 +00:00
2015-02-03 08:24:50 -08:00
2015-02-03 08:24:50 -08:00
2013-02-18 04:44:16 +00:00
2015-09-11 10:02:57 -07:00
2014-04-22 10:22:39 -07:00
2014-04-22 10:22:39 -07:00
2014-04-22 10:22:39 -07:00
2015-02-14 06:26:20 -08:00
2015-02-14 06:26:20 -08:00
2012-12-07 19:23:50 +00:00
2012-12-07 19:23:50 +00:00