From 9376f0c73d2141373b36fe8120fa603c36f794fc Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Mon, 27 Oct 2003 14:06:45 +0000 Subject: [PATCH] * readelf.c (dump_section): Don't display DEL characters. --- binutils/ChangeLog | 4 ++++ binutils/readelf.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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 ("."); -- 2.7.4