Correct R_SH_IND12W handling
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index 515a127def04e9858ccae39364e40c2c3e4e92ae..3ef8515e2220c7be584b11d29ace9ba27ac12421 100644 (file)
@@ -1,3 +1,10 @@
+2019-11-27  Alan Modra  <amodra@gmail.com>
+
+       * elf32-sh.c (sh_reloc): Use a bfd_vma insn.
+       (sh_reloc <R_SH_IND12W>): Divide calculated relocation value
+       by two before applying to insn.  Correct overflow test.
+       * coff-sh.c (sh_reloc): Likewise.
+
 2019-11-26  Nick Clifton  <nickc@redhat.com>
 
        * elf32-sh.c (sh_elf_reloc): Use a signed_vma when checking for a
This page took 0.024399 seconds and 4 git commands to generate.