aboutsummaryrefslogtreecommitdiff
path: root/opcodes/loongarch-opc.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2023-07-14 10:48:05 +0930
committerAlan Modra <amodra@gmail.com>2023-07-14 11:59:50 +0930
commit4993e5cc1e2e1e192f56f5788453c1b6f9cca894 (patch)
treeefdec3bd6abe2f4ffed69e689278b56bc1de3be8 /opcodes/loongarch-opc.c
parent6d872a1a807dc3f347808e853111dec7770ee0a9 (diff)
downloadgdb-4993e5cc1e2e1e192f56f5788453c1b6f9cca894.zip
gdb-4993e5cc1e2e1e192f56f5788453c1b6f9cca894.tar.gz
gdb-4993e5cc1e2e1e192f56f5788453c1b6f9cca894.tar.bz2
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.
Diffstat (limited to 'opcodes/loongarch-opc.c')
-rw-r--r--opcodes/loongarch-opc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/opcodes/loongarch-opc.c b/opcodes/loongarch-opc.c
index c83e481..2f02e33 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. */
};