aboutsummaryrefslogtreecommitdiff
path: root/bfd/coff-or32.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/coff-or32.c')
-rw-r--r--bfd/coff-or32.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/bfd/coff-or32.c b/bfd/coff-or32.c
index b21cdf3..af30afd 100644
--- a/bfd/coff-or32.c
+++ b/bfd/coff-or32.c
@@ -545,7 +545,7 @@ coff_or32_relocate_section (output_bfd, info, input_bfd, input_section,
if (symndx == -1)
name = "*ABS*";
else if (h != NULL)
- name = h->root.root.string;
+ name = NULL;
else if (sym == NULL)
name = "*unknown*";
else if (sym->_n._n_n._n_zeroes == 0
@@ -559,9 +559,9 @@ coff_or32_relocate_section (output_bfd, info, input_bfd, input_section,
}
if (! ((*info->callbacks->reloc_overflow)
- (info, name, howto_table[rel->r_type].name, (bfd_vma) 0,
- input_bfd, input_section,
- rel->r_vaddr - input_section->vma)))
+ (info, (h ? &h->root : NULL), name,
+ howto_table[rel->r_type].name, (bfd_vma) 0, input_bfd,
+ input_section, rel->r_vaddr - input_section->vma)))
return FALSE;
}
}