Replace entry->the_bfd with ibfd
* plugin.c (plugin_maybe_claim): Replace entry->the_bfd with ibfd.
This commit is contained in:
parent
35a1e5f305
commit
9384389406
@ -1,3 +1,8 @@
|
||||
2015-02-07 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* plugin.c (plugin_maybe_claim): Replace entry->the_bfd with
|
||||
ibfd.
|
||||
|
||||
2015-02-07 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* plugin.c: Include "libbfd.h".
|
||||
|
@ -1061,7 +1061,7 @@ plugin_maybe_claim (lang_input_statement_type *entry)
|
||||
einfo (_("%P%F: %s: plugin reported error claiming file\n"),
|
||||
plugin_error_plugin ());
|
||||
|
||||
if (input->fd != -1 && bfd_check_format (entry->the_bfd, bfd_object))
|
||||
if (input->fd != -1 && bfd_check_format (ibfd, bfd_object))
|
||||
{
|
||||
/* FIXME: fd belongs to us, not the plugin. IR for GCC plugin,
|
||||
which doesn't need fd after plugin_call_claim_file, is
|
||||
|
Loading…
Reference in New Issue
Block a user