2005-02-18 H.J. Lu <hongjiu.lu@intel.com>
* readelf.c (display_debug_loc): Print out offset for end of list.
This commit is contained in:
parent
5bf193a2ee
commit
904c75ac4f
2 changed files with 9 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
|||
2005-02-18 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* readelf.c (display_debug_loc): Print out offset for end of
|
||||
list.
|
||||
|
||||
2005-02-18 Joseph S. Myers <joseph@codesourcery.com>
|
||||
|
||||
* Makefile.am (TOOL_PROGS): Add objdump.
|
||||
|
|
|
@ -9490,7 +9490,10 @@ display_debug_loc (Elf_Internal_Shdr *section,
|
|||
start += pointer_size;
|
||||
|
||||
if (begin == 0 && end == 0)
|
||||
{
|
||||
printf (_(" %8.8lx <End of list>\n"), offset);
|
||||
break;
|
||||
}
|
||||
|
||||
/* Check base address specifiers. */
|
||||
if (begin == -1UL && end != -1UL)
|
||||
|
@ -9524,8 +9527,6 @@ display_debug_loc (Elf_Internal_Shdr *section,
|
|||
|
||||
start += length;
|
||||
}
|
||||
|
||||
fputs (_(" <End of list>\n"), stdout);
|
||||
}
|
||||
}
|
||||
return 1;
|
||||
|
|
Loading…
Reference in a new issue