https://sourceware.org/bugzilla/show_bug.cgi?id=22127
--- Comment #1 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=2578f2f307f7e80caa0bce32c7fa880d579e736b commit 2578f2f307f7e80caa0bce32c7fa880d579e736b Author: Alan Modra <amo...@gmail.com> Date: Thu Sep 14 10:19:31 2017 +0930 PR22127, as segfaults assembling invalid .reloc "sec" gets set to NULL on errors in the offset expression. This patch disables part of the reloc expression processing that needs "sec" valid. I didn't disable the entire reloc expression handling so that errors in the reloc expression are reported even when the offset expression has an error. PR 22127 * write.c (resolve_reloc_expr_symbols): Don't segfault when sec has been set to NULL. -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils