From: Nick Clifton Date: Fri, 22 Aug 2008 17:05:40 +0000 (+0000) Subject: * config/tc-mcore.c (md_assemble): Increase length of name array X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=34857dd609e4ceeb141564fb471ec65520db97ee;p=binutils-gdb.git * config/tc-mcore.c (md_assemble): Increase length of name array to include terminating NUL. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index 5ab72021422..b38032212dc 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2008-08-22 Nick Clifton + + * config/tc-mcore.c (md_assemble): Increase length of name array + to include terminating NUL. + 2008-08-22 Jie Zhang * config/bfin-lex.l (NUMBER): Protect special `.'. diff --git a/gas/config/tc-mcore.c b/gas/config/tc-mcore.c index 73307b13e1e..c7c024e97f2 100644 --- a/gas/config/tc-mcore.c +++ b/gas/config/tc-mcore.c @@ -859,7 +859,7 @@ md_assemble (char * str) unsigned off; unsigned isize; expressionS e; - char name[20]; + char name[21]; /* Drop leading whitespace. */ while (ISSPACE (* str))