Alan Modra 4613510308 Change ld "notice" interface for better handling of indirect symbols
The main aim of this change was to have non_ir_ref set correctly on
new indirect symbols.  I could have added a "copy" param to the "notice"
function, so that indirect symbols could be created in plugin_notice,
but it seemed cleaner to create indirect syms earlier and pass them
rather than "string" to "notice".

include/
	* bfdlink.h (struct bfd_link_callbacks <notice>): Remove "string"
	param, add "inh".
bfd/
	* coff-aux.c (coff_m68k_aux_link_add_one_symbol): Only call "notice"
	here when not calling the generic add_symbol function.  Formatting.
	Correct handling of indirect symbols.  Update notice call.
	* elflink.c (_bfd_elf_notice_as_needed): Update notice call.
	* linker.c (_bfd_generic_link_add_one_symbol): Create indirect
	symbols early.  Update notice call.  Add comments regarding weak
	symbols vs. indirect.
ld/
	* ldmain.c (notice): Update args.
	* plugin.c (plugin_notice): Likewise.  Follow warning sym link.
	Handle new indirect symbol.
2014-08-12 20:47:36 +09:30
..
2014-03-05 22:16:15 +10:30
2014-03-05 22:16:15 +10:30
2014-03-10 22:57:29 -04:00
2014-03-05 22:16:15 +10:30
2014-03-05 22:16:15 +10:30
2014-03-05 22:16:15 +10:30
2014-03-05 22:16:15 +10:30
2014-03-05 22:16:15 +10:30
2014-03-05 22:16:15 +10:30
2012-12-10 12:48:03 +00:00
2014-01-06 13:44:21 -05:00
2013-08-20 06:02:53 +00:00
2009-06-01 19:40:44 +00:00
2009-06-01 19:40:44 +00:00
2012-07-13 23:39:46 +00:00
2013-08-20 06:02:53 +00:00
2014-03-05 22:16:15 +10:30
2014-03-05 22:16:15 +10:30
2014-03-05 22:16:15 +10:30
2010-06-10 18:30:24 +00:00
2014-03-05 22:16:15 +10:30
2014-03-05 22:16:15 +10:30
2009-10-07 02:57:27 +00:00
2014-03-05 22:16:15 +10:30
2013-01-30 16:52:35 +00:00
2014-03-05 22:16:15 +10:30
2012-10-10 03:11:33 +00:00
2014-03-05 22:16:15 +10:30
2014-03-05 22:16:15 +10:30
2013-01-30 16:52:35 +00:00
2010-11-17 02:03:43 +00:00
2012-04-10 17:07:35 +00:00
2011-09-28 20:01:45 +00:00
2013-08-07 15:04:28 +00:00
2011-07-25 17:11:48 +00:00
2011-01-03 21:05:58 +00:00
2014-03-05 22:16:15 +10:30
2014-03-05 22:16:15 +10:30