H.J. Lu a83ef4d139 ld: Set non_ir_ref_regular on symbols referenced in regular objects
If linker plugin is enabled, set non_ir_ref_regular on symbols referenced
in regular objects so that linker plugin will get the correct symbol
resolution.

bfd/

	PR ld/22502
	* elflink.c (_bfd_elf_merge_symbol): Also skip definition from
	an IR object.
	(elf_link_add_object_symbols): If linker plugin is enabled, set
	non_ir_ref_regular on symbols referenced in regular objects so
	that linker plugin will get the correct symbol resolution.

ld/

	PR ld/22502
	* testsuite/ld-plugin/lto.exp: Run PR ld/22502 test.
	* testsuite/ld-plugin/pr22502a.c: New file.
	* testsuite/ld-plugin/pr22502b.c: Likewise.
2017-11-28 03:48:44 -08: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
2016-12-03 20:59:43 +10:30
2016-12-03 20:59:43 +10:30
2016-12-03 20:59:43 +10:30
2011-04-17 23:15:13 +00:00
2016-12-03 20:59:43 +10:30
2016-12-03 20:59:43 +10:30
2016-12-03 20:59:43 +10:30
2016-12-03 20:59:43 +10:30
2015-02-11 05:02:12 -08:00
2015-02-11 05:02:12 -08:00
2015-02-11 05:02:12 -08:00
2016-12-03 20:59:43 +10:30
2016-12-03 20:59:43 +10:30
2016-12-03 20:59:43 +10:30
2016-12-03 20:59:43 +10:30
2015-02-11 05:02:12 -08:00
2015-02-11 05:02:12 -08:00
2015-02-11 05:02:12 -08:00
2017-01-02 23:48:08 +10:30
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
2016-12-03 20:59:43 +10:30
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
2016-12-03 20:59:43 +10:30
2016-12-03 20:59:43 +10:30
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