Fix handling of undocumented SLL instruction for the Z80 target.
authorArnold Metselaar <arnold.metsel@gmail.com>
Tue, 21 Aug 2018 14:50:49 +0000 (15:50 +0100)
committerNick Clifton <nickc@redhat.com>
Tue, 21 Aug 2018 14:50:49 +0000 (15:50 +0100)
commit6efa941c381b603fbf9d0f951eff87bcb805fa94
tree0688ed735bfbacf32a94696a803953782f0f923c
parenta4497d2f8486502ab5140ec5168d5f13ec375155
Fix handling of undocumented SLL instruction for the Z80 target.

* config/tc-z80.c: Correct treatment of undocumented instruction
sli/sll.
(emit_mr): Add argument unportable.
(emit_bit): Adapt call to emit_mr.
(emit_mr_z80): New function.
(emit_mr_unportable): New function.
(instab[]): Replace emit_mr with emit_mr_z80 or emit_mr_unportable
as appropriate.
gas/ChangeLog
gas/config/tc-z80.c