From 3318d80021140659fab083bc03cf6b0cc54a139d Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Mon, 15 May 2023 22:53:21 +0930 Subject: 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. --- include/xtensa-dynconfig.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'include') diff --git a/include/xtensa-dynconfig.h b/include/xtensa-dynconfig.h index bb72d6a..b6b0218 100644 --- a/include/xtensa-dynconfig.h +++ b/include/xtensa-dynconfig.h @@ -104,8 +104,6 @@ struct xtensa_config_v2 int xtensa_march_earliest; }; -typedef struct xtensa_isa_internal_struct xtensa_isa_internal; - extern const void *xtensa_load_config (const char *name, const void *no_plugin_def, const void *no_name_def); -- cgit v1.1