diff options
author | Nick Clifton <nickc@redhat.com> | 2017-10-19 16:21:51 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2017-10-19 16:21:51 +0100 |
commit | 95e42ad4425f0ab0ebfb90035a891be576f9fca4 (patch) | |
tree | 4f9234a3fcdc5a4c40c49dc8e50a27d09b7edc8c /gas/ChangeLog | |
parent | a75868f50ba72e9aa906702ae038fa29feda7743 (diff) | |
download | fsf-binutils-gdb-95e42ad4425f0ab0ebfb90035a891be576f9fca4.zip fsf-binutils-gdb-95e42ad4425f0ab0ebfb90035a891be576f9fca4.tar.gz fsf-binutils-gdb-95e42ad4425f0ab0ebfb90035a891be576f9fca4.tar.bz2 |
Fix the AVR assembler so that it will correctly issue warnings about skipped instructions even if subsections are used.
PR 21621
* config/tc-avr.h (struct avr_frag_data): Add prev_opcode field.
(TC_FRAG_INIT): Define.
(avr_frag_init): Add prototype.
* config/tc-avr.c (avr_frag_init): New function.
(avr_operands): Replace static local 'prev' variable with
prev_opcode field in current frag.
* testsuite/gas/avr/pr21621.s: New test source file.
* testsuite/gas/avr/pr21621.d: New test driver file.
* testsuite/gas/avr/pr21621.s: New test error output file.
Diffstat (limited to 'gas/ChangeLog')
-rw-r--r-- | gas/ChangeLog | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 23b2faa..3e41860 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,16 @@ +2017-10-19 Nick Clifton <nickc@redhat.com> + + PR 21621 + * config/tc-avr.h (struct avr_frag_data): Add prev_opcode field. + (TC_FRAG_INIT): Define. + (avr_frag_init): Add prototype. + * config/tc-avr.c (avr_frag_init): New function. + (avr_operands): Replace static local 'prev' variable with + prev_opcode field in current frag. + * testsuite/gas/avr/pr21621.s: New test source file. + * testsuite/gas/avr/pr21621.d: New test driver file. + * testsuite/gas/avr/pr21621.s: New test error output file. + 2017-10-19 Andreas Krebbel <krebbel@linux.vnet.ibm.com> * testsuite/gas/all/fill-1.s: Use normal labels. Change .text to |