Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/gpl3/binutils/dist/binutils Don't sign-extend bytes...
details: https://anonhg.NetBSD.org/src/rev/a5c8ab10b450
branches: trunk
changeset: 962228:a5c8ab10b450
user: mlelstv <mlelstv%NetBSD.org@localhost>
date: Sat Jul 06 12:30:36 2019 +0000
description:
Don't sign-extend bytes when dumping description data.
diffstat:
external/gpl3/binutils/dist/binutils/readelf.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 3ff4b76f7de0 -r a5c8ab10b450 external/gpl3/binutils/dist/binutils/readelf.c
--- a/external/gpl3/binutils/dist/binutils/readelf.c Sat Jul 06 08:00:19 2019 +0000
+++ b/external/gpl3/binutils/dist/binutils/readelf.c Sat Jul 06 12:30:36 2019 +0000
@@ -18218,7 +18218,7 @@
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");
}
Home |
Main Index |
Thread Index |
Old Index