* readelf.c (dump_section): Don't display DEL characters.
authorAlan Modra <amodra@gmail.com>
Mon, 27 Oct 2003 14:06:45 +0000 (14:06 +0000)
committerAlan Modra <amodra@gmail.com>
Mon, 27 Oct 2003 14:06:45 +0000 (14:06 +0000)
binutils/ChangeLog
binutils/readelf.c

index 72db755..5705585 100644 (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.
index f9f17f7..629db76 100644 (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 (".");