Override arm-elf-as comment char

Doug Evans devans@cygnus.com
Thu Oct 14 09:38:00 GMT 1999

   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?

More information about the Binutils mailing list