aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--binutils/ChangeLog4
-rw-r--r--binutils/readelf.c2
2 files changed, 5 insertions, 1 deletions
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 <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.
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 (".");