This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Re: Override arm-elf-as comment char
- To: binutils at sourceware dot cygnus dot com
- Subject: Re: Override arm-elf-as comment char
- From: Doug Evans <devans at cygnus dot com>
- Date: Thu, 14 Oct 1999 09:38:15 -0700
- CC: jlarmour at cygnus dot co dot uk
Date: Thu, 14 Oct 1999 08:15:05 +0000
From: Jonathan Larmour <jlarmour@cygnus.co.uk>
There seems to be a conflict in the arm-elf-as syntax. gas/config/tc-arm.c
has '@' listed as a comment character. Unfortunately gas/config/obj-elf.c
requires the use of '@' in order to specify @nobits or @progbits options to
the .section pseudo-op.
I've pored over gas/app.c, but can't find any way to escape the '@' so it
gets passed through.
This should be fixed, otherwise it's impossible to mark sections as
equivalent to the BSS. But what should give? Presumably '@' is a comment
character for compatibility with the ARM SDT? So should we instead change
app.c to allow the escape any character?
Thanks in advance,
IIRC, I could never get the \@ feature of .macro's to work because of this.
Is there a substitute for this?