diff options
author | H.J. Lu <hjl@lucon.org> | 2005-02-25 22:12:12 +0000 |
---|---|---|
committer | H.J. Lu <hjl@lucon.org> | 2005-02-25 22:12:12 +0000 |
commit | 527d54b48db29c069791e0d1a0d7dbab4d56845e (patch) | |
tree | f77e20e60facfb55608cc4c468591111f6659d55 /binutils | |
parent | dc9684227c28227d722a1b1711d7c8628dfd7d47 (diff) | |
download | binutils-redhat-527d54b48db29c069791e0d1a0d7dbab4d56845e.tar.gz |
2005-02-25 H.J. Lu <hongjiu.lu@intel.com>
* readelf.c (display_debug_ranges): Print out offset for end of
list.
Diffstat (limited to 'binutils')
-rw-r--r-- | binutils/ChangeLog | 5 | ||||
-rw-r--r-- | binutils/readelf.c | 6 |
2 files changed, 9 insertions, 2 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 08675d488f..56e3581efe 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -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. diff --git a/binutils/readelf.c b/binutils/readelf.c index 75be6c4d4a..ecf01334dd 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 <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'); |