https://sourceware.org/bugzilla/show_bug.cgi?id=28303
--- Comment #4 from Alan Modra <amodra at gmail dot com> ---
The canonical check is
octets = reloc_entry->address * bfd_octets_per_byte (abfd, input_section);
if (!bfd_reloc_offset_in_range (reloc_entry->howto, abfd,
input_section, octets))
return bfd_reloc_outofrange;
For riscv you can leave out bfd_octets_per_byte, or use an OCTETS_PER_BYTE
macro defined to 1 as I do for ppc.
--
You are receiving this mail because:
You are on the CC list for the bug.