https://sourceware.org/bugzilla/show_bug.cgi?id=18750
--- Comment #5 from Tyler Hicks <tyhicks at canonical dot com> --- Yes, but srec.c gets it right by storing the bytes in an unsigned char instead of a signed one. I now think that ihex.c should also have this change, as well: diff --git a/bfd/ihex.c b/bfd/ihex.c index 8e66372..31d1cc7 100644 --- a/bfd/ihex.c +++ b/bfd/ihex.c @@ -276,7 +276,7 @@ ihex_scan (bfd *abfd) else { file_ptr pos; - char hdr[8]; + unsigned char hdr[8]; unsigned int i; unsigned int len; bfd_vma addr; -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils