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
|
@ -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>
|
2005-02-18 Joseph S. Myers <joseph@codesourcery.com>
|
||||||
|
|
||||||
* Makefile.am (TOOL_PROGS): Add objdump.
|
* Makefile.am (TOOL_PROGS): Add objdump.
|
||||||
|
|
|
@ -9490,7 +9490,10 @@ display_debug_loc (Elf_Internal_Shdr *section,
|
||||||
start += pointer_size;
|
start += pointer_size;
|
||||||
|
|
||||||
if (begin == 0 && end == 0)
|
if (begin == 0 && end == 0)
|
||||||
|
{
|
||||||
|
printf (_(" %8.8lx <End of list>\n"), offset);
|
||||||
break;
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
/* Check base address specifiers. */
|
/* Check base address specifiers. */
|
||||||
if (begin == -1UL && end != -1UL)
|
if (begin == -1UL && end != -1UL)
|
||||||
|
@ -9524,8 +9527,6 @@ display_debug_loc (Elf_Internal_Shdr *section,
|
||||||
|
|
||||||
start += length;
|
start += length;
|
||||||
}
|
}
|
||||||
|
|
||||||
fputs (_(" <End of list>\n"), stdout);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
|
|
Loading…
Reference in New Issue