public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] gas: blackfin: allow end-of-line comments via #
@ 2010-09-21  4:56 Mike Frysinger
  2010-09-22 19:17 ` Mike Frysinger
  0 siblings, 1 reply; 2+ messages in thread
From: Mike Frysinger @ 2010-09-21  4:56 UTC (permalink / raw)
  To: binutils

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] gas: blackfin: allow end-of-line comments via #
  2010-09-21  4:56 [PATCH] gas: blackfin: allow end-of-line comments via # Mike Frysinger
@ 2010-09-22 19:17 ` Mike Frysinger
  0 siblings, 0 replies; 2+ messages in thread
From: Mike Frysinger @ 2010-09-22 19:17 UTC (permalink / raw)
  To: binutils

[-- Attachment #1: Type: Text/Plain, Size: 212 bytes --]

On Tuesday, September 21, 2010 00:55:23 Mike Frysinger wrote:
> We don't use the # character in the Blackfin assembly language, so let it
> start end-of-line comments like most other assemblers.

committed
-mike

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-09-22 19:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-21  4:56 [PATCH] gas: blackfin: allow end-of-line comments via # Mike Frysinger
2010-09-22 19:17 ` Mike Frysinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).