diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 25b6387dfc..95152add84 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2020-02-06 Maciej W. Rozycki + + * elf32-v850.c (v850_elf_relax_section): Fix the index used for + reporting an unrecognized instruction with R_V850_LONGJUMP. + 2020-02-05 Alan Modra * elf64-ppc.c (ppc_stub_plt_branch): Match comment with reality. diff --git a/bfd/elf32-v850.c b/bfd/elf32-v850.c index 667c467795..21cd4f2937 100644 --- a/bfd/elf32-v850.c +++ b/bfd/elf32-v850.c @@ -3837,7 +3837,7 @@ v850_elf_relax_section (bfd *abfd, if (no_match < 0 && ((insn[2] & JMP_R_MASK) != JMP_R || MOVEA_R2 (insn[1]) != JMP_R1 (insn[2]))) - no_match = 4; + no_match = 2; } else {