[PATCH] gas: blackfin: allow end-of-line comments via #
Mike Frysinger
vapier@gentoo.org
Tue Sep 21 04:56:00 GMT 2010
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
More information about the Binutils
mailing list