ce7c03
diff -rup binutils.orig/bfd/dwarf2.c binutils-2.25.1/bfd/dwarf2.c
ce7c03
--- binutils.orig/bfd/dwarf2.c	2017-06-29 16:40:13.563084821 +0100
ce7c03
+++ binutils-2.25.1/bfd/dwarf2.c	2017-06-30 08:15:33.634862399 +0100
ce7c03
@@ -215,9 +215,6 @@ struct comp_unit
ce7c03
   /* Linked list of the low and high address ranges contained in this
ce7c03
      compilation unit as specified in the compilation unit header.  */
ce7c03
   struct arange arange;
ce7c03
-  /* A single arange containing the lowest and highest
ce7c03
-     addresses covered by the compilation unit.  */
ce7c03
-  struct arange minmax;
ce7c03
 
ce7c03
   /* The DW_AT_name attribute (for error messages).  */
ce7c03
   char *name;
ce7c03
@@ -1540,16 +1537,11 @@ arange_add (struct comp_unit *unit, stru
ce7c03
   /* If the first arange is empty, use it.  */
ce7c03
   if (first_arange->high == 0)
ce7c03
     {
ce7c03
-      unit->minmax.low = first_arange->low = low_pc;
ce7c03
-      unit->minmax.high = first_arange->high = high_pc;
ce7c03
+      first_arange->low = low_pc;
ce7c03
+      first_arange->high = high_pc;
ce7c03
       return TRUE;
ce7c03
     }
ce7c03
 
ce7c03
-  if (unit->minmax.low > low_pc)
ce7c03
-    unit->minmax.low = low_pc;
ce7c03
-  if (unit->minmax.high < high_pc)
ce7c03
-    unit->minmax.high = high_pc;
ce7c03
-  
ce7c03
   /* Next see if we can cheaply extend an existing range.  */
ce7c03
   arange = first_arange;
ce7c03
   do
ce7c03
@@ -3143,9 +3135,6 @@ comp_unit_contains_address (struct comp_
ce7c03
   if (unit->error)
ce7c03
     return FALSE;
ce7c03
 
ce7c03
-  if (unit->minmax.high < addr || unit->minmax.low > addr)
ce7c03
-    return FALSE;
ce7c03
-
ce7c03
   /* We know that the address *might* be contained within this comp
ce7c03
      unit, but we cannot be sure until we check the specific ranges.  */
ce7c03
   arange = &unit->arange;