From: Cooper Qu Date: Mon, 19 Oct 2020 07:45:36 +0000 (+0800) Subject: C-SKY: Fix the literal dump of big vector constant. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2e58f3923ef09f8a9f8b416d3226d800e143efbe;p=binutils-gdb.git 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. --- diff --git a/gas/config/tc-csky.c b/gas/config/tc-csky.c index 10272fede1c..8b762c21151 100644 --- a/gas/config/tc-csky.c +++ b/gas/config/tc-csky.c @@ -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); }