mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-26 02:33: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:
parent
1b03c32c3b
commit
2e58f3923e
@ -2022,7 +2022,8 @@ dump_literals (int isforce)
|
||||
emit_expr (& p->e, 4);
|
||||
|
||||
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
|
||||
i += (p->isdouble ? 2 : 1);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user