diff options
Diffstat (limited to 'binutils/dwarf.c')
-rw-r--r-- | binutils/dwarf.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/binutils/dwarf.c b/binutils/dwarf.c index d5dbb78..72efe3e 100644 --- a/binutils/dwarf.c +++ b/binutils/dwarf.c @@ -3576,17 +3576,19 @@ display_debug_ranges (struct dwarf_section *section, break; } - print_dwarf_vma (begin, pointer_size); - print_dwarf_vma (end, pointer_size); - /* Check base address specifiers. */ if (begin == (dwarf_vma) -1 && end != (dwarf_vma) -1) { base_address = end; + print_dwarf_vma (begin, pointer_size); + print_dwarf_vma (end, pointer_size); printf ("(base address)\n"); continue; } + print_dwarf_vma (begin + base_address, pointer_size); + print_dwarf_vma (end + base_address, pointer_size); + if (begin == end) fputs (_("(start == end)"), stdout); else if (begin > end) |