aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-v850.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2012-10-04 10:30:06 +0000
committerNick Clifton <nickc@redhat.com>2012-10-04 10:30:06 +0000
commit04ee5257d646209723f3ed11afd838529fe6e3a7 (patch)
treef5357fedde2ee5f38268ac75f9b65c381840229a /gas/config/tc-v850.c
parent8936df7e3469f93027d754e0c3d545273d176495 (diff)
downloadgdb-04ee5257d646209723f3ed11afd838529fe6e3a7.zip
gdb-04ee5257d646209723f3ed11afd838529fe6e3a7.tar.gz
gdb-04ee5257d646209723f3ed11afd838529fe6e3a7.tar.bz2
* 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.
Diffstat (limited to 'gas/config/tc-v850.c')
-rw-r--r--gas/config/tc-v850.c2
1 files changed, 1 insertions, 1 deletions
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)