This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH] gas: blackfin: allow end-of-line comments via #
- From: Mike Frysinger <vapier at gentoo dot org>
- To: binutils at sourceware dot org
- Date: Tue, 21 Sep 2010 00:55:23 -0400
- Subject: [PATCH] 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>
2010-09-21 Mike Frysinger <vapier@gentoo.org>
* config/tc-bfin.c (comment_chars): Add #.
---
gas/config/tc-bfin.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/gas/config/tc-bfin.c b/gas/config/tc-bfin.c
index 19eae86..b025110 100644
--- a/gas/config/tc-bfin.c
+++ b/gas/config/tc-bfin.c
@@ -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[] = ";";
--
1.7.2