[PATCH] gas: allow disabling dollar-as-line-separator for AVR target
Nick Clifton
nickc@redhat.com
Wed Aug 11 09:07:00 GMT 2021
Hi Matt,
> * config/tc-avr.c (enum options): Add option flag.
> (struct option): Add option -mno-dollar-line-separator.
> (md_parse_option): Adjust treatment of $ when option is present.
> * config/tc-avr.h: Use avr_line_separator_chars.
Approved and applied.
Note - you missed a couple of things:
* The usage() function in tc-avr.c is used to add AVR specific
output to the assembler's --help command line option. So it
needed to be updated to mention the new option.
* The gas/doc/c-avr.texi file documents the AVR specific command
line options, as well as the special characters, so this too
needed updating.
To save you the trouble however I have taken care of both of these
issues.
Cheers
Nick
More information about the Binutils
mailing list