]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Add a -mno-dollar-line-separator command line option to the AVR assembler.
authorMatt Jacobson <mhjacobson@me.com>
Wed, 11 Aug 2021 09:03:19 +0000 (10:03 +0100)
committerNick Clifton <nickc@redhat.com>
Wed, 11 Aug 2021 09:03:19 +0000 (10:03 +0100)
commitd86d1fc7f988f52da4711a86c078194347ab6482
tree1086243d3c10740164fefb19bfcacd42f72d8f6d
parentbda3d9fbc86950e4661188161ee643f0987d032c
Add a -mno-dollar-line-separator command line option to the AVR assembler.

Some frontends, like the gcc Objective-C frontend, emit symbols with $
characters in them.  The AVR target code in gas treats $ as a line separator,
so the code doesn?t assemble correctly.

Provide a machine-specific option to disable treating $ as a line separator.

* 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.
gas/ChangeLog
gas/config/tc-avr.c
gas/config/tc-avr.h
gas/doc/c-avr.texi