This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Changing GAS for ARM to accept semicolon as a comment character ?
- From: Nick Clifton <nickc at cambridge dot redhat dot com>
- To: binutils at sources dot redhat dot com, linux-arm at lists dot arm dot linux dot org dot uk
- Date: 12 Apr 2002 11:53:56 +0100
- Subject: Changing GAS for ARM to accept semicolon as a comment character ?
Hi Guys,
GAS for the ARM currently supports ';' as a line separator character
and '@' as a line comment character. Would anyone object to my
changing this so that ';' was also a line comment character and
dropping the support for multiple instructions on a single line ?
(Or else choosing a different character for a line separator).
The reason is for compatibility with ARM's assembler which uses ';'
as the comment character. (It would be nice to drop '@' as a
comment character since this is used in ELF .section directives, but
I suspect that there is far too much ARM assembly code out there for
this to be feasible).
Cheers
Nick