aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2008-08-22 17:05:40 +0000
committerNick Clifton <nickc@redhat.com>2008-08-22 17:05:40 +0000
commit34857dd609e4ceeb141564fb471ec65520db97ee (patch)
treec030aa1e975ba412cd6c87c64d56bdcd738247c8 /gas/config
parent25db0f1bf5952f37770750ad364d7e191a031458 (diff)
downloadgdb-34857dd609e4ceeb141564fb471ec65520db97ee.zip
gdb-34857dd609e4ceeb141564fb471ec65520db97ee.tar.gz
gdb-34857dd609e4ceeb141564fb471ec65520db97ee.tar.bz2
* config/tc-mcore.c (md_assemble): Increase length of name array
to include terminating NUL.
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-mcore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/tc-mcore.c b/gas/config/tc-mcore.c
index 73307b1..c7c024e 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))