mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-22 19:09:31 +08:00
C-SKY: Fix the literal dump of big vector constant.
gas/ * config/tc-csky.c (dump_literals): Fix the literal dump of big vector constant.
This commit is contained in:
@ -2022,7 +2022,8 @@ dump_literals (int isforce)
|
|||||||
emit_expr (& p->e, 4);
|
emit_expr (& p->e, 4);
|
||||||
|
|
||||||
if (p->e.X_op == O_big)
|
if (p->e.X_op == O_big)
|
||||||
i += ((p->e.X_add_number * CHARS_PER_LITTLENUM) >> 2);
|
i += (p->e.X_add_number & 1) +
|
||||||
|
((p->e.X_add_number * CHARS_PER_LITTLENUM) >> 2);
|
||||||
else
|
else
|
||||||
i += (p->isdouble ? 2 : 1);
|
i += (p->isdouble ? 2 : 1);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user