This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Modifying comment character on SVR4 gas target
- From: John Levon <levon at movementarian dot org>
- To: binutils at sources dot redhat dot com
- Date: Tue, 1 Nov 2005 16:48:29 +0000
- Subject: Modifying comment character on SVR4 gas target
I'd like to add an option similar to m68k's --bitwise-or to change the
comment character. It's easy enough to add a tc_comment_chars and
--divide option to remove '/' from comment_chars, but since GCC still
generates comment lines beginning with e.g. "/APP", it looks like I need
to add '/' to line_comment_chars when given the option, and introduce a
tc_line_comment_chars.
Does this seem like a reasonable approach, or would people prefer
something else?
thanks,
john