2 Wed Aug 27 21:42:39 1997 Ken Raeburn <raeburn@cygnus.com>
4 Merge changes from Martin Hunt:
6 * d30v-opc.c: Change mvfacc to accept 6-bit unsigned values.
8 * d30v-opc.c (pre_defined_registers): Add control registers from 0-63.
9 (d30v_opcode_tabel): Add dbt, rtd, srah, and srlh instructions. Fix
10 rot2h, sra2h, and srl2h to use new SHORT_A5S format.
12 * d30v-dis.c (print_insn): Fix disassembly of SHORT_D2 opcodes.
14 * d30v-dis.c (print_insn): First operand of d*i (delayed
15 branch) instructions is relative.
17 * d30v-opc.c (d30v_opcode_table): Change form for repeati.
18 (d30v_operand_table): Add IMM6S3 type.
19 (d30v_format_table): Change SHORT_D2. Add LONG_Db.
21 * d30v-dis.c: Fix bug with ".s" and ".l" extensions
24 * d30v-opc.c: Correct entries for repeat*, and sat*.
25 Make IMM5 unsigned. Create IMM6U and IMM12S3U operand
26 types. Correct several formats.
28 * d30v-opc.c: (pre_defined_registers): Add dpsw and dpc.
30 * d30v-opc.c (pre_defined_registers): Change control registers.
32 * d30v-opc.c (d30v_format_table): Correct SHORT_C1 and
33 SHORT_C2. Manual was incorrect.
35 * d30v-dis.c (lookup_opcode): Return value now indicates
36 if an opcode has a short and a long form. Used for deciding
37 to append a ".s" or ".l".
38 (print_insn): Append a ".s" to an instruction if it is
39 the short form and ".l" if it is a long form. Do not append
40 anything if the instruction has only one possible size.
42 * d30v-opc.c: Change mulx2h to require an even register.
43 New form: SHORT_A2; a SHORT_A form that needs an even
44 register as the first operand.
46 * d30v-dis.c (print_insn_d30v): Fix problem where the last
47 instruction was not being disassembled if there were an odd
48 number of instructions.
50 * d30v-opc.c (SHORT_M2, LONG_M2): Two new forms.
54 Fri Sep 12 11:43:54 1997 Nick Clifton <nickc@cygnus.com>
56 * v850-dis.c (disassemble): Improved display of register lists.
59 Thu Sep 11 17:35:10 1997 Doug Evans <dje@canuck.cygnus.com>
61 * sparc-opc.c (sparc_opcodes): Fix assembler args to
62 fzeros, fones, fsrc1, fsrc1s, fsrc2s, fnot1, fnot1s, fnot2s,
63 fors, fnors, fands, fnands, fxors, fxnors, fornot1s, fornot2s,
66 Tue Sep 9 10:03:49 1997 Doug Evans <dje@canuck.cygnus.com>
68 * sparc-opc.c (sparc_opcodes): Fix op3 field for fcmpq/fcmpeq.
70 Mon Sep 8 14:06:59 1997 Doug Evans <dje@canuck.cygnus.com>
72 * cgen-asm.c (cgen_parse_address): New argument resultp.
74 * m32r-asm.c (parse_h_hi16): Right shift numbers by 16.
76 Tue Sep 2 18:39:08 1997 Jeffrey A Law (law@cygnus.com)
78 * mn10200-dis.c (disassemble): PC relative instructions are
79 relative to the next instruction, not the current instruction.
81 Tue Sep 2 15:41:55 1997 Nick Clifton <nickc@cygnus.com>
83 * v850-dis.c (disassemble): Only signed extend values that are not
84 returned by extract functions.
85 Remove use of V850_OPERAND_ADJUST_SHORT_MEMORY flag.
87 Tue Sep 2 15:39:40 1997 Nick Clifton <nickc@cygnus.com>
89 * v850-opc.c: Update comments. Remove use of
90 V850_OPERAND_ADJUST_SHORT_MEMORY. Fix several operand patterns.
92 Tue Aug 26 09:42:28 1997 Nick Clifton <nickc@cygnus.com>
94 * v850-opc.c (MOVHI): Immediate parameter is unsigned.
96 Mon Aug 25 15:58:07 1997 Christopher Provenzano <proven@cygnus.com>
98 * configure: Rebuilt with latest devo autoconf for NT support.
100 Fri Aug 22 10:35:15 1997 Nick Clifton <nickc@cygnus.com>
102 * v850-dis.c (disassemble): Use curly brace syntax for register
105 * v850-opc.c (v850_opcodes[]): Add NOT_R0 flag to decect cases
106 where r0 is being used as a destination register.
109 Thu Aug 21 11:09:09 1997 Nick Clifton <nickc@cygnus.com>
111 * v850-opc.c (v850_opcodes[]): Move divh opcodes next to each other.
115 Wed Aug 20 00:43:11 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
117 * sh-opc.h (sh_arg_type): Add A_SGR and A_DBR.
118 (sh_nibble_type, sh_arg_type): Add SH4 floating point extensions.
119 (sh_table): Likewise. Add movca.l, ocbi, ocbp, ocbwb.
120 Add insns to access SGR and DBR.
121 * sh-dis.c (print_insn_shx): Add SH4 floating point extensions.
124 Tue Aug 19 10:59:59 1997 Richard Henderson <rth@cygnus.com>
126 * alpha-opc.c (alpha_opcodes): Fix hw_rei_stall mungage.
128 Mon Aug 18 11:10:03 1997 Nick Clifton <nickc@cygnus.com>
130 * v850-opc.c (v850_opcodes[]): Remove use of flag field.
131 start-sanitize-v850eq
132 * v850-opc.c (v850_opcodes[]): Add support for reversed short load
134 start-sanitize-v850eq
137 Mon Aug 18 11:08:25 1997 Nick Clifton <nickc@cygnus.com>
139 * configure (cgen_files): Add support for v850e target.
140 * configure.in (cgen_files): Add support for v850e target.
143 start-sanitize-v850eq
144 Mon Aug 18 11:08:25 1997 Nick Clifton <nickc@cygnus.com>
146 * configure (cgen_files): Add support for v850eq target.
147 * configure.in (cgen_files): Add support for v850eq target.
150 Fri Aug 15 05:17:48 1997 Doug Evans <dje@canuck.cygnus.com>
152 * configure.in (bfd_arc_arch): Add.
153 * configure: Rebuild.
154 * Makefile.am (ALL_MACHINES): Add arc-dis.lo, arc-opc.lo.
155 * Makefile.in: Rebuild.
156 * arc-dis.c, arc-opc.c: New files.
157 * disassemble.c (ARCH_all): Define ARCH_arc.
158 (disassembler): Add ARC support.
160 Wed Aug 13 18:52:11 1997 Nick Clifton <nickc@cygnus.com>
162 start-sanitize-v850eq
163 * .Sanitize (Do-first): Add support for keep-v850eq command line
166 * v850-dis.c (disassemble): Add support for v850EQ instructions.
168 * v850-opc.c (insert_i5div, extract_i5div): New Functions.
169 (v850_opcodes): Add v850EQ instructions.
172 * .Sanitize (Do-first): Add support for keep-v850e command line
175 * v850-dis.c (disassemble): Add support for v850E instructions.
177 * v850-opc.c (insert_d5_4, extract_d5_4, insert_d16_16,
178 extract_d16_16, insert_i9, extract_i9, insert_u9, extract_u9,
179 insert_spe, extract_spe): New Functions.
180 (v850_opcodes): Add v850E instructions.
183 * v850-opc.c: Reorganised and re-layed out to improve readability
186 Tue Aug 5 23:09:31 1997 Ian Lance Taylor <ian@cygnus.com>
188 * configure: Rebuild with autoconf 2.12.1.
190 Mon Aug 4 12:02:16 1997 Ian Lance Taylor <ian@cygnus.com>
192 * aclocal.m4, configure: Rebuild with new automake patches.
194 Fri Aug 1 13:02:04 1997 Ian Lance Taylor <ian@cygnus.com>
196 * configure.in: Set enable_shared before AM_PROG_LIBTOOL.
197 * acinclude.m4: Just include acinclude.m4 from BFD.
198 * aclocal.m4, configure: Rebuild.
200 Thu Jul 31 21:44:42 1997 Ian Lance Taylor <ian@cygnus.com>
202 * Makefile.am: New file, based on old Makefile.in.
203 * acconfig.h: New file.
204 * acinclude.m4: New file.
205 * stamp-h.in: New file.
206 * configure.in: Call AM_INIT_AUTOMAKE and AM_PROG_LIBTOOL.
207 Removed shared library handling; now handled by libtool. Replace
208 AC_CONFIG_HEADER with AM_CONFIG_HEADER. Call AM_MAINTAINER_MODE,
209 AM_CYGWIN32, and AM_EXEEXT. Replace AC_PROG_INSTALL with
210 AM_PROG_INSTALL. Change all .o files to .lo. Remove stamp-h
211 handling in AC_OUTPUT.
212 * dep-in.sed: Change .o to .lo.
213 * Makefile.in: Now built with automake.
214 * aclocal.m4: Now built with aclocal.
215 * config.in, configure: Rebuild.
217 Mon Jul 28 21:52:24 1997 Jeffrey A Law (law@cygnus.com)
219 * mips-opc.c: Fix typo/thinko in "eret" instruction.
222 Mon Jul 28 22:07:14 1997 Andrew Cagney <cagney@b1.cygnus.com>
224 * mips-opc.c: Fix coding of mtsa.
227 Thu Jul 24 13:03:26 1997 Doug Evans <dje@canuck.cygnus.com>
229 * sparc-opc.c (sparc_opcodes): Fix spelling on fpaddX, fpsubX insns.
231 * sparc-dis.c (sorted_opcodes): New static local.
232 (struct opcode_hash): `opcode' is pointer to const element.
233 (build_hash): First arg is now table of sorted pointers.
234 (print_insn_sparc): Sort opcodes by sorting table of pointers.
235 (compare_opcodes): Update.
237 Tue Jul 15 12:05:23 1997 Doug Evans <dje@canuck.cygnus.com>
239 * cgen-opc.c: #include <ctype.h>.
240 (hash_keyword_name): New arg `case_sensitive_p'. Callers updated.
241 Handle case insensitive hashing.
242 (hash_keyword_value): Change type of `value' to unsigned int.
244 Thu Jul 10 12:56:10 1997 Jeffrey A Law (law@cygnus.com)
246 * mips-opc.c (mips_builtin_opcodes): If an insn uses single
247 precision FP, mark it as such. Likewise for double precision
248 FP. Mark ISA1 insns. Consolidate duplicate opcodes where
251 (mips_builtin_opcodes): Remove non-existant r5900 instructions
255 Thu Jun 26 16:20:27 1997 Jeffrey A Law (law@cygnus.com)
257 * mips-opc.c (mips_builtin_opcodes): Add "pinteh", "pexeh" and
258 "pexew" as synonyms for "pintoh", "pexoh", "pexow".
261 Wed Jun 25 15:25:57 1997 Felix Lee <flee@cirdan.cygnus.com>
263 * ppc-opc.c (extract_nsi): make unsigned expression signed before
265 (UNUSED): remove one level of parens, so MSVC doesn't choke on
266 nesting depth when all the macros are expanded.
268 Tue Jun 17 17:02:17 1997 Ian Lance Taylor <ian@cygnus.com>
270 * sparc-opc.c: The fcmp v9a instructions take an integer register
271 as a destination, not a floating point register. From Christian
272 Kuehnke <Christian.Kuehnke@arbi.Informatik.Uni-Oldenburg.DE>.
274 Mon Jun 16 14:13:18 1997 Ian Lance Taylor <ian@cygnus.com>
276 * m68k-dis.c (print_insn_arg): Print case 7.2 using %pc@()
277 syntax. From Roman Hodek
278 <rnhodek@faui22c.informatik.uni-erlangen.de>.
280 * i386-dis.c (twobyte_has_modrm): Fix pand.
282 Mon Jun 16 14:08:38 1997 Michael Taylor <mbt@mit.edu>
284 * i386-dis.c (dis386_twobyte): Fix pand and pandn.
286 Tue Jun 10 11:26:47 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
288 * arm-dis.c: Add prototypes for arm_decode_shift and
291 Mon Jun 2 11:39:04 1997 Gavin Koch <gavin@cygnus.com>
293 * mips-opc.c: Add r3900 insns.
295 Tue May 27 15:55:44 1997 Ian Lance Taylor <ian@cygnus.com>
297 * sh-dis.c (print_insn_shx): Change relmask to bfd_vma. Don't
298 print delay slot instructions on the same line. When using a PC
299 relative load, add a comment with the value being loaded if it can
302 Tue May 27 11:02:08 1997 Alan Modra <alan@spri.levels.unisa.edu.au>
304 * i386-dis.c (dis386[], dis386_twobyte[]): change pushl/popl
305 to pushS/popS for segment regs and byte constant so that
306 pushw/popw printed when in 16 bit data mode.
308 * i386-dis.c (dis386[]): change cwtl, cltd to cWtS, cStd to
309 print cbtw, cwtd in 16 bit data mode.
310 * i386-dis.c (putop): extra case W to support above.
312 * i386-dis.c (print_insn_x86): print addr32 prefix when given
313 address size prefix in 16 bit address mode.
315 Fri May 23 16:47:23 1997 Ian Lance Taylor <ian@cygnus.com>
317 * sh-dis.c: Reindent. Rename local variable fprintf to
320 Thu May 22 14:06:02 1997 Doug Evans <dje@canuck.cygnus.com>
322 * m32r-opc.c (m32r_cgen_insn_table, cmpui): Undo patch of May 2.
324 Tue May 20 11:26:27 1997 Gavin Koch <gavin@cygnus.com>
326 * mips-opc.c (mips_builtin_opcodes): Moved INSN_ISA field into new
328 * mips16-opc.c (mip16_opcodes): same.
330 Mon May 12 15:10:53 1997 Jim Wilson <wilson@cygnus.com>
332 * m68k-opc.c (moveb): Change $d to %d.
334 Mon May 5 14:28:41 1997 Ian Lance Taylor <ian@cygnus.com>
336 * i386-dis.c: (dis386_twobyte): Add MMX instructions.
337 (twobyte_has_modrm): Likewise.
339 (OP_MMX, OP_EM, OP_MS): New static functions.
341 * i386-dis.c: Revert patch of April 4. The output now matches
344 Fri May 2 12:48:37 1997 Doug Evans <dje@canuck.cygnus.com>
346 * m32r-opc.c (m32r_cgen_insn_table, cmpui): Use $uimm16 instead
349 Thu May 1 15:34:15 1997 Doug Evans <dje@canuck.cygnus.com>
351 * m32r-opc.h (CGEN_ARCH): Renamed from CGEN_CPU.
353 Tue Apr 15 12:40:08 1997 Ian Lance Taylor <ian@cygnus.com>
355 * Makefile.in (install): Depend upon installdirs.
356 (installdirs): New target.
358 Mon Apr 14 12:13:51 1997 Ian Lance Taylor <ian@cygnus.com>
360 From Thomas Graichen <graichen@rzpd.de>:
361 * configure.in: Use ${CONFIG_SHELL} when running $ac_config_sub.
362 * configure: Rebuild.
364 Sun Apr 13 17:50:41 1997 Doug Evans <dje@canuck.cygnus.com>
366 * cgen-*.c, m32r-*.c: #include sysdep.h instead of config.h.
367 Delete string{,s}.h support.
369 Thu Apr 10 14:44:56 1997 Doug Evans <dje@canuck.cygnus.com>
371 * cgen-asm.c (cgen_parse_operand_fn): New global.
372 (cgen_parse_{{,un}signed_integer,address}): Update call to
373 cgen_parse_operand_fn.
374 (cgen_init_parse_operand): New function.
375 * m32r-asm.c (parse_insn_normal): cgen_init_parse_operand renamed
376 from cgen_asm_init_parse.
377 (m32r_cgen_assemble_insn): New operand `errmsg'.
378 Delete call to as_bad, return error message to caller.
379 (m32r_cgen_asm_hash_keywords): #if 0 out.
381 Wed Apr 9 12:05:25 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
383 * m68k-dis.c (print_insn_arg) [case 'd']: Print as address register,
385 [case 'J']: Fix typo in register name.
387 Mon Apr 7 16:48:22 1997 Ian Lance Taylor <ian@cygnus.com>
389 * configure.in: Substitute SHLIB_LIBS.
390 * configure: Rebuild.
391 * Makefile.in (SHLIB_LIBS): New variable.
392 ($(SHLIB)): Use $(SHLIB_LIBS).
394 Mon Apr 7 11:45:44 1997 Doug Evans <dje@canuck.cygnus.com>
396 * cgen-dis.c (build_dis_hash_table): Fix xmalloc size computation.
398 * cgen-opc.c (hash_keyword_name): Improve algorithm.
400 * disassemble.c (disassembler): Handle m32r.
402 Fri Apr 4 12:29:38 1997 Doug Evans <dje@canuck.cygnus.com>
404 * m32r-asm.c, m32r-dis.c, m32r-opc.c, m32r-opc.h: New files.
405 * cgen-asm.c, cgen-dis.c, cgen-opc.c: New files.
406 * Makefile.in (CFILES): Add them.
407 (ALL_MACHINES): Add them.
408 (dependencies): Regenerate.
409 * configure.in (cgen_files): New variable.
410 (bfd_m32r_arch): Add entry.
411 * configure: Regenerate.
413 Fri Apr 4 14:04:16 1997 Ian Lance Taylor <ian@cygnus.com>
415 * configure.in: Correct file names for bfd_mn10[23]00_arch.
416 * configure: Rebuild.
418 * Makefile.in: Rebuild dependencies.
420 * d10v-dis.c: Include "ansidecl.h" before "opcode/d10v.h".
422 * i386-dis.c (float_reg): Swap fsubrp and fsubp. Swap fdivrp and
425 Thu Apr 3 13:22:45 1997 Ian Lance Taylor <ian@cygnus.com>
427 * Branched binutils 2.8.
429 Wed Apr 2 12:23:53 1997 Ian Lance Taylor <ian@cygnus.com>
431 * m10200-dis.c: Rename from mn10200-dis.c.
432 * m10200-opc.c: Rename from mn10200-opc.c.
433 * m10300-dis.c: Rename from mn10300-dis.c
434 * m10300-opc.c: Rename from mn10300-opc.c.
435 * Makefile.in: Update accordingly.
437 * mips16-opc.c: Add mul and dmul macros.
439 Tue Apr 1 16:27:45 1997 Klaus Kaempf <kkaempf@progis.de>
441 * makefile.vms: Update CFLAGS, add clean target.
443 Fri Mar 28 12:10:09 1997 Ian Lance Taylor <ian@cygnus.com>
445 * mips-opc.c: Add "wait". From Ralf Baechle
446 <ralf@gnu.ai.mit.edu>.
448 * configure.in: Add stdlib.h to AC_CHECK_HEADERS list.
449 * configure, config.in: Rebuild.
450 * sysdep.h: Include <stdlib.h> if it exists.
451 * sparc-dis.c: Include <stdio.h> and "sysdep.h". Don't include
453 * Makefile.in: Rebuild dependencies.
455 Thu Mar 27 14:24:43 1997 Ian Lance Taylor <ian@cygnus.com>
457 * ppc-opc.c: Add PPC 403 instructions and extended opcodes. From
458 Andrew Bray <andy@madhouse.demon.co.uk>.
460 * mips-opc.c: Add cast when setting mips_opcodes.
462 Tue Mar 25 23:04:00 1997 Stu Grossman (grossman@critters.cygnus.com)
464 * v850-dis.c (disassemble): Fix sign extension problem.
465 * v850-opc.c (extract_d*): Fix sign extension problems to make
466 disassembly calculate branch offsets correctly.
468 Mon Mar 24 13:22:13 1997 Ian Lance Taylor <ian@cygnus.com>
470 * sh-opc.h: Add bf/s and bt/s as synonyms for bf.s and bt.s.
472 * mips-opc.c: Add dctr and dctw.
475 Sun Mar 23 18:08:10 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
477 * d30v-dis.c (print_insn): Change the way signed constants
480 Fri Mar 21 14:37:52 1997 Ian Lance Taylor <ian@cygnus.com>
482 * Makefile.in (BFD_H): New variable.
483 (HFILES): New variable.
484 (CFILES): Add all C files.
485 (.dep, .dep1, dep.sed, dep, dep-in): New targets.
486 Delete old dependencies, and build new ones.
487 * dep-in.sed: New file.
489 Thu Mar 20 19:03:30 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
491 * m68k-opc.c (m68k_opcode_aliases): Added blo and blo{s,b,w,l}.
493 start-sanitize-coldfire
494 Wed Mar 19 06:53:58 1997 J.T. Conklin <jtc@rtl.cygnus.com>
496 * m68k-opc.c (m68k_opcodes): Provide coldfire division module
499 end-sanitize-coldfire
500 Tue Mar 18 14:17:03 1997 Jeffrey A Law (law@cygnus.com)
502 * mn10200-opc.c: Change "trap" to "syscall".
503 * mn10300-opc.c: Add new "syscall" instruction.
505 Mon Mar 17 08:48:03 1997 J.T. Conklin <jtc@beauty.cygnus.com>
507 * m68k-opc.c (m68k_opcodes): Provide correct entries for mulsl and
508 mulul insns on the coldfire.
510 Sat Mar 15 17:13:05 1997 Ian Lance Taylor <ian@cygnus.com>
512 * arm-dis.c (print_insn_arm): Don't print instruction bytes.
513 (print_insn_big_arm): Set bytes_per_chunk and display_endian.
514 (print_insn_little_arm): Likewise.
516 Fri Mar 14 15:08:59 1997 Ian Lance Taylor <ian@cygnus.com>
518 Based on patches from H.J. Lu <hjl@lucon.org>:
519 * i386-dis.c (fetch_data): Add prototype.
520 * m68k-dis.c (fetch_data): Add prototype.
521 (dummy_print_address): Add prototype. Make static.
522 * ppc-opc.c (valid_bo): Add prototype.
523 * sparc-dis.c (build_hash_table): Add prototype.
524 (is_delayed_branch, compute_arch_mask): Add prototypes.
525 (print_insn_sparc): Make several local variables const.
526 (compare_opcodes): Change arguments to const PTR. Add prototype.
527 * sparc-opc.c (arg): Change name field to be const.
528 (lookup_name, lookup_value): Add prototypes. Change table and
529 name parameters to be const.
530 (sparc_encode_asi): Change name parameter to be const.
531 (sparc_encode_membar, sparc_encode_prefetch): Likewise.
532 (sparc_encode_sparclet_cpreg): Likewise.
533 (sparc_decode_asi): Change return type to be const.
534 (sparc_decode_membar, sparc_decode_prefetch): Likewise.
535 (sparc_decode_sparclet_cpreg): Likewise.
537 Fri Mar 7 10:51:49 1997 Ian Lance Taylor <ian@cygnus.com>
539 * Makefile.in ($(SHLINK)): Just use ln -s, not ln -sf, since
540 Solaris doesn't like the combined options, and the -f is
542 (stamp-tshlink, install): Likewise.
544 Thu Mar 6 16:51:11 1997 Jeffrey A Law (law@cygnus.com)
546 * mn10300-opc.c (IMM16_PCREL, SD8N_PCREL, D16_SHIFT): Mark these
549 Tue Mar 4 06:10:36 1997 J.T. Conklin <jtc@cygnus.com>
551 * m68k-opc.c (m68k_opcodes): Fix last change for the mc68010.
553 Mon Mar 3 07:45:20 1997 J.T. Conklin <jtc@cygnus.com>
555 * m68k-opc.c (m68k_opcodes): Added entries for the tst insns on
558 Thu Feb 27 14:04:32 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
560 * m68k-opc.c (m68k_opcodes): Added swbegl pseudo-instruction.
563 Thu Feb 27 11:36:41 1997 Michael Meissner <meissner@cygnus.com>
565 * tic80-dis.c (print_insn_tic80): Set info->bytes_per_line to 8.
567 Wed Feb 26 15:34:48 1997 Michael Meissner <meissner@cygnus.com>
569 * tic80-opc.c (tic80_predefined_symbols): Define r25 properly.
572 Wed Feb 26 13:38:30 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
574 * m68k-dis.c (NEXTSINGLE, NEXTDOUBLE, NEXTEXTEND): Use
575 floatformat_to_double to make portable.
576 (print_insn_arg): Use NEXTEXTEND macro when extracting extended
579 Mon Feb 24 19:26:12 1997 Dawn Perchik <dawn@cygnus.com>
581 * mips-opc.c: Initialize mips_opcodes to mips_builtin_opcodes,
582 and bfd_mips_num_opcodes to bfd_mips_num_builtin_opcodes.
584 Mon Feb 24 15:19:01 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
586 * d10v-dis.c, d10v-opc.c: Change pre_defined_registers to
587 d10v_predefined_registers and reg_name_cnt to d10v_reg_name_cnt.
590 Mon Feb 24 14:33:26 1997 Fred Fish <fnf@cygnus.com>
592 * tic80-opc.c (LSI_SCALED): Renamed from this ...
593 (OFF_SL_BR_SCALED): ... to this, and added the flag
594 TIC80_OPERAND_BASEREL to the flags word.
595 (tic80_opcodes): Replace all occurances of LSI_SCALED with
599 Sat Feb 22 21:25:00 1997 Dawn Perchik <dawn@cygnus.com>
601 * mips-opc.c: Add macros for cop0, cop1 cop2 and cop3.
602 Change mips_opcodes from const array to a pointer,
603 and change bfd_mips_num_opcodes from const int to int,
604 so that we can increase the size of the mips opcodes table
608 Sat Feb 22 21:03:47 1997 Fred Fish <fnf@cygnus.com>
610 * tic80-opc.c (tic80_predefined_symbols): Revert change to
611 store BITNUM values in the table in one's complement form
612 to match behavior when assembler is given a raw numeric
613 value for a BITNUM operand.
614 * tic80-dis.c (print_operand_bitnum): Ditto.
618 Fri Feb 21 16:31:18 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
620 * d30v-opc.c: Removed references to FLAG_X.
623 Wed Feb 19 14:51:20 1997 Ian Lance Taylor <ian@cygnus.com>
625 * Makefile.in: Add dependencies on ../bfd/bfd.h as required.
628 Tue Feb 18 17:43:43 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
630 * Makefile.in: Added d30v object files.
631 * configure: (bfd_d30v_arch) Rebuilt.
632 * configure.in: (bfd_d30v_arch) Added new case.
633 * d30v-dis.c: New file.
634 * d30v-opc.c: New file.
635 * disassemble.c (disassembler) Add entry for d30v.
639 Tue Feb 18 16:32:08 1997 Fred Fish <fnf@cygnus.com>
641 * tic80-opc.c (tic80_predefined_symbols): Add symbolic
642 representations for the floating point BITNUM values.
644 Fri Feb 14 12:14:05 1997 Fred Fish <fnf@cygnus.com>
646 * tic80-opc.c (tic80_predefined_symbols): Store BITNUM values
647 in the table in one's complement form, as they appear in the
649 (tic80_symbol_to_value): Use macros to access predefined
651 (tic80_value_to_symbol): Ditto.
652 (tic80_next_predefined_symbol): New function.
653 * tic80-dis.c (print_operand_bitnum): Remove code that did
654 one's complement for BITNUM values.
658 Fri Feb 14 13:56:51 1997 Gavin Koch <gavin@cygnus.com>
660 * mips-opc.c: bug fix, can't mark insns INSN_5900 and INSN_ISA4
663 Thu Feb 13 21:56:51 1997 Klaus Kaempf <kkaempf@progis.de>
665 * makefile.vms: Remove 8 bit characters. Update to latest
668 Thu Feb 13 20:41:22 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
670 * m68k-opc.c (m68k_opcodes): Add swbeg pseudo-instruction.
672 Thu Feb 13 16:30:02 1997 Jeffrey A Law (law@cygnus.com)
674 * mn10200-opc.c (IMM16_PCREL): This is a signed operand.
675 (IMM24_PCREL): Likewise.
677 Thu Feb 13 13:28:43 1997 Ian Lance Taylor <ian@cygnus.com>
679 * mips-dis.c (print_mips16_insn_arg): Use memaddr - 2 as the base
680 address for an extended PC relative instruction that is not a
683 Wed Feb 12 12:27:40 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
685 * m68k-dis.c (print_insn_m68k): Set bytes_per_chunk and
689 Tue Feb 11 16:36:31 1997 Fred Fish <fnf@cygnus.com>
691 * tic80-opc.c (tic80_operands): Fix typo '+' -> '|'.
692 (tic80_opcodes): Sort entries so that long immediate forms
693 come after short immediate forms, making it easier for
694 assembler to select the right one for a given operand.
697 Tue Feb 11 15:26:47 1997 Ian Lance Taylor <ian@cygnus.com>
699 * mips-dis.c (_print_insn_mips): Set bytes_per_chunk and
701 (print_insn_mips16): Likewise.
704 Fri Feb 7 11:12:44 1997 Gavin Koch <gavin@cygnus.com>
706 * mips-opc.c: add r5900.
710 Mon Feb 10 10:12:41 1997 Fred Fish <fnf@cygnus.com>
712 * tic80-opc.c (tic80_symbol_to_value): Changed to accept
713 a symbol class that restricts translation to just that
714 class (general register, condition code, etc).
716 Thu Feb 6 17:34:09 1997 Fred Fish <fnf@cygnus.com>
718 * tic80-opc.c (tic80_operands): Add REG_0_E, REG_22_E,
719 and REG_DEST_E for register operands that have to be
720 an even numbered register. Add REG_FPA for operands that
721 are one of the floating point accumulator registers.
722 Add TIC80_OPERAND_MASK to flags for ENDMASK operand.
723 (tic80_opcodes): Change entries that need even numbered
724 register operands to use the new operand table entries.
725 Add "or" entries that are identical to "or.tt" entries.
728 Wed Feb 5 11:12:44 1997 Ian Lance Taylor <ian@cygnus.com>
730 * mips16-opc.c: Add new cases of exit instruction for
732 * mips-dis.c (print_mips16_insn_arg): Display floating point
733 registers in operands of exit instruction. Print `$' before
734 register names in operands of entry and exit instructions.
737 Thu Jan 30 14:09:03 1997 Fred Fish <fnf@cygnus.com>
739 * tic80-opc.c (tic80_predefined_symbols): Table of name/value
740 pairs for all predefined symbols recognized by the assembler.
741 Also used by the disassembling routines.
742 (tic80_symbol_to_value): New function.
743 (tic80_value_to_symbol): New function.
744 * tic80-dis.c (print_operand_control_register,
745 print_operand_condition_code, print_operand_bitnum):
746 Remove private tables and use tic80_value_to_symbol function.
749 Thu Jan 30 11:30:45 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
751 * d10v-dis.c (print_operand): Change address printing
752 to correctly handle PC wrapping. Fixes PR11490.
754 Wed Jan 29 09:39:17 1997 Jeffrey A Law (law@cygnus.com)
756 * mn10200-opc.c (mn10200_operands): Make 8 and 16 bit pc-relative
759 Tue Jan 28 15:57:34 1997 Ian Lance Taylor <ian@cygnus.com>
761 * mips-dis.c (print_insn_mips16): Set insn_info information.
762 (print_mips16_insn_arg): Likewise.
764 * mips-dis.c (print_insn_mips16): Better handling of an extend
765 opcode followed by an instruction which can not be extended.
767 Fri Jan 24 12:08:21 1997 J.T. Conklin <jtc@cygnus.com>
769 * m68k-opc.c (m68k_opcodes): Changed operand specifier for the
770 coldfire moveb instruction to not allow an address register as
771 destination. Although the documentation does not indicate that
772 this is invalid, experiments uncovered unexpected behavior.
773 Added a comment explaining the situation. Thanks to Andreas
774 Schwab for pointing this out to me.
777 Wed Jan 22 20:13:51 1997 Fred Fish <fnf@cygnus.com>
779 * tic80-opc.c (tic80_opcodes): Expand comment to note that the
780 entries are presorted so that entries with the same mnemonic are
781 adjacent to each other in the table. Sort the entries for each
782 instruction so that this is true.
785 Mon Jan 20 12:48:57 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
787 * m68k-dis.c: Include <libiberty.h>.
788 (print_insn_m68k): Sort the opcode table on the most significant
789 nibble of the opcode.
792 Sat Jan 18 15:15:05 1997 Fred Fish <fnf@cygnus.com>
794 * tic80-dis.c (tic80_opcodes): Add "wrcr", "vmpy", "vrnd",
795 "vsub", "vst", "xnor", and "xor" instructions.
796 (V_a1): Renamed from V_a, msb of accumulator reg number.
797 (V_a0): Add macro, lsb of accumulator reg number.
799 Fri Jan 17 18:24:31 1997 Fred Fish <fnf@cygnus.com>
801 * tic80-dis.c (print_insn_tic80): Broke excessively long
802 function up into several smaller ones and arranged for
803 the instruction printing function to be callable recursively
804 to print vector instructions that have both a load and a
805 math instruction packed into a single opcode.
806 * tic80-opc.c (tic80_opcodes): Expand comment for vld opcode
807 to explain why it comes after the other vector opcodes.
810 Fri Jan 17 16:19:15 1997 J.T. Conklin <jtc@beauty.cygnus.com>
812 * m68k-opc.c (m68k_opcodes): add b, w, or l specifier to coldfire
813 move insns to handle immediate operands.
815 Thu Jan 17 16:19:00 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
817 * m68k-opc.c (m68k_opcodes): Delete duplicate entry for "cmpil".
818 fix operand mask in the "moveml" entries for the coldfire.
821 Thu Jan 16 20:54:40 1997 Fred Fish <fnf@cygnus.com>
823 * tic80-opc.c (V_a, V_m, V_S, V_Z, V_p, OP_V, MASK_V):
824 New macros for building vector instruction opcodes.
825 (tic80_opcodes): Remove all uses of FMT_SI, FMT_REG, and
826 FMT_LI, which were unused. The field is now a flags field.
827 Remove some opcodes that are possible, but illegal, such
828 as long immediate instructions with doubles for immediate
829 values. Add "vadd" and "vld" instructions.
831 Wed Jan 15 18:59:51 1997 Fred Fish <fnf@cygnus.com>
833 * tic80-opc.c (tic80_operands): Reorder some table entries to make
834 the order more logical. Move the shift alias instructions ("rotl",
835 "shl", "ins", "rotr", "extu", "exts", "srl", and "sra" to be
836 interspersed with the regular sr.x and sl.x instructions. Add
837 and test new instruction opcodes for "sl", "sli", "sr", "sri", "st",
838 "sub", "subu", "swcr", and "trap".
840 Tue Jan 14 19:42:50 1997 Fred Fish <fnf@cygnus.com>
842 * tic80-opc.c (OFF_SS_PC): Renamed from OFF_SS.
843 (OFF_SL_PC): Renamed from OFF_SL.
844 (OFF_SS_BR): New operand type for base relative operand.
845 (OFF_SL_BR): New operand type for base relative operand.
846 (REG_BASE): New operand type for base register operand.
847 (tic80_opcodes): Add and test "fmpy", "frndm", "frndn", "frndp",
848 "frndz", "fsqrt", "fsub", "illop0", "illopF", "ins", "jsr",
849 "ld", "ld.u", "lmo", "or", "rdcr", "rmo", "rotl", and "rotr"
851 * tic80-dis.c (print_insn_tic80): Print opcode name with fixed width
852 10 char field, padded with spaces on rhs, rather than a string
853 followed by a tab. Use renamed TIC80_OPERAND_PCREL flag bit rather
854 than old TIC80_OPERAND_RELATIVE. Add support for new
855 TIC80_OPERAND_BASEREL flag bit.
857 Mon Jan 13 15:58:56 1997 Fred Fish <fnf@cygnus.com>
859 * tic80-dis.c (print_insn_tic80): Print floating point operands
861 * tic80-opc.c (SPFI): Add single precision floating point
862 immediate operand type.
863 (ROTATE): Add rotate operand type for shifts.
864 (ENDMASK): Add for shifts.
865 (n): Macro for the 'n' bit.
866 (i): Macro for the 'i' bit.
867 (PD): Macro for the 'PD' field.
868 (P2): Macro for the 'P2' field.
869 (P1): Macro for the 'P1' field.
870 (tic80_opcodes): Add entries for "exts", "extu", "fadd",
874 Mon Jan 6 15:06:55 1997 Jeffrey A Law (law@cygnus.com)
876 * mn10200-dis.c (disassemble): Mask off unwanted bits after
877 adding in current address for pc-relative operands.
880 Mon Jan 6 10:56:25 1997 Fred Fish <fnf@cygnus.com>
882 * tic80-dis.c (R_SCALED): Add macro to test for ":s" modifier bit.
883 (print_insn_tic80): If R_SCALED then print ":s" modifier for operand.
884 * tic80-opc.c (REG0, REG22, REG27, SSOFF, LSOFF): Names
885 changed to REG_0, REG_22, REG_DEST, OFF_SS, OFF_SL respectively.
886 (SICR, LICR, REGM_SI, REGM_LI): Names changed to CR_SI, CR_LI,
887 REG_BASE_M_SI, REG_BASE_M_LI respectively.
888 (REG_SCALED, LSI_SCALED): New operand types.
889 (E): New macro for 'E' bit at bit 27.
890 (tic80_opcodes): Add and test dld, dld.u, dst, estop, and etrap
891 opcodes, including the various size flavors (b,h,w,d) for
892 the direct load and store instructions.
894 Sun Jan 5 12:18:14 1997 Fred Fish <fnf@cygnus.com>
896 * tic80-dis.c (M_SI, M_LI): Add macros to test for ":m" modifier bit
898 * tic80-dis.c (print_insn_tic80): Change comma and paren handling.
899 Use M_SI and M_LI macros to check for ":m" modifier for GPR operands.
900 * tic80-opc.c (tic80_operands): Add REGM_SI and REGM_LI operands.
901 (F, M_REG, M_LI, M_SI, SZ_REG, SZ_LI, SZ_SI, D, S): New bit-twiddlers.
902 (MASK_LI_M, MASK_SI_M, MASK_REG_M): Remove and replace in opcode
903 masks with "MASK_* & ~M_*" to get the M bit reset.
904 (tic80_opcodes): Add bsr, bsr.a, cmnd, cmp, dcachec, and dcachef.
906 Sat Jan 4 19:05:05 1997 Fred Fish <fnf@cygnus.com>
908 * tic80-dis.c (print_insn_tic80): Print TIC80_OPERAND_RELATIVE
909 correctly. Add support for printing TIC80_OPERAND_BITNUM and
910 TIC80_OPERAND_CC, and TIC80_OPERAND_CR operands in symbolic
912 * tic80-opc.c (tic80_operands): Add SSOFF, LSOFF, BITNUM,
913 CC, SICR, and LICR table entries.
914 (tic80_opcodes): Add and test "nop", "br", "bbo", "bbz",
915 "bcnd", and "brcr" opcodes.
918 Fri Jan 3 18:32:11 1997 Fred Fish <fnf@cygnus.com>
920 * ppc-opc.c (powerpc_operands): Make comment match the
921 actual fields (no shift field).
922 * sparc-opc.c (sparc_opcodes): Document why this cannot be "const".
924 * tic80-dis.c (print_insn_tic80): Replace abort stub with a
925 partial implementation, work in progress.
926 * tic80-opc.c (tic80_operands): Begin construction operands table.
927 (tic80_opcodes): Continue populating opcodes table and start
928 filling in the operand indices.
929 (tic80_num_opcodes): Add this.
932 Fri Jan 3 12:13:52 1997 Ian Lance Taylor <ian@cygnus.com>
934 * m68k-opc.c: Add #B case for moveq.
936 Thu Jan 2 12:14:29 1997 Jeffrey A Law (law@cygnus.com)
938 * mn10300-dis.c (disassemble): Make sure all variables are initialized
939 before they are used.
941 Tue Dec 31 12:20:38 1996 Jeffrey A Law (law@cygnus.com)
943 * v850-opc.c (v850_opcodes): Put curly-braces around operands
944 for "breakpoint" instruction.
946 Tue Dec 31 15:38:13 1996 Ian Lance Taylor <ian@cygnus.com>
948 * Makefile.in (ALL_CFLAGS): Add -D_GNU_SOURCE.
949 (dep): Use ALL_CFLAGS rather than CFLAGS.
951 Tue Dec 31 15:09:16 1996 Michael Meissner <meissner@tiktok.cygnus.com>
953 * v850-opc.c (D8_{6,7}): Set V850_OPERAND_ADJUST_SHORT_MEMORY
956 Mon Dec 30 17:02:11 1996 Fred Fish <fnf@cygnus.com>
958 * Makefile.in (m68k-opc.o, alpha-opc.o): Remove dis-asm.h dependency.
960 (tic80-dis.o, tic80-opc.o): Add rules per comment in Makefile.in.
963 Mon Dec 30 11:38:01 1996 Ian Lance Taylor <ian@cygnus.com>
965 * mips16-opc.c: Add "abs".
968 Sun Dec 29 10:58:22 1996 Fred Fish <fnf@cygnus.com>
970 * Makefile.in (ALL_MACHINES): Add tic80-dis.o and tic80-opc.o.
971 * disassemble.c (ARCH_tic80): Define if ARCH_all is defined.
972 (disassembler): Add bfd_arch_tic80 support to set disassemble
974 * tic80-dis.c (print_insn_tic80): Add stub.
976 Fri Dec 27 22:30:57 1996 Fred Fish <fnf@cygnus.com>
978 * configure.in (arch in $selarchs): Add bfd_tic80_arch entry.
979 * configure: Regenerate with autoconf.
980 * tic80-dis.c: Add file.
981 * tic80-opc.c: Add file.
984 Fri Dec 20 14:30:19 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
986 * d10v-opc.c (pre_defined_registers): Add cr[0-15], dpc, dpsw, link.
988 Mon Dec 16 13:00:15 1996 Jeffrey A Law (law@cygnus.com)
990 * mn10200-opc.c (mn10200_operands): Add SIMM16N.
991 (mn10200_opcodes): Use it for some logicals and btst insns.
992 Add "break" and "trap" instructions.
994 * mn10300-opc.c (mn10300_opcodes): Add "break" instruction.
996 * mn10200-opc.c: Add pseudo-ops for "mov (an),am" and "mov an,(am)".
998 Sat Dec 14 22:36:20 1996 Ian Lance Taylor <ian@cygnus.com>
1000 * mips-dis.c (print_mips16_insn_arg): The base address of a PC
1001 relative load or add now depends upon whether the instruction is
1004 Wed Dec 11 09:23:46 1996 Jeffrey A Law (law@cygnus.com)
1006 * mn10200-dis.c: Finish writing disassembler.
1007 * mn10200-opc.c (mn10200_opcodes): Fix mask for "mov imm8,dn".
1008 Fix mask for "jmp (an)".
1010 * mn10300-dis.c (disassemble, print_insn_mn10300): Corrently
1011 handle endianness issues for mn10300.
1013 * mn10200-opc.c (mn10200_opcodes): Fix operands for "movb dm,(an)".
1015 Tue Dec 10 12:08:05 1996 Jeffrey A Law (law@cygnus.com)
1017 * mn10200-opc.c (mn10200_opcodes): "mov imm8,d0" is a format 2
1018 instruction. Fix opcode field for "movb (imm24),dn".
1020 * mn10200-opc.c (mn10200_operands): Fix insertion position
1023 Mon Dec 9 16:42:43 1996 Jeffrey A Law (law@cygnus.com)
1025 * mn10200-opc.c: Create mn10200 opcode table.
1026 * mn10200-dis.c: Flesh out mn10200 disassembler. Not ready,
1027 but moving along nicely.
1029 Sun Dec 8 04:28:31 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1031 * Makefile.in (ALL_MACHINES): Add mips16-opc.o.
1033 Fri Dec 6 16:47:40 1996 J.T. Conklin <jtc@rhino.cygnus.com>
1035 * m68k-opc.c (m68k_opcodes): Revert change to use < and >
1036 specifiers for fmovem* instructions.
1038 Fri Dec 6 14:48:09 1996 Jeffrey A Law (law@cygnus.com)
1040 * mn10300-dis.c (disassemble): Remove '$' register prefixing.
1042 Fri Dec 6 17:34:39 1996 Ian Lance Taylor <ian@cygnus.com>
1044 * mips16-opc.c: Change opcode for entry/exit to avoid conflicting
1047 Fri Dec 6 14:48:09 1996 Jeffrey A Law (law@cygnus.com)
1049 * mn10300-opc.c: Add some comments explaining the various
1052 * mn10300-dis.c (disassemble): Fix minor gcc -Wall warnings.
1054 Thu Dec 5 12:09:48 1996 J.T. Conklin <jtc@rtl.cygnus.com>
1056 * m68k-dis.c (print_insn_arg): Handle new < and > operand
1059 * m68k-opc.c (m68k_opcodes): Simplify table by using < and >
1060 operand specifiers in fmovm* instructions.
1062 Wed Dec 4 14:52:18 1996 Ian Lance Taylor <ian@cygnus.com>
1064 * ppc-opc.c (insert_li): Give an error if the offset has the two
1065 least significant bits set.
1067 Wed Nov 27 13:09:01 1996 Ian Lance Taylor <ian@cygnus.com>
1069 * mips-dis.c (print_insn_mips16): Separate the instruction from
1070 the arguments with a tab, not a space.
1072 Tue Nov 26 13:24:17 1996 Jeffrey A Law (law@cygnus.com)
1074 * mn10300-dis.c (disasemble): Finish conversion to '$' as
1077 * mn10300-opc.c (mn10300_opcodes): Fix mask field for
1080 Tue Nov 26 10:53:21 1996 Ian Lance Taylor <ian@cygnus.com>
1082 * configure: Rebuild with autoconf 2.12.
1084 Add support for mips16 (16 bit MIPS implementation):
1085 * mips16-opc.c: New file.
1086 * mips-dis.c: Include "elf-bfd.h" and "elf/mips.h".
1087 (mips16_reg_names): New static array.
1088 (print_insn_big_mips): Use print_insn_mips16 in 16 bit mode or
1089 after seeing a 16 bit symbol.
1090 (print_insn_little_mips): Likewise.
1091 (print_insn_mips16): New static function.
1092 (print_mips16_insn_arg): New static function.
1093 * mips-opc.c: Add jalx instruction.
1094 * Makefile.in (mips16-opc.o): New target.
1095 * configure.in: Use mips16-opc.o for bfd_mips_arch.
1096 * configure: Rebuild.
1098 Mon Nov 25 16:15:17 1996 J.T. Conklin <jtc@cygnus.com>
1100 * m68k-opc.c (m68k_opcodes): Simplify table by using < and >
1101 operand specifiers in *save, *restore and movem* instructions.
1103 * m68k-opc.c (m68k_opcodes): Fix move and movem instructions for
1106 * m68k-opc.c (m68k_opcodes): The coldfire (mcf5200) can only use
1107 register operands for immediate arithmetic, not, neg, negx, and
1108 set according to condition instructions.
1110 * m68k-opc.c (m68k_opcodes): Consistantly Use "s" as the storage
1111 specifier of the effective-address operand in immediate forms of
1112 arithmetic instructions. The specifier for the immediate operand
1113 notes how and where the constant will be stored.
1115 Mon Nov 25 11:17:01 1996 Jeffrey A Law (law@cygnus.com)
1117 * mn10300-opc.c (mn10300_opcodes): Remove redundant "lcc"
1120 * mn10300-dis.c (disassemble): Use '$' instead of '%' for
1123 * mn10300-dis.c (disassemble): Prefix registers with '%'.
1125 Wed Nov 20 10:37:13 1996 Jeffrey A Law (law@cygnus.com)
1127 * mn10300-dis.c (disassemble): Handle register lists.
1129 * mn10300-opc.c: Fix handling of register list operand for
1130 "call", "ret", and "rets" instructions.
1132 * mn10300-dis.c (disassemble): Print PC-relative and memory
1133 addresses symbolically if possible.
1134 * mn10300-opc.c: Distinguish between absolute memory addresses,
1135 pc-relative offsets & random immediates.
1137 * mn10300-dis.c (print_insn_mn10300): Fix fetch of last byte
1139 (disassemble): Handle SPLIT and EXTENDED operands.
1141 Tue Nov 19 13:33:01 1996 Jeffrey A Law (law@cygnus.com)
1143 * mn10300-dis.c: Rough cut at printing some operands.
1145 * mn10300-dis.c: Start working on disassembler support.
1146 * mn10300-opc.c (mn10300_opcodes): Fix masks on several insns.
1148 * mn10300-opc.c (mn10300_operands): Add "REGS" for a register
1150 (mn10300_opcodes): Use REGS for register list in "movm" instructions.
1152 Mon Nov 18 15:20:35 1996 Michael Meissner <meissner@tiktok.cygnus.com>
1154 * d10v-opc.c (d10v_opcodes): Add3 sets the carry.
1156 Fri Nov 15 13:43:19 1996 Jeffrey A Law (law@cygnus.com)
1158 * mn10300-opc.c (mn10300_opcodes): Demand parens around
1159 register argument is calls and jmp instructions.
1161 Thu Nov 7 00:26:05 1996 Jeffrey A Law (law@cygnus.com)
1163 * mn10300-opc.c (mn10300_opcodes): Use DN01 for putx and
1164 getx operand. Fix opcode for mulqu imm,dn.
1166 Wed Nov 6 13:42:32 1996 Jeffrey A Law (law@cygnus.com)
1168 * mn10300-opc.c (mn10300_operands): Hijack "bits" field
1169 in MN10300_OPERAND_SPLIT operands for how many bits
1170 appear in the basic insn word. Add IMM32_HIGH24,
1171 IMM32_HIGH24_LOWSHIFT8, IMM8E_SHIFT8.
1172 (mn10300_opcodes): Use new operands as needed.
1174 * mn10300-opc.c (mn10300_operands): Add IMM32_LOWSHIFT8
1175 for bset, bclr, btst instructions.
1176 (mn10300_opcodes): Use new IMM32_LOWSHIFT8 as needed.
1178 * mn10300-opc.c (mn10300_operands): Remove many redundant
1179 operands. Update opcode table as appropriate.
1180 (IMM32): Add MN10300_OPERAND_SPLIT flag.
1181 (mn10300_opcodes): Fix single bit error in mov imm32,dn insn.
1183 Tue Nov 5 13:26:58 1996 Jeffrey A Law (law@cygnus.com)
1185 * mn10300-opc.c (mn10300_operands): Add DN2, DM2, AN2, AM2
1186 operands (for indexed load/stores). Fix bitpos for DI
1187 operand. Add SN8N_SHIFT8, IMM8_SHIFT8, and D16_SHIFT for the
1188 few instructions that insert immediates/displacements in the
1189 middle of the instruction. Add IMM8E for 8 bit immediate in
1190 the extended part of an instruction.
1191 (mn10300_operands): Use new opcodes as appropriate.
1193 Tue Nov 5 10:30:51 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
1195 * d10v-opc.c (d10v_opcodes): Declare the trap instruction
1196 sequential so the assembler never parallelizes it with
1199 Mon Nov 4 12:50:40 1996 Jeffrey A Law (law@cygnus.com)
1201 * mn10300-opc.c (mn10300_operands): Add DN01 and AN01 for
1202 a data/address register that appears in register field 0
1203 and register field 1.
1204 (mn10300_opcodes): Use DN01 and AN01 for mov/cmp imm8,DN/AN
1206 Fri Nov 1 10:29:11 1996 Richard Henderson <rth@tamu.edu>
1208 * alpha-dis.c (print_insn_alpha): Use new NOPAL mask for
1209 standard disassembly.
1211 * alpha-opc.c (alpha_operands): Rearrange flags slot.
1212 (alpha_opcodes): Add new BWX, CIX, and MAX instructions.
1213 Recategorize PALcode instructions.
1215 Wed Oct 30 16:46:58 1996 Jeffrey A Law (law@cygnus.com)
1217 * v850-opc.c (v850_opcodes): Add relaxing "jbr".
1219 Tue Oct 29 16:30:28 1996 Ian Lance Taylor <ian@cygnus.com>
1221 * mips-dis.c (_print_insn_mips): Don't print a trailing tab if
1222 there are no operand types.
1224 Tue Oct 29 12:22:21 1996 Jeffrey A Law (law@cygnus.com)
1226 * v850-opc.c (D9_RELAX): Renamed from D9, all references
1228 (v850_operands): Make sure D22 immediately follows D9_RELAX.
1230 Fri Oct 25 12:12:53 1996 Ian Lance Taylor <ian@cygnus.com>
1232 * i386-dis.c (print_insn_x86): Set info->bytes_per_line to 5.
1234 Thu Oct 24 17:53:52 1996 Jeffrey A Law (law@cygnus.com)
1236 * v850-opc.c (insert_d8_6): Fix operand insertion for sld.w
1237 and sst.w instructions.
1239 * v850-opc.c (v850_opcodes): Add "jCC" instructions (aliases for
1242 Thu Oct 24 17:21:20 1996 Ian Lance Taylor <ian@cygnus.com>
1244 * mips-dis.c (_print_insn_mips): Use a tab between the instruction
1247 Tue Oct 22 23:32:56 1996 Ian Lance Taylor <ian@cygnus.com>
1249 * ppc-opc.c (PPCPWR2): Define.
1250 (powerpc_opcodes): Use PPCPWR2 for fsqrt, rather than duplicating
1253 Fri Oct 11 16:03:49 1996 Jeffrey A Law (law@cygnus.com)
1255 * mn10300-opc.c (mn10300_opcodes): Fix typo in opcode
1256 field for movhu instruction.
1258 * v850-dis.c (disassemble): For V850_OPERAND_SIGNED operands,
1259 cast value to "long" not "signed long" to keep hpux10
1262 Thu Oct 10 10:25:58 1996 Jeffrey A Law (law@cygnus.com)
1264 * mn10300-opc.c (mn10300_opcodes): Fix typo in opcode field
1267 * mn10300-opc.c (FMT*): Remove definitions.
1269 * mn10300-opc.c (mn10300_opcodes): Fix destination register
1270 for shift-by-register opcodes.
1272 * mn10300-opc.c (mn10300_operands): Break DN, DM, AN, AM
1273 into [AD][MN][01] for encoding the position of the register
1276 Wed Oct 9 11:19:26 1996 Jeffrey A Law (law@cygnus.com)
1278 * mn10300-opc.c (mn10300_opcodes): Add "extended" instructions,
1279 "putx", "getx", "mulq", "mulqu", "sat16", "sat24", "bsch".
1281 Tue Oct 8 11:55:35 1996 Jeffrey A Law (law@cygnus.com)
1283 * mn10300-opc.c (mn10300_operands): Remove "REGS" operand.
1284 Fix various typos. Add "PAREN" operand.
1285 (MEM, MEM2): Define.
1286 (mn10300_opcodes): Surround all memory addresses with "PAREN"
1287 operands. Fix several typos.
1289 * mn10300-opc.c (mn10300_opcodes): Fix typos in yesterday's
1292 Mon Oct 7 16:48:45 1996 Jeffrey A Law (law@cygnus.com)
1294 * mn10300-opc.c (FMT_XX): Renumber starting at one.
1295 (mn10300_operands): Rough cut. Enough to parse "mov" instructions
1297 (mn10300_opcodes): Break opcode format out into its own field.
1298 Update many operand fields to deal with signed vs unsigned
1299 issues. Fix one or two typos in the "mov" instruction
1300 opcode, mask and/or operand fields.
1302 Mon Oct 7 11:39:49 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1304 * m68k-opc.c (plusha): Prefer encoding for m68040up, in case
1305 m68851 wasn't reset.
1307 Thu Oct 3 17:17:02 1996 Ian Lance Taylor <ian@cygnus.com>
1309 * mn10300-opc.c (mn10300_opcodes): Add opcode & masks for
1310 all opcodes. Very rough cut at operands for all opcodes.
1312 * mn10300-opc.c (mn10300_opcodes): Start fleshing out the
1315 Thu Oct 3 10:06:07 1996 Jeffrey A Law (law@cygnus.com)
1317 * mn10200-opc.c, mn10300-opc.c: New files.
1318 * mn10200-dis.c, mn10300-dis.c: New files.
1319 * mn10x00-opc.c, mn10x00-dis.c: Deleted.
1320 * disassemble.c: Break mn10x00 support into 10200 and 10300
1322 * configure.in: Likewise.
1323 * configure: Rebuilt.
1325 Thu Oct 3 15:59:12 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
1327 * Makefile.in (MOSTLYCLEAN): Move config.log to distclean.
1329 Wed Oct 2 23:28:42 1996 Jeffrey A Law (law@cygnus.com)
1331 * mn10x00-opc.c, mn10x00-dis.c: New files for Matsushita
1333 * disassemble (ARCH_mn10x00): Define.
1334 (disassembler): Handle bfd_arch_mn10x00.
1335 * configure.in: Recognize bfd_mn10x00_arch.
1336 * configure: Rebuilt.
1338 Tue Oct 1 10:49:11 1996 Ian Lance Taylor <ian@cygnus.com>
1340 * i386-dis.c (op_rtn): Change to be a pointer. Adjust uses
1341 accordingly. Don't declare functions using op_rtn.
1343 Fri Sep 27 18:28:59 1996 Stu Grossman (grossman@critters.cygnus.com)
1345 * v850-dis.c (disassemble): Add memaddr argument. Re-arrange
1346 params to be more standard.
1347 * (disassemble): Print absolute addresses and symbolic names for
1348 branch and jump targets.
1349 * v850-opc.c (v850_operand): Add displacement flag to 9 and 22
1351 * (v850_opcodes): Add breakpoint insn.
1353 Mon Sep 23 12:32:26 1996 Ian Lance Taylor <ian@cygnus.com>
1355 * m68k-opc.c: Move the fmovemx data register cases before the
1356 other cases, so that they get recognized before the data register
1357 does gets treated as a degenerate register list.
1359 Tue Sep 17 12:06:51 1996 Ian Lance Taylor <ian@cygnus.com>
1361 * mips-opc.c: Add a case for "div" and "divu" with two registers
1362 and a destination of $0.
1364 Tue Sep 10 16:12:39 1996 Fred Fish <fnf@rtl.cygnus.com>
1366 * mips-dis.c (print_insn_arg): Add prototype.
1367 (_print_insn_mips): Ditto.
1369 Mon Sep 9 14:26:26 1996 Ian Lance Taylor <ian@cygnus.com>
1371 * mips-dis.c (print_insn_arg): Print condition code registers as
1374 Tue Sep 3 12:09:46 1996 Doug Evans <dje@canuck.cygnus.com>
1376 * sparc-opc.c (sparc_opcodes): Add setuw, setsw, setx.
1378 Tue Sep 3 12:05:25 1996 Jeffrey A Law (law@cygnus.com)
1380 * v850-dis.c (disassemble): Make static. Provide prototype.
1382 Sun Sep 1 22:30:40 1996 Jeffrey A Law (law@cygnus.com)
1384 * v850-opc.c (insert_d9, insert_d22): Fix boundary case
1387 Sat Aug 31 01:27:26 1996 Jeffrey A Law (law@cygnus.com)
1389 * v850-dis.c (disassemble): Handle insertion of ',', '[' and
1390 ']' characters into the output stream.
1391 * v850-opc.c (v850_opcodes: Remove size field from all opcodes.
1392 Add "memop" field to all opcodes (for the disassembler).
1393 Reorder opcodes so that "nop" comes before "mov" and "jr"
1394 comes before "jarl".
1396 * v850-dis.c (print_insn_v850): Fix typo in last change.
1398 * v850-dis.c (print_insn_v850): Properly handle disassembling
1399 a two byte insn at the end of a memory region when the memory
1400 region's size is only two byte aligned.
1402 * v850-dis.c (v850_cc_names): Fix stupid thinkos.
1404 * v850-dis.c (v850_reg_names): Define.
1405 (v850_sreg_names, v850_cc_names): Likewise.
1406 (disassemble): Very rough cut at printing operands (unformatted).
1408 * v850-opc.c (BOP_MASK): Fix.
1409 (v850_opcodes): Fix mask for jarl and jr.
1411 * v850-dis.c: New file. Skeleton for disassembler support.
1412 * Makefile.in Remove v850 references, they're not needed here
1413 and they weren't being sanitized away.
1414 * configure.in: Add v850-dis.o when building v850 toolchains.
1415 * configure: Rebuilt.
1416 * disassemble.c (disassembler): Call v850 disassembler.
1418 * v850-opc.c (insert_d8_7, extract_d8_7): New functions.
1419 (insert_d8_6, extract_d8_6): New functions.
1420 (v850_operands): Rename D7S to D7; operand for D7 is unsigned.
1421 Rename D8 to D8_7, use {insert,extract}_d8_7 routines.
1423 (IF4A, IF4B): Use "D7" instead of "D7S".
1424 (IF4C, IF4D): Use "D8_7" instead of "D8".
1425 (IF4E, IF4F): New. Use "D8_6".
1426 (v850_opcodes): Use IF4A/IF4B for sld.b/sst.b. Use IF4C/IF4D for
1427 sld.h/sst.h. Use IF4E/IF4F for sld.w/sst.w.
1429 * v850-opc.c (insert_d16_15, extract_d16_15): New functions.
1430 (v850_operands): Change D16 to D16_15, use special insert/extract
1431 routines. New new D16 that uses the generic insert/extract code.
1432 (IF7A, IF7B): Use D16_15.
1433 (IF7C, IF7D): New. Use D16.
1434 (v850_opcodes): Use IF7C and IF7D for ld.b and st.b.
1436 * v850-opc.c (insert_d9, insert_d22): Slightly improve error
1437 message. Issue an error if the branch offset is odd.
1439 * v850-opc.c: Add notes about needing special insert/extract
1440 for all the load/store insns, except "ld.b" and "st.b".
1442 * v850-opc.c (insert_d22, extract_d22): New functions.
1443 (v850_operands): Use insert_d22 and extract_d22 for
1445 (insert_d9): Fix range check.
1447 Fri Aug 30 18:01:02 1996 J.T. Conklin <jtc@hippo.cygnus.com>
1449 * v850-opc.c (v850_operands): Add V850_OPERAND_SIGNED flag
1450 and set bits field to D9 and D22 operands.
1452 Thu Aug 29 11:10:46 1996 Jeffrey A Law (law@cygnus.com)
1454 * v850-opc.c (v850_operands): Define SR2 operand.
1455 (v850_opcodes): "ldsr" uses R1,SR2.
1457 * v850-opc.c (v850_opcodes): Fix opcode specs for
1458 sld.w, sst.b, sst.h, sst.w, and nop.
1460 Wed Aug 28 15:55:43 1996 Jeffrey A Law (law@cygnus.com)
1462 * v850-opc.c (v850_opcodes): Add null opcode to mark the
1463 end of the opcode table.
1465 Mon Aug 26 13:35:53 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
1467 * d10v-opc.c (pre_defined_registers): Added register pairs,
1468 "r0-r1", "r2-r3", etc.
1470 Fri Aug 23 00:27:01 1996 Jeffrey A Law (law@cygnus.com)
1472 * v850-opc.c (v850_operands): Make I16 be a signed operand.
1473 Create I16U for an unsigned 16bit mmediate operand.
1474 (v850_opcodes): Use I16U for "ori", "andi" and "xori".
1476 * v850-opc.c (v850_operands): Define EP operand.
1477 (IF4A, IF4B, IF4C, IF4D): Use EP.
1479 * v850-opc.c (v850_opcodes): Fix opcode numbers for "mov"
1480 with immediate operand, "movhi". Tweak "ldsr".
1482 * v850-opc.c (v850_opcodes): Get ld.[bhw] and st.[bhw]
1483 correct. Get sld.[bhw] and sst.[bhw] closer.
1485 * v850-opc.c (v850_operands): "not" is a two byte insn
1487 * v850-opc.c (v850_opcodes): Correct bit pattern for setf.
1489 * v850-opc.c (v850_operands): D16 inserts at offset 16!
1491 * v850-opc.c (two): Get order of words correct.
1493 * v850-opc.c (v850_operands): I16 inserts at offset 16!
1495 * v850-opc.c (v850_operands): Add "SR1" and "SR2" for system
1496 register source and destination operands.
1497 (v850_opcodes): Use SR1 and SR2 for "ldsr" and "stsr".
1499 * v850-opc.c (v850_opcodes): Fix thinko in "jmp" opcode. Fix
1500 same thinko in "trap" opcode.
1502 * v850-opc.c (v850_opcodes): Add initializer for size field
1505 * v850-opc.c (v850_operands): D6 -> DS7. References changed.
1506 Add D8 for 8-bit unsigned field in short load/store insns.
1507 (IF4A, IF4D): These both need two registers.
1508 (IF4C, IF4D): Define. Use 8-bit unsigned field.
1509 (v850_opcodes): For "sld.h", "sld.w", "sst.h", "sst.w", use
1510 IF4C & IF4D. For "trap" use I5U, not I5. Add IF1 operand
1511 for "ldsr" and "stsr".
1512 * v850-opc.c (v850_operands): 3-bit immediate for bit insns
1515 * v850-opc.c (v850_opcodes): Correct short store half (sst.h) and
1516 short store word (sst.w).
1518 Thu Aug 22 16:57:27 1996 J.T. Conklin <jtc@rtl.cygnus.com>
1520 * v850-opc.c (v850_operands): Added insert and extract fields,
1521 pointers to functions that handle unusual operand encodings.
1523 Thu Aug 22 01:05:24 1996 Jeffrey A Law (law@cygnus.com)
1525 * v850-opc.c (v850_opcodes): Enable "trap".
1527 * v850-opc.c (v850_opcodes): Fix order of displacement
1528 and register for "set1", "clr1", "not1", and "tst1".
1530 Wed Aug 21 18:46:26 1996 Jeffrey A Law (law@cygnus.com)
1532 * v850-opc.c (v850_operands): Add "B3" support.
1533 (v850_opcodes): Fix and enable "set1", "clr1", "not1"
1536 * v850-opc.c (v850_opcodes): "jmp" has only an R1 operand.
1538 * v850-opc.c: Close unterminated comment.
1540 Wed Aug 21 17:31:26 1996 J.T. Conklin <jtc@hippo.cygnus.com>
1542 * v850-opc.c (v850_operands): Add flags field.
1543 (v850_opcodes): add move opcodes.
1545 Tue Aug 20 14:41:03 1996 J.T. Conklin <jtc@hippo.cygnus.com>
1547 * Makefile.in (ALL_MACHINES): Add v850-opc.o.
1548 * configure: (bfd_v850v_arch) Add new case.
1549 * configure.in: (bfd_v850_arch) Add new case.
1550 * v850-opc.c: New file.
1552 Mon Aug 19 15:21:38 1996 Doug Evans <dje@canuck.cygnus.com>
1554 * sparc-dis.c (print_insn_sparc): Handle little endian sparcs.
1556 Thu Aug 15 13:14:43 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
1558 * d10v-opc.c: Add additional information to the opcode
1559 table to help determinine which instructions can be done
1562 Thu Aug 15 13:11:13 1996 Stan Shebs <shebs@andros.cygnus.com>
1564 * mpw-make.sed: Update editing of include pathnames to be
1567 Thu Aug 15 16:28:41 1996 James G. Smith <jsmith@cygnus.co.uk>
1569 * arm-opc.h: Added "bx" instruction definition.
1571 Wed Aug 14 17:00:04 1996 Richard Henderson <rth@tamu.edu>
1573 * alpha-opc.c (EV4EXTHWINDEX): Field width should be 8 not 5.
1575 Mon Aug 12 14:30:37 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
1577 * d10v-opc.c (d10v_opcodes): Minor fixes to addi and bl.l.
1579 Fri Aug 9 13:21:59 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
1581 * d10v-opc.c (d10v_opcodes): Correct 'mv' unit entry to EITHER.
1583 Thu Aug 8 12:43:52 1996 Klaus Kaempf <kkaempf@progis.de>
1585 * makefile.vms: Update for alpha-opc changes.
1587 Wed Aug 7 11:55:10 1996 Ian Lance Taylor <ian@cygnus.com>
1589 * i386-dis.c (print_insn_i386): Actually return the correct value.
1590 (ONE, OP_ONE): #ifdef out; not used.
1592 Fri Aug 2 17:47:03 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
1594 * d10v-opc.c (d10v_opcodes): Added 2 accumulator sub instructions.
1595 Changed subi operand type to treat 0 as 16.
1597 Wed Jul 31 16:21:41 1996 Ian Lance Taylor <ian@cygnus.com>
1599 * m68k-opc.c: Add cpushl for the mcf5200. From Ken Rose
1602 Wed Jul 31 14:39:27 1996 James G. Smith <jsmith@cygnus.co.uk>
1604 * arm-opc.h: (arm_opcodes): Added halfword and sign-extension
1605 memory transfer instructions. Add new format string entries %h and %s.
1606 * arm-dis.c: (print_insn_arm): Provide decoding of the new
1609 Fri Jul 26 11:45:04 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
1611 * d10v-opc.c (d10v_operands): Added UNUM4S; a 4-bit accumulator shift.
1612 (d10v_opcodes): Modified accumulator shift instructions to use UNUM4S.
1614 Fri Jul 26 14:01:43 1996 Ian Lance Taylor <ian@cygnus.com>
1616 * alpha-dis.c (print_insn_alpha_osf): Remove.
1617 (print_insn_alpha_vms): Remove.
1618 (print_insn_alpha): Make globally visible. Chose the register
1619 names based on info->flavour.
1620 * disassemble.c: Always return print_insn_alpha for the alpha.
1622 Thu Jul 25 15:24:17 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
1624 * d10v-dis.c (dis_long): Handle unknown opcodes.
1626 Thu Jul 25 12:08:09 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
1628 * d10v-opc.c: Changes to support signed and unsigned numbers.
1629 All instructions with the same name that have long and short forms
1630 now end in ".l" or ".s". Divs added.
1631 * d10v-dis.c: Changes to support signed and unsigned numbers.
1633 Tue Jul 23 11:02:53 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
1635 * d10v-dis.c: Change all functions to use info->print_address_func.
1637 Mon Jul 22 15:38:53 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1639 * m68k-opc.c (m68k_opcodes): Make opcode masks for the ColdFire
1640 move ccr/sr insns more strict so that the disassembler only
1641 selects them when the addressing mode is data register.
1643 Mon Jul 22 11:25:24 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
1644 * d10v-opc.c (pre_defined_registers): Declare.
1645 * d10v-dis.c (print_operand): Now uses pre_defined_registers
1646 to pick a better name for the registers.
1648 Mon Jul 22 13:47:23 1996 Ian Lance Taylor <ian@cygnus.com>
1650 * sparc-opc.c: Fix opcode values for fpack16, and fpackfix. Fix
1651 operands for fexpand and fpmerge. From Christian Kuehnke
1652 <Christian.Kuehnke@arbi.informatik.uni-oldenburg.de>.
1654 Mon Jul 22 13:17:06 1996 Richard Henderson <rth@tamu.edu>
1656 * alpha-dis.c (print_insn_alpha): No longer the user-visible
1657 print routine. Take new regnames and cpumask arguments.
1658 Kill the environment variable nonsense.
1659 (print_insn_alpha_osf): New function. Do OSF/1 style regnames.
1660 (print_insn_alpha_vms): New function. Do VMS style regnames.
1661 * disassemble.c (disassembler): Test bfd flavour to pick
1662 between OSF and VMS routines. Default to OSF.
1664 Thu Jul 18 17:19:34 1996 Ian Lance Taylor <ian@cygnus.com>
1666 * configure.in: Call AC_SUBST (INSTALL_SHLIB).
1667 * configure: Rebuild.
1668 * Makefile.in (install): Use @INSTALL_SHLIB@.
1670 Wed Jul 17 14:39:05 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
1672 * configure: (bfd_d10v_arch) Add new case.
1673 * configure.in: (bfd_d10v_arch) Add new case.
1674 * d10v-dis.c: New file.
1675 * d10v-opc.c: New file.
1676 * disassemble.c (disassembler) Add entry for d10v.
1678 Wed Jul 17 10:12:05 1996 J.T. Conklin <jtc@rtl.cygnus.com>
1680 * m68k-opc.c (m68k_opcodes): Fix bugs in coldfire insns relating
1681 to bcc, trapfl, subxl, and wddata discovered by Andreas Schwab.
1683 Mon Jul 15 16:59:55 1996 Stu Grossman (grossman@critters.cygnus.com)
1685 * i386-dis.c: Get rid of print_insn_i8086. Use info.mach to
1686 distinguish between variants of the instruction set.
1687 * sparc-dis.c: Get rid of print_insn_sparclite. Use info.mach to
1688 distinguish between variants of the instruction set.
1690 Fri Jul 12 10:12:01 1996 Stu Grossman (grossman@critters.cygnus.com)
1692 * i386-dis.c (print_insn_i8086): New routine to disassemble using
1693 the 8086 instruction set.
1694 * i386-dis.c: General cleanups. Make most things static. Add
1695 prototypes. Get rid of static variables aflags and dflags. Pass
1696 them as args (to almost everything).
1698 Thu Jul 11 11:58:44 1996 Jeffrey A Law (law@cygnus.com)
1700 * h8300-dis.c (bfd_h8_disassemble): Handle macregs in ldmac insns.
1702 * h8300-dis.c (bfd_h8_disassemble): Handle "ldm.l" and "stm.l".
1704 * h8300-dis.c (bfd_h8_disassemble): "abs" is implicitly two
1705 if the next arg is marked with SRC_IN_DST. Gross.
1707 * h8300-dis.c (bfd_h8_disassemble): Print "exr" when
1708 we're looking for and find EXR.
1710 * h8300-dis.c (bfd_h8_disassemble): We don't have a match
1711 if we're looking for KBIT and we don't find it.
1713 * h8300-dis.c (bfd_h8_disassemble): Mask off unwanted bits
1716 * h8300-dis.c (bfd_h8_disassemble): Don't set plen for
1717 3bit immediate operands.
1719 Tue Jul 9 10:55:20 1996 Ian Lance Taylor <ian@cygnus.com>
1721 * Released binutils 2.7.
1723 * alpha-opc.c: Add new case of "mov". From Klaus Kaempf
1724 <kkaempf@progis.ac-net.de>.
1726 Thu Jul 4 11:42:51 1996 Ian Lance Taylor <ian@cygnus.com>
1728 * alpha-opc.c: Correct second case of "mov" to use OPRL.
1730 Wed Jul 3 16:03:47 1996 Stu Grossman (grossman@critters.cygnus.com)
1732 * sparc-dis.c (print_insn_sparclite): New routine to print
1733 sparclite instructions.
1735 Wed Jul 3 14:21:18 1996 J.T. Conklin <jtc@rtl.cygnus.com>
1737 * m68k-opc.c (m68k_opcodes): Add coldfire support.
1739 Fri Jun 28 15:53:51 1996 Doug Evans <dje@canuck.cygnus.com>
1741 * sparc-opc.c (asi_table): Add #ASI_N, #ASI_N_L, #ASI_NUCLEUS,
1742 #ASI_NUCLEUS_LITTLE. Rename #ASI_AS_IF_USER_{PRIMARY,SECONDARY}_L
1743 to #ASI_AS_IF_USER_{PRIMARY,SECONDARY}_LITTLE.
1745 Tue Jun 25 22:58:31 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
1747 * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir):
1748 Use autoconf-set values.
1749 (docdir, oldincludedir): Removed.
1750 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
1752 Fri Jun 21 13:53:36 1996 Richard Henderson <rth@tamu.edu>
1754 * alpha-opc.c: New file.
1755 * alpha-opc.h: Remove.
1756 * alpha-dis.c: Complete rewrite to use new opcode table.
1757 * configure.in: For bfd_alpha_arch, use alpha-opc.o.
1758 * configure: Rebuild with autoconf 2.10.
1759 * Makefile.in (ALL_MACHINES): Add alpha-opc.o.
1760 (alpha-dis.o): Depend upon $(INCDIR)/opcode/alpha.h, not
1762 (alpha-opc.o): New target.
1764 Wed Jun 19 15:55:12 1996 Ian Lance Taylor <ian@cygnus.com>
1766 * sparc-dis.c (print_insn_sparc): Remove unused local variable i.
1767 Set imm_added_to_rs1 even if the source and destination register
1770 * sparc-opc.c: Add some two operand forms of the wr instruction.
1772 Tue Jun 18 15:58:27 1996 Jeffrey A. Law <law@rtl.cygnus.com>
1774 * h8300-dis.c (bfd_h8_disassemble): Rename "hmode" argument
1777 * disassemble.c (disassembler): Handle H8/S.
1778 * h8300-dis.c (print_insn_h8300s): New function for H8/S.
1780 Tue Jun 18 18:06:50 1996 Ian Lance Taylor <ian@cygnus.com>
1782 * sparc-opc.c: Add beq/teq as aliases for be/te.
1784 * ppc-opc.c: Fix fcmpo opcode. From Sergei Steshenko
1785 <sergei@msil.sps.mot.com>.
1787 Tue Jun 18 15:08:54 1996 Klaus Kaempf <kkaempf@progis.de>
1789 * makefile.vms: New file.
1791 * alpha-dis.c (print_insn_alpha): Print lda ra,lit(rz) as mov.
1793 Mon Jun 10 18:50:38 1996 Ian Lance Taylor <ian@cygnus.com>
1795 * h8300-dis.c (bfd_h8_disassemble): Always print ABS8MEM with :8,
1798 Tue Jun 4 09:15:53 1996 Doug Evans <dje@canuck.cygnus.com>
1800 * i386-dis.c (OP_OFF): Call append_prefix.
1802 Thu May 23 15:18:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
1804 * ppc-opc.c (instruction encoding macros): Add explicit casts to
1805 unsigned long to silence a warning from the Solaris PowerPC
1808 Thu Apr 25 19:33:32 1996 Doug Evans <dje@canuck.cygnus.com>
1810 * sparc-opc.c (sparc_opcodes): Add ultrasparc vis extensions.
1812 Mon Apr 22 17:12:35 1996 Doug Evans <dje@blues.cygnus.com>
1814 * sparc-dis.c (X_IMM,X_SIMM): New macros.
1816 (print_insn_sparc): Merge cases i,I,j together. New cases X,Y.
1817 * sparc-opc.c (sparc_opcodes): Use X for 5 bit shift constants,
1818 Y for 6 bit shift constants. Rewrite entries for crdcxt, cwrcxt,
1819 cpush, cpusha, cpull sparclet insns.
1821 Wed Apr 17 14:20:22 1996 Doug Evans <dje@canuck.cygnus.com>
1823 * sparc-dis.c (compute_arch_mask): Replace ANSI style def with K&R.
1825 Thu Apr 11 17:30:02 1996 Ian Lance Taylor <ian@cygnus.com>
1827 * sparc-opc.c: Set F_FBR on floating point branch instructions.
1828 Set F_FLOAT on other floating point instructions.
1830 Mon Apr 8 17:02:48 1996 Michael Meissner <meissner@tiktok.cygnus.com>
1832 * ppc-opc.c (PPC860): Macro for 860/821 specific instructions and
1834 (powerpc_opcodes): Add 860/821 specific SPRs.
1836 Mon Apr 8 14:00:44 1996 Ian Lance Taylor <ian@cygnus.com>
1838 * configure.in: Permit --enable-shared to specify a list of
1839 directories. Set and substitute BFD_PICLIST.
1840 * configure: Rebuild.
1841 * Makefile.in (BFD_PICLIST): Rename from BFD_LIST. Change all
1842 uses. Set to @BFD_PICLIST@.
1844 Fri Apr 5 17:12:27 1996 Jeffrey A Law (law@cygnus.com)
1846 * h8300-dis.c (bfd_h8_disassemble): Use "bit" for L_3 immediates,
1847 not "abs", which may be needed for the absolute in something
1848 like btst #0,@10:8. Print L_3 immediates separately from other
1849 immediates. Change ABSMOV reference to ABS8MEM.
1851 Wed Apr 3 10:40:45 1996 Doug Evans <dje@canuck.cygnus.com>
1853 * sparc-dis.c (opcodes_initialized): Move inside print_insn_sparc.
1854 (current_arch_mask): New static global.
1855 (compute_arch_mask): New static function.
1856 (print_insn_sparc): Delete sparc_v9_p. New static local
1857 current_mach. Resort opcode table if current_mach changes.
1858 Generalize "insn not supported" test.
1859 (compare_opcodes): Prefer supported opcodes to nonsupported ones.
1860 Delete test for v9/!v9.
1861 * sparc-opc.c (MASK_*): Use SPARC_OPCODE_ARCH_MASK.
1863 (brfc): Split into CBR and FBR for coprocessor/fp branches.
1864 (brfcx): Renamed to FBRX.
1865 (condfc): Renamed to CONDFC. Pass v6notlet to CBR (standard
1866 coprocessor mnemonics are not supported on the sparclet).
1867 (condf): Renamed to CONDF.
1868 (SLCBCC2): Delete F_ALIAS flag.
1870 Sat Mar 30 21:45:59 1996 Doug Evans <dje@canuck.cygnus.com>
1872 * sparc-opc.c (sparc_opcodes): rd must be 0 for
1873 mov foo,{%y,%psr,%wim,%tbr}. Support mov foo,%asrX.
1875 Fri Mar 29 13:02:40 1996 Ian Lance Taylor <ian@cygnus.com>
1877 * Makefile.in (config.status): Depend upon BFD VERSION file, so
1878 that the shared library version number is set correctly.
1880 Tue Mar 26 15:47:14 1996 Ian Lance Taylor <ian@cygnus.com>
1882 * configure.in: Use AC_CHECK_TOOL to find ar and ranlib. From
1883 Miles Bader <miles@gnu.ai.mit.edu>.
1884 * configure: Rebuild.
1886 Sat Mar 16 13:04:07 1996 Fred Fish <fnf@cygnus.com>
1888 * z8kgen.c (internal, gas): Call xmalloc rather than unchecked
1891 Tue Mar 12 12:14:10 1996 Ian Lance Taylor <ian@cygnus.com>
1893 * configure: Rebuild with autoconf 2.8.
1895 Thu Mar 7 15:11:10 1996 Doug Evans <dje@charmed.cygnus.com>
1897 * sparc-dis.c (print_insn_sparc): Handle 'O' operand char like 'r'.
1898 * sparc-opc.c (sparc_opcodes): Use 'O' operand char for `neg reg'.
1900 Tue Mar 5 15:51:57 1996 Ian Lance Taylor <ian@cygnus.com>
1902 * configure.in: Don't set SHLIB or SHLINK to an empty string,
1903 since they appear as targets in Makefile.in.
1904 * configure: Rebuild.
1906 Mon Feb 26 13:03:40 1996 Stan Shebs <shebs@andros.cygnus.com>
1908 * mpw-make.sed: Edit out shared library support bits.
1910 Tue Feb 20 20:48:28 1996 Doug Evans <dje@charmed.cygnus.com>
1912 * sparc-opc.c (v8,v6notv9): Add MASK_SPARCLET.
1913 (sparc_opcode_archs): Add MASK_V8 to sparclet entry.
1914 (sparc_opcodes): Add sparclet insns.
1915 (sparclet_cpreg_table): New static local.
1916 (sparc_{encode,decode}_sparclet_cpreg): New functions.
1917 * sparc-dis.c (print_insn_sparc): Handle sparclet cpregs.
1919 Tue Feb 20 11:02:44 1996 Alan Modra <alan@mullet.Levels.UniSA.Edu.Au>
1921 * i386-dis.c (index16): New static variable.
1922 (putop): Print jecxz for 32 bit case, jcxz for 16 bit, not the
1924 (OP_indirE): Return result of OP_E.
1925 (OP_E): Check for 16 bit addressing mode, and disassemble
1926 correctly. Optimised 32 bit case a little. Don't print
1927 "(base,index,scale)" when sib specifies only an offset.
1929 Mon Feb 19 12:32:17 1996 Ian Lance Taylor <ian@cygnus.com>
1931 * configure.in: Set and substitute SHLIB_DEP.
1932 * configure: Rebuild.
1933 * Makefile.in (SHLIB_DEP): New variable.
1934 (LIBIBERTY_LISTS, BFD_LIST): New variables.
1935 (stamp-piclist): Depend upon LIBIBERTY_LISTS and BFD_LIST. If
1936 COMMON_SHLIB, add them to piclist with appropriate modifications.
1937 ($(SHLIB)): Depend upon $(SHLIB_DEP). Don't check COMMON_SHLIB
1938 here: just use piclist.
1940 Mon Feb 19 02:03:50 1996 Doug Evans <dje@charmed.cygnus.com>
1942 * sparc-dis.c (MASK_V9,V9_ONLY_P,V9_P): Define.
1943 (print_insn_sparc): Rewrite v9/not-v9 tests.
1944 (compare_opcodes): Likewise.
1945 * sparc-opc.c (MASK_<ARCH>): Define.
1946 (v6,v7,v8,sparclite,v9,v9a): Redefine.
1947 (sparclet,v6notv9): Define.
1948 (sparc_opcode_archs): Delete member `conflicts'. Add `supported'.
1949 (sparc_opcodes): Delete F_NOTV9, use v6notv9 instead.
1951 Thu Feb 15 14:45:05 1996 Ian Lance Taylor <ian@cygnus.com>
1953 * configure.in: Call AC_PROG_CC before configure.host.
1954 * configure: Rebuild.
1956 * Makefile.in (SONAME): Remove leading ../bfd/ from $(SHLIB).
1958 Wed Feb 14 19:01:27 1996 Alan Modra <alan@spri.levels.unisa.edu.au>
1960 * i386-dis.c (onebyte_has_modrm): New static array.
1961 (twobyte_has_modrm): New static array.
1962 (print_insn_i386): Only fetch the mod/reg/rm byte if it is needed.
1964 Tue Feb 13 15:15:01 1996 Ian Lance Taylor <ian@cygnus.com>
1966 * Makefile.in ($(SHLINK)): Check ts against $(SHLIB), not
1969 Mon Feb 12 16:26:06 1996 Michael Meissner <meissner@tiktok.cygnus.com>
1971 * ppc-opc.c (PPC): Undef, so default defination on Windows NT
1974 Wed Feb 7 13:59:54 1996 Ian Lance Taylor <ian@cygnus.com>
1976 * m68k-opc.c (m68k_opcodes): The bkpt instruction is supported on
1977 m68010up, not just m68020up | cpu32.
1979 * Makefile.in (SONAME): New variable.
1980 ($(SHLINK)): Make a link to the transformed name, as well.
1981 (stamp-tshlink): New target.
1982 (install): Skip stamp-tshlink during install.
1984 Tue Feb 6 12:28:54 1996 Ian Lance Taylor <ian@cygnus.com>
1986 * configure.in: Call AC_ARG_PROGRAM.
1987 * configure: Rebuild.
1988 * Makefile.in (program_transform_name): New variable.
1989 (install): Transform library name before installing it.
1991 Mon Feb 5 16:14:42 1996 Ian Lance Taylor <ian@cygnus.com>
1993 * i960-dis.c (mem): Add HX dcinva instruction.
1995 Support for building as a shared library, based on patches from
1996 Alan Modra <alan@spri.levels.unisa.edu.au>:
1997 * configure.in: Add AC_ARG_ENABLE for shared and commonbfdlib.
1998 New substitutions: ALLLIBS, PICFLAG, SHLIB, SHLIB_CC,
1999 SHLIB_CFLAGS, COMMON_SHLIB, SHLINK.
2000 * configure: Rebuild.
2001 * Makefile.in (ALLLIBS): New variable.
2002 (PICFLAG, SHLIB, SHLIB_CC, SHLIB_CFLAGS): New variables.
2003 (COMMON_SHLIB, SHLINK): New variables.
2004 (.c.o): If PICFLAG is set, compile twice, once PIC, once normal.
2005 (STAGESTUFF): Remove variable.
2006 (all): Depend upon $(ALLLIBS) rather than $(TARGETLIB).
2007 (stamp-piclist, piclist): New targets.
2008 ($(SHLIB), $(SHLINK)): New targets.
2009 ($(OFILES)): Depend upon stamp-picdir.
2010 (disassemble.o): Build twice if PICFLAG is set.
2011 (MOSTLYCLEAN): Add pic/*.o.
2012 (clean): Remove $(SHLIB), $(SHLINK), piclist, and stamp-piclist.
2013 (distclean): Remove pic and stamp-picdir.
2014 (install): Install shared libraries.
2015 (stamp-picdir): New target.
2017 Fri Feb 2 17:15:25 1996 Doug Evans <dje@charmed.cygnus.com>
2019 * sparc-dis.c (print_insn_sparc): Delete DISASM_RAW_INSN support.
2020 Print unknown instruction as "unknown", rather than in hex.
2022 Tue Jan 30 14:06:08 1996 Ian Lance Taylor <ian@cygnus.com>
2024 * dis-buf.c: Include "sysdep.h" before "dis-asm.h".
2026 Thu Jan 25 20:24:07 1996 Doug Evans <dje@charmed.cygnus.com>
2028 * sparc-opc.c (sparc_opcode_archs): Mark v8/sparclite as conflicting.
2030 Thu Jan 25 11:56:49 1996 Ian Lance Taylor <ian@cygnus.com>
2032 * i386-dis.c (print_insn_i386): Only fetch the mod/reg/rm byte
2033 when necessary. From Ulrich Drepper
2034 <drepper@myware.rz.uni-karlsruhe.de>.
2036 Thu Jan 25 03:39:10 1996 Doug Evans <dje@charmed.cygnus.com>
2038 * sparc-dis.c (print_insn_sparc): NUMOPCODES replaced with
2039 sparc_num_opcodes. Update architecture enum values.
2040 * sparc-opc.c (sparc_opcode_archs): Replaces architecture_pname.
2041 (sparc_opcode_lookup_arch): New function.
2042 (sparc_num_opcodes): Renamed from bfd_sparc_num_opcodes.
2043 (sparc_opcodes): Add v9a shutdown insn.
2045 Mon Jan 22 08:29:59 1996 Doug Evans <dje@charmed.cygnus.com>
2047 * sparc-dis.c (print_insn_sparc): Renamed from print_insn.
2048 If DISASM_RAW_INSN, print insn in hex. Handle v9a as opcode
2050 (print_insn_sparc64): Deleted.
2051 * disassemble.c (disassembler, case bfd_arch_sparc): Always use
2054 * sparc-opc.c (architecture_pname): Add v9a.
2056 Fri Jan 12 14:35:58 1996 David Mosberger-Tang <davidm@AZStarNet.com>
2058 * alpha-opc.h (alpha_insn_set): VAX floating point opcode was
2059 incorrectly defined as 0x16 when it should be 0x15.
2060 (FLOAT_FORMAT_MASK): function code is 11 bits, not just 7 bits!
2061 (alpha_insn_set): added cvtst and cvttq float ops. Also added
2062 excb (exception barrier) which is defined in the Alpha
2063 Architecture Handbook version 2.
2064 * alpha-dis.c (print_insn_alpha): Fixed special-case decoding for
2065 OPERATE_FORMAT_CODE type instructions. The bug caused mulq to be
2066 disassembled as or, for example.
2068 Wed Jan 10 12:37:22 1996 Ian Lance Taylor <ian@cygnus.com>
2070 * mips-dis.c (print_insn_arg): Print cases 'i' and 'u' in hex.
2071 (_print_insn_mips): Change i from int to unsigned int.
2073 Thu Jan 4 17:21:10 1996 David Edelsohn <edelsohn@mhpcc.edu>
2075 * ppc-opc.c (powerpc_opcodes): tlbi POWER opcode form different
2076 from tlbie PowerPC opcode. Add PPC603 tlbld and tlbli.
2078 Thu Dec 28 13:29:19 1995 John Hassey <hassey@rtp.dg.com>
2080 * i386-dis.c: Added Pentium Pro instructions.
2082 Tue Dec 19 22:56:35 1995 Michael Meissner <meissner@tiktok.cygnus.com>
2084 * ppc-opc.c (fsqrt{,.}): Duplicate for PowerPC in addition to
2087 Fri Dec 15 14:14:15 1995 J.T. Conklin <jtc@rtl.cygnus.com>
2089 * sh-opc.h (sh_nibble_type): Added REG_B.
2090 (sh_arg_type): Added A_REG_B.
2091 (sh_table): Added pref and bank reg versions of ldc, ldc.l, stc
2093 * sh-dis.c (print_insn_shx): Added cases for REG_B and A_REG_B.
2095 Fri Dec 15 16:44:31 1995 Ian Lance Taylor <ian@cygnus.com>
2097 * disassemble.c (disassembler): Use new bfd_big_endian macro.
2099 Tue Dec 12 12:22:24 1995 Ian Lance Taylor <ian@cygnus.com>
2101 * Makefile.in (distclean): Remove stamp-h. From Ronald
2102 F. Guilmette <rfg@monkeys.com>.
2104 Tue Dec 5 13:42:44 1995 Stan Shebs <shebs@andros.cygnus.com>
2106 From David Mosberger-Tang <davidm@azstarnet.com>:
2107 * alpha-dis.c (print_insn_alpha): fixed decoding of cpys
2110 Mon Dec 4 12:29:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
2112 * sh-opc.h (sh_arg_type): Added A_SSR and A_SPC.
2113 (sh_table): Added many SH3 opcodes.
2114 * sh-dis.c (print_insn_shx): Added cases for A_SSR and A_SPC.
2116 Fri Dec 1 07:42:18 1995 Michael Meissner <meissner@tiktok.cygnus.com>
2118 * ppc-opc.c (subfc., subfco): Mark this PPCCOM, not PPC.
2119 (subco,subco.): Mark this PPC, not PPCCOM.
2121 Mon Nov 27 13:09:52 1995 Ian Lance Taylor <ian@cygnus.com>
2123 * configure: Rebuild with autoconf 2.7.
2125 Tue Nov 21 18:28:06 1995 Ian Lance Taylor <ian@cygnus.com>
2127 * configure: Rebuild with autoconf 2.6.
2129 Wed Nov 15 19:02:53 1995 Ken Raeburn <raeburn@cygnus.com>
2131 * configure.in: Sort list of architectures. Accept but do nothing
2132 for alliant, convex, pyramid, romp, and tahoe.
2134 Wed Nov 8 20:18:59 1995 Ian Lance Taylor <ian@cygnus.com>
2136 * a29k-dis.c (print_special): Change num to unsigned int.
2138 Wed Nov 8 20:10:35 1995 Eric Freudenthal <freudenthal@nyu.edu>
2140 * a29k-dis.c (print_insn): Cast insn24 to unsigned long when
2143 Tue Nov 7 15:21:06 1995 Ian Lance Taylor <ian@cygnus.com>
2145 * configure.in: Call AC_CHECK_PROG to find and cache AR.
2146 * configure: Rebuilt.
2148 Mon Nov 6 17:39:47 1995 Harry Dolan <dolan@ssd.intel.com>
2150 * configure.in: Add case for bfd_i860_arch.
2151 * configure: Rebuild.
2153 Fri Nov 3 12:45:31 1995 Ian Lance Taylor <ian@cygnus.com>
2155 * m68k-opc.c (m68k_opcodes): Correct fmoveml operands.
2156 * m68k-dis.c (NEXTSINGLE): Change i to unsigned int.
2157 (NEXTDOUBLE): Likewise.
2158 (print_insn_m68k): Don't match fmoveml if there is more than one
2159 register in the list.
2160 (print_insn_arg): Handle a place of '8' for a type of 'L'.
2162 Thu Nov 2 23:06:33 1995 Ian Lance Taylor <ian@cygnus.com>
2164 * m68k-opc.c: Use #W rather than #w.
2165 * m68k-dis.c (print_insn_arg): Handle new 'W' place.
2167 Wed Nov 1 13:30:24 1995 Ian Lance Taylor <ian@cygnus.com>
2169 * m68k-opc.c (m68k_opcode_aliases): Add dbfw as an alias for dbf,
2170 and likewise for all the dbxx opcodes.
2172 Mon Oct 30 20:50:40 1995 Fred Fish <fnf@cygnus.com>
2174 * arc-dis.c: Include elf-bfd.h rather than libelf.h.
2176 Mon Oct 23 11:11:34 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
2178 * mips-opc.c: Added shorthand (V1) for INSN_4100 manifest. Added
2179 the VR4100 specific instructions to the mips_opcodes structure.
2181 Thu Oct 19 11:05:23 1995 Stan Shebs <shebs@andros.cygnus.com>
2183 * mpw-config.in, mpw-make.sed: Remove ugly workaround for
2184 ugly Metrowerks bug in CW6, is fixed in CW7.
2186 Mon Oct 16 12:59:01 1995 Michael Meissner <meissner@tiktok.cygnus.com>
2188 * ppc-opc.c (whole file): Add flags for common/any support.
2190 Tue Oct 10 11:06:07 1995 Fred Fish <fnf@cygnus.com>
2192 * Makefile.in (BISON): Remove macro.
2193 (FLAGS_TO_PASS): Remove BISON.
2195 Fri Oct 6 16:26:45 1995 Ken Raeburn <raeburn@cygnus.com>
2197 Mon Sep 25 22:49:32 1995 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2199 * m68k-dis.c (print_insn_m68k): Recognize all two-word
2200 instructions that take no args by looking at the match mask.
2201 (print_insn_arg): Always print "%" before register names.
2202 [case 'c']: Use "nc" for the no-cache case, as recognized by gas.
2203 [case '_']: Don't print "@#" before address.
2204 [case 'J']: Use "%s" as format string, not register name.
2205 [case 'B']: Treat place == 'C' like 'l' and 'L'.
2207 Thu Oct 5 22:16:20 1995 Ken Raeburn <raeburn@cygnus.com>
2209 * i386-dis.c: Describe cmpxchg8b operand, and spell the opcode
2212 Tue Oct 3 08:30:20 1995 steve chamberlain <sac@slash.cygnus.com>
2214 From David Mosberger-Tang <davidm@azstarnet.com>
2216 * alpha-opc.h (MEMORY_FUNCTION_FORMAT_MASK): added.
2217 (alpha_insn_set): added definitions for VAX floating point
2218 instructions (Unix compilers don't generate these, but handcoded
2219 assembly might still use them).
2221 * alpha-dis.c (print_insn_alpha): added support for disassembling
2222 the miscellaneous instructions in the Alpha instruction set.
2224 Tue Sep 26 18:47:20 1995 Stan Shebs <shebs@andros.cygnus.com>
2226 * mpw-config.in: Add m68k-opc.c.o to BFD_MACHINES for m68k,
2227 no longer create sysdep.h, sed ppc-opc.c to work around a
2228 serious Metrowerks C bug.
2229 * mpw-make.in: Remove.
2230 * mpw-make.sed: New file, used by mpw-configure to edit
2231 Makefile.in into an MPW makefile.
2233 Wed Sep 20 12:55:28 1995 Ian Lance Taylor <ian@cygnus.com>
2235 * Makefile.in (maintainer-clean): New synonym for realclean.
2237 Tue Sep 19 15:28:36 1995 Ian Lance Taylor <ian@cygnus.com>
2239 * m68k-opc.c: Split pmove patterns which use 'P' into patterns
2240 which use '0', '1', and '2' instead. Specify the proper size for
2241 a pmove immediate operand. Correct the pmovefd patterns to be
2242 moves to a register, not from a register.
2243 * m68k-dis.c (print_insn_arg): Replace 'P' with '0', '1', '2'.
2245 Thu Sep 14 11:58:22 1995 Doug Evans <dje@canuck.cygnus.com>
2247 * sparc-opc.c (sparc_opcodes): Mark all insns that reference
2248 %psr, %wim, %tbr as F_NOTV9.
2250 Fri Sep 8 01:07:38 1995 Ian Lance Taylor <ian@cygnus.com>
2252 * Makefile.in (Makefile): Just rebuild Makefile when running
2254 (config.h, stamp-h): New targets.
2255 * configure.in: Call AC_CONFIG_HEADER and AC_CANONICAL_SYSTEM
2256 earlier. Don't bother to call AC_ARG_PROGRAM. Touch stamp-h when
2257 rebuilding config.h.
2258 * configure: Rebuild.
2260 * mips-opc.c: Change unaligned loads and stores with "t,A"
2261 operands to use "t,A(b)".
2263 Thu Sep 7 19:02:46 1995 Jim Wilson <wilson@chestnut.cygnus.com>
2265 * sh-dis.c (print_insn_shx): Add F_FR0 support.
2267 Thu Sep 7 19:02:46 1995 Jim Wilson <wilson@chestnut.cygnus.com>
2269 * sh-dis.c (print_insn_shx): Change loop over op->arg[n] to iterate
2270 until 3 instead of until 2.
2272 Wed Sep 6 21:21:33 1995 Ian Lance Taylor <ian@cygnus.com>
2274 * Makefile.in (ALL_CFLAGS): Define.
2275 (.c.o, disassemble.o): Use $(ALL_CFLAGS).
2276 (MOSTLYCLEAN): Add config.log.
2277 (distclean): Don't remove config.log.
2278 * configure.in: Substitute HDEFINES.
2279 * configure: Rebuild.
2281 Wed Sep 6 15:08:09 1995 Jim Wilson <wilson@chestnut.cygnus.com>
2283 * sh-opc.h (sh_arg_type): Add F_FR0.
2284 (sh_table, case fmac): Add F_FR0 as first argument.
2286 Wed Sep 6 15:08:09 1995 Jim Wilson <wilson@chestnut.cygnus.com>
2288 * sh-opc.h (sh_opcode_info): Increase arg array size to 4.
2290 Tue Sep 5 18:28:10 1995 Doug Evans <dje@canuck.cygnus.com>
2292 * sparc-dis.c: Remove all references to NO_V9.
2294 Tue Sep 5 20:03:26 1995 Ian Lance Taylor <ian@cygnus.com>
2296 * aclocal.m4: Just include ../bfd/aclocal.m4.
2297 * configure: Rebuild.
2299 Tue Sep 5 16:09:59 1995 Doug Evans <dje@canuck.cygnus.com>
2301 * sparc-dis.c (X_DISP19): Define.
2302 (print_insn, case 'G'): Use it.
2303 (print_insn, case 'L'): Sign extend displacement.
2305 Mon Sep 4 14:28:46 1995 Ian Lance Taylor <ian@cygnus.com>
2307 * configure.in: Run ../bfd/configure.host before AC_PROG_CC.
2308 Subsitute CFLAGS and AR. Call AC_PROG_INSTALL. Don't substitute
2309 host_makefile_frag or frags.
2310 * aclocal.m4: New file.
2311 * configure: Rebuild.
2312 * Makefile.in (INSTALL): Set to @INSTALL@.
2313 (INSTALL_PROGRAM): Set to @INSTALL_PROGRAM@.
2314 (INSTALL_DATA): Set to @INSTALL_DATA@.
2316 (AR_FLAGS): Set to rc rather than qc.
2317 (CC): Define as @CC@.
2318 (CFLAGS): Set to @CFLAGS@.
2319 (@host_makefile_frag@): Remove.
2320 (config.status): Remove dependency upon @frags@.
2322 * configure.in: ../bfd/config.bfd now just sets shell variables.
2323 Use them rather than looking through target Makefile fragments.
2324 * configure: Rebuild.
2326 Thu Aug 31 12:35:32 1995 Jim Wilson <wilson@chestnut.cygnus.com>
2328 * sh-opc.h (ftrc): Change FPUL_N to FPUL_M.
2330 Wed Aug 30 13:52:28 1995 Doug Evans <dje@canuck.cygnus.com>
2332 * sparc-opc.c (sparc_opcodes): Delete duplicate wr %y insn.
2333 Add clrx, iprefetch, signx, clruw, cas, casl, casx, casxl synthetic
2336 * sparc-opc.c (sparc_opcodes): Fix prefetcha insn.
2337 (lookup_{name,value}): New functions.
2338 (prefetch_table): New static local.
2339 (sparc_{encode,decode}_prefetch): New functions.
2340 * sparc-dis.c (print_insn): Handle '*' arg (prefetch function).
2342 Wed Aug 30 11:11:58 1995 Jim Wilson <wilson@chestnut.cygnus.com>
2344 * sh-opc.h: Add blank lines to improve readabililty of sh3e
2347 Wed Aug 30 11:09:38 1995 Jim Wilson <wilson@chestnut.cygnus.com>
2349 * sh-dis.c: Correct comment on first line of file.
2351 Tue Aug 29 15:37:18 1995 Doug Evans <dje@canuck.cygnus.com>
2353 * disassemble.c (disassembler): Handle bfd_mach_sparc64.
2355 * sparc-opc.c (asi, membar): New static locals.
2356 (sparc_{encode,decode}_{asi,membar}): New functions.
2357 (sparc_opcodes, membar insn): Fix.
2358 * sparc-dis.c (print_insn): Call sparc_decode_asi.
2359 Support decoding of membar masks.
2362 Sat Aug 26 21:22:48 1995 Ian Lance Taylor <ian@cygnus.com>
2364 * m68k-opc.c (m68k_opcode_aliases): Add br, brs, brb, brw, brl.
2366 Mon Aug 21 17:33:36 1995 Ian Lance Taylor <ian@cygnus.com>
2368 * m68k-opc.c (m68k_opcode_aliases): Add bhib as an alias for bhis,
2369 and likewise for the other branches. Add bhs as an alias for bcc,
2370 and likewise for the size variants. Add dbhs as an alias for
2373 Fri Aug 11 13:40:24 1995 Jeff Law (law@snake.cs.utah.edu)
2375 * sh-opc.h (FP sts instructions): Update to match reality.
2377 Mon Aug 7 16:12:58 1995 Ian Lance Taylor <ian@cygnus.com>
2379 * m68k-dis.c: (fpcr_names): Add % before all register names.
2380 (reg_names): Likewise.
2381 (print_insn_arg): Don't explicitly print % before register names.
2382 Add % before register names in static array names. In case 'r',
2383 print data registers as `@(Dn)', not `Dn@'. When printing a
2384 memory address, don't print @# before it.
2385 (print_indexed): Change base_disp and outer_disp from int to
2386 bfd_vma. Print using MIT syntax, not mutant invalid Motorola
2387 syntax. Sign extend 8 byte displacement correctly.
2388 (print_base): Print using MIT syntax. Print zpc when appropriate.
2389 Change parameter disp from int to bfd_vma.
2391 * m68k-opc.c (m68k_opcode_aliases): Add jsrl and jsrs as aliases
2394 Mon Aug 7 02:21:40 1995 Jeff Law (law@snake.cs.utah.edu)
2396 * sh-dis.c (print_insn_shx): Handle new operand types F_REG_N,
2397 F_REG_M, FPSCR_M, FPSCR_N, FPUL_M and FPUL_N.
2398 * sh-opc.h (sh_arg_type): Add new operand types.
2399 (sh_table): Add new opcodes from SH3E Floating Point ISA.
2401 Sat Aug 5 16:50:14 1995 Fred Fish <fnf@cygnus.com>
2403 * Makefile.in (distclean): Remove generated file config.h.
2405 Sat Aug 5 16:50:14 1995 Fred Fish <fnf@cygnus.com>
2407 * Makefile.in (distclean): Remove generated file config.h.
2409 Wed Aug 2 18:33:40 1995 Ian Lance Taylor <ian@cygnus.com>
2411 * m68k-opc.c: New file, holding tables from include/opcode/m68k.h.
2413 * m68k-dis.c: Remove BREAK_UP_BIG_DECL stuff.
2415 (print_insn_m68k): Change d to be const. Use m68k_numopcodes
2416 rather than numopcodes. Use m68k_opcodes rather than removed
2417 opcode function. Don't check F_ALIAS.
2418 (print_insn_arg): Change first parameter to be const char *.
2419 * Makefile.in (ALL_MACHINES): Add m68k-opc.o.
2420 (m68k-opc.o): New target.
2421 * configure.in: Build m68k-opc.o for bfd_m68k_arch.
2422 * configure: Rebuild.
2424 Wed Aug 2 08:23:38 1995 Doug Evans <dje@canuck.cygnus.com>
2426 * sparc-dis.c (HASH_SIZE, HASH_INSN): Define.
2427 (opcode_bits, opcode_hash_table): New variables.
2428 (opcodes_initialized): Renamed from opcodes_sorted.
2429 (build_hash_table): New function.
2430 (is_delayed_branch): Use hash table.
2431 (print_insn): Renamed from print_insn_sparc, made static.
2432 Build and use hash table. If !sparc64, ignore sparc64 insns,
2433 and vice-versa if sparc64.
2434 (print_insn_sparc, print_insn_sparc64): New functions.
2435 (compare_opcodes): Move sparc64 opcodes to end.
2436 Print commutative insns with constant second.
2437 * sparc-opc.c (all non-v9 insns): Use flag F_NOTV9 instead of F_ALIAS.
2439 Tue Aug 1 00:12:49 1995 Ian Lance Taylor <ian@cygnus.com>
2441 * sh-dis.c (print_insn_shx): Remove unused local dslot. Use
2442 print_address_func for A_BDISP12 and A_BDISP8. Correct test which
2443 avoids printing a delay slot in a delay slot.
2444 * sh-opc.h (sh_table): Fully bracket last entry.
2446 Mon Jul 31 12:04:47 1995 Doug Evans <dje@canuck.cygnus.com>
2448 * sparc-opc.c (sllx, srax, srlx): Fix disassembly.
2450 Wed Jul 12 00:59:34 1995 Ken Raeburn <raeburn@kr-pc.cygnus.com>
2452 * configure.in: Get host_makefile_frag from ${srcdir}.
2454 * configure.in: Autoconfiscated. Check for string[s].h. Create
2455 config.h from config.in. Don't set up sysdep.h link.
2456 * sysdep.h: New file.
2457 * configure, config.in: New files, generated from configure.in.
2458 * Makefile.in: Updated to be processed autoconf-style.
2459 (distclean): Keep sysdep.h. Remove config.log and config.cache.
2460 (Makefile): Depend on config.status.
2461 (config.status): New rule.
2462 * configure.bat: Update Makefile substitutions.
2464 Tue Jul 11 14:23:37 1995 Jeff Spiegel <jeffs@lsil.com>
2466 * mips-opc.c (L1): Define.
2467 (mips_opcodes): Add R4010 instructions: flushi, flushd, flushid,
2468 addciu, madd, maddu, ffc, ffs, msub, msubu, selsi, selsr, waiti,
2471 Tue Jul 11 11:49:49 1995 Ian Lance Taylor <ian@cygnus.com>
2473 * mips-opc.c (mips_opcodes): For the move pseudo-op, prefer daddu
2474 if ISA 3 and addu otherwise, replacing or, since some MIPS chips
2475 have multiple add units but only a single logical unit.
2477 * ppc-opc.c (powerpc_operands): Change CR to use a bitsize of 3,
2478 shifted by 18, without any insertion or extraction function.
2479 (insert_cr, extract_cr): Remove.
2481 Wed Jun 21 20:05:39 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
2483 * m68k-dis.c (print_insn_arg, print_indexed): Print "%" before
2486 Thu Jun 15 17:23:31 1995 Stan Shebs <shebs@andros.cygnus.com>
2488 * mpw-config.in: Add sh and i386 configs, remove sparc config.
2489 * sh-opc.h: Add copyright.
2491 Mon Jun 5 03:30:43 1995 Ken Raeburn <raeburn@kr-laptop.cygnus.com>
2493 * Makefile.in (crunch-m68k): Delete extra target accidentally
2494 checked in a while ago.
2496 Wed May 24 16:22:13 1995 Jim Wilson <wilson@chestnut.cygnus.com>
2498 * sh-opc.h (sh_table): Add SH3 support.
2500 Wed May 24 14:16:08 1995 Steve Chamberlain <sac@slash.cygnus.com>
2502 * sh-opc.h: Added bsrf and braf.
2504 Wed May 10 14:28:16 1995 Richard Earnshaw (rearnsha@armltd.co.uk)
2506 * arm-opc.h (arm_opcodes): Add 64-bit multiply patterns. Delete
2507 bogus [ls]fm{ea,fd} patterns.
2509 * arm-opc.h (arm_opcodes): Correct typos in stm, ldm, std, and ldc.
2510 * arm-dis.c (print_insn_arm): Make GIVEN a parameter, don't try and
2511 initialize it from memory. Make function static.
2512 (print_insn_{big,little}_arm): New functions.
2513 * disassemble.c (disassembler, case bfd_arch_arm): Disassemble for
2514 the correct endianness.
2516 Mon Apr 24 14:18:05 1995 Jason Molenda (crash@phydeaux.cygnus.com>
2518 * sh-opc.h (sh_nibble_type, sh_arg_type): remove trailing , from
2521 Wed Apr 19 14:07:03 1995 Michael Meissner <meissner@tiktok.cygnus.com>
2523 * m68k-dis.c (opcode): Finish change made by Kung Hsu on April
2524 17th, so that it builds again using GCC as the compiler.
2526 Tue Apr 18 12:14:51 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
2528 * mips-dis.c (print_insn_little_mips): Cast return value from
2529 bfd_getl32 from bfd_vma to unsigned long, because _print_insn_mips
2530 expects an unsigned long, and that might be fewer words of
2531 argument storage (e.g., if bfd_vma is long long on a 32-bit
2533 (print_insn_big_mips): Likewise with bfd_getb32 value.
2534 (_print_insn_mips): Now static.
2536 Mon Apr 17 12:23:28 1995 Kung Hsu <kung@rtl.cygnus.com>
2538 * m68k-dis.c: Take out #define BREAK_UP_BIG_DECL kludge, because
2539 gcc memory hog problem with initializer is fixed.
2541 Mon Apr 10 15:55:01 1995 Stan Shebs <shebs@andros.cygnus.com>
2543 Merge in support for Mac MPW as a host.
2544 (Old change descriptions retained for informational value.)
2546 * mpw-config.in (archname): Compute from the config.
2547 (BFD_MACHINES, ARCHDEFS): Put into mk.tmp.
2549 * mpw-config.in (target_arch): Compute from canonical target.
2550 (m68k, mips, powerpc, sparc): Add architectures.
2551 * mpw-make.in (disassemble.c.o): Add.
2552 (ALL_CFLAGS): Remove special flags (-mc68020 -mc68881 -model far).
2554 * mpw-config.in (BFD_MACHINES): Set to a default value.
2555 * mpw-make.in (BFD_MACHINES): Remove wired-in value.
2557 * mpw-make.in (CSEARCH): Add extra-include to search path.
2559 * mpw-config.in (varargs.h): Don't create.
2560 (sysdep.h): Create using forward-include.
2561 * mpw-make.in (CSEARCH): Add include/mpw to search path.
2563 * mpw-config.in: New file, MPW version of configure.in.
2564 * mpw-make.in: New file, MPW version of Makefile.in.
2566 Fri Mar 31 14:23:38 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
2568 * alpha-dis.c (print_insn_alpha): Put empty statement after
2571 Tue Mar 21 10:51:40 1995 Jeff Law (law@snake.cs.utah.edu)
2573 * hppa-dis.c (sign_extend): Delete, redundant with libhppa.h version.
2574 (low_sign_extend): Likewise.
2575 (get_field): Delete unused function.
2576 (set_field, deposit_14, deposit_21): Likewise.
2578 Fri Mar 17 15:55:53 1995 J.T. Conklin <jtc@rtl.cygnus.com>
2580 * i386-dis.c: Support for more pentium opcodes. From Guy Harris
2583 Tue Mar 14 00:52:57 1995 Ken Raeburn (raeburn@kr-pc.cygnus.com)
2585 Sat Feb 11 17:22:41 1995 Klaus Kaempf (kkaempf@didymus.rmi.de)
2587 * alpha-opc.h (OSF_ASMCODE): define
2588 print pal-code names as defined in App C of the
2589 Alpha Architecture Reference Manual
2591 * alpha-dis.c: cleaned up output
2592 print stylized code forms as defined in App A.4.3 of the
2593 Alpha Architecture Reference Manual
2595 Wed Mar 8 15:21:14 1995 Ian Lance Taylor <ian@cygnus.com>
2597 * mips-opc.c: Add new mips4 instructions. Don't set INSN_RFE for
2599 * mips-dis.c (print_insn_arg): Handle new argument types 'h', 'R',
2602 Wed Mar 8 02:54:05 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
2604 * m68k-dis.c (opcode): New function. Returns address of opcode
2605 table entry given index, even if the opcode table was split to
2606 work around gcc bugs.
2607 (print_insn_m68k): Call opcode instead of referencing m68k_opcodes
2609 (BREAK_UP_BIG_DECL): Make secondary array static and const.
2610 (reg_names): Now const.
2611 (print_insn_arg): Arrays cacheFieldName and names now const.
2612 (print_indexed): Array scales now const.
2614 Tue Mar 7 16:41:21 1995 Ian Lance Taylor <ian@cygnus.com>
2616 * ppc-opc.c: Sort recently added instructions by minor opcode
2617 number within major opcode number.
2619 Mon Mar 6 10:04:36 1995 Jeff Law (law@snake.cs.utah.edu)
2621 * hppa-dis.c: Include libhppa.h.
2623 Fri Feb 24 19:15:36 1995 Ian Lance Taylor <ian@cygnus.com>
2625 * mips-opc.c: Change dli to use M_DLI, and add dla.
2627 Mon Feb 20 23:54:38 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2629 * Makefile.in (ALL_MACHINES): Add w65-dis.o.
2631 Thu Feb 16 17:34:41 1995 Ian Lance Taylor <ian@cygnus.com>
2633 * mips-opc.c: Add r4650 mul instruction.
2635 Wed Feb 15 15:45:20 1995 Ian Lance Taylor <ian@cygnus.com>
2637 * mips-opc.c: Add uld and usd macros for unaligned double load and
2640 Tue Feb 14 13:17:37 1995 Michael Meissner <meissner@tiktok.cygnus.com>
2642 * ppc-opc.c (powerpc_opcodes): Add 403GA opcodes rfci, dccci,
2643 mfdcr, mtdcr, icbt, iccci.
2645 Thu Feb 9 12:28:13 1995 Stan Shebs <shebs@andros.cygnus.com>
2647 * i960-dis.c (struct tabent, struct sparse_tabent): Change the
2648 signed char fields to shorts, more portable.
2650 Wed Feb 8 17:29:29 1995 Stan Shebs <shebs@andros.cygnus.com>
2652 * i960-dis.c (struct tabent, struct sparse_tabent): Declare the
2653 char fields as signed chars, since they may have negative values.
2655 Mon Feb 6 10:52:06 1995 J.T. Conklin <jtc@rtl.cygnus.com>
2657 * i386-dis.c (dis386_twobyte): Add cpuid, From Charles Hannum
2658 (mycroft@netbsd.org).
2660 Mon Jan 30 12:38:00 1995 Ian Lance Taylor <ian@cygnus.com>
2662 From "Logg, Ed" <elogg@ea.com>:
2663 * ppc-opc.c (extract_bdm): Correct parenthezisation.
2664 * ppc-dis.c (print_insn_powerpc): Print .long before unrecognized
2667 Thu Jan 26 18:32:08 1995 Ian Lance Taylor <ian@cygnus.com>
2669 * ppc-opc.c: Changes based on patch from David Edelsohn
2670 <edelsohn@mhpcc.edu>.
2671 (powerpc_operands): Add operands SPRBAT and SPRG. Split TBR out of
2674 (insert_tbr): New static function.
2675 (extract_tbr): New static function.
2676 (XFXFXM_MASK, XFXM): Define.
2677 (XSPRBAT_MASK, XSPRG_MASK): Define.
2678 (powerpc_opcodes): Add instructions to access special registers by
2679 name. Add mtcr and mftbu.
2681 Tue Jan 17 10:56:43 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
2683 * mips-opc.c (P3): Define.
2684 (mips_opcodes): Add mad and madu.
2686 Sun Jan 15 16:32:59 1995 Steve Chamberlain <sac@splat>
2688 * configure.in: Add W65 support.
2689 * disassemble.c: Likewise.
2690 * w65-opc.h, w65-dis.c: New files.
2692 Wed Dec 28 22:15:33 1994 Steve Chamberlain (sac@jonny.cygnus.com)
2694 * h8300-dis.c (bfd_h8_disassemble): Add support for 2 bit
2697 Tue Dec 20 11:25:12 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
2699 * mips-opc.c: Add dli as a synonym for li.
2701 Thu Dec 8 18:23:31 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
2703 * alpha-dis.c (print_insn_alpha): Handle call_pal instruction, and
2704 print something for reserved opcode values, even if it won't
2707 * mips-dis.c (_print_insn_mips): When initializing, shift right
2708 and mask, to avoid sign extension problems on the Alpha.
2710 * m68k-dis.c (print_insn_arg, case 'J'): Handle buscr and pcr
2713 Wed Nov 23 22:34:51 1994 Steve Chamberlain (sac@jonny.cygnus.com)
2715 * sh-opc.h (mov.l gbr): Get direction right.
2716 * sh-dis.c (print_insn_shx): New function.
2717 (print_insn_shl, print_insn_sh): Call print_insn_shx to
2718 print opcodes with right byte order.
2720 Thu Nov 3 19:32:22 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
2722 * ns32k-dis.c (struct ns32k_option): Renamed from struct option,
2723 to avoid conflicts with getopt.
2725 Mon Oct 31 18:48:10 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
2727 * hppa-dis.c (print_insn_hppa): Read the instruction using
2728 bfd_getb32, so that it works on a little endian or 64 bit host.
2729 Remove unused local variable op.
2731 Tue Oct 25 17:07:57 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
2733 * mips-opc.c: Use or instead of addu for pseudo-op move, since
2734 addu does not work correctly if -mips3.
2736 Wed Oct 19 13:40:16 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
2738 * a29k-dis.c (print_special): Add special register names defined
2739 on 29030, 29040 and 29050.
2740 (print_insn): Handle new operand type 'I'.
2742 Wed Oct 12 11:59:55 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
2744 * Makefile.in (INSTALL): Use top level install.sh script.
2746 Wed Oct 5 19:16:29 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
2748 * sparc-dis.c: Rewrite to use bitfields, rather than a union, so
2749 that it works on a little endian host.
2751 Tue Oct 4 12:14:21 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
2753 * configure.in: Use ${config_shell} when running config.bfd.
2755 Wed Sep 21 18:49:12 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
2757 * mips-opc.c (mips_opcodes): "dabs" is only available with -mips3.
2759 Thu Sep 15 16:30:22 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
2761 * a29k-dis.c (print_insn): Print the opcode.
2763 Wed Sep 14 17:52:14 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
2765 * mips-opc.c (mips_opcodes): Set WR_t for sc and scd.
2767 Sun Sep 11 22:32:17 1994 Jeff Law (law@snake.cs.utah.edu)
2769 * hppa-dis.c (reg_names): Use r26-r23 for arg0-arg3.
2771 Tue Sep 6 11:37:12 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
2773 * mips-opc.c: Set INSN_STORE_MEMORY flag for all instructions
2774 which store a value into memory.
2776 Sun Sep 04 17:58:10 1994 Richard Earnshaw (rwe@pegasus.esprit.ec.org)
2778 * configure.in, Makefile.in, disassemble.c: Add support for the ARM.
2779 * arm-dis.c, arm-opc.h: New files.
2781 Fri Aug 5 14:00:05 1994 Stan Shebs (shebs@andros.cygnus.com)
2783 * Makefile.in (ns32k-dis.o): Add dependency.
2784 * ns32k-dis.c (print_insn_arg): Declare initialized local as
2785 string, not as array of chars.
2787 Thu Jul 28 18:14:16 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
2789 * sparc-dis.c (print_insn_sparc): Handle new operand type 'x'.
2791 * sparc-opc.c: Added sparclite extended FP operations, and
2792 versions of v9 impdep* instructions permitting specification of
2795 Tue Jul 26 16:36:03 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
2797 * i960-dis.c (reg_names): Now const.
2798 (struct sparse_tabent): New type, copied from array type in mem
2800 (ctrl): Local static array ctrl_tab now const.
2801 (cobr): Local static array cobr_tab now const.
2802 (mem): Local variables reg1, reg2, reg3 now point to const. Local
2803 static variable mem_tab no longer explicitly initialized. Changed
2804 mem_init to const array of struct sparse_tabent.
2805 (reg): Local static variable reg_tab no longer explicitly
2806 initialized. Changed reg_init to const array of struct
2808 (ea): Local static array scale_tab now const.
2810 * i960-dis.c (reg): Added i960JX instructions to reg_init table.
2813 Tue Jul 19 21:00:00 1994 DJ Delorie (dj@ctron.com)
2815 * configure.bat: the disassember needs to be enabled for
2816 "objdump -d" to work in djgpp.
2818 Wed Jul 13 18:01:58 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
2820 * ns32k-dis.c: Deleted all code in "#ifdef GDB".
2821 (invalid_float): Enabled general version, doesn't require running
2822 on ns32k host. Changed to take char* argument, and test for
2823 explicitly specified sizes, instead of using sizeof() on host CPU
2825 (INVALID_FLOAT): Cast first argument.
2826 (opt_u, opt_U, opt_O, opt_C, opt_S, list_P532, list_M532,
2827 list_P032, list_M032): Now const.
2828 (optlist, list_search): Made appropriate arguments now point to
2830 (print_insn_arg): Changed static array of one-character-string
2831 pointers into a static const array of characters; fixed sprintf
2832 statement accordingly.
2834 Sun Jul 10 00:27:47 1994 Ian Dall (dall@hfrd.dsto.gov.au)
2836 * opcodes/ns32k-dis.c: Semi-new file. Had apparently been dropped
2837 from distribution. A ns32k-dis.c from a previous distribution has
2838 been brought up to date and supports the new interface.
2840 * disassemble.c: define ARCH_ns32k and add case bfd_arch_ns32k.
2842 * configure.in: add bfd_ns32k_arch target support.
2844 * Makefile.in: add ns32k-dis.o to ALL_MACHINES.
2845 Add ns32k-dis.c to CFILES. Add dependencies for ns32k-dis.o.
2847 Wed Jun 29 22:10:37 1994 Steve Chamberlain (sac@cygnus.com)
2849 * h8300-dis.c (bfd_h8_disassemble): Get 16bit branch
2852 Tue Jun 28 13:22:06 1994 Stan Shebs (shebs@andros.cygnus.com)
2854 * h8300-dis.c, mips-dis.c: Don't use true and false.
2856 Thu Jun 23 12:53:19 1994 David J. Mackenzie (djm@rtl.cygnus.com)
2858 * configure.in: Change --with-targets to --enable-targets.
2860 Wed Jun 22 13:38:32 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
2862 * mips-dis.c (_print_insn_mips): Build a static hash table mapping
2863 opcodes to the first instruction with that opcode, to speed
2864 disassembly of large files. From ralphc@pyramid.com (Ralph
2867 Tue Jun 7 12:49:44 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2869 * Makefile.in (mostlyclean): Fix typo (was mostyclean).
2871 Wed May 11 22:32:00 1994 DJ Delorie (dj@ctron.com)
2873 * configure.bat: update to latest makefile.in
2875 Sat May 7 17:13:21 1994 Steve Chamberlain (sac@cygnus.com)
2877 * a29k-dis.c (print_insn): Print 'x' type operand in hex.
2878 * h8300-dis.c (bfd_h8_disassemble): Print 16bit rels correctly.
2879 * sh-dis.c (print_insn_sh): Don't recur endlessly if delay
2880 slot insn is in a delay slot.
2881 * z8k-opc.h: (resflg): Fix patterns.
2882 * h8500-opc.h Fix CR insn patterns.
2884 Fri May 6 14:34:46 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2886 * ppc-opc.c (powerpc_opcodes): Put PowerPC versions of "cmp" and
2887 "cmpl" before POWER versions, so that gas -many uses them.
2889 Thu Apr 28 18:32:36 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
2891 * disassemble.c: New file.
2892 * Makefile.in (OFILES): Add disassemble.o.
2893 (disassemble.o): Provide dependencies; compile with $(ARCHDEFS).
2894 * configure.in: Define ARCHDEFS in Makefile. Code taken from
2895 binutils/configure.in.
2897 * m68k-dis.c (print_insn_m68k): If F_ALIAS flag is set, skip the
2898 opcode being examined.
2900 Thu Apr 21 17:08:40 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2902 * ppc-opc.c (powerpc_operands): Added RAL, RAM and RAS.
2903 (insert_ral, insert_ram, insert_ras): New functions.
2904 (powerpc_opcodes): Use RAL for load with update, RAM for lmw, and
2905 RAS for store with update.
2907 Sat Apr 16 23:41:44 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2909 * ppc-opc.c (powerpc_opcodes): Correct fcir. From David Edelsohn
2910 (edelsohn@npac.syr.edu).
2912 Wed Apr 6 17:11:45 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2914 * mips-opc.c (mips_opcodes): Correct operands of "nor" with an
2917 Mon Apr 4 16:30:46 1994 Doug Evans (dje@canuck.cygnus.com)
2919 * sparc-opc.c (sparc_opcodes): Fix "rd %fprs,%l0".
2921 Mon Apr 4 13:22:00 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2923 * ppc-opc.c (powerpc_operands): The signedp field has been
2924 removed, so don't initialize it. Set the PPC_OPERAND_SIGNED flag
2925 instead. Add new operand SISIGNOPT.
2926 (powerpc_opcodes): For lis, liu, addis, and cau use SISIGNOPT.
2927 Based on patch from David Edelsohn (edelsohn@npac.syr.edu).
2928 * ppc-dis.c (print_insn_powerpc): Check PPC_OPERAND_SIGNED rather
2931 Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2933 * i386-dis.c (struct private): Renamed to dis_private. `private'
2934 is a reserved word for dynix cc.
2936 Mon Mar 28 13:00:15 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2938 * configure.in: Change error message to refer to bfd/config.bfd
2939 rather than bfd/configure.in.
2941 Mon Mar 28 12:28:30 1994 David Edelsohn (edelsohn@npac.syr.edu)
2943 * ppc-opc.c: Define POWER2 as short alias flag.
2944 (powerpc_opcodes): Add POWER/2 opcodes lfq*, stfq*, fcir[z], and
2947 Wed Mar 23 12:23:05 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2949 * i960-dis.c (print_insn_i960): Don't read a second word for
2950 opcodes 0, 1, 2 and 3.
2952 Wed Mar 16 15:37:58 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2954 * configure.in: Don't build m68881-ext.o for bfd_m68k_arch.
2956 Mon Mar 14 14:53:50 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2958 * m68881-ext.c: Removed; no longer used.
2959 * Makefile.in: Changed accordingly.
2961 * m68k-dis.c (ext_format_68881): Don't declare.
2962 (print_insn_m68k): If an instruction uses place 'i', it uses at
2963 least four fixed bytes.
2964 (print_insn_arg): Don't bump p by 2 for case 'I', place 'i'. For
2965 extended float, convert to double using floatformat_to_double, not
2966 ieee_extended_to_double, and fetch the data before converting it.
2968 Tue Mar 8 18:12:25 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2970 * mips-opc.c: It's sqrt.s, not sqrt.w. From
2971 davidj@ICSI.Berkeley.EDU (David Johnson).
2973 Tue Feb 8 16:55:27 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2975 * ppc-opc.c (powerpc_opcodes): The POWER uses bdn[l][a] where the
2976 PowerPC uses bdnz[l][a].
2978 Tue Feb 8 00:32:28 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2980 * dis-buf.c, i386-dis.c: Include sysdep.h.
2982 Mon Feb 7 19:22:23 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2984 * configure.in (bfd_powerpc_arch): Use ppc-dis.o and ppc-opc.o.
2986 * ppc-opc.c (powerpc_opcodes): Mark POWER instructions supported
2987 by Motorola PowerPC 601 with PPC_OPCODE_601.
2988 * ppc-dis.c (print_insn_big_powerpc, print_insn_little_powerpc):
2989 Disassemble Motorola PowerPC 601 instructions as well as normal
2990 PowerPC instructions.
2992 Sun Feb 6 07:45:17 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2994 * i960-dis.c (reg, mem): Just use a static array instead of
2997 Sat Feb 5 00:04:02 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
2999 * hppa-dis.c (print_insn_hppa): For '?' and '@' only adjust the
3000 condition name index if this is for a negated condition.
3002 * hppa-dis.c (print_insn_hppa): No space before 'H' operand.
3003 Floating point format for 'H' operand is backwards from normal
3004 case (0 == double, 1 == single). For '4', '6', '7', '9', and '8'
3005 operands (fmpyadd and fmpysub), handle bizarre register
3006 translation correctly for single precision format.
3008 * hppa-dis.c (print_insn_hppa): Do not emit a space after 'F'
3009 or 'I' operands if the next format specifier is 'M' (fcmp
3010 condition completer).
3012 Feb 4 23:38:03 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
3014 * ppc-opc.c (powerpc_operands): New operand type MBE to handle a
3015 single number giving a bitmask for the MB and ME fields of an M
3016 form instruction. Change NB to accept 32, and turn it into 0;
3017 also turn 0 into 32 when disassembling. Seperated SH from NB.
3018 (insert_mbe, extract_mbe): New functions.
3019 (insert_nb, extract_nb): New functions.
3020 (SC_MASK): Mask out SA and LK bits.
3021 (powerpc_opcodes): Change "cal" to use RT, D, RA rather than RT,
3022 RA, SI. Change "liu" and "cau" to use UI rather than SI. Mark
3023 "bctr" and "bctrl" as accepted by POWER. Change "rlwimi",
3024 "rlimi", "rlwimi.", "rlimi.", "rlwinm", "rlinm", "rlwinm.",
3025 "rlinm.", "rlmi", "rlmi.", "rlwnm", "rlnm", "rlwnm.", "rlnm." to
3026 use MBE rather than MB. Add "mfmq" and "mtmq" POWER instructions.
3027 (powerpc_macros): Define table of macro definitions.
3028 (powerpc_num_macros): Define.
3030 * ppc-dis.c (print_insn_powerpc): Don't skip optional operands
3031 if PPC_OPERAND_NEXT is set.
3033 Sat Jan 22 23:10:07 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
3035 * i960-dis.c (print_insn_i960): Make buffer bfd_byte instead of
3036 char. Retrieve contents using bfd_getl32 instead of shifting.
3038 Fri Jan 21 19:01:39 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
3040 * ppc-opc.c: New file. Opcode table for PowerPC, including
3041 opcodes for POWER (RS/6000).
3042 * ppc-dis.c: New file. PowerPC and Power (RS/6000) disassembler.
3043 * Makefile.in (ALL_MACHINES): Add ppc-dis.o and ppc-opc.o.
3044 (CFILES): Add ppc-dis.c.
3045 (ppc-dis.o, ppc-opc.o): New targets.
3046 * configure.in: Build ppc-dis.o and ppc-opc.o for bfd_rs6000_arch.
3048 Mon Jan 17 20:05:49 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3050 * hppa-dis.c (print_insn_hppa): Handle 'N' in assembler template.
3051 No space before 'u', 'f', or 'N'.
3053 Sun Jan 16 14:20:16 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
3055 * i386-dis.c (print_insn_i386): Add FIXME comment regarding reading
3056 farther than we should.
3058 * i386-dis.c (dis386): Use Yb and Yv for scasb and scasS.
3060 Thu Jan 6 12:38:05 1994 David J. Mackenzie (djm@thepub.cygnus.com)
3062 * sparc-dis.c m68k-dis.c alpha-dis.c a29k-dis.c: Fix comments.
3064 Wed Jan 5 11:56:21 1994 David J. Mackenzie (djm@thepub.cygnus.com)
3066 * i960-dis.c (print_insn_i960): Only read word2 if the instruction
3067 needs it, to prevent reading past the end of a section.
3069 Wed Nov 17 17:20:12 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
3071 * mips-opc.h: Use macro for j instruction, to support SVR4 PIC.
3072 Removed t,A case for la; always use t,A(b) case.
3074 Mon Nov 8 12:37:36 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
3076 From Ted Lemen <mellon@pepper.ncd.com>
3077 * mips-dis.c (print_insn_arg): Handle 'k'.
3078 * mips-opc.c: Make cache use k, not t.
3080 Sun Nov 7 23:52:34 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3082 * alpha-opc.h, alpha-dis.c (print_insn_alpha): Add
3083 FLOAT_MEMORY_FORMAT_CODE, FLOAT_BRANCH_FORMAT_CODE, correct
3084 FLOAT_FORMAT_CODE to put out floating point register names.
3086 Mon Nov 1 18:17:51 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
3088 * mips-opc.c: Use macros for jal variants, to support SVR4 PIC.
3090 Thu Oct 28 17:42:23 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
3092 * a29k-dis.c (print_insn): Use 0x%08x, not 0x%8x.
3094 Wed Oct 27 11:48:01 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
3096 * mips-opc.c (dsll, dsra, dsrl): Added '>' cases for shift counts
3097 larger than 32. Moved dsxx32 variants first for disassembler.
3099 Mon Oct 25 11:33:14 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
3101 * z8kgen.c, z8k-opc.h: Add full lda information.
3103 Tue Oct 19 12:39:25 1993 Jeffrey A Law (law@cs.utah.edu)
3105 * hppa-dis.c (print_insn_hppa): Do not emit a space after
3106 movb instructions. Any necessary space will be emitted by
3107 the code to handle nullification completers.
3109 Wed Oct 13 16:19:07 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
3111 * mips-opc.c: Moved l.d down so that it disassembles as ldc1.
3113 Fri Oct 8 02:34:21 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3115 * alpha-opc.h: Add ldl_l, fix typo for ldq_u.
3116 * alpha-dis.c (print_insn_alpha): Add code for PAL_FORMAT_CODE.
3118 Tue Oct 5 17:47:53 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
3120 * mips-opc.c: Correct lwu opcode value (book had it wrong).
3122 Thu Sep 30 11:26:18 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
3124 * z8k-dis.c (FETCH_DATA): get just the right amount of data.
3125 (unpack_instr): Cope with ARG_IMM4M1 type instructions.
3127 Wed Sep 29 16:24:49 1993 K. Richard Pixley (rich@sendai.cygnus.com)
3129 * m88k-dis.c (m88kdis): comment change. Remove space after
3131 (printop): handle new arg types DEC and XREG for m88110.
3133 Tue Sep 28 19:20:16 1993 Jeffrey A Law (law@snake.cs.utah.edu)
3135 * hppa-dis.c (print_insn_hppa): Handle 'z' operand
3136 type for absolute branch addresses. Delete special
3137 "ble" and "be" code in 'W' operand code.
3139 Fri Sep 24 14:08:33 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
3141 * mips-opc.c: Set hazard information correctly for branch
3142 likely instructions.
3144 Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3146 * alpha-dis.c (print_insn_alpha), alpha-opc.h: Fix bugs, use
3147 info->fprintf_func for printing and info->print_address_func for
3150 Wed Sep 15 12:12:07 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
3152 * mips-opc.c: Set INSN_TRAP for tXX instructions.
3154 Thu Sep 9 10:11:27 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
3156 * mips-opc.c: From davidj@ICSI.Berkeley.EDU (David Johnson):
3157 Corrected second case of "b" for disassembler.
3159 Tue Sep 7 14:25:15 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
3161 * mips-dis.c, m88k-dis.c: Don't include libbfd.h. Changed calls
3162 to BFD swapping routines to correspond to BFD name changes.
3164 Thu Sep 2 10:35:25 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
3166 * mips-opc.c: Change div machine instruction to be z,s,t rather
3167 than s,t. Change div macro to be d,v,t rather than d,s,t.
3168 Likewise for divu, ddiv, ddivu. Added z,s,t case for drem, dremu,
3169 rem and remu which generates only the corresponding div
3170 instruction. This is for compatibility with the MIPS assembler,
3171 which only generates the simple machine instruction when an
3172 explicit destination of $0 is used.
3173 * mips-dis.c (print_insn_arg): Handle 'z' (always register zero).
3175 Thu Aug 26 17:41:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
3177 * mips-opc.c: From davidj@ICSI.Berkeley.EDU (David Johnson): Set
3178 WR_31 hazard for bal, bgezal, bltzal.
3180 Thu Aug 26 17:20:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3182 * hppa-dis.c (print_insn_hppa): Use print function
3183 from within the disassemble_info, not fprintf_filtered.
3185 Wed Aug 25 13:51:40 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
3187 * hppa-dis.c (print_insn_hppa): Handle '|' like '>'. (From Jeff
3188 Law, law@cs.utah.edu.)
3190 Mon Aug 23 12:44:05 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
3192 * mips-opc.c ("absu"): Removed.
3195 Fri Aug 20 10:52:52 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
3197 * mips-opc.c: Added r6000 and r4000 instructions and macros.
3198 Changed hazard information to distinguish between memory load
3199 delays and coprocessor load delays.
3201 Wed Aug 18 15:39:23 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
3203 * mips-opc.c: li.d uses "T,L", not "S,F". Added li.s.
3205 Tue Aug 17 09:44:42 1993 David J. Mackenzie (djm@thepub.cygnus.com)
3207 * configure.in: Don't pass cpu to config.bfd.
3209 Tue Aug 17 12:23:52 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
3211 * m88k-dis.c (m88kdis): Make class unsigned.
3213 Thu Aug 12 15:08:18 1993 Ian Lance Taylor (ian@cygnus.com)
3215 * alpha-dis.c (print_insn_alpha): One branch format case was
3216 missing the instruction name.
3218 Wed Aug 11 19:29:39 1993 David J. Mackenzie (djm@thepub.cygnus.com)
3220 * Makefile.in (ALL_MACHINES): Renamed from DIS_LIBS.
3221 Add the arch-specific auxiliary files.
3222 (OFILES): Remove the arch-specific auxiliary files
3223 and use BFD_MACHINES instead of DIS_LIBS.
3224 * configure.in: Set BFD_MACHINES based on --with-targets option.
3226 Thu Aug 12 12:04:53 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
3228 * mips-opc.c: Added lwc1 E,A(b) to go with lwc1 T,A(b). Similarly
3231 Sun Aug 8 15:09:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3233 * sparc-opc.c: Change CONST to const to deal with gcc
3234 -Dconst=__const -traditional.
3236 Fri Aug 6 10:58:55 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
3238 * mips-opc.c: From davidj@ICSI.Berkeley.EDU (David Johnson): Took
3239 coprocessor instructions out of #if 0, and made them use new
3242 Thu Aug 5 17:11:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3244 * sparc-dis.c: Include ansidecl.h before opcodes/sparc.h.
3246 Fri Jul 30 18:48:15 1993 John Gilmore (gnu@cygnus.com)
3248 * sparc-opc.c: Add F_JSR, F_UNBR, or F_CONDBR flags to each branch
3249 instruction, for use by the disassembler.
3251 * sparc-dis.c (SEX): Add sign extension macro. Replace many
3252 hand-coded sign extensions that depended on 32-bit host ints.
3253 FIXME, we still depend on big-endian host bitfield ordering.
3254 (sparc_print_insn): Set the insn_info_valid field, and the
3255 other fields that describe the instruction being printed.
3257 Tue Jul 27 17:04:58 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
3259 * sparc-opc.c (call): Accept all 6 addressing modes valid for
3260 `jmp' instead of just one of them.
3262 Wed Jul 21 11:43:32 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
3264 * hppa-dis.c: Move floating registers from reg_names to fp_reg_names.
3265 (fput_fp_reg_r): Renamed from fput_reg_r.
3266 (fput_fp_reg): New function.
3267 (print_insn_hppa): Use fput_fp_reg{,_r} where appropriate.
3269 * hppa-dis.c (print_insn_hppa, cases 'a', 'd'): Print space afterwards.
3271 * hppa-dis.c (print_insn_hppa, case 'd'): Use GET_COND not GET_FIELD.
3273 Mon Jul 19 13:52:21 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
3275 * hppa-dis.c (print_insn_hppa): Use extract_5r_store for 'r'.
3277 * hppa-dis.c (print_insn_hppa, case '>'): If next character is 'n',
3278 don't output a space.
3280 * hppa-dis.c (float_format_names): 10 is undefined, and 11 is quad.
3282 Sun Jul 18 16:30:02 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
3284 * mips-opc.c: New file, containing opcode table from
3285 ../include/opcode/mips.h.
3286 * Makefile.in: Add it.
3288 Thu Jul 15 12:37:05 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
3290 * m88k-dis.c: New file, moved in from gdb and changed to use the
3291 new dis-asm.h disassembler interface.
3292 * Makefile.in (DIS_LIBS): Added m88k-dis.o.
3293 (m88k-dis.o): New target.
3295 Tue Jul 13 10:04:16 1993 Ian Lance Taylor (ian@cygnus.com)
3297 * mips-dis.c (print_insn_arg, _print_insn_mips): Made pointer to
3298 argument string const char * to correspond to opcode/mips.h.
3300 Tue Jul 6 15:18:37 1993 Ian Lance Taylor (ian@cygnus.com)
3302 * mips-dis.c: Updated to account for name changes in new version
3304 * Makefile.in: Added header file dependencies.
3306 Sat Jul 3 23:47:56 1993 Doug Evans (dje@canuck.cygnus.com)
3308 * h8300-dis.c (bfd_h8_disassemble): Correct fetching of instruction.
3310 Thu Jul 1 12:23:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3312 * m68k-dis.c (NEXTWORD, NEXTLONG): Use ((x) ^ 0x8000) - 0x8000 to sign
3313 extend, rather than shifts.
3315 Sun Jun 20 20:56:56 1993 Ken Raeburn (raeburn@poseidon.cygnus.com)
3317 * Makefile.in: Undo 15 June change.
3319 Fri Jun 18 14:15:15 1993 Per Bothner (bothner@deneb.cygnus.com)
3321 * m68k-dis.c (print_insn_arg): Change return value to byte count
3323 * m68k-dis.c: Re-write to detect invalid operands before
3324 printing anything, so we can handle this the same way we
3325 handle invalid opcodes.
3327 Thu Jun 17 15:01:36 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
3329 * sh-dis.c, sh-opc.h: Understand some more opcodes.
3331 Wed Jun 16 13:48:05 1993 Ian Lance Taylor (ian@cygnus.com)
3333 * hppa-dis.c: Include <ansidecl.h> and sysdep.h before other
3336 Tue Jun 15 21:45:26 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
3338 * sparc-dis.c: Don't declare qsort, since sysdep.h might.
3340 * configure.in: Do make sysdep.h link.
3341 * Makefile.in: Search ../include. Don't search ../bfd.
3343 Tue Jun 15 13:36:10 1993 Stu Grossman (grossman@cygnus.com)
3345 Changes from Jeff Law, law@cs.utah.edu:
3346 * hppa-dis.c: Fix typo. 'a' and 'd' were reversed.
3347 Do not print a space before the completers specified by
3350 Fri Jun 11 18:40:21 1993 Ken Raeburn (raeburn@cygnus.com)
3352 * mips-dis.c: No longer need to bomb out if HOST_64_BIT is
3353 defined, since gdb has been fixed.
3355 Changes from Jeff Law, law@cs.utah.edu:
3356 * hppa-dis.c (print_insn_hppa): Last argument to fput_reg,
3357 fput_reg_r, fput_creg, fput_const, and fputs_filtered should
3358 be a *disassemble_info, not a *FILE.
3359 * hppa-dis.c: Support 'd', '!', and 'a'.
3360 * hppa-dis.c: Support 's' to extract a 2 bit space register.
3361 * hppa-dis.c: Delete cases which are no longer needed.
3363 Fri Jun 11 07:53:48 1993 Jim Kingdon (kingdon@cygnus.com)
3365 * m68k-dis.c (print_insn_{m68k,arg}): Add MMU codes.
3367 Tue Jun 8 12:25:01 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
3369 * h8300-dis.c: New file, removed from bfd/cpu-h8300.c, with
3372 Mon Jun 7 12:58:49 1993 Per Bothner (bothner@rtl.cygnus.com)
3374 * Makefile.in (CSEARCH): Add -I../bfd for sysdep.h and bfd.h.
3375 * configure.in: No longer need to configure to get sysdep.h.
3377 Thu Jun 3 15:56:49 1993 Stu Grossman (grossman@cygnus.com)
3379 * Patches from Jeffrey Law <law@cs.utah.edu>.
3380 * hppa-dis.c: Support 'I', 'J', and 'K' in output
3381 templates for 1.1 FP computational instructions.
3383 Tue May 25 13:05:48 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
3385 * h8500-dis.c (print_insn_h8500): Address argument is type
3387 * z8k-dis.c (print_insn_z8k, print_insn_z8001, print_insn_z8002):
3390 * h8500-opc.h (addr_class_type): No comma at end of enumerator.
3391 * sh-opc.h (sh_nibble_type, sh_arg_type): Ditto.
3393 * sparc-dis.c (compare_opcodes): Move static declaration to
3396 Fri May 21 14:17:37 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3398 * sparc-dis.c (print_insn_sparc): Implement 'n' argument for unimp
3399 instruction, remove unimp hack from 'l' argument.
3401 Wed May 19 15:35:54 1993 Stu Grossman (grossman@cygnus.com)
3403 * z8k-dis.c (fetch_data): Use unsigned char to make ancient gcc's
3406 Fri May 14 15:22:46 1993 Ian Lance Taylor (ian@cygnus.com)
3408 * Based on patches from davidj@ICSI.Berkeley.EDU (David Johnson):
3409 * mips-dis.c (print_insn_arg): Handle 'C' for general coprocessor
3412 Fri May 14 00:09:14 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
3414 * hppa-dis.c: Include dis-asm.h before sysdep.h. Changed some
3415 arrays of string pointers to 2-d arrays of chars, to save
3418 Thu May 6 20:51:17 1993 Fred Fish (fnf@cygnus.com)
3420 * a29k-dis.c, alpha-dis.c, i960-dis.c, sparc-dis.c, z8k-dis.c:
3421 Cast second arg to read_memory_func to "bfd_byte *", as necessary.
3423 Tue May 4 20:31:10 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
3425 * hppa-dis.c: New file from Utah, adapted to new disassembler
3427 * Makefile.in: Include it.
3429 Mon Apr 26 18:17:42 1993 Steve Chamberlain (sac@thepub.cygnus.com)
3431 * sh-dis.c, sh-opc.h: New files.
3433 Fri Apr 23 18:51:22 1993 Steve Chamberlain (sac@thepub.cygnus.com)
3435 * alpha-dis.c, alpha-opc.h: New files.
3437 Tue Apr 6 12:54:08 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3439 * mips-dis.c: Sign extend 'j' and 'b' arguments, delta is a signed
3442 Mon Apr 5 17:37:37 1993 John Gilmore (gnu@cygnus.com)
3444 * sparc-dis.c: Make "ta" the default trap instruction, "t" the alias.
3446 Fri Apr 2 07:24:27 1993 Ian Lance Taylor (ian@cygnus.com)
3448 * a29k-dis.c, sparc-dis.c, sparc-opc.c: Use CONST rather than
3451 Thu Apr 1 11:20:43 1993 Jim Kingdon (kingdon@cygnus.com)
3453 * sparc-dis.c: Use fprintf_func a few places where I forgot,
3454 and double percent signs a few places.
3456 * a29k-dis.c, i960-dis.c: New, merged from gdb and binutils.
3458 * i386-dis.c, m68k-dis.c, mips-dis.c, sparc-dis.c:
3459 Use info->print_address_func not print_address.
3461 * dis-buf.c (generic_print_address): New function.
3463 Wed Mar 31 10:07:04 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3465 * Makefile.in: Add sparc-dis.c.
3466 sparc-dis.c: New file, merges binutils and gdb versions as follows:
3468 Add `add' instruction to the set that get checked
3469 for a preceding `sethi' in order to print an absolute address.
3470 * (print_insn): Disassembly prefers real instructions.
3471 (is_delayed_branch): Speed up.
3472 * sparc-opcode.h: Add ALIAS bit to aliases. Fix up opcode tables.
3473 Still missing some float ops, and needs testing.
3474 * sparc-pinsn.c (print_insn): Eliminate 'set' test, subsumed by
3475 F_ALIAS. Use printf, not fprintf, when not passing a file
3477 (compare_opcodes): Check that identical instructions have
3478 identical opcodes, complain otherwise.
3481 * Include reg_names.
3483 Use dis-asm.h/read_memory_func interface.
3485 Wed Mar 31 20:49:06 1993 K. Richard Pixley (rich@rtl.cygnus.com)
3487 * h8500-dis.c, i386-dis.c, m68k-dis.c, z8k-dis.c (fetch_data):
3488 deliberately return non-zero to setjmp from longjmp. Otherwise
3489 this code fails to compile.
3491 Wed Mar 31 17:04:31 1993 Stu Grossman (grossman@cygnus.com)
3493 * m68k-dis.c: Fix prototype for fetch_arg().
3495 Wed Mar 31 10:07:04 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3497 * dis-buf.c: New file, for new read_memory_func interface.
3498 Makefile.in (OFILES): Include it.
3499 m68k-dis.c, i386-dis.c, h8500-dis.c, mips-dis.c, z8k-dis.c:
3500 Use new read_memory_func interface.
3502 Mon Mar 29 14:02:17 1993 Steve Chamberlain (sac@thepub.cygnus.com)
3504 * h8500-dis.c (print_insn_h8500): Get sign of fp offsets right.
3505 * h8500-opc.h: Fix couple of opcodes.
3507 Wed Mar 24 02:03:36 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
3509 * Makefile.in: add dvi & installcheck targets
3511 Mon Mar 22 18:55:04 1993 John Gilmore (gnu@cygnus.com)
3513 * Makefile.in: Update for h8500-dis.c.
3515 Fri Mar 19 14:27:17 1993 Steve Chamberlain (sac@thepub.cygnus.com)
3517 * h8500-dis.c, h8500-opc.h: New files
3519 Thu Mar 18 14:12:37 1993 Per Bothner (bothner@rtl.cygnus.com)
3521 * mips-dis.c, z8k-dis.c: Converted to use interface defined in
3522 ../include/dis-asm.h.
3523 * m68k-dis.c: New file (merge of ../binutils/m68k-pinsn.c
3524 and ../gdb/m68k-pinsn.c).
3525 * i386-dis.c: New file (merge of ../binutils/i386-pinsn.c
3526 and ../gdb/i386-pinsn.c).
3527 * m68881-ext.c: New file. Moved definition of
3528 ext_format ext_format_68881 from ../gdb/m68k-tdep.c.
3529 * Makefile.in: Adjust for new files.
3530 * i386-dis.c: Patches from John Hassey (hassey@dg-rtp.dg.com).
3531 * m68k-dis.c: Recognize '9' placement code, so (say) pflush
3532 can be dis-assembled.
3534 Wed Feb 17 09:19:47 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
3536 * mips-dis.c (print_insn_arg): Now returns void.
3538 Mon Jan 11 16:09:16 1993 Fred Fish (fnf@cygnus.com)
3540 * mips-dis.c (ansidecl.h): Include for benefit of sysdep.h
3541 files that use the macros.
3543 Thu Jan 7 13:15:17 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
3545 * mips-dis.c: New file, from gdb/mips-pinsn.c.
3546 * Makefile.in (DIS_LIBS): Added mips-dis.o.
3547 (CFILES): Added mips-dis.c.
3549 Thu Jan 7 07:36:33 1993 Steve Chamberlain (sac@thepub.cygnus.com)
3551 * z8k-dis.c (print_insn_z8001, print_insn_z8002): new routines
3552 * z8kgen.c, z8k-opc.h: fix sizes of some shifts.
3554 Tue Dec 22 15:42:44 1992 Per Bothner (bothner@rtl.cygnus.com)
3556 * Makefile.in: Improve *clean rules.
3557 * configure.in: Allow a default host.
3559 Tue Nov 17 19:53:54 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
3561 * Makefile.in: also use -I$(srcdir)/../bfd, since some sysdep
3562 files include other sysdep files
3564 Thu Nov 12 16:10:37 1992 Steve Chamberlain (sac@thepub.cygnus.com)
3566 * z8k-dis.c z8k-opc.h z8kgen.c: checkpoint
3568 Fri Oct 9 04:56:05 1992 John Gilmore (gnu@cygnus.com)
3570 * configure.in: For host support, use ../bfd/configure.host
3571 so it stays in sync with the ../bfd/hosts database.
3573 Thu Oct 1 23:38:54 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
3575 * configure.in: use cpu-vendor-os triple instead of nested cases
3577 Wed Sep 30 16:09:20 1992 Michael Werner (mtw@cygnus.com)
3579 * z8k-dis.c (unparse_instr): fix bug where opcode returned was
3580 *always* the wrong one.
3582 Wed Sep 30 07:42:17 1992 Steve Chamberlain (sac@thepub.cygnus.com)
3584 * z8kgen.c: added copyright info
3586 Tue Sep 29 12:20:21 1992 Steve Chamberlain (sac@thepub.cygnus.com)
3588 * z8k-dis.c (unparse_instr): prettier tabs
3589 * z8kgen.c -> z8k-opc.h: bug fixes in tables
3591 Fri Sep 25 12:50:32 1992 Stu Grossman (grossman at cygnus.com)
3593 * configure.in: Add ncr* configuration.
3594 * z8k-dis.c (struct instr_data_s): Make instr_asmsrc char to make
3595 picayune ANSI compilers happy.
3597 Sep 20 08:50:55 1992 Fred Fish (fnf@cygnus.com)
3599 * configure.in (i386): Make i386 and i486 synonymous for now.
3600 * configure.in (i[34]86-*-sysv4): Add my_host definition.
3602 Fri Sep 18 17:01:23 1992 Ken Raeburn (raeburn@cambridge.cygnus.com)
3604 * Makefile.in (install): Fix typo.
3606 Fri Sep 18 02:04:24 1992 John Gilmore (gnu@cygnus.com)
3608 * Makefile.in (make): Remove obsolete crud.
3609 (sparc-opc.o): Avoid Sun Make VPATH bug.
3611 Tue Sep 8 17:29:27 1992 K. Richard Pixley (rich@sendai.cygnus.com)
3613 * Makefile.in: since there are no SUBDIRS, remove rule and
3614 references of subdir_do.
3616 Tue Sep 8 17:02:58 1992 Ken Raeburn (raeburn@cambridge.cygnus.com)
3618 * Makefile.in (install): Get the library name right here too.
3619 Don't install bfd.h, since it's unrelated to this library. No
3620 subdirs to recurse into, either.
3621 (CFILES): The source file has a .c suffix, not .o.
3623 * sparc-opc.c: New file, moved from BFD.
3624 * Makefile.in (OFILES): Build it.
3626 Thu Sep 3 16:59:20 1992 Michael Werner (mtw@cygnus.com)
3628 * z8k-dis.c: fixed forward refferences of some declarations.
3630 Mon Aug 31 16:09:45 1992 Michael Werner (mtw@cygnus.com)
3632 * Makefile.in: get the name of the library right
3634 Mon Aug 31 13:47:35 1992 Steve Chamberlain (sac@thepub.cygnus.com)
3636 * z8k-dis.c: knows how to disassemble z8k stuff
3637 * z8k-opc.h: new file full of z8000 opcodes
3641 version-control: never