From: Maciej W. Rozycki Date: Mon, 6 Jan 2014 02:40:48 +0000 (+0800) Subject: * nds32-asm.c (parse_operand): Fix out-of-range integer constant. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b0b0c9fc49b72ec4f0f38419f20bcafcae9736d8;p=binutils-gdb.git * nds32-asm.c (parse_operand): Fix out-of-range integer constant. --- diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 8a9d7e6c1d4..fbb86a3d2a9 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,7 @@ +2014-01-03 Maciej W. Rozycki + + * nds32-asm.c (parse_operand): Fix out-of-range integer constant. + 2013-12-17 Kuan-Lin Chen * nds32-dis.c (sr_map): Add system register table for disassembling. diff --git a/opcodes/nds32-asm.c b/opcodes/nds32-asm.c index d7681bfe516..62512dd84a7 100644 --- a/opcodes/nds32-asm.c +++ b/opcodes/nds32-asm.c @@ -1370,7 +1370,7 @@ parse_operand (nds32_asm_desc_t *pdesc, nds32_asm_insn_t *pinsn, hashval_t hash; const field_t *fld = &LEX_GET_FIELD (syn); keyword_t *k; - int64_t value = 0x100000000; /* Big enough to overflow. */ + int64_t value; int r; uint64_t modifier = 0;