PR25900, RISC-V: null pointer dereference
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index 15c77bece90f61ae9aaea64d536738733b3167e5..a2b0771db27d8db4bae12d73eeca8f6404e3bc91 100644 (file)
@@ -1,3 +1,10 @@
+2020-05-01  Alan Modra  <amodra@gmail.com>
+
+       PR 25900
+       * elfnn-riscv.c (_bfd_riscv_relax_section): Check root.type before
+       accessing root.u.def of symbols.  Also check root.u.def.section
+       is non-NULL.  Reverse tests so as to make the logic positive.
+
 2020-05-01  Alan Modra  <amodra@gmail.com>
 
        PR 25882
This page took 0.023896 seconds and 4 git commands to generate.