summaryrefslogtreecommitdiffstats
path: root/bfd/elf32-cr16c.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/elf32-cr16c.c')
-rw-r--r--bfd/elf32-cr16c.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/bfd/elf32-cr16c.c b/bfd/elf32-cr16c.c
index e722335601..8c579e519b 100644
--- a/bfd/elf32-cr16c.c
+++ b/bfd/elf32-cr16c.c
@@ -754,8 +754,9 @@ elf32_cr16c_relocate_section (bfd *output_bfd,
{
case bfd_reloc_overflow:
if (!((*info->callbacks->reloc_overflow)
- (info, name, howto->name, (bfd_vma) 0,
- input_bfd, input_section, rel->r_offset)))
+ (info, (h ? &h->root : NULL), name, howto->name,
+ (bfd_vma) 0, input_bfd, input_section,
+ rel->r_offset)))
return FALSE;
break;
OpenPOWER on IntegriCloud