diff options
author | Trevor Saunders <tbsaunde@tbsaunde.org> | 2016-02-14 14:41:38 -0500 |
---|---|---|
committer | Trevor Saunders <tbsaunde+binutils@tbsaunde.org> | 2016-03-20 13:22:55 -0400 |
commit | bad6e36d96dcfe09dc4bec0fcda12bf4a1bc1b28 (patch) | |
tree | cd42ee8d003d328b04c7520cd70d10b9e154fd53 /gdb/arm-linux-tdep.c | |
parent | 148fa56275a662782428df0a42d9e68bf65a11a0 (diff) | |
download | gdb-bad6e36d96dcfe09dc4bec0fcda12bf4a1bc1b28.zip gdb-bad6e36d96dcfe09dc4bec0fcda12bf4a1bc1b28.tar.gz gdb-bad6e36d96dcfe09dc4bec0fcda12bf4a1bc1b28.tar.bz2 |
tc-i386.c: store encoded instructions in unsigned char[]
char can be a signed type, and some of the values in these arrays are greater
than 0x80 which means they are outside of the range a signed char can store.
Fortunately it seems most compilers handle this in the obvious way by storing
the same bits as a negative number, but this is wierd and easily fixed.
gas/ChangeLog:
2016-03-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
* tc-i386.c (f32_1): Change type to unsigned char[].
(f32_2): Likewise.
(f32_3): Likewise.
(f32_4): Likewise.
(f32_5): Likewise.
(f32_6): Likewise.
(f32_7): Likewise.
(f32_8): Likewise.
(f32_9): Likewise.
(f32_10): Likewise.
(f32_11): Likewise.
(f32_12): Likewise.
(f32_13): Likewise.
(f32_14): Likewise.
(f16_3): Likewise.
(f16_4): Likewise.
(f16_5): Likewise.
(f16_6): Likewise.
(f16_7): Likewise.
(f16_8): Likewise.
(jump_31): Likewise.
(f32_patt): Likewise.
(f16_patt): Likewise.
(alt_3): Likewise.
(alt_4): Likewise.
(alt_5): Likewise.
(alt_6): Likewise.
(alt_7): Likewise.
(alt_8): Likewise.
(alt_9): Likewise.
(alt_10): Likewise.
(alt_patt): Likewise.
Diffstat (limited to 'gdb/arm-linux-tdep.c')
0 files changed, 0 insertions, 0 deletions