Created attachment 10469 [details] stacktrace On master at 52a93b95ec0771c97e26f0bb28630a271a667bd2: # nm -V GNU nm (Gentoo git) 2.29.51.20170924 Command to reproduce: # nm -A -a -l -S -s --special-syms --synthetic --with-symbol-versions -D $FILE
Created attachment 10470 [details] testcase
The master branch has been updated by Alan Modra <amodra@sourceware.org>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=c361faae8d964db951b7100cada4dcdc983df1bf commit c361faae8d964db951b7100cada4dcdc983df1bf Author: Alan Modra <amodra@gmail.com> Date: Mon Sep 25 19:03:46 2017 +0930 PR22200, DWARF5 .debug_line sanity check The format_count entry can't be zero unless the count is also zero. PR 22200 * dwarf2.c (read_formatted_entries): Error on format_count zero.
Fixed