summaryrefslogtreecommitdiff
path: root/bfd/elf32-visium.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/elf32-visium.c')
-rw-r--r--bfd/elf32-visium.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/bfd/elf32-visium.c b/bfd/elf32-visium.c
index 32ca479103e..db854a068e3 100644
--- a/bfd/elf32-visium.c
+++ b/bfd/elf32-visium.c
@@ -662,13 +662,13 @@ visium_elf_relocate_section (bfd *output_bfd,
switch (r)
{
case bfd_reloc_overflow:
- r = info->callbacks->reloc_overflow
+ (*info->callbacks->reloc_overflow)
(info, (h ? &h->root : NULL), name, howto->name, (bfd_vma) 0,
input_bfd, input_section, rel->r_offset);
break;
case bfd_reloc_undefined:
- r = info->callbacks->undefined_symbol
+ (*info->callbacks->undefined_symbol)
(info, name, input_bfd, input_section, rel->r_offset, TRUE);
break;
@@ -690,11 +690,8 @@ visium_elf_relocate_section (bfd *output_bfd,
}
if (msg)
- r = info->callbacks->warning
- (info, msg, name, input_bfd, input_section, rel->r_offset);
-
- if (!r)
- return FALSE;
+ (*info->callbacks->warning) (info, msg, name, input_bfd,
+ input_section, rel->r_offset);
}
}