--- binutils.orig/bfd/dwarf2.c 2018-05-17 11:46:03.916280930 +0100
+++ binutils-2.27/bfd/dwarf2.c 2018-05-17 12:11:45.193856898 +0100
@@ -1471,7 +1471,7 @@ concat_filename (struct line_info_table
{
char *filename;
- if (file - 1 >= table->num_files)
+ if (table == NULL || file - 1 >= table->num_files)
/* FILE == 0 means unknown. */
if (file)