RISC-V: Should reset `again' flag for _bfd_riscv_relax_pc.
authorNelson Chu <nelson@rivosinc.com>
Mon, 24 Oct 2022 10:26:36 +0000 (18:26 +0800)
committerNelson Chu <nelson@rivosinc.com>
Tue, 25 Oct 2022 01:20:39 +0000 (09:20 +0800)
commit845652b78412a98226c321aade16920d06e552ca
treeefd6cac9f2a94fc148042e03df670cb5e23147c7
parent43025f01a0c99c939e20e90a6e695741c14a925a
RISC-V: Should reset `again' flag for _bfd_riscv_relax_pc.

The R_RISCV_DELETE relocations are no longer deleted at another relax pass,
so we should reset 'again' flag to true for _bfd_riscv_relax_pc, while the
deleted bytes are marked as R_RISCV_DELETE.

bfd/
    * elfnn-riscv.c (_bfd_riscv_relax_pc): Set `again' to true while the
    deleted bytes are marked as R_RISCV_DELETE.
bfd/elfnn-riscv.c