xtensa: fix XTENSA_NDIFF handling for PR ld/25861
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index 31e8526da9fddc101c590e3dcba903673cfe93bd..25453b384bfe6f5470831c66de2c23afd67f06aa 100644 (file)
@@ -1,3 +1,10 @@
+2020-04-29  Max Filippov  <jcmvbkbc@gmail.com>
+
+       * elf32-xtensa.c (relax_section): Don't negate diff_value for
+       XTENSA_NDIFF relocations. Don't add sign bits whe diff_value
+       equals 0. Report overflow when the result has negative sign but
+       all significant bits are zero.
+
 2020-04-29  Gunther Nikl  <gnikl@justmail.de>
 
        * aoutx.h (swap_std_reloc_out): Special case 64 bit relocations.
This page took 0.030886 seconds and 4 git commands to generate.