mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-01 06:14:47 +08:00
arm64: add two initializers
Old enough gcc can't cope and would warn about the variables potentially remaining uninitialized.
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
2021-04-19 Jan Beulich <jbeulich@suse.com>
|
||||||
|
|
||||||
|
* aarch64-asm.c (encode_asimd_fcvt): Add initializer for
|
||||||
|
"qualifier".
|
||||||
|
(convert_mov_to_movewide): Add initializer for "value".
|
||||||
|
|
||||||
2021-04-16 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
|
2021-04-16 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
|
||||||
|
|
||||||
* aarch64-opc.c: Add RME system registers.
|
* aarch64-opc.c: Add RME system registers.
|
||||||
|
@ -1335,7 +1335,7 @@ encode_asimd_fcvt (aarch64_inst *inst)
|
|||||||
{
|
{
|
||||||
aarch64_insn value;
|
aarch64_insn value;
|
||||||
aarch64_field field = {0, 0};
|
aarch64_field field = {0, 0};
|
||||||
enum aarch64_opnd_qualifier qualifier;
|
enum aarch64_opnd_qualifier qualifier = AARCH64_OPND_QLF_NIL;
|
||||||
|
|
||||||
switch (inst->opcode->op)
|
switch (inst->opcode->op)
|
||||||
{
|
{
|
||||||
@ -1893,7 +1893,7 @@ convert_mov_to_movewide (aarch64_inst *inst)
|
|||||||
{
|
{
|
||||||
int is32;
|
int is32;
|
||||||
uint32_t shift_amount;
|
uint32_t shift_amount;
|
||||||
uint64_t value;
|
uint64_t value = ~(uint64_t)0;
|
||||||
|
|
||||||
switch (inst->opcode->op)
|
switch (inst->opcode->op)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user