diff options
author | Matt Jacobson <mhjacobson@me.com> | 2021-08-11 10:03:19 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2021-08-11 10:03:19 +0100 |
commit | d86d1fc7f988f52da4711a86c078194347ab6482 (patch) | |
tree | 1086243d3c10740164fefb19bfcacd42f72d8f6d /gas/ChangeLog | |
parent | bda3d9fbc86950e4661188161ee643f0987d032c (diff) | |
download | gdb-d86d1fc7f988f52da4711a86c078194347ab6482.zip gdb-d86d1fc7f988f52da4711a86c078194347ab6482.tar.gz gdb-d86d1fc7f988f52da4711a86c078194347ab6482.tar.bz2 |
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.
Diffstat (limited to 'gas/ChangeLog')
-rw-r--r-- | gas/ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 14666b4..dd19f3e 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,12 @@ +2021-08-11 Matt Jacobson <mhjacobson@me.com> + + * 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. + (usage): Mention the new option. + * config/tc-avr.h: Use avr_line_separator_chars. + * doc/c-avr.texi: Document the new option. + 2021-08-11 Nick Clifton <nickc@redhat.com> * config/tc-tic4x.c (tic4x_gen_to_words): Fix typo. |