From 04ee5257d646209723f3ed11afd838529fe6e3a7 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 4 Oct 2012 10:30:06 +0000 Subject: * v850-dis.c (disassemble): Place square parentheses around second register operand of clr1, not1, set1 and tst1 instructions. * config/tc-v850.c (v850_insert_operand): Use a static buffer for the error message. * gas/v850/v850e1.d: Fix expected disassembly of clr1, not1, set1 and tst1 insns. --- gas/config/tc-v850.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gas/config/tc-v850.c') diff --git a/gas/config/tc-v850.c b/gas/config/tc-v850.c index 3fbc654..1340b4e 100644 --- a/gas/config/tc-v850.c +++ b/gas/config/tc-v850.c @@ -1955,7 +1955,7 @@ v850_insert_operand (unsigned long insn, else if (val < (offsetT) min || val > (offsetT) max) { - char buf [128]; + static char buf [128]; /* Restore min and mix to expected values for decimal ranges. */ if ((operand->flags & V850_OPERAND_SIGNED) -- cgit v1.1