Fix compile time warning messages when compiling binutils with gcc 7.0.1.
authorNick Clifton <nickc@redhat.com>
Fri, 3 Feb 2017 09:04:21 +0000 (09:04 +0000)
committerNick Clifton <nickc@redhat.com>
Fri, 3 Feb 2017 09:04:21 +0000 (09:04 +0000)
commit1b7e3d2fb7036ce6f9d74e32dc052518f5cd45b6
treec688cc3b7f56099d9e92a92af400fd1cbccf920b
parent65c40c956fcd9443a5390d6cc36f84bd1bf77df4
Fix compile time warning messages when compiling binutils with gcc 7.0.1.

PR 21096
bfd * coffcode.h (coff_write_object_contents): Enlarge size of
s_name_buf in order to avoid compile time warning about possible
integer truncation.
* elf32-nds32.c (nds32_elf_ex9_import_table): Mask off lower
32-bits of insn value before printing into buffer.

opcodes * aarch64-opc.c (print_register_list): Ensure that the register
list index will fir into the tb buffer.
(print_register_offset_address): Likewise.
* tic6x-dis.c (print_insn_tic6x): Increase size of func_unit_buf.
bfd/ChangeLog
bfd/coffcode.h
bfd/elf32-nds32.c
opcodes/ChangeLog
opcodes/aarch64-opc.c
opcodes/tic6x-dis.c