diff options
-rw-r--r-- | opcodes/ChangeLog | 4 | ||||
-rw-r--r-- | opcodes/aarch64-opc.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 4974791..082d755 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,7 @@ +2017-09-21 Sergio Durigan Junior <sergiodj@redhat.com> + + * aarch64-opc.c (expand_fp_imm): Initialize 'imm'. + 2017-09-09 Kamil Rytarowski <n54@gmx.com> * nds32-asm.c: Rename __BIT() to N32_BIT(). diff --git a/opcodes/aarch64-opc.c b/opcodes/aarch64-opc.c index 27c1d09..c93a90a 100644 --- a/opcodes/aarch64-opc.c +++ b/opcodes/aarch64-opc.c @@ -2847,7 +2847,7 @@ typedef union static uint64_t expand_fp_imm (int size, uint32_t imm8) { - uint64_t imm; + uint64_t imm = 0; uint32_t imm8_7, imm8_6_0, imm8_6, imm8_6_repl4; imm8_7 = (imm8 >> 7) & 0x01; /* imm8<7> */ |