Add 'Chnages in 2.13' to NEWS files.
[deliverable/binutils-gdb.git] / bfd / dwarf2.c
index e3b8e27370cc90e51b5daca98daa6964de873d6d..005a21f7d3b2a4e94876a20e19cbc1dbeb7a5127 100644 (file)
@@ -990,6 +990,13 @@ decode_line_info (unit, stash)
       line_ptr += 8;
       offset_size = 8;
     }
+  else if (lh.total_length == 0 && unit->addr_size == 8)
+    {
+      /* Handle (non-standard) 64-bit DWARF2 formats.  */
+      lh.total_length = read_4_bytes (abfd, line_ptr);
+      line_ptr += 4;
+      offset_size = 8;
+    }
   line_end = line_ptr + lh.total_length;
   lh.version = read_2_bytes (abfd, line_ptr);
   line_ptr += 2;
This page took 0.026242 seconds and 4 git commands to generate.