From: Alan Modra Date: Mon, 27 Oct 2003 14:06:45 +0000 (+0000) Subject: * readelf.c (dump_section): Don't display DEL characters. X-Git-Tag: cagney_bigcore-20040122-branchpoint~1026 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9376f0c73d2141373b36fe8120fa603c36f794fc;p=external%2Fbinutils.git * readelf.c (dump_section): Don't display DEL characters. --- diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 72db755..5705585 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,7 @@ +2003-10-28 Segher Boessenkool + + * readelf.c (dump_section): Don't display DEL characters. + 2003-10-27 Kazu Hirata * ChangeLog: Fix typos. diff --git a/binutils/readelf.c b/binutils/readelf.c index f9f17f7..629db76 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -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 (".");