This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFA: Fix testranges.s on ARM


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]