Fix compile time warnings building the binutils with gcc 7.1.1.
authorNick Clifton <nickc@redhat.com>
Wed, 12 Jul 2017 11:17:02 +0000 (12:17 +0100)
committerNick Clifton <nickc@redhat.com>
Wed, 12 Jul 2017 11:17:02 +0000 (12:17 +0100)
commit0bae9e9ec550c940e263b37f577bf11b2dabf934
tree82c27756b67646e785e85fa9935d3ef4a87ac1b6
parent2fe40b6792e98dfe27e4521b2b33fe0f335ea1f0
Fix compile time warnings building the binutils with gcc 7.1.1.

bfd * elf32-xtensa.c (elf_xtensa_get_plt_section): Increase length of
plt_name buffer.
(elf_xtensa_get_gotplt_section): Increase length of got_name
buffer.
* mach-o-arm.c (bfd_mach_o_arm_canonicalize_one_reloc): Add a
default return of FALSE.
* mach-o-i386.c (bfd_mach_o_i386_canonicalize_one_reloc): Add a
default return of FALSE.

binutils * dwarf.c (dwarf_vmatoa_1): Do not pass a NULL string pointer to
sprintf.
* srconv.c (walk_tree_type): Initialise the spare field of the
IT_dty structure.

gas * config/tc-pru.c (md_assemble): Add continue statement after
handling 'E' operand character.
* config/tc-v850.c (md_assemble): Initialise the 'insn' variable.
bfd/ChangeLog
bfd/elf32-xtensa.c
bfd/mach-o-arm.c
bfd/mach-o-i386.c
binutils/ChangeLog
binutils/dwarf.c
binutils/srconv.c
gas/ChangeLog
gas/config/tc-pru.c
gas/config/tc-v850.c