public inbox for binutils-cvs@sourceware.org
 help / color / mirror / Atom feed
* [binutils-gdb] Fix loongarch build with gcc-4.5
@ 2023-07-14  3:37 Alan Modra
  0 siblings, 0 replies; only message in thread
From: Alan Modra @ 2023-07-14  3:37 UTC (permalink / raw)
  To: bfd-cvs

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=4993e5cc1e2e1e192f56f5788453c1b6f9cca894

commit 4993e5cc1e2e1e192f56f5788453c1b6f9cca894
Author: Alan Modra <amodra@gmail.com>
Date:   Fri Jul 14 10:48:05 2023 +0930

    Fix loongarch build with gcc-4.5
    
            * loongarch-opc.c (loongarch_alias_opcodes): Don't trigger
            gcc-4.5 bug in handling of struct initialisation.

Diff:
---
 opcodes/loongarch-opc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/opcodes/loongarch-opc.c b/opcodes/loongarch-opc.c
index c83e4810db1..2f02e33dbec 100644
--- a/opcodes/loongarch-opc.c
+++ b/opcodes/loongarch-opc.c
@@ -359,7 +359,7 @@ static struct loongarch_opcode loongarch_alias_opcodes[] =
   { 0x60000000,	0xfc0003e0,	"bgtz",		"r0:5,sb10:16<<2",		0,	0, 0, INSN_DIS_ALIAS }, /* blt zero, rd, offset */
   { 0x64000000,	0xfc00001f,	"bgez",		"r5:5,sb10:16<<2",		0,	0, 0, INSN_DIS_ALIAS }, /* bge rj, zero, offset */
   { 0x64000000,	0xfc0003e0,	"blez",		"r0:5,sb10:16<<2",		0,	0, 0, INSN_DIS_ALIAS }, /* bge zero, rd, offset */
-  { 0 } /* Terminate the list.  */
+  { 0, 0, 0, 0, 0, 0, 0, 0 } /* Terminate the list.  */
 };

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-07-14  3:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-14  3:37 [binutils-gdb] Fix loongarch build with gcc-4.5 Alan Modra

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).