diff options
author | Trevor Saunders <tbsaunde+binutils@tbsaunde.org> | 2016-03-27 07:07:27 -0400 |
---|---|---|
committer | Trevor Saunders <tbsaunde+binutils@tbsaunde.org> | 2016-03-31 00:57:11 -0400 |
commit | d92350111695f11809899144076c8bdfd9cd46f3 (patch) | |
tree | 3d00185500f7024f2797fcc9af495a753c20294c /gas/config/tc-alpha.c | |
parent | b60ecbc6ddeaf7af8f2515841b58035f0d4d2db7 (diff) | |
download | fsf-binutils-gdb-d92350111695f11809899144076c8bdfd9cd46f3.zip fsf-binutils-gdb-d92350111695f11809899144076c8bdfd9cd46f3.tar.gz fsf-binutils-gdb-d92350111695f11809899144076c8bdfd9cd46f3.tar.bz2 |
make some variables unsigned
these places define char arrays containing values greater than 0x80 which
doesn't fit in an 8 bit signed char, but does fit in an unsigned one.
gas/ChangeLog:
2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
* config/tc-aarch64.c (aarch64_handle_align): Make the type of some
variables unsigned char[].
* config/tc-alpha.c (alpha_handle_align): Likewise.
* config/tc-arm.c (arm_handle_align): Likewise.
* config/tc-z80.c: Likewise.
Diffstat (limited to 'gas/config/tc-alpha.c')
-rw-r--r-- | gas/config/tc-alpha.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gas/config/tc-alpha.c b/gas/config/tc-alpha.c index 19d4bd2..5fa1403 100644 --- a/gas/config/tc-alpha.c +++ b/gas/config/tc-alpha.c @@ -5366,8 +5366,8 @@ alpha_elf_section_flags (flagword flags, bfd_vma attr, int type ATTRIBUTE_UNUSED void alpha_handle_align (fragS *fragp) { - static char const unop[4] = { 0x00, 0x00, 0xfe, 0x2f }; - static char const nopunop[8] = + static unsigned char const unop[4] = { 0x00, 0x00, 0xfe, 0x2f }; + static unsigned char const nopunop[8] = { 0x1f, 0x04, 0xff, 0x47, 0x00, 0x00, 0xfe, 0x2f |