+2015-02-06 H.J. Lu <hongjiu.lu@intel.com>
+
+ * lto-plugin.c (release_input_file): Removed.
+ (claim_file_handler): Don't call release_input_file.
+ (onload): Don't set release_input_file.
+
2015-02-05 H.J. Lu <hongjiu.lu@intel.com>
* lto-plugin.c (claim_file_handler): Pass handle to
static ld_plugin_get_symbols get_symbols, get_symbols_v2;
static ld_plugin_register_cleanup register_cleanup;
static ld_plugin_add_input_file add_input_file;
-static ld_plugin_release_input_file release_input_file;
static ld_plugin_add_input_library add_input_library;
static ld_plugin_message message;
static ld_plugin_add_symbols add_symbols;
*claimed = 1;
- if (release_input_file)
- release_input_file (file->handle);
-
goto cleanup;
err:
case LDPT_ADD_INPUT_FILE:
add_input_file = p->tv_u.tv_add_input_file;
break;
- case LDPT_RELEASE_INPUT_FILE:
- release_input_file = p->tv_u.tv_release_input_file;
- break;
case LDPT_ADD_INPUT_LIBRARY:
add_input_library = p->tv_u.tv_add_input_library;
break;