b4c555c Fix detection of missing plugin for LTO objects.

Authored and Committed by marxin 4 years ago
    Fix detection of missing plugin for LTO objects.
    
    2019-08-16  Martin Liska  <mliska@suse.cz>
    
    	PR ld/24912
    	* elflink.c: Report error only for not relocatable.
    	* linker.c (_bfd_generic_link_add_one_symbol): Do not handle
    	here lto_slim_object as it's handled in caller.
    2019-08-16  Martin Liska  <mliska@suse.cz>
    
    	PR ld/24912
    	* object.cc (big_endian>::do_layout): Do not report error,
    	but only set a flag.
    	(big_endian>::do_add_symbols): Report error only for when
    	relocatable.
    
        
file modified
+7 -0
file modified
+2 -1
file modified
+6 -18
file modified
+8 -0
file modified
+3 -3