This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: RFA: Fix testranges.s on ARM
- From: Daniel Jacobowitz <drow at false dot org>
- To: Hans-Peter Nilsson <hp at bitrange dot com>
- Cc: binutils at sourceware dot org
- Date: Sat, 1 Aug 2009 00:10:59 -0400
- Subject: Re: RFA: Fix testranges.s on ARM
- References: <20090731153049.GA22681@caradoc.them.org> <20090731204945.F36528@dair.pair.com>
On Fri, Jul 31, 2009 at 08:55:30PM -0400, Hans-Peter Nilsson wrote:
> On Fri, 31 Jul 2009, Daniel Jacobowitz wrote:
> > This file uses "@progbits" and ".long 0 # comment". The ARM assembler
> > has "@" as a comment character, but "#" is still a line comment
> > character. This was the best fix I could think of without deleting
> > the comments entirely - ugly, but still readable.
>
> JFTR, whenever generic mid-line asm comments are needed, it
> makes sense to use what gcc does: ";#"
> I.e. whereever ";" isn't a (mid-line) comment character, it's a
> line break character and then "#" is a line comment character.
> But you knew that.
No, I didn't. That works? :-)
--
Daniel Jacobowitz
CodeSourcery