projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d872a1
)
Fix loongarch build with gcc-4.5
author
Alan Modra
<amodra@gmail.com>
Fri, 14 Jul 2023 01:18:05 +0000
(10:48 +0930)
committer
Alan Modra
<amodra@gmail.com>
Fri, 14 Jul 2023 02:29:50 +0000
(11:59 +0930)
* loongarch-opc.c (loongarch_alias_opcodes): Don't trigger
gcc-4.5 bug in handling of struct initialisation.
opcodes/loongarch-opc.c
patch
|
blob
|
history
diff --git
a/opcodes/loongarch-opc.c
b/opcodes/loongarch-opc.c
index c83e4810db163d2bb8f156a452337048d909716c..2f02e33dbec80bb900b3bd1a1b30fda8192a4e67 100644
(file)
--- 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. */
};