diff options
Diffstat (limited to 'bfd/coff-h8500.c')
-rw-r--r-- | bfd/coff-h8500.c | 26 |
1 files changed, 10 insertions, 16 deletions
diff --git a/bfd/coff-h8500.c b/bfd/coff-h8500.c index 8a72af6..1b14634 100644 --- a/bfd/coff-h8500.c +++ b/bfd/coff-h8500.c @@ -244,14 +244,11 @@ extra_case (bfd *in_abfd, word and the pc's been incremented. */ if (gap > 128 || gap < -128) - { - if (! ((*link_info->callbacks->reloc_overflow) - (link_info, NULL, - bfd_asymbol_name (*reloc->sym_ptr_ptr), - reloc->howto->name, reloc->addend, input_section->owner, - input_section, reloc->address))) - abort (); - } + (*link_info->callbacks->reloc_overflow) + (link_info, NULL, bfd_asymbol_name (*reloc->sym_ptr_ptr), + reloc->howto->name, reloc->addend, input_section->owner, + input_section, reloc->address); + bfd_put_8 (in_abfd, gap, data + *dst_ptr); (*dst_ptr)++; (*src_ptr)++; @@ -268,14 +265,11 @@ extra_case (bfd *in_abfd, word and the pc's been incremented. */ if (gap > 32767 || gap < -32768) - { - if (! ((*link_info->callbacks->reloc_overflow) - (link_info, NULL, - bfd_asymbol_name (*reloc->sym_ptr_ptr), - reloc->howto->name, reloc->addend, input_section->owner, - input_section, reloc->address))) - abort (); - } + (*link_info->callbacks->reloc_overflow) + (link_info, NULL, bfd_asymbol_name (*reloc->sym_ptr_ptr), + reloc->howto->name, reloc->addend, input_section->owner, + input_section, reloc->address); + bfd_put_16 (in_abfd, (bfd_vma) gap, data + *dst_ptr); (*dst_ptr) += 2; (*src_ptr) += 2; |