From 335574df3c281b3c469ec272686694b41bad928b Mon Sep 17 00:00:00 2001 From: Richard Sandiford Date: Sun, 23 Sep 2012 10:46:38 +0000 Subject: [PATCH] gas/ 2012-09-23 Maciej W. Rozycki * config/tc-mips.c (append_insn) : Don't mark as incomplete for constant expressions. : Likewise. --- gas/ChangeLog | 6 ++++++ gas/config/tc-mips.c | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index c3abe80acdc..6856f58abae 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,9 @@ +2012-09-23 Maciej W. Rozycki + + * config/tc-mips.c (append_insn) : Don't + mark as incomplete for constant expressions. + : Likewise. + 2012-09-23 Richard Sandiford Maciej W. Rozycki diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c index e71e35297ee..7ab846fdca7 100644 --- a/gas/config/tc-mips.c +++ b/gas/config/tc-mips.c @@ -4104,7 +4104,7 @@ append_insn (struct mips_cl_insn *ip, expressionS *address_expr, (unsigned long) address_expr->X_add_number); ip->insn_opcode |= ((address_expr->X_add_number >> shift) & 0x3ffffff); - ip->complete_p = 0; + ip->complete_p = 1; } break; @@ -4116,7 +4116,7 @@ append_insn (struct mips_cl_insn *ip, expressionS *address_expr, (((address_expr->X_add_number & 0x7c0000) << 3) | ((address_expr->X_add_number & 0xf800000) >> 7) | ((address_expr->X_add_number & 0x3fffc) >> 2)); - ip->complete_p = 0; + ip->complete_p = 1; break; case BFD_RELOC_16_PCREL_S2: -- 2.30.2