Module Name:    src
Committed By:   mlelstv
Date:           Sat Jul  6 12:30:37 UTC 2019

Modified Files:
        src/external/gpl3/binutils/dist/binutils: readelf.c

Log Message:
Don't sign-extend bytes when dumping description data.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/external/gpl3/binutils/dist/binutils/readelf.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/binutils/dist/binutils/readelf.c
diff -u src/external/gpl3/binutils/dist/binutils/readelf.c:1.20 src/external/gpl3/binutils/dist/binutils/readelf.c:1.21
--- src/external/gpl3/binutils/dist/binutils/readelf.c:1.20	Wed Nov  7 01:13:52 2018
+++ src/external/gpl3/binutils/dist/binutils/readelf.c	Sat Jul  6 12:30:36 2019
@@ -18218,7 +18218,7 @@ process_note (Elf_Internal_Note *  pnote
 
       printf (_("   description data: "));
       for (i = 0; i < pnote->descsz; i++)
-	printf ("%02x ", pnote->descdata[i]);
+	printf ("%02x ", pnote->descdata[i] & 0xff);
       if (!do_wide)
 	printf ("\n");
     }

Reply via email to