From 7286ec15a4e2c255d89bac7a202912cc64d32f36 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 22 Sep 2010 19:17:19 +0000 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 --- gas/ChangeLog | 4 ++++ gas/config/tc-bfin.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index ba83ecb..168c01e 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2010-09-22 Mike Frysinger + + * config/tc-bfin.c (comment_chars): Add #. + 2010-09-20 Matthew Gretton-Dann * config/tc-arm.c (arm_cpus): Correct canonical names for Cortex CPUs. 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[] = ";"; -- 2.7.4