gcc-4.5 build fixes
authorAlan Modra <amodra@gmail.com>
Mon, 15 May 2023 13:23:21 +0000 (22:53 +0930)
committerAlan Modra <amodra@gmail.com>
Wed, 17 May 2023 01:51:43 +0000 (11:21 +0930)
commit3318d80021140659fab083bc03cf6b0cc54a139d
tree999d535b9b13472bca6658f75e16b49276185c41
parentf5b7a67f8d0ffcb76a6185a531d87a2f010b1bbc
gcc-4.5 build fixes

Trying to build binutils with an older gcc currently fails.  Working
around these gcc bugs is not onerous so let's fix them.

bfd/
* elf32-csky.c (csky_elf_size_dynamic_sections): Don't type-pun
pointer.
* elf32-rl78.c (rl78_compute_complex_reloc): Rename "stat"
variable to "status".
gas/
* compress-debug.c (compress_finish): Supply all fields in
ZSTD_inBuffer initialisation.
include/
* xtensa-dynconfig.h (xtensa_isa_internal): Delete unnecessary
forward declaration.
opcodes/
* loongarch-opc.c: Supply all fields of zero struct initialisation
in various opcode tables.
bfd/elf32-csky.c
bfd/elf32-rl78.c
gas/compress-debug.c
include/xtensa-dynconfig.h
opcodes/loongarch-opc.c