This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: RFA: Fix testranges.s on ARM
- From: Hans-Peter Nilsson <hp at bitrange dot com>
- To: Daniel Jacobowitz <drow at false dot org>
- Cc: binutils at sourceware dot org
- Date: Fri, 31 Jul 2009 20:55:30 -0400 (EDT)
- Subject: Re: RFA: Fix testranges.s on ARM
- References: <20090731153049.GA22681@caradoc.them.org>
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.
brgds, H-P