This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
[PATCH] readelf -x
- From: Segher Boessenkool <segher at kernel dot crashing dot org>
- To: binutils at sources dot redhat dot com
- Date: Mon, 27 Oct 2003 15:23:54 +0100 (CET)
- Subject: [PATCH] readelf -x
Obvious patch. DEL characters should not be displayed.
Please install, if approved.
Segher
2003-10-26 Segher Boessenkool <segher@kernel.crashing.org>
* readelf.c (dump_section): Don't display DEL characters.
*** readelf.c~ Sun Oct 26 15:58:44 2003
--- readelf.c Sun Oct 26 16:01:40 2003
*************** dump_section (section, file)
*** 6028,6034 ****
for (j = 0; j < lbytes; j++)
{
k = data [j];
! if (k >= ' ' && k < 0x80)
printf ("%c", k);
else
printf (".");
--- 6028,6034 ----
for (j = 0; j < lbytes; j++)
{
k = data [j];
! if (k >= ' ' && k < 0x7f)
printf ("%c", k);
else
printf (".");