diff options
author | Alan Modra <amodra@gmail.com> | 2020-08-31 17:34:39 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2020-08-31 20:28:13 +0930 |
commit | 06de2e0da24a0f0fdc9b38f8308ec909453c4ee8 (patch) | |
tree | d9ba56c1a32ce040a7790a49b36bf42f6cb13f97 /missing | |
parent | 8e8220177712bff17240687e60b41073bf5d85bb (diff) | |
download | gdb-06de2e0da24a0f0fdc9b38f8308ec909453c4ee8.zip gdb-06de2e0da24a0f0fdc9b38f8308ec909453c4ee8.tar.gz gdb-06de2e0da24a0f0fdc9b38f8308ec909453c4ee8.tar.bz2 |
PR26510 UBSAN: tc-z8k.c left shift of negative value
This also fixes the packing of the nibble buffer, which contains
rubbish in the top 4 bits of each element.
PR 26510
* config/tc-z8k.c (buffer): Use unsigned char.
(apply_fix): Use unsigned char* pointers.
(build_bytes): Likewise and mask nibbles when packing.
Diffstat (limited to 'missing')
0 files changed, 0 insertions, 0 deletions