aboutsummaryrefslogtreecommitdiff
path: root/bfd/dwarf2.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/dwarf2.c')
-rw-r--r--bfd/dwarf2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/dwarf2.c b/bfd/dwarf2.c
index a62c952..58d464b 100644
--- a/bfd/dwarf2.c
+++ b/bfd/dwarf2.c
@@ -5645,7 +5645,7 @@ stash_comp_unit (struct dwarf2_debug *stash, struct dwarf2_debug_file *file)
if (each->arange.high == 0)
{
each->next_unit_without_ranges = file->all_comp_units_without_ranges;
- file->all_comp_units_without_ranges = each->next_unit_without_ranges;
+ file->all_comp_units_without_ranges = each;
}
file->info_ptr += length;