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 /bfd/cpu-z80.c | |
parent | a75868f50ba72e9aa906702ae038fa29feda7743 (diff) | |
download | gdb-95e42ad4425f0ab0ebfb90035a891be576f9fca4.zip gdb-95e42ad4425f0ab0ebfb90035a891be576f9fca4.tar.gz 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 'bfd/cpu-z80.c')
0 files changed, 0 insertions, 0 deletions