aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-bfin.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-09-22 19:17:19 +0000
committerMike Frysinger <vapier@gentoo.org>2010-09-22 19:17:19 +0000
commit7286ec15a4e2c255d89bac7a202912cc64d32f36 (patch)
treebd84678a66bef59279d5b49ea124e7599b2a972c /gas/config/tc-bfin.c
parente8ae22d1973d52e41b24f9ac58b4c5da9d3cff13 (diff)
downloadgdb-7286ec15a4e2c255d89bac7a202912cc64d32f36.zip
gdb-7286ec15a4e2c255d89bac7a202912cc64d32f36.tar.gz
gdb-7286ec15a4e2c255d89bac7a202912cc64d32f36.tar.bz2
gas: blackfin: allow end-of-line comments via #
We don't use the # character in the Blackfin assembly language, so let it start end-of-line comments like most other assemblers. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'gas/config/tc-bfin.c')
-rw-r--r--gas/config/tc-bfin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gas/config/tc-bfin.c b/gas/config/tc-bfin.c
index 19eae86..814250e 100644
--- a/gas/config/tc-bfin.c
+++ b/gas/config/tc-bfin.c
@@ -1,5 +1,5 @@
/* tc-bfin.c -- Assembler for the ADI Blackfin.
- Copyright 2005, 2006, 2007, 2008, 2009
+ Copyright 2005, 2006, 2007, 2008, 2009, 2010
Free Software Foundation, Inc.
This file is part of GAS, the GNU Assembler.
@@ -136,7 +136,7 @@ const pseudo_typeS md_pseudo_table[] = {
};
/* Characters that are used to denote comments and line separators. */
-const char comment_chars[] = "";
+const char comment_chars[] = "#";
const char line_comment_chars[] = "#";
const char line_separator_chars[] = ";";