From: H.J. Lu Date: Fri, 25 Feb 2005 22:12:12 +0000 (+0000) Subject: 2005-02-25 H.J. Lu X-Git-Tag: binutils-2_16-branchpoint~138 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=35515c66de79029bd4ccfdc9f35f32ebe643f358;p=thirdparty%2Fbinutils-gdb.git 2005-02-25 H.J. Lu * readelf.c (display_debug_ranges): Print out offset for end of list. --- diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 08675d488fa..56e3581efe1 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,8 @@ +2005-02-25 H.J. Lu + + * readelf.c (display_debug_ranges): Print out offset for end of + list. + 2005-02-23 Alan Modra * dlltool.c: Warning fixes. diff --git a/binutils/readelf.c b/binutils/readelf.c index 75be6c4d4a3..ecf01334dd0 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -9831,7 +9831,10 @@ display_debug_ranges (Elf_Internal_Shdr *section, start += pointer_size; if (begin == 0 && end == 0) - break; + { + printf (_(" %8.8lx \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 (_(" \n"), stdout); } } putchar ('\n');