some z8k fixes (committed)
Christian Groessler
chris@groessler.org
Thu Jun 19 13:47:00 GMT 2003
gas/ChangeLog:
2003-06-19 Christian Groessler <chris@groessler.org>
* config/tc-z8k.c (parse_reg): Invalid registers generate an error
now, not only a warning. Add some more checks to detect invalid
registers.
(get_operand): For CLASS_IR remember register size in mode struct.
(get_specific): Handle new CLASS_IRO type. Add register size
checks for CLASS_IR and CLASS_IRO.
(md_apply_fix3): Fix undefined usage of buf.
opcodes/ChangeLog:
2003-06-19 Christian Groessler <chris@groessler.org>
* z8k-dis.c (instr_data_s): Change tabl_index from long to int.
(print_insn_z8k): Correctly check return value from
z8k_lookup_instr call.
(unparse_instr): Handle CLASS_IRO case.
* z8kgen.c: Fix function definitions. Fix formatting.
(opt): Add brk opcode alias for non-simulator breakpoint. Add
missing and fix existing in/out and sin/sout opcode definitions.
(args): "@ri", "@ro" - add CLASS_IRO register usage for in/out
opcodes.
(internal): Check p->flags for non-zero before dereferencing it.
(gas): Add CLASS_IRO line. Insert new OPC_xxx lines for the added
opcodes and renumber the remaining lines repectively.
(main): Remove "-d" command line switch.
* z8k-opc.h: Regenerate with new z8kgen.c.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: diffs.gz
Type: application/octet-stream
Size: 25426 bytes
Desc: diffs.gz
URL: <https://sourceware.org/pipermail/binutils/attachments/20030619/3f04b4f0/attachment.obj>
More information about the Binutils
mailing list