diff options
author | Sergey Belyashov <sergey.belyashov@gmail.com> | 2020-01-14 13:13:57 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2020-01-14 13:13:57 +0000 |
commit | 7a6bf3becbe3e0ce47d2681edcfe7adcb67fe4e2 (patch) | |
tree | a164f68d854f21e3f5b27109be9e88f69fbf7fdb /opcodes | |
parent | ef4e5ba50c76511d4306edf1526c15269f1d7747 (diff) | |
download | fsf-binutils-gdb-7a6bf3becbe3e0ce47d2681edcfe7adcb67fe4e2.zip fsf-binutils-gdb-7a6bf3becbe3e0ce47d2681edcfe7adcb67fe4e2.tar.gz fsf-binutils-gdb-7a6bf3becbe3e0ce47d2681edcfe7adcb67fe4e2.tar.bz2 |
Fix various assembler testsuite failures for the Z80 target.
PR 25377
gas * config/tc-z80.c: Add support for half precision, single
precision and double precision floating point values.
* config/tc-z80.h b/gas/config/tc-z80.h: Disable string escapes.
* doc/as.texi: Add new z80 command line options.
* doc/c-z80.texi: Document new z80 command line options.
* testsuite/gas/z80/ez80_pref_dis.s: New test.
* testsuite/gas/z80/ez80_pref_dis.d: New test driver.
* testsuite/gas/z80/z80.exp: Run the new test.
* testsuite/gas/z80/fp_math48.d: Use correct command line option.
* testsuite/gas/z80/fp_zeda32.d: Likewise.
* testsuite/gas/z80/strings.d: Update expected output.
opcodes * z80-dis.c (suffix): Use .db instruction to generate double
prefix.
Diffstat (limited to 'opcodes')
-rw-r--r-- | opcodes/ChangeLog | 6 | ||||
-rw-r--r-- | opcodes/z80-dis.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 54619fa..accd25a 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,9 @@ +2020-01-14 Sergey Belyashov <sergey.belyashov@gmail.com> + + PR 25377 + * z80-dis.c (suffix): Use .db instruction to generate double + prefix. + 2020-01-14 Alan Modra <amodra@gmail.com> * z8k-dis.c (unpack_instr): Formatting. Cast unsigned short diff --git a/opcodes/z80-dis.c b/opcodes/z80-dis.c index b6f0606..7dfb5f2 100644 --- a/opcodes/z80-dis.c +++ b/opcodes/z80-dis.c @@ -738,7 +738,7 @@ suffix (struct buffer *buf, disassemble_info *info, const char *txt) || buf->data[1] == 0x5b) { /* Double prefix, or end of data. */ - info->fprintf_func (info->stream, "nop ;%s", txt); + info->fprintf_func (info->stream, ".db 0x%02x ; %s", (unsigned)buf->data[0], txt); buf->n_used = 1; return buf->n_used; } |