* readelf.c (dump_section): Don't display DEL characters.

This commit is contained in:
Alan Modra 2003-10-27 14:06:45 +00:00
parent 36d86913b5
commit 9376f0c73d
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2003-10-28 Segher Boessenkool <segher@kernel.crashing.org>
* readelf.c (dump_section): Don't display DEL characters.
2003-10-27 Kazu Hirata <kazu@cs.umass.edu>
* ChangeLog: Fix typos.

View File

@ -6115,7 +6115,7 @@ dump_section (Elf_Internal_Shdr *section, FILE *file)
for (j = 0; j < lbytes; j++)
{
k = data[j];
if (k >= ' ' && k < 0x80)
if (k >= ' ' && k < 0x7f)
printf ("%c", k);
else
printf (".");