* config/tc-mcore.c (md_assemble): Increase length of name array

to include terminating NUL.
This commit is contained in:
Nick Clifton 2008-08-22 17:05:40 +00:00
parent 25db0f1bf5
commit 34857dd609
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2008-08-22 Nick Clifton <nickc@redhat.com>
* config/tc-mcore.c (md_assemble): Increase length of name array
to include terminating NUL.
2008-08-22 Jie Zhang <jie.zhang@analog.com>
* config/bfin-lex.l (NUMBER): Protect special `.'.

View File

@ -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))