[PATCH] bfd/RISC-V: Prevent region check failures when relaxation is not final

Nelson Chu nelson.chu@sifive.com
Wed Oct 6 04:41:13 GMT 2021


Hi Nick,

On Tue, Oct 5, 2021 at 10:36 PM Nick Clifton <nickc@redhat.com> wrote:
>
> Hi Nelson,
>
> >> To fix this, this patch adds the delay_region_check flag to
> >> bfd_link_info,
>
> I dislike changing generic code just to fix a problem with one target.
> If there is a method that only involves changing risc-v specific code
> then I would prefer that.  (This is option 3 in PR 28410, right ?)

Yes, that's option 3 in PR 28410, it is more complicated, but we don't
need to modify any generic code.  Thanks for the reply, this allows us
to know more clearly that we should try option 3 at first, as possible
as we can.

Thanks
Nelson


More information about the Binutils mailing list