* config/tc-mcore.c (md_assemble): Increase length of name array
authorNick Clifton <nickc@redhat.com>
Fri, 22 Aug 2008 17:05:40 +0000 (17:05 +0000)
committerNick Clifton <nickc@redhat.com>
Fri, 22 Aug 2008 17:05:40 +0000 (17:05 +0000)
            to include terminating NUL.

gas/ChangeLog
gas/config/tc-mcore.c

index 5ab7202142227e4fc75bc1f09f4794c61e4ed656..b38032212dc98132913f3435c58e84c8006a8ad9 100644 (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 `.'.
index 73307b13e1e9a4b2a9079ba463b73d7c09891fdb..c7c024e97f29aff61fbce8ea2a12807fecc2cb8e 100644 (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))