https://sourceware.org/bugzilla/show_bug.cgi?id=25900
--- Comment #3 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Alan Modra <amo...@sourceware.org>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=a2714d6cca1f1c7695f8dc84b49a4a51d1db86c8 commit a2714d6cca1f1c7695f8dc84b49a4a51d1db86c8 Author: Alan Modra <amo...@gmail.com> Date: Fri May 1 15:32:00 2020 +0930 PR25900, RISC-V: null pointer dereference 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. -- You are receiving this mail because: You are on the CC list for the bug.