aboutsummaryrefslogtreecommitdiff
path: root/ld/plugin.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2013-02-16 17:50:20 +0000
committerH.J. Lu <hjl.tools@gmail.com>2013-02-16 17:50:20 +0000
commit4a2b04a7e5b5cab4c31cfc4a753e6bff6fe0b349 (patch)
tree49aa333520dfe56027674c5cdafc141eb46692b8 /ld/plugin.c
parent313ed4a9b06a7080664ebe5ff040a6fd56c6d5d8 (diff)
downloadgdb-4a2b04a7e5b5cab4c31cfc4a753e6bff6fe0b349.zip
gdb-4a2b04a7e5b5cab4c31cfc4a753e6bff6fe0b349.tar.gz
gdb-4a2b04a7e5b5cab4c31cfc4a753e6bff6fe0b349.tar.bz2
Also trace symbol from the IR bfd
PR ld/15141 * plugin.c (plugin_notice): Also trace symbol from the IR bfd.
Diffstat (limited to 'ld/plugin.c')
-rw-r--r--ld/plugin.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ld/plugin.c b/ld/plugin.c
index da99e77..435f466 100644
--- a/ld/plugin.c
+++ b/ld/plugin.c
@@ -962,14 +962,14 @@ plugin_notice (struct bfd_link_info *info,
{
bfd *sym_bfd;
- /* No further processing if this def/ref is from an IR dummy BFD. */
+ /* Nothing to do here if this def/ref is from an IR dummy BFD. */
if (is_ir_dummy_bfd (abfd))
- return TRUE;
+ ;
/* Making an indirect symbol counts as a reference unless this
is a brand new symbol. */
- if (bfd_is_ind_section (section)
- || (flags & BSF_INDIRECT) != 0)
+ else if (bfd_is_ind_section (section)
+ || (flags & BSF_INDIRECT) != 0)
{
if (h->type != bfd_link_hash_new)
{