b1f7345 Plugin: Treat each object as independent

Authored and Committed by H.J. Lu 4 years ago
1 file changed. 38 lines added. 38 lines removed.
    Plugin: Treat each object as independent
    
    Since plugin treats each object as independent, we must do a fresh dlopen
    of plugin for each object.
    
    	PR binutils/25355
    	* plugin.c (try_claim): Always clean up for LTO wrapper.
    	(try_load_plugin): Treat each object as independent.  Create a
    	copy for plugin name.
    
    (cherry picked from commit 22fe7df8c964c23f5760ecf9653af86ede8b5030)
    
        
file modified
+38 -38