2005-02-25 H.J. Lu <hongjiu.lu@intel.com>

* readelf.c (display_debug_ranges): Print out offset for end of
	list.
This commit is contained in:
H.J. Lu 2005-02-25 22:12:12 +00:00
parent 1978907b39
commit 35515c66de
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2005-02-25 H.J. Lu <hongjiu.lu@intel.com>
* readelf.c (display_debug_ranges): Print out offset for end of
list.
2005-02-23 Alan Modra <amodra@bigpond.net.au>
* dlltool.c: Warning fixes.

View File

@ -9831,7 +9831,10 @@ display_debug_ranges (Elf_Internal_Shdr *section,
start += pointer_size;
if (begin == 0 && end == 0)
break;
{
printf (_(" %8.8lx <End of list>\n"), offset);
break;
}
/* Check base address specifiers. */
if (begin == -1UL && end != -1UL)
@ -9852,7 +9855,6 @@ display_debug_ranges (Elf_Internal_Shdr *section,
putchar ('\n');
}
fputs (_(" <End of list>\n"), stdout);
}
}
putchar ('\n');