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