{
bfd_reloc_status_type ret;
bfd_vma relocation;
- bfd_size_type sz;
struct or32_consth *n;
ret = bfd_reloc_ok;
relocation += symbol->section->output_offset;
relocation += reloc_entry->addend;
- sz = input_section->rawsize ? input_section->rawsize : input_section->size;
- if (reloc_entry->address > sz)
+ if (reloc_entry->address > bfd_get_section_limit (abfd, input_section))
return bfd_reloc_outofrange;
/* Save the information, and let LO16 do the actual relocation. */