aboutsummaryrefslogtreecommitdiff
path: root/ld/plugin.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2015-02-07 12:50:17 -0800
committerH.J. Lu <hjl.tools@gmail.com>2015-02-07 12:50:17 -0800
commit9384389406b55ffac5ea34ead9a34f23b8cdf72e (patch)
tree0c40d9438235611a4954c9e46d5f55cd9d14c02f /ld/plugin.c
parent35a1e5f3055fc28f129e4d5d0a993218d8af1baf (diff)
downloadgdb-9384389406b55ffac5ea34ead9a34f23b8cdf72e.zip
gdb-9384389406b55ffac5ea34ead9a34f23b8cdf72e.tar.gz
gdb-9384389406b55ffac5ea34ead9a34f23b8cdf72e.tar.bz2
Replace entry->the_bfd with ibfd
* plugin.c (plugin_maybe_claim): Replace entry->the_bfd with ibfd.
Diffstat (limited to 'ld/plugin.c')
-rw-r--r--ld/plugin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/plugin.c b/ld/plugin.c
index 30e4ab4..c4116fb 100644
--- a/ld/plugin.c
+++ b/ld/plugin.c
@@ -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