1 Tue Mar 12 12:14:10 1996 Ian Lance Taylor <ian@cygnus.com>
3 * configure: Rebuild with autoconf 2.8.
5 Thu Mar 7 15:11:10 1996 Doug Evans <dje@charmed.cygnus.com>
7 * sparc-dis.c (print_insn_sparc): Handle 'O' operand char like 'r'.
8 * sparc-opc.c (sparc_opcodes): Use 'O' operand char for `neg reg'.
10 Tue Mar 5 15:51:57 1996 Ian Lance Taylor <ian@cygnus.com>
12 * configure.in: Don't set SHLIB or SHLINK to an empty string,
13 since they appear as targets in Makefile.in.
16 Mon Feb 26 13:03:40 1996 Stan Shebs <shebs@andros.cygnus.com>
18 * mpw-make.sed: Edit out shared library support bits.
20 Tue Feb 20 20:48:28 1996 Doug Evans <dje@charmed.cygnus.com>
22 * sparc-opc.c (v8,v6notv9): Add MASK_SPARCLET.
23 (sparc_opcode_archs): Add MASK_V8 to sparclet entry.
24 (sparc_opcodes): Add sparclet insns.
25 (sparclet_cpreg_table): New static local.
26 (sparc_{encode,decode}_sparclet_cpreg): New functions.
27 * sparc-dis.c (print_insn_sparc): Handle sparclet cpregs.
29 Tue Feb 20 11:02:44 1996 Alan Modra <alan@mullet.Levels.UniSA.Edu.Au>
31 * i386-dis.c (index16): New static variable.
32 (putop): Print jecxz for 32 bit case, jcxz for 16 bit, not the
34 (OP_indirE): Return result of OP_E.
35 (OP_E): Check for 16 bit addressing mode, and disassemble
36 correctly. Optimised 32 bit case a little. Don't print
37 "(base,index,scale)" when sib specifies only an offset.
39 Mon Feb 19 12:32:17 1996 Ian Lance Taylor <ian@cygnus.com>
41 * configure.in: Set and substitute SHLIB_DEP.
43 * Makefile.in (SHLIB_DEP): New variable.
44 (LIBIBERTY_LISTS, BFD_LIST): New variables.
45 (stamp-piclist): Depend upon LIBIBERTY_LISTS and BFD_LIST. If
46 COMMON_SHLIB, add them to piclist with appropriate modifications.
47 ($(SHLIB)): Depend upon $(SHLIB_DEP). Don't check COMMON_SHLIB
48 here: just use piclist.
50 Mon Feb 19 02:03:50 1996 Doug Evans <dje@charmed.cygnus.com>
52 * sparc-dis.c (MASK_V9,V9_ONLY_P,V9_P): Define.
53 (print_insn_sparc): Rewrite v9/not-v9 tests.
54 (compare_opcodes): Likewise.
55 * sparc-opc.c (MASK_<ARCH>): Define.
56 (v6,v7,v8,sparclite,v9,v9a): Redefine.
57 (sparclet,v6notv9): Define.
58 (sparc_opcode_archs): Delete member `conflicts'. Add `supported'.
59 (sparc_opcodes): Delete F_NOTV9, use v6notv9 instead.
61 Thu Feb 15 14:45:05 1996 Ian Lance Taylor <ian@cygnus.com>
63 * configure.in: Call AC_PROG_CC before configure.host.
66 * Makefile.in (SONAME): Remove leading ../bfd/ from $(SHLIB).
68 Wed Feb 14 19:01:27 1996 Alan Modra <alan@spri.levels.unisa.edu.au>
70 * i386-dis.c (onebyte_has_modrm): New static array.
71 (twobyte_has_modrm): New static array.
72 (print_insn_i386): Only fetch the mod/reg/rm byte if it is needed.
74 Tue Feb 13 15:15:01 1996 Ian Lance Taylor <ian@cygnus.com>
76 * Makefile.in ($(SHLINK)): Check ts against $(SHLIB), not
79 Mon Feb 12 16:26:06 1996 Michael Meissner <meissner@tiktok.cygnus.com>
81 * ppc-opc.c (PPC): Undef, so default defination on Windows NT
84 Wed Feb 7 13:59:54 1996 Ian Lance Taylor <ian@cygnus.com>
86 * m68k-opc.c (m68k_opcodes): The bkpt instruction is supported on
87 m68010up, not just m68020up | cpu32.
89 * Makefile.in (SONAME): New variable.
90 ($(SHLINK)): Make a link to the transformed name, as well.
91 (stamp-tshlink): New target.
92 (install): Skip stamp-tshlink during install.
94 Tue Feb 6 12:28:54 1996 Ian Lance Taylor <ian@cygnus.com>
96 * configure.in: Call AC_ARG_PROGRAM.
98 * Makefile.in (program_transform_name): New variable.
99 (install): Transform library name before installing it.
101 Mon Feb 5 16:14:42 1996 Ian Lance Taylor <ian@cygnus.com>
103 * i960-dis.c (mem): Add HX dcinva instruction.
105 Support for building as a shared library, based on patches from
106 Alan Modra <alan@spri.levels.unisa.edu.au>:
107 * configure.in: Add AC_ARG_ENABLE for shared and commonbfdlib.
108 New substitutions: ALLLIBS, PICFLAG, SHLIB, SHLIB_CC,
109 SHLIB_CFLAGS, COMMON_SHLIB, SHLINK.
110 * configure: Rebuild.
111 * Makefile.in (ALLLIBS): New variable.
112 (PICFLAG, SHLIB, SHLIB_CC, SHLIB_CFLAGS): New variables.
113 (COMMON_SHLIB, SHLINK): New variables.
114 (.c.o): If PICFLAG is set, compile twice, once PIC, once normal.
115 (STAGESTUFF): Remove variable.
116 (all): Depend upon $(ALLLIBS) rather than $(TARGETLIB).
117 (stamp-piclist, piclist): New targets.
118 ($(SHLIB), $(SHLINK)): New targets.
119 ($(OFILES)): Depend upon stamp-picdir.
120 (disassemble.o): Build twice if PICFLAG is set.
121 (MOSTLYCLEAN): Add pic/*.o.
122 (clean): Remove $(SHLIB), $(SHLINK), piclist, and stamp-piclist.
123 (distclean): Remove pic and stamp-picdir.
124 (install): Install shared libraries.
125 (stamp-picdir): New target.
127 Fri Feb 2 17:15:25 1996 Doug Evans <dje@charmed.cygnus.com>
129 * sparc-dis.c (print_insn_sparc): Delete DISASM_RAW_INSN support.
130 Print unknown instruction as "unknown", rather than in hex.
132 Tue Jan 30 14:06:08 1996 Ian Lance Taylor <ian@cygnus.com>
134 * dis-buf.c: Include "sysdep.h" before "dis-asm.h".
136 Thu Jan 25 20:24:07 1996 Doug Evans <dje@charmed.cygnus.com>
138 * sparc-opc.c (sparc_opcode_archs): Mark v8/sparclite as conflicting.
140 Thu Jan 25 11:56:49 1996 Ian Lance Taylor <ian@cygnus.com>
142 * i386-dis.c (print_insn_i386): Only fetch the mod/reg/rm byte
143 when necessary. From Ulrich Drepper
144 <drepper@myware.rz.uni-karlsruhe.de>.
146 Thu Jan 25 03:39:10 1996 Doug Evans <dje@charmed.cygnus.com>
148 * sparc-dis.c (print_insn_sparc): NUMOPCODES replaced with
149 sparc_num_opcodes. Update architecture enum values.
150 * sparc-opc.c (sparc_opcode_archs): Replaces architecture_pname.
151 (sparc_opcode_lookup_arch): New function.
152 (sparc_num_opcodes): Renamed from bfd_sparc_num_opcodes.
153 (sparc_opcodes): Add v9a shutdown insn.
155 Mon Jan 22 08:29:59 1996 Doug Evans <dje@charmed.cygnus.com>
157 * sparc-dis.c (print_insn_sparc): Renamed from print_insn.
158 If DISASM_RAW_INSN, print insn in hex. Handle v9a as opcode
160 (print_insn_sparc64): Deleted.
161 * disassemble.c (disassembler, case bfd_arch_sparc): Always use
164 * sparc-opc.c (architecture_pname): Add v9a.
166 Fri Jan 12 14:35:58 1996 David Mosberger-Tang <davidm@AZStarNet.com>
168 * alpha-opc.h (alpha_insn_set): VAX floating point opcode was
169 incorrectly defined as 0x16 when it should be 0x15.
170 (FLOAT_FORMAT_MASK): function code is 11 bits, not just 7 bits!
171 (alpha_insn_set): added cvtst and cvttq float ops. Also added
172 excb (exception barrier) which is defined in the Alpha
173 Architecture Handbook version 2.
174 * alpha-dis.c (print_insn_alpha): Fixed special-case decoding for
175 OPERATE_FORMAT_CODE type instructions. The bug caused mulq to be
176 disassembled as or, for example.
178 Wed Jan 10 12:37:22 1996 Ian Lance Taylor <ian@cygnus.com>
180 * mips-dis.c (print_insn_arg): Print cases 'i' and 'u' in hex.
181 (_print_insn_mips): Change i from int to unsigned int.
183 Thu Jan 4 17:21:10 1996 David Edelsohn <edelsohn@mhpcc.edu>
185 * ppc-opc.c (powerpc_opcodes): tlbi POWER opcode form different
186 from tlbie PowerPC opcode. Add PPC603 tlbld and tlbli.
188 Thu Dec 28 13:29:19 1995 John Hassey <hassey@rtp.dg.com>
190 * i386-dis.c: Added Pentium Pro instructions.
192 Tue Dec 19 22:56:35 1995 Michael Meissner <meissner@tiktok.cygnus.com>
194 * ppc-opc.c (fsqrt{,.}): Duplicate for PowerPC in addition to
197 Fri Dec 15 14:14:15 1995 J.T. Conklin <jtc@rtl.cygnus.com>
199 * sh-opc.h (sh_nibble_type): Added REG_B.
200 (sh_arg_type): Added A_REG_B.
201 (sh_table): Added pref and bank reg versions of ldc, ldc.l, stc
203 * sh-dis.c (print_insn_shx): Added cases for REG_B and A_REG_B.
205 Fri Dec 15 16:44:31 1995 Ian Lance Taylor <ian@cygnus.com>
207 * disassemble.c (disassembler): Use new bfd_big_endian macro.
209 Tue Dec 12 12:22:24 1995 Ian Lance Taylor <ian@cygnus.com>
211 * Makefile.in (distclean): Remove stamp-h. From Ronald
212 F. Guilmette <rfg@monkeys.com>.
214 Tue Dec 5 13:42:44 1995 Stan Shebs <shebs@andros.cygnus.com>
216 From David Mosberger-Tang <davidm@azstarnet.com>:
217 * alpha-dis.c (print_insn_alpha): fixed decoding of cpys
220 Mon Dec 4 12:29:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
222 * sh-opc.h (sh_arg_type): Added A_SSR and A_SPC.
223 (sh_table): Added many SH3 opcodes.
224 * sh-dis.c (print_insn_shx): Added cases for A_SSR and A_SPC.
226 Fri Dec 1 07:42:18 1995 Michael Meissner <meissner@tiktok.cygnus.com>
228 * ppc-opc.c (subfc., subfco): Mark this PPCCOM, not PPC.
229 (subco,subco.): Mark this PPC, not PPCCOM.
231 Mon Nov 27 13:09:52 1995 Ian Lance Taylor <ian@cygnus.com>
233 * configure: Rebuild with autoconf 2.7.
235 Tue Nov 21 18:28:06 1995 Ian Lance Taylor <ian@cygnus.com>
237 * configure: Rebuild with autoconf 2.6.
239 Wed Nov 15 19:02:53 1995 Ken Raeburn <raeburn@cygnus.com>
241 * configure.in: Sort list of architectures. Accept but do nothing
242 for alliant, convex, pyramid, romp, and tahoe.
244 Wed Nov 8 20:18:59 1995 Ian Lance Taylor <ian@cygnus.com>
246 * a29k-dis.c (print_special): Change num to unsigned int.
248 Wed Nov 8 20:10:35 1995 Eric Freudenthal <freudenthal@nyu.edu>
250 * a29k-dis.c (print_insn): Cast insn24 to unsigned long when
253 Tue Nov 7 15:21:06 1995 Ian Lance Taylor <ian@cygnus.com>
255 * configure.in: Call AC_CHECK_PROG to find and cache AR.
256 * configure: Rebuilt.
258 Mon Nov 6 17:39:47 1995 Harry Dolan <dolan@ssd.intel.com>
260 * configure.in: Add case for bfd_i860_arch.
261 * configure: Rebuild.
263 Fri Nov 3 12:45:31 1995 Ian Lance Taylor <ian@cygnus.com>
265 * m68k-opc.c (m68k_opcodes): Correct fmoveml operands.
266 * m68k-dis.c (NEXTSINGLE): Change i to unsigned int.
267 (NEXTDOUBLE): Likewise.
268 (print_insn_m68k): Don't match fmoveml if there is more than one
269 register in the list.
270 (print_insn_arg): Handle a place of '8' for a type of 'L'.
272 Thu Nov 2 23:06:33 1995 Ian Lance Taylor <ian@cygnus.com>
274 * m68k-opc.c: Use #W rather than #w.
275 * m68k-dis.c (print_insn_arg): Handle new 'W' place.
277 Wed Nov 1 13:30:24 1995 Ian Lance Taylor <ian@cygnus.com>
279 * m68k-opc.c (m68k_opcode_aliases): Add dbfw as an alias for dbf,
280 and likewise for all the dbxx opcodes.
282 Mon Oct 30 20:50:40 1995 Fred Fish <fnf@cygnus.com>
284 * arc-dis.c: Include elf-bfd.h rather than libelf.h.
286 Mon Oct 23 11:11:34 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
288 * mips-opc.c: Added shorthand (V1) for INSN_4100 manifest. Added
289 the VR4100 specific instructions to the mips_opcodes structure.
291 Thu Oct 19 11:05:23 1995 Stan Shebs <shebs@andros.cygnus.com>
293 * mpw-config.in, mpw-make.sed: Remove ugly workaround for
294 ugly Metrowerks bug in CW6, is fixed in CW7.
296 Mon Oct 16 12:59:01 1995 Michael Meissner <meissner@tiktok.cygnus.com>
298 * ppc-opc.c (whole file): Add flags for common/any support.
300 Tue Oct 10 11:06:07 1995 Fred Fish <fnf@cygnus.com>
302 * Makefile.in (BISON): Remove macro.
303 (FLAGS_TO_PASS): Remove BISON.
305 Fri Oct 6 16:26:45 1995 Ken Raeburn <raeburn@cygnus.com>
307 Mon Sep 25 22:49:32 1995 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
309 * m68k-dis.c (print_insn_m68k): Recognize all two-word
310 instructions that take no args by looking at the match mask.
311 (print_insn_arg): Always print "%" before register names.
312 [case 'c']: Use "nc" for the no-cache case, as recognized by gas.
313 [case '_']: Don't print "@#" before address.
314 [case 'J']: Use "%s" as format string, not register name.
315 [case 'B']: Treat place == 'C' like 'l' and 'L'.
317 Thu Oct 5 22:16:20 1995 Ken Raeburn <raeburn@cygnus.com>
319 * i386-dis.c: Describe cmpxchg8b operand, and spell the opcode
322 Tue Oct 3 08:30:20 1995 steve chamberlain <sac@slash.cygnus.com>
324 From David Mosberger-Tang <davidm@azstarnet.com>
326 * alpha-opc.h (MEMORY_FUNCTION_FORMAT_MASK): added.
327 (alpha_insn_set): added definitions for VAX floating point
328 instructions (Unix compilers don't generate these, but handcoded
329 assembly might still use them).
331 * alpha-dis.c (print_insn_alpha): added support for disassembling
332 the miscellaneous instructions in the Alpha instruction set.
334 Tue Sep 26 18:47:20 1995 Stan Shebs <shebs@andros.cygnus.com>
336 * mpw-config.in: Add m68k-opc.c.o to BFD_MACHINES for m68k,
337 no longer create sysdep.h, sed ppc-opc.c to work around a
338 serious Metrowerks C bug.
339 * mpw-make.in: Remove.
340 * mpw-make.sed: New file, used by mpw-configure to edit
341 Makefile.in into an MPW makefile.
343 Wed Sep 20 12:55:28 1995 Ian Lance Taylor <ian@cygnus.com>
345 * Makefile.in (maintainer-clean): New synonym for realclean.
347 Tue Sep 19 15:28:36 1995 Ian Lance Taylor <ian@cygnus.com>
349 * m68k-opc.c: Split pmove patterns which use 'P' into patterns
350 which use '0', '1', and '2' instead. Specify the proper size for
351 a pmove immediate operand. Correct the pmovefd patterns to be
352 moves to a register, not from a register.
353 * m68k-dis.c (print_insn_arg): Replace 'P' with '0', '1', '2'.
355 Thu Sep 14 11:58:22 1995 Doug Evans <dje@canuck.cygnus.com>
357 * sparc-opc.c (sparc_opcodes): Mark all insns that reference
358 %psr, %wim, %tbr as F_NOTV9.
360 Fri Sep 8 01:07:38 1995 Ian Lance Taylor <ian@cygnus.com>
362 * Makefile.in (Makefile): Just rebuild Makefile when running
364 (config.h, stamp-h): New targets.
365 * configure.in: Call AC_CONFIG_HEADER and AC_CANONICAL_SYSTEM
366 earlier. Don't bother to call AC_ARG_PROGRAM. Touch stamp-h when
368 * configure: Rebuild.
370 * mips-opc.c: Change unaligned loads and stores with "t,A"
371 operands to use "t,A(b)".
373 Thu Sep 7 19:02:46 1995 Jim Wilson <wilson@chestnut.cygnus.com>
375 * sh-dis.c (print_insn_shx): Add F_FR0 support.
377 Thu Sep 7 19:02:46 1995 Jim Wilson <wilson@chestnut.cygnus.com>
379 * sh-dis.c (print_insn_shx): Change loop over op->arg[n] to iterate
380 until 3 instead of until 2.
382 Wed Sep 6 21:21:33 1995 Ian Lance Taylor <ian@cygnus.com>
384 * Makefile.in (ALL_CFLAGS): Define.
385 (.c.o, disassemble.o): Use $(ALL_CFLAGS).
386 (MOSTLYCLEAN): Add config.log.
387 (distclean): Don't remove config.log.
388 * configure.in: Substitute HDEFINES.
389 * configure: Rebuild.
391 Wed Sep 6 15:08:09 1995 Jim Wilson <wilson@chestnut.cygnus.com>
393 * sh-opc.h (sh_arg_type): Add F_FR0.
394 (sh_table, case fmac): Add F_FR0 as first argument.
396 Wed Sep 6 15:08:09 1995 Jim Wilson <wilson@chestnut.cygnus.com>
398 * sh-opc.h (sh_opcode_info): Increase arg array size to 4.
400 Tue Sep 5 18:28:10 1995 Doug Evans <dje@canuck.cygnus.com>
402 * sparc-dis.c: Remove all references to NO_V9.
404 Tue Sep 5 20:03:26 1995 Ian Lance Taylor <ian@cygnus.com>
406 * aclocal.m4: Just include ../bfd/aclocal.m4.
407 * configure: Rebuild.
409 Tue Sep 5 16:09:59 1995 Doug Evans <dje@canuck.cygnus.com>
411 * sparc-dis.c (X_DISP19): Define.
412 (print_insn, case 'G'): Use it.
413 (print_insn, case 'L'): Sign extend displacement.
415 Mon Sep 4 14:28:46 1995 Ian Lance Taylor <ian@cygnus.com>
417 * configure.in: Run ../bfd/configure.host before AC_PROG_CC.
418 Subsitute CFLAGS and AR. Call AC_PROG_INSTALL. Don't substitute
419 host_makefile_frag or frags.
420 * aclocal.m4: New file.
421 * configure: Rebuild.
422 * Makefile.in (INSTALL): Set to @INSTALL@.
423 (INSTALL_PROGRAM): Set to @INSTALL_PROGRAM@.
424 (INSTALL_DATA): Set to @INSTALL_DATA@.
426 (AR_FLAGS): Set to rc rather than qc.
427 (CC): Define as @CC@.
428 (CFLAGS): Set to @CFLAGS@.
429 (@host_makefile_frag@): Remove.
430 (config.status): Remove dependency upon @frags@.
432 * configure.in: ../bfd/config.bfd now just sets shell variables.
433 Use them rather than looking through target Makefile fragments.
434 * configure: Rebuild.
436 Thu Aug 31 12:35:32 1995 Jim Wilson <wilson@chestnut.cygnus.com>
438 * sh-opc.h (ftrc): Change FPUL_N to FPUL_M.
440 Wed Aug 30 13:52:28 1995 Doug Evans <dje@canuck.cygnus.com>
442 * sparc-opc.c (sparc_opcodes): Delete duplicate wr %y insn.
443 Add clrx, iprefetch, signx, clruw, cas, casl, casx, casxl synthetic
446 * sparc-opc.c (sparc_opcodes): Fix prefetcha insn.
447 (lookup_{name,value}): New functions.
448 (prefetch_table): New static local.
449 (sparc_{encode,decode}_prefetch): New functions.
450 * sparc-dis.c (print_insn): Handle '*' arg (prefetch function).
452 Wed Aug 30 11:11:58 1995 Jim Wilson <wilson@chestnut.cygnus.com>
454 * sh-opc.h: Add blank lines to improve readabililty of sh3e
457 Wed Aug 30 11:09:38 1995 Jim Wilson <wilson@chestnut.cygnus.com>
459 * sh-dis.c: Correct comment on first line of file.
461 Tue Aug 29 15:37:18 1995 Doug Evans <dje@canuck.cygnus.com>
463 * disassemble.c (disassembler): Handle bfd_mach_sparc64.
465 * sparc-opc.c (asi, membar): New static locals.
466 (sparc_{encode,decode}_{asi,membar}): New functions.
467 (sparc_opcodes, membar insn): Fix.
468 * sparc-dis.c (print_insn): Call sparc_decode_asi.
469 Support decoding of membar masks.
472 Sat Aug 26 21:22:48 1995 Ian Lance Taylor <ian@cygnus.com>
474 * m68k-opc.c (m68k_opcode_aliases): Add br, brs, brb, brw, brl.
476 Mon Aug 21 17:33:36 1995 Ian Lance Taylor <ian@cygnus.com>
478 * m68k-opc.c (m68k_opcode_aliases): Add bhib as an alias for bhis,
479 and likewise for the other branches. Add bhs as an alias for bcc,
480 and likewise for the size variants. Add dbhs as an alias for
483 Fri Aug 11 13:40:24 1995 Jeff Law (law@snake.cs.utah.edu)
485 * sh-opc.h (FP sts instructions): Update to match reality.
487 Mon Aug 7 16:12:58 1995 Ian Lance Taylor <ian@cygnus.com>
489 * m68k-dis.c: (fpcr_names): Add % before all register names.
490 (reg_names): Likewise.
491 (print_insn_arg): Don't explicitly print % before register names.
492 Add % before register names in static array names. In case 'r',
493 print data registers as `@(Dn)', not `Dn@'. When printing a
494 memory address, don't print @# before it.
495 (print_indexed): Change base_disp and outer_disp from int to
496 bfd_vma. Print using MIT syntax, not mutant invalid Motorola
497 syntax. Sign extend 8 byte displacement correctly.
498 (print_base): Print using MIT syntax. Print zpc when appropriate.
499 Change parameter disp from int to bfd_vma.
501 * m68k-opc.c (m68k_opcode_aliases): Add jsrl and jsrs as aliases
504 Mon Aug 7 02:21:40 1995 Jeff Law (law@snake.cs.utah.edu)
506 * sh-dis.c (print_insn_shx): Handle new operand types F_REG_N,
507 F_REG_M, FPSCR_M, FPSCR_N, FPUL_M and FPUL_N.
508 * sh-opc.h (sh_arg_type): Add new operand types.
509 (sh_table): Add new opcodes from SH3E Floating Point ISA.
511 Sat Aug 5 16:50:14 1995 Fred Fish <fnf@cygnus.com>
513 * Makefile.in (distclean): Remove generated file config.h.
515 Sat Aug 5 16:50:14 1995 Fred Fish <fnf@cygnus.com>
517 * Makefile.in (distclean): Remove generated file config.h.
519 Wed Aug 2 18:33:40 1995 Ian Lance Taylor <ian@cygnus.com>
521 * m68k-opc.c: New file, holding tables from include/opcode/m68k.h.
523 * m68k-dis.c: Remove BREAK_UP_BIG_DECL stuff.
525 (print_insn_m68k): Change d to be const. Use m68k_numopcodes
526 rather than numopcodes. Use m68k_opcodes rather than removed
527 opcode function. Don't check F_ALIAS.
528 (print_insn_arg): Change first parameter to be const char *.
529 * Makefile.in (ALL_MACHINES): Add m68k-opc.o.
530 (m68k-opc.o): New target.
531 * configure.in: Build m68k-opc.o for bfd_m68k_arch.
532 * configure: Rebuild.
534 Wed Aug 2 08:23:38 1995 Doug Evans <dje@canuck.cygnus.com>
536 * sparc-dis.c (HASH_SIZE, HASH_INSN): Define.
537 (opcode_bits, opcode_hash_table): New variables.
538 (opcodes_initialized): Renamed from opcodes_sorted.
539 (build_hash_table): New function.
540 (is_delayed_branch): Use hash table.
541 (print_insn): Renamed from print_insn_sparc, made static.
542 Build and use hash table. If !sparc64, ignore sparc64 insns,
543 and vice-versa if sparc64.
544 (print_insn_sparc, print_insn_sparc64): New functions.
545 (compare_opcodes): Move sparc64 opcodes to end.
546 Print commutative insns with constant second.
547 * sparc-opc.c (all non-v9 insns): Use flag F_NOTV9 instead of F_ALIAS.
549 Tue Aug 1 00:12:49 1995 Ian Lance Taylor <ian@cygnus.com>
551 * sh-dis.c (print_insn_shx): Remove unused local dslot. Use
552 print_address_func for A_BDISP12 and A_BDISP8. Correct test which
553 avoids printing a delay slot in a delay slot.
554 * sh-opc.h (sh_table): Fully bracket last entry.
556 Mon Jul 31 12:04:47 1995 Doug Evans <dje@canuck.cygnus.com>
558 * sparc-opc.c (sllx, srax, srlx): Fix disassembly.
560 Wed Jul 12 00:59:34 1995 Ken Raeburn <raeburn@kr-pc.cygnus.com>
562 * configure.in: Get host_makefile_frag from ${srcdir}.
564 * configure.in: Autoconfiscated. Check for string[s].h. Create
565 config.h from config.in. Don't set up sysdep.h link.
566 * sysdep.h: New file.
567 * configure, config.in: New files, generated from configure.in.
568 * Makefile.in: Updated to be processed autoconf-style.
569 (distclean): Keep sysdep.h. Remove config.log and config.cache.
570 (Makefile): Depend on config.status.
571 (config.status): New rule.
572 * configure.bat: Update Makefile substitutions.
574 Tue Jul 11 14:23:37 1995 Jeff Spiegel <jeffs@lsil.com>
576 * mips-opc.c (L1): Define.
577 (mips_opcodes): Add R4010 instructions: flushi, flushd, flushid,
578 addciu, madd, maddu, ffc, ffs, msub, msubu, selsi, selsr, waiti,
581 Tue Jul 11 11:49:49 1995 Ian Lance Taylor <ian@cygnus.com>
583 * mips-opc.c (mips_opcodes): For the move pseudo-op, prefer daddu
584 if ISA 3 and addu otherwise, replacing or, since some MIPS chips
585 have multiple add units but only a single logical unit.
587 * ppc-opc.c (powerpc_operands): Change CR to use a bitsize of 3,
588 shifted by 18, without any insertion or extraction function.
589 (insert_cr, extract_cr): Remove.
592 Mon Jul 3 11:54:31 1995 Ian Lance Taylor <ian@cygnus.com>
594 * Makefile.in (ALL_MACHINES): Add arc-dis.o and arc-opc.o.
597 Wed Jun 21 20:05:39 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
599 * m68k-dis.c (print_insn_arg, print_indexed): Print "%" before
602 Thu Jun 15 17:23:31 1995 Stan Shebs <shebs@andros.cygnus.com>
604 * mpw-config.in: Add sh and i386 configs, remove sparc config.
605 * sh-opc.h: Add copyright.
607 Mon Jun 5 03:30:43 1995 Ken Raeburn <raeburn@kr-laptop.cygnus.com>
609 * Makefile.in (crunch-m68k): Delete extra target accidentally
610 checked in a while ago.
612 Wed May 24 16:22:13 1995 Jim Wilson <wilson@chestnut.cygnus.com>
614 * sh-opc.h (sh_table): Add SH3 support.
616 Wed May 24 14:16:08 1995 Steve Chamberlain <sac@slash.cygnus.com>
618 * sh-opc.h: Added bsrf and braf.
620 Wed May 10 14:28:16 1995 Richard Earnshaw (rearnsha@armltd.co.uk)
622 * arm-opc.h (arm_opcodes): Add 64-bit multiply patterns. Delete
623 bogus [ls]fm{ea,fd} patterns.
625 * arm-opc.h (arm_opcodes): Correct typos in stm, ldm, std, and ldc.
626 * arm-dis.c (print_insn_arm): Make GIVEN a parameter, don't try and
627 initialize it from memory. Make function static.
628 (print_insn_{big,little}_arm): New functions.
629 * disassemble.c (disassembler, case bfd_arch_arm): Disassemble for
630 the correct endianness.
633 Sat Apr 29 23:20:05 1995 Doug Evans <dje@chestnut.cygnus.com>
635 * arc-opc.c (arc_opcodes): Add ARC_OPCODE_CONDITIONAL_BRANCH flag.
636 (arc_suffixes): Use ARC_DELAY_{NONE,NORMAL,JUMP}.
639 Mon Apr 24 14:18:05 1995 Jason Molenda (crash@phydeaux.cygnus.com>
641 * sh-opc.h (sh_nibble_type, sh_arg_type): remove trailing , from
644 Wed Apr 19 14:07:03 1995 Michael Meissner <meissner@tiktok.cygnus.com>
646 * m68k-dis.c (opcode): Finish change made by Kung Hsu on April
647 17th, so that it builds again using GCC as the compiler.
649 Tue Apr 18 12:14:51 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
651 * mips-dis.c (print_insn_little_mips): Cast return value from
652 bfd_getl32 from bfd_vma to unsigned long, because _print_insn_mips
653 expects an unsigned long, and that might be fewer words of
654 argument storage (e.g., if bfd_vma is long long on a 32-bit
656 (print_insn_big_mips): Likewise with bfd_getb32 value.
657 (_print_insn_mips): Now static.
659 Mon Apr 17 12:23:28 1995 Kung Hsu <kung@rtl.cygnus.com>
661 * m68k-dis.c: Take out #define BREAK_UP_BIG_DECL kludge, because
662 gcc memory hog problem with initializer is fixed.
665 Wed Apr 12 09:04:12 1995 Doug Evans <dje@canuck.cygnus.com>
667 * arc-opc.c (NULL): Define.
668 (arc_operands, insn fields u,s): Delete.
669 (arc_operands, insn fields a,b,c): Mark as signed.
670 (arc_opcodes): No longer const, links computed at run-time.
671 (arc_opcodes, mac/mul insns): Breakout suffixes as we don't handle
672 suffixes that affect the insn code.
673 (arc_opcodes): Resort table to macros are first.
674 (arc_opcodes, ld [b,c] entry): Add %Q to prevent shimms.
675 (arc_opcodes, st [b] entry): Likewise.
676 (arc_opcodes, st [b,d] entry): Fix mask, value.
677 (arc_reg_names): Add entries for r29, r30, r31, r60.
678 (opcode_map, icode_map): New static globals.
679 (arc_opcode_init_tables): Initialize them.
680 (arc_opcode_lookup_asm, arc_opcode_lookup_dis): New functions.
681 (insert_shimmoffset): Signal error if register present.
683 * arc-dis.c (print_insn): Call arc_opcode_lookup_dis.
686 Mon Apr 10 15:55:01 1995 Stan Shebs <shebs@andros.cygnus.com>
688 Merge in support for Mac MPW as a host.
689 (Old change descriptions retained for informational value.)
691 * mpw-config.in (archname): Compute from the config.
692 (BFD_MACHINES, ARCHDEFS): Put into mk.tmp.
694 * mpw-config.in (target_arch): Compute from canonical target.
695 (m68k, mips, powerpc, sparc): Add architectures.
696 * mpw-make.in (disassemble.c.o): Add.
697 (ALL_CFLAGS): Remove special flags (-mc68020 -mc68881 -model far).
699 * mpw-config.in (BFD_MACHINES): Set to a default value.
700 * mpw-make.in (BFD_MACHINES): Remove wired-in value.
702 * mpw-make.in (CSEARCH): Add extra-include to search path.
704 * mpw-config.in (varargs.h): Don't create.
705 (sysdep.h): Create using forward-include.
706 * mpw-make.in (CSEARCH): Add include/mpw to search path.
708 * mpw-config.in: New file, MPW version of configure.in.
709 * mpw-make.in: New file, MPW version of Makefile.in.
712 Thu Apr 6 20:36:08 1995 Doug Evans <dje@chestnut.cygnus.com>
714 * arc-dis.c (print_insn): New parameter `big_p'. Callers updated.
715 Call arc_get_opcode_mach to map bfd mach number to opcode value.
716 (print_insn_*): Pass bfd mach number, not opcode version.
717 * arc-opc.c (arc_get_opcode_mach): New function.
720 Fri Mar 31 14:23:38 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
722 * alpha-dis.c (print_insn_alpha): Put empty statement after
725 Tue Mar 21 10:51:40 1995 Jeff Law (law@snake.cs.utah.edu)
727 * hppa-dis.c (sign_extend): Delete, redundant with libhppa.h version.
728 (low_sign_extend): Likewise.
729 (get_field): Delete unused function.
730 (set_field, deposit_14, deposit_21): Likewise.
732 Fri Mar 17 15:55:53 1995 J.T. Conklin <jtc@rtl.cygnus.com>
734 * i386-dis.c: Support for more pentium opcodes. From Guy Harris
737 Tue Mar 14 00:52:57 1995 Ken Raeburn (raeburn@kr-pc.cygnus.com)
739 Sat Feb 11 17:22:41 1995 Klaus Kaempf (kkaempf@didymus.rmi.de)
741 * alpha-opc.h (OSF_ASMCODE): define
742 print pal-code names as defined in App C of the
743 Alpha Architecture Reference Manual
745 * alpha-dis.c: cleaned up output
746 print stylized code forms as defined in App A.4.3 of the
747 Alpha Architecture Reference Manual
749 Wed Mar 8 15:21:14 1995 Ian Lance Taylor <ian@cygnus.com>
751 * mips-opc.c: Add new mips4 instructions. Don't set INSN_RFE for
753 * mips-dis.c (print_insn_arg): Handle new argument types 'h', 'R',
756 Wed Mar 8 02:54:05 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
758 * m68k-dis.c (opcode): New function. Returns address of opcode
759 table entry given index, even if the opcode table was split to
760 work around gcc bugs.
761 (print_insn_m68k): Call opcode instead of referencing m68k_opcodes
763 (BREAK_UP_BIG_DECL): Make secondary array static and const.
764 (reg_names): Now const.
765 (print_insn_arg): Arrays cacheFieldName and names now const.
766 (print_indexed): Array scales now const.
769 Tue Mar 7 21:14:14 1995 Doug Evans <dje@chestnut.cygnus.com>
771 * arc-dis.c (print_insn_arc_base): Split into big and little fns.
772 (print_insn_arc_{host,graphics,audio}): Likewise.
773 (print_insn): Add prototype.
774 (arc_get_disassembler): New arg `big_p'. Return little or big
775 print fn accordingly.
776 * arc-opc.c (arc_opcode_init_tables): Init arc_operand_map once.
777 (arc_opcode_supported): Use ARC_OPCODE_CPU to ignore byte order.
778 (arc_opval_supported): Likewise.
779 * disassemble.c (disassembler): Pass big endian flag to
780 arc_get_disassembler.
783 Tue Mar 7 16:41:21 1995 Ian Lance Taylor <ian@cygnus.com>
785 * ppc-opc.c: Sort recently added instructions by minor opcode
786 number within major opcode number.
788 Mon Mar 6 10:04:36 1995 Jeff Law (law@snake.cs.utah.edu)
790 * hppa-dis.c: Include libhppa.h.
792 Fri Feb 24 19:15:36 1995 Ian Lance Taylor <ian@cygnus.com>
794 * mips-opc.c: Change dli to use M_DLI, and add dla.
796 Mon Feb 20 23:54:38 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
798 * Makefile.in (ALL_MACHINES): Add w65-dis.o.
801 Fri Feb 17 12:42:25 1995 Doug Evans <dje@chestnut.cygnus.com>
803 * arc-dis.c (arc_get_disassembler): Change argument to int,
804 one of bfd_mach_arc_xxx. All callers updated.
807 Thu Feb 16 17:34:41 1995 Ian Lance Taylor <ian@cygnus.com>
809 * mips-opc.c: Add r4650 mul instruction.
811 Wed Feb 15 15:45:20 1995 Ian Lance Taylor <ian@cygnus.com>
813 * mips-opc.c: Add uld and usd macros for unaligned double load and
816 Tue Feb 14 13:17:37 1995 Michael Meissner <meissner@tiktok.cygnus.com>
818 * ppc-opc.c (powerpc_opcodes): Add 403GA opcodes rfci, dccci,
819 mfdcr, mtdcr, icbt, iccci.
822 Mon Feb 13 11:09:17 1995 Doug Evans <dje@canuck.cygnus.com>
824 * arc-dis.c (print_insn): Handle ARC_OPERAND_ADDRESS.
825 * arc-opc.c (arc_operands): New operand 'J' for jump addresses.
826 ('L' operand): Mark as ARC_OPERAND_ADDRESS.
827 (arc_opcodes, j insn): Use 'J' operand type, not 'L'.
828 (arc_opcodes, ld/st insns): Fix address writeback operand letter.
829 (insert_absaddr): New function.
831 Thu Feb 9 19:19:23 1995 Doug Evans <dje@canuck.cygnus.com>
833 * arc-dis.c (print_insn_arc): Rename to print_insn and make static.
834 New argument `cpu', pass it to arc_opcode_init_tables.
835 Document byte order dependencies. Ignore unsupported insns.
836 (arc_get_disassembler): New function.
837 (print_insn_arc_base, print_insn_arc_host, print_insn_arc_graphics,
838 print_insn_arc_audio): New functions.
839 * arc-opc.c (MULTSHIFT operand): Delete.
840 (UNSIGNED, SATURATION): New operands.
841 (mac, mul, mul64, mulu64): New insns.
842 (ext. asl, asr, lsr, ror): Only available on host and graphics cpus.
843 (padc, padd, pmov, pand, psbc, psub, swap): New insns.
844 (host,graphics,audio extended and auxiliary regs): Define.
845 (ss, sc, mh, ml): New suffixes.
846 (arc_opcode_supported, arc_opval_supported): New functions.
847 (insert_multshift, extract_multshift): Deleted.
848 * disassemble.c (disassembler, case bfd_arch_arc): Call
849 arc_get_disassembler to get disassembler routine.
852 Thu Feb 9 12:28:13 1995 Stan Shebs <shebs@andros.cygnus.com>
854 * i960-dis.c (struct tabent, struct sparse_tabent): Change the
855 signed char fields to shorts, more portable.
857 Wed Feb 8 17:29:29 1995 Stan Shebs <shebs@andros.cygnus.com>
859 * i960-dis.c (struct tabent, struct sparse_tabent): Declare the
860 char fields as signed chars, since they may have negative values.
862 Mon Feb 6 10:52:06 1995 J.T. Conklin <jtc@rtl.cygnus.com>
864 * i386-dis.c (dis386_twobyte): Add cpuid, From Charles Hannum
865 (mycroft@netbsd.org).
867 Mon Jan 30 12:38:00 1995 Ian Lance Taylor <ian@cygnus.com>
869 From "Logg, Ed" <elogg@ea.com>:
870 * ppc-opc.c (extract_bdm): Correct parenthezisation.
871 * ppc-dis.c (print_insn_powerpc): Print .long before unrecognized
874 Thu Jan 26 18:32:08 1995 Ian Lance Taylor <ian@cygnus.com>
876 * ppc-opc.c: Changes based on patch from David Edelsohn
877 <edelsohn@mhpcc.edu>.
878 (powerpc_operands): Add operands SPRBAT and SPRG. Split TBR out of
881 (insert_tbr): New static function.
882 (extract_tbr): New static function.
883 (XFXFXM_MASK, XFXM): Define.
884 (XSPRBAT_MASK, XSPRG_MASK): Define.
885 (powerpc_opcodes): Add instructions to access special registers by
886 name. Add mtcr and mftbu.
888 Tue Jan 17 10:56:43 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
890 * mips-opc.c (P3): Define.
891 (mips_opcodes): Add mad and madu.
893 Sun Jan 15 16:32:59 1995 Steve Chamberlain <sac@splat>
895 * configure.in: Add W65 support.
896 * disassemble.c: Likewise.
897 * w65-opc.h, w65-dis.c: New files.
899 Wed Dec 28 22:15:33 1994 Steve Chamberlain (sac@jonny.cygnus.com)
901 * h8300-dis.c (bfd_h8_disassemble): Add support for 2 bit
905 Tue Dec 20 10:36:55 1994 Doug Evans <dje@canuck.cygnus.com>
907 * arc-dis.c (print_insn_arc): Branch offsets are relative to delay
909 * arc-opc.c (extract_reladdr): New function.
910 (insert_reladdr): Store address right-shifted by 2.
913 Tue Dec 20 11:25:12 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
915 * mips-opc.c: Add dli as a synonym for li.
918 Mon Dec 19 12:35:51 1994 Doug Evans <dje@canuck.cygnus.com>
920 * arc-opc.c (insertion fns): Pass pointer to value's table entry.
922 (extraction fns): Insn argument now array of two words. Return pointer
923 to value's table entry. All uses changed.
924 (arc_opcode_lookup_suffix): Exported for arc-dis.c.
925 (insert_multshift, extract_multshift): New fns.
926 (arc_operands): Add support for cache bypass suffix. Add support for
927 predefined aux regs. Modifier bits moved to flags field.
928 (arc_opcodes): Likewise.
929 Add mul/mulu/shift insns. Syntax of zero/sign extension insns changed.
930 New insn rlc. Update to syntax in programmer's manual.
931 (arc_reg_names): Fix typo in lp_count. Add predefined aux regs.
932 (arc_suffixes): New synonyms lo,hs for cs,cc. New suffix for cache
934 (arc_opcode_init_tables): New argument to indicate cpu type.
935 (insert_reg): Handle predefined aux regs.
936 (extract_reg): Likewise.
937 (lookup_register): New fn.
938 * arc-dis.c (arc_condition_codes): Deleted.
939 (print_insn_arc): Handle insns with 32 bit immediate constants better.
940 Clean up modifier handling. Handle predefined aux regs.
943 Thu Dec 8 18:23:31 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
945 * alpha-dis.c (print_insn_alpha): Handle call_pal instruction, and
946 print something for reserved opcode values, even if it won't
949 * mips-dis.c (_print_insn_mips): When initializing, shift right
950 and mask, to avoid sign extension problems on the Alpha.
952 * m68k-dis.c (print_insn_arg, case 'J'): Handle buscr and pcr
956 Tue Nov 29 18:02:43 1994 Doug Evans <dje@canuck.cygnus.com>
958 * configure.in: Add ARC support.
959 * disassemble.c: Likewise.
960 * arc-dis.c, arc-opc.c: New files.
963 Wed Nov 23 22:34:51 1994 Steve Chamberlain (sac@jonny.cygnus.com)
965 * sh-opc.h (mov.l gbr): Get direction right.
966 * sh-dis.c (print_insn_shx): New function.
967 (print_insn_shl, print_insn_sh): Call print_insn_shx to
968 print opcodes with right byte order.
970 Thu Nov 3 19:32:22 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
972 * ns32k-dis.c (struct ns32k_option): Renamed from struct option,
973 to avoid conflicts with getopt.
975 Mon Oct 31 18:48:10 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
977 * hppa-dis.c (print_insn_hppa): Read the instruction using
978 bfd_getb32, so that it works on a little endian or 64 bit host.
979 Remove unused local variable op.
981 Tue Oct 25 17:07:57 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
983 * mips-opc.c: Use or instead of addu for pseudo-op move, since
984 addu does not work correctly if -mips3.
986 Wed Oct 19 13:40:16 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
988 * a29k-dis.c (print_special): Add special register names defined
989 on 29030, 29040 and 29050.
990 (print_insn): Handle new operand type 'I'.
992 Wed Oct 12 11:59:55 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
994 * Makefile.in (INSTALL): Use top level install.sh script.
996 Wed Oct 5 19:16:29 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
998 * sparc-dis.c: Rewrite to use bitfields, rather than a union, so
999 that it works on a little endian host.
1001 Tue Oct 4 12:14:21 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
1003 * configure.in: Use ${config_shell} when running config.bfd.
1005 Wed Sep 21 18:49:12 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
1007 * mips-opc.c (mips_opcodes): "dabs" is only available with -mips3.
1009 Thu Sep 15 16:30:22 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
1011 * a29k-dis.c (print_insn): Print the opcode.
1013 Wed Sep 14 17:52:14 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
1015 * mips-opc.c (mips_opcodes): Set WR_t for sc and scd.
1017 Sun Sep 11 22:32:17 1994 Jeff Law (law@snake.cs.utah.edu)
1019 * hppa-dis.c (reg_names): Use r26-r23 for arg0-arg3.
1021 Tue Sep 6 11:37:12 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
1023 * mips-opc.c: Set INSN_STORE_MEMORY flag for all instructions
1024 which store a value into memory.
1026 Sun Sep 04 17:58:10 1994 Richard Earnshaw (rwe@pegasus.esprit.ec.org)
1028 * configure.in, Makefile.in, disassemble.c: Add support for the ARM.
1029 * arm-dis.c, arm-opc.h: New files.
1031 Fri Aug 5 14:00:05 1994 Stan Shebs (shebs@andros.cygnus.com)
1033 * Makefile.in (ns32k-dis.o): Add dependency.
1034 * ns32k-dis.c (print_insn_arg): Declare initialized local as
1035 string, not as array of chars.
1037 Thu Jul 28 18:14:16 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
1039 * sparc-dis.c (print_insn_sparc): Handle new operand type 'x'.
1041 * sparc-opc.c: Added sparclite extended FP operations, and
1042 versions of v9 impdep* instructions permitting specification of
1045 Tue Jul 26 16:36:03 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
1047 * i960-dis.c (reg_names): Now const.
1048 (struct sparse_tabent): New type, copied from array type in mem
1050 (ctrl): Local static array ctrl_tab now const.
1051 (cobr): Local static array cobr_tab now const.
1052 (mem): Local variables reg1, reg2, reg3 now point to const. Local
1053 static variable mem_tab no longer explicitly initialized. Changed
1054 mem_init to const array of struct sparse_tabent.
1055 (reg): Local static variable reg_tab no longer explicitly
1056 initialized. Changed reg_init to const array of struct
1058 (ea): Local static array scale_tab now const.
1060 * i960-dis.c (reg): Added i960JX instructions to reg_init table.
1063 Tue Jul 19 21:00:00 1994 DJ Delorie (dj@ctron.com)
1065 * configure.bat: the disassember needs to be enabled for
1066 "objdump -d" to work in djgpp.
1068 Wed Jul 13 18:01:58 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
1070 * ns32k-dis.c: Deleted all code in "#ifdef GDB".
1071 (invalid_float): Enabled general version, doesn't require running
1072 on ns32k host. Changed to take char* argument, and test for
1073 explicitly specified sizes, instead of using sizeof() on host CPU
1075 (INVALID_FLOAT): Cast first argument.
1076 (opt_u, opt_U, opt_O, opt_C, opt_S, list_P532, list_M532,
1077 list_P032, list_M032): Now const.
1078 (optlist, list_search): Made appropriate arguments now point to
1080 (print_insn_arg): Changed static array of one-character-string
1081 pointers into a static const array of characters; fixed sprintf
1082 statement accordingly.
1084 Sun Jul 10 00:27:47 1994 Ian Dall (dall@hfrd.dsto.gov.au)
1086 * opcodes/ns32k-dis.c: Semi-new file. Had apparently been dropped
1087 from distribution. A ns32k-dis.c from a previous distribution has
1088 been brought up to date and supports the new interface.
1090 * disassemble.c: define ARCH_ns32k and add case bfd_arch_ns32k.
1092 * configure.in: add bfd_ns32k_arch target support.
1094 * Makefile.in: add ns32k-dis.o to ALL_MACHINES.
1095 Add ns32k-dis.c to CFILES. Add dependencies for ns32k-dis.o.
1097 Wed Jun 29 22:10:37 1994 Steve Chamberlain (sac@cygnus.com)
1099 * h8300-dis.c (bfd_h8_disassemble): Get 16bit branch
1102 Tue Jun 28 13:22:06 1994 Stan Shebs (shebs@andros.cygnus.com)
1104 * h8300-dis.c, mips-dis.c: Don't use true and false.
1106 Thu Jun 23 12:53:19 1994 David J. Mackenzie (djm@rtl.cygnus.com)
1108 * configure.in: Change --with-targets to --enable-targets.
1110 Wed Jun 22 13:38:32 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
1112 * mips-dis.c (_print_insn_mips): Build a static hash table mapping
1113 opcodes to the first instruction with that opcode, to speed
1114 disassembly of large files. From ralphc@pyramid.com (Ralph
1117 Tue Jun 7 12:49:44 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1119 * Makefile.in (mostlyclean): Fix typo (was mostyclean).
1121 Wed May 11 22:32:00 1994 DJ Delorie (dj@ctron.com)
1123 * configure.bat: update to latest makefile.in
1125 Sat May 7 17:13:21 1994 Steve Chamberlain (sac@cygnus.com)
1127 * a29k-dis.c (print_insn): Print 'x' type operand in hex.
1128 * h8300-dis.c (bfd_h8_disassemble): Print 16bit rels correctly.
1129 * sh-dis.c (print_insn_sh): Don't recur endlessly if delay
1130 slot insn is in a delay slot.
1131 * z8k-opc.h: (resflg): Fix patterns.
1132 * h8500-opc.h Fix CR insn patterns.
1134 Fri May 6 14:34:46 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1136 * ppc-opc.c (powerpc_opcodes): Put PowerPC versions of "cmp" and
1137 "cmpl" before POWER versions, so that gas -many uses them.
1139 Thu Apr 28 18:32:36 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
1141 * disassemble.c: New file.
1142 * Makefile.in (OFILES): Add disassemble.o.
1143 (disassemble.o): Provide dependencies; compile with $(ARCHDEFS).
1144 * configure.in: Define ARCHDEFS in Makefile. Code taken from
1145 binutils/configure.in.
1147 * m68k-dis.c (print_insn_m68k): If F_ALIAS flag is set, skip the
1148 opcode being examined.
1150 Thu Apr 21 17:08:40 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1152 * ppc-opc.c (powerpc_operands): Added RAL, RAM and RAS.
1153 (insert_ral, insert_ram, insert_ras): New functions.
1154 (powerpc_opcodes): Use RAL for load with update, RAM for lmw, and
1155 RAS for store with update.
1157 Sat Apr 16 23:41:44 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1159 * ppc-opc.c (powerpc_opcodes): Correct fcir. From David Edelsohn
1160 (edelsohn@npac.syr.edu).
1162 Wed Apr 6 17:11:45 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1164 * mips-opc.c (mips_opcodes): Correct operands of "nor" with an
1167 Mon Apr 4 16:30:46 1994 Doug Evans (dje@canuck.cygnus.com)
1169 * sparc-opc.c (sparc_opcodes): Fix "rd %fprs,%l0".
1171 Mon Apr 4 13:22:00 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1173 * ppc-opc.c (powerpc_operands): The signedp field has been
1174 removed, so don't initialize it. Set the PPC_OPERAND_SIGNED flag
1175 instead. Add new operand SISIGNOPT.
1176 (powerpc_opcodes): For lis, liu, addis, and cau use SISIGNOPT.
1177 Based on patch from David Edelsohn (edelsohn@npac.syr.edu).
1178 * ppc-dis.c (print_insn_powerpc): Check PPC_OPERAND_SIGNED rather
1181 Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1183 * i386-dis.c (struct private): Renamed to dis_private. `private'
1184 is a reserved word for dynix cc.
1186 Mon Mar 28 13:00:15 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1188 * configure.in: Change error message to refer to bfd/config.bfd
1189 rather than bfd/configure.in.
1191 Mon Mar 28 12:28:30 1994 David Edelsohn (edelsohn@npac.syr.edu)
1193 * ppc-opc.c: Define POWER2 as short alias flag.
1194 (powerpc_opcodes): Add POWER/2 opcodes lfq*, stfq*, fcir[z], and
1197 Wed Mar 23 12:23:05 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1199 * i960-dis.c (print_insn_i960): Don't read a second word for
1200 opcodes 0, 1, 2 and 3.
1202 Wed Mar 16 15:37:58 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1204 * configure.in: Don't build m68881-ext.o for bfd_m68k_arch.
1206 Mon Mar 14 14:53:50 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1208 * m68881-ext.c: Removed; no longer used.
1209 * Makefile.in: Changed accordingly.
1211 * m68k-dis.c (ext_format_68881): Don't declare.
1212 (print_insn_m68k): If an instruction uses place 'i', it uses at
1213 least four fixed bytes.
1214 (print_insn_arg): Don't bump p by 2 for case 'I', place 'i'. For
1215 extended float, convert to double using floatformat_to_double, not
1216 ieee_extended_to_double, and fetch the data before converting it.
1218 Tue Mar 8 18:12:25 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1220 * mips-opc.c: It's sqrt.s, not sqrt.w. From
1221 davidj@ICSI.Berkeley.EDU (David Johnson).
1223 Tue Feb 8 16:55:27 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1225 * ppc-opc.c (powerpc_opcodes): The POWER uses bdn[l][a] where the
1226 PowerPC uses bdnz[l][a].
1228 Tue Feb 8 00:32:28 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1230 * dis-buf.c, i386-dis.c: Include sysdep.h.
1232 Mon Feb 7 19:22:23 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1234 * configure.in (bfd_powerpc_arch): Use ppc-dis.o and ppc-opc.o.
1236 * ppc-opc.c (powerpc_opcodes): Mark POWER instructions supported
1237 by Motorola PowerPC 601 with PPC_OPCODE_601.
1238 * ppc-dis.c (print_insn_big_powerpc, print_insn_little_powerpc):
1239 Disassemble Motorola PowerPC 601 instructions as well as normal
1240 PowerPC instructions.
1242 Sun Feb 6 07:45:17 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1244 * i960-dis.c (reg, mem): Just use a static array instead of
1247 Sat Feb 5 00:04:02 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
1249 * hppa-dis.c (print_insn_hppa): For '?' and '@' only adjust the
1250 condition name index if this is for a negated condition.
1252 * hppa-dis.c (print_insn_hppa): No space before 'H' operand.
1253 Floating point format for 'H' operand is backwards from normal
1254 case (0 == double, 1 == single). For '4', '6', '7', '9', and '8'
1255 operands (fmpyadd and fmpysub), handle bizarre register
1256 translation correctly for single precision format.
1258 * hppa-dis.c (print_insn_hppa): Do not emit a space after 'F'
1259 or 'I' operands if the next format specifier is 'M' (fcmp
1260 condition completer).
1262 Feb 4 23:38:03 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1264 * ppc-opc.c (powerpc_operands): New operand type MBE to handle a
1265 single number giving a bitmask for the MB and ME fields of an M
1266 form instruction. Change NB to accept 32, and turn it into 0;
1267 also turn 0 into 32 when disassembling. Seperated SH from NB.
1268 (insert_mbe, extract_mbe): New functions.
1269 (insert_nb, extract_nb): New functions.
1270 (SC_MASK): Mask out SA and LK bits.
1271 (powerpc_opcodes): Change "cal" to use RT, D, RA rather than RT,
1272 RA, SI. Change "liu" and "cau" to use UI rather than SI. Mark
1273 "bctr" and "bctrl" as accepted by POWER. Change "rlwimi",
1274 "rlimi", "rlwimi.", "rlimi.", "rlwinm", "rlinm", "rlwinm.",
1275 "rlinm.", "rlmi", "rlmi.", "rlwnm", "rlnm", "rlwnm.", "rlnm." to
1276 use MBE rather than MB. Add "mfmq" and "mtmq" POWER instructions.
1277 (powerpc_macros): Define table of macro definitions.
1278 (powerpc_num_macros): Define.
1280 * ppc-dis.c (print_insn_powerpc): Don't skip optional operands
1281 if PPC_OPERAND_NEXT is set.
1283 Sat Jan 22 23:10:07 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1285 * i960-dis.c (print_insn_i960): Make buffer bfd_byte instead of
1286 char. Retrieve contents using bfd_getl32 instead of shifting.
1288 Fri Jan 21 19:01:39 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1290 * ppc-opc.c: New file. Opcode table for PowerPC, including
1291 opcodes for POWER (RS/6000).
1292 * ppc-dis.c: New file. PowerPC and Power (RS/6000) disassembler.
1293 * Makefile.in (ALL_MACHINES): Add ppc-dis.o and ppc-opc.o.
1294 (CFILES): Add ppc-dis.c.
1295 (ppc-dis.o, ppc-opc.o): New targets.
1296 * configure.in: Build ppc-dis.o and ppc-opc.o for bfd_rs6000_arch.
1298 Mon Jan 17 20:05:49 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
1300 * hppa-dis.c (print_insn_hppa): Handle 'N' in assembler template.
1301 No space before 'u', 'f', or 'N'.
1303 Sun Jan 16 14:20:16 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
1305 * i386-dis.c (print_insn_i386): Add FIXME comment regarding reading
1306 farther than we should.
1308 * i386-dis.c (dis386): Use Yb and Yv for scasb and scasS.
1310 Thu Jan 6 12:38:05 1994 David J. Mackenzie (djm@thepub.cygnus.com)
1312 * sparc-dis.c m68k-dis.c alpha-dis.c a29k-dis.c: Fix comments.
1314 Wed Jan 5 11:56:21 1994 David J. Mackenzie (djm@thepub.cygnus.com)
1316 * i960-dis.c (print_insn_i960): Only read word2 if the instruction
1317 needs it, to prevent reading past the end of a section.
1319 Wed Nov 17 17:20:12 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1321 * mips-opc.h: Use macro for j instruction, to support SVR4 PIC.
1322 Removed t,A case for la; always use t,A(b) case.
1324 Mon Nov 8 12:37:36 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1326 From Ted Lemen <mellon@pepper.ncd.com>
1327 * mips-dis.c (print_insn_arg): Handle 'k'.
1328 * mips-opc.c: Make cache use k, not t.
1330 Sun Nov 7 23:52:34 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1332 * alpha-opc.h, alpha-dis.c (print_insn_alpha): Add
1333 FLOAT_MEMORY_FORMAT_CODE, FLOAT_BRANCH_FORMAT_CODE, correct
1334 FLOAT_FORMAT_CODE to put out floating point register names.
1336 Mon Nov 1 18:17:51 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1338 * mips-opc.c: Use macros for jal variants, to support SVR4 PIC.
1340 Thu Oct 28 17:42:23 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1342 * a29k-dis.c (print_insn): Use 0x%08x, not 0x%8x.
1344 Wed Oct 27 11:48:01 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1346 * mips-opc.c (dsll, dsra, dsrl): Added '>' cases for shift counts
1347 larger than 32. Moved dsxx32 variants first for disassembler.
1349 Mon Oct 25 11:33:14 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
1351 * z8kgen.c, z8k-opc.h: Add full lda information.
1353 Tue Oct 19 12:39:25 1993 Jeffrey A Law (law@cs.utah.edu)
1355 * hppa-dis.c (print_insn_hppa): Do not emit a space after
1356 movb instructions. Any necessary space will be emitted by
1357 the code to handle nullification completers.
1359 Wed Oct 13 16:19:07 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1361 * mips-opc.c: Moved l.d down so that it disassembles as ldc1.
1363 Fri Oct 8 02:34:21 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1365 * alpha-opc.h: Add ldl_l, fix typo for ldq_u.
1366 * alpha-dis.c (print_insn_alpha): Add code for PAL_FORMAT_CODE.
1368 Tue Oct 5 17:47:53 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1370 * mips-opc.c: Correct lwu opcode value (book had it wrong).
1372 Thu Sep 30 11:26:18 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
1374 * z8k-dis.c (FETCH_DATA): get just the right amount of data.
1375 (unpack_instr): Cope with ARG_IMM4M1 type instructions.
1377 Wed Sep 29 16:24:49 1993 K. Richard Pixley (rich@sendai.cygnus.com)
1379 * m88k-dis.c (m88kdis): comment change. Remove space after
1381 (printop): handle new arg types DEC and XREG for m88110.
1383 Tue Sep 28 19:20:16 1993 Jeffrey A Law (law@snake.cs.utah.edu)
1385 * hppa-dis.c (print_insn_hppa): Handle 'z' operand
1386 type for absolute branch addresses. Delete special
1387 "ble" and "be" code in 'W' operand code.
1389 Fri Sep 24 14:08:33 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1391 * mips-opc.c: Set hazard information correctly for branch
1392 likely instructions.
1394 Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1396 * alpha-dis.c (print_insn_alpha), alpha-opc.h: Fix bugs, use
1397 info->fprintf_func for printing and info->print_address_func for
1400 Wed Sep 15 12:12:07 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1402 * mips-opc.c: Set INSN_TRAP for tXX instructions.
1404 Thu Sep 9 10:11:27 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1406 * mips-opc.c: From davidj@ICSI.Berkeley.EDU (David Johnson):
1407 Corrected second case of "b" for disassembler.
1409 Tue Sep 7 14:25:15 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1411 * mips-dis.c, m88k-dis.c: Don't include libbfd.h. Changed calls
1412 to BFD swapping routines to correspond to BFD name changes.
1414 Thu Sep 2 10:35:25 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1416 * mips-opc.c: Change div machine instruction to be z,s,t rather
1417 than s,t. Change div macro to be d,v,t rather than d,s,t.
1418 Likewise for divu, ddiv, ddivu. Added z,s,t case for drem, dremu,
1419 rem and remu which generates only the corresponding div
1420 instruction. This is for compatibility with the MIPS assembler,
1421 which only generates the simple machine instruction when an
1422 explicit destination of $0 is used.
1423 * mips-dis.c (print_insn_arg): Handle 'z' (always register zero).
1425 Thu Aug 26 17:41:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1427 * mips-opc.c: From davidj@ICSI.Berkeley.EDU (David Johnson): Set
1428 WR_31 hazard for bal, bgezal, bltzal.
1430 Thu Aug 26 17:20:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1432 * hppa-dis.c (print_insn_hppa): Use print function
1433 from within the disassemble_info, not fprintf_filtered.
1435 Wed Aug 25 13:51:40 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
1437 * hppa-dis.c (print_insn_hppa): Handle '|' like '>'. (From Jeff
1438 Law, law@cs.utah.edu.)
1440 Mon Aug 23 12:44:05 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1442 * mips-opc.c ("absu"): Removed.
1445 Fri Aug 20 10:52:52 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1447 * mips-opc.c: Added r6000 and r4000 instructions and macros.
1448 Changed hazard information to distinguish between memory load
1449 delays and coprocessor load delays.
1451 Wed Aug 18 15:39:23 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1453 * mips-opc.c: li.d uses "T,L", not "S,F". Added li.s.
1455 Tue Aug 17 09:44:42 1993 David J. Mackenzie (djm@thepub.cygnus.com)
1457 * configure.in: Don't pass cpu to config.bfd.
1459 Tue Aug 17 12:23:52 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1461 * m88k-dis.c (m88kdis): Make class unsigned.
1463 Thu Aug 12 15:08:18 1993 Ian Lance Taylor (ian@cygnus.com)
1465 * alpha-dis.c (print_insn_alpha): One branch format case was
1466 missing the instruction name.
1468 Wed Aug 11 19:29:39 1993 David J. Mackenzie (djm@thepub.cygnus.com)
1470 * Makefile.in (ALL_MACHINES): Renamed from DIS_LIBS.
1471 Add the arch-specific auxiliary files.
1472 (OFILES): Remove the arch-specific auxiliary files
1473 and use BFD_MACHINES instead of DIS_LIBS.
1474 * configure.in: Set BFD_MACHINES based on --with-targets option.
1476 Thu Aug 12 12:04:53 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1478 * mips-opc.c: Added lwc1 E,A(b) to go with lwc1 T,A(b). Similarly
1481 Sun Aug 8 15:09:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1483 * sparc-opc.c: Change CONST to const to deal with gcc
1484 -Dconst=__const -traditional.
1486 Fri Aug 6 10:58:55 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1488 * mips-opc.c: From davidj@ICSI.Berkeley.EDU (David Johnson): Took
1489 coprocessor instructions out of #if 0, and made them use new
1492 Thu Aug 5 17:11:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1494 * sparc-dis.c: Include ansidecl.h before opcodes/sparc.h.
1496 Fri Jul 30 18:48:15 1993 John Gilmore (gnu@cygnus.com)
1498 * sparc-opc.c: Add F_JSR, F_UNBR, or F_CONDBR flags to each branch
1499 instruction, for use by the disassembler.
1501 * sparc-dis.c (SEX): Add sign extension macro. Replace many
1502 hand-coded sign extensions that depended on 32-bit host ints.
1503 FIXME, we still depend on big-endian host bitfield ordering.
1504 (sparc_print_insn): Set the insn_info_valid field, and the
1505 other fields that describe the instruction being printed.
1507 Tue Jul 27 17:04:58 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
1509 * sparc-opc.c (call): Accept all 6 addressing modes valid for
1510 `jmp' instead of just one of them.
1512 Wed Jul 21 11:43:32 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
1514 * hppa-dis.c: Move floating registers from reg_names to fp_reg_names.
1515 (fput_fp_reg_r): Renamed from fput_reg_r.
1516 (fput_fp_reg): New function.
1517 (print_insn_hppa): Use fput_fp_reg{,_r} where appropriate.
1519 * hppa-dis.c (print_insn_hppa, cases 'a', 'd'): Print space afterwards.
1521 * hppa-dis.c (print_insn_hppa, case 'd'): Use GET_COND not GET_FIELD.
1523 Mon Jul 19 13:52:21 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
1525 * hppa-dis.c (print_insn_hppa): Use extract_5r_store for 'r'.
1527 * hppa-dis.c (print_insn_hppa, case '>'): If next character is 'n',
1528 don't output a space.
1530 * hppa-dis.c (float_format_names): 10 is undefined, and 11 is quad.
1532 Sun Jul 18 16:30:02 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
1534 * mips-opc.c: New file, containing opcode table from
1535 ../include/opcode/mips.h.
1536 * Makefile.in: Add it.
1538 Thu Jul 15 12:37:05 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1540 * m88k-dis.c: New file, moved in from gdb and changed to use the
1541 new dis-asm.h disassembler interface.
1542 * Makefile.in (DIS_LIBS): Added m88k-dis.o.
1543 (m88k-dis.o): New target.
1545 Tue Jul 13 10:04:16 1993 Ian Lance Taylor (ian@cygnus.com)
1547 * mips-dis.c (print_insn_arg, _print_insn_mips): Made pointer to
1548 argument string const char * to correspond to opcode/mips.h.
1550 Tue Jul 6 15:18:37 1993 Ian Lance Taylor (ian@cygnus.com)
1552 * mips-dis.c: Updated to account for name changes in new version
1554 * Makefile.in: Added header file dependencies.
1556 Sat Jul 3 23:47:56 1993 Doug Evans (dje@canuck.cygnus.com)
1558 * h8300-dis.c (bfd_h8_disassemble): Correct fetching of instruction.
1560 Thu Jul 1 12:23:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1562 * m68k-dis.c (NEXTWORD, NEXTLONG): Use ((x) ^ 0x8000) - 0x8000 to sign
1563 extend, rather than shifts.
1565 Sun Jun 20 20:56:56 1993 Ken Raeburn (raeburn@poseidon.cygnus.com)
1567 * Makefile.in: Undo 15 June change.
1569 Fri Jun 18 14:15:15 1993 Per Bothner (bothner@deneb.cygnus.com)
1571 * m68k-dis.c (print_insn_arg): Change return value to byte count
1573 * m68k-dis.c: Re-write to detect invalid operands before
1574 printing anything, so we can handle this the same way we
1575 handle invalid opcodes.
1577 Thu Jun 17 15:01:36 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
1579 * sh-dis.c, sh-opc.h: Understand some more opcodes.
1581 Wed Jun 16 13:48:05 1993 Ian Lance Taylor (ian@cygnus.com)
1583 * hppa-dis.c: Include <ansidecl.h> and sysdep.h before other
1586 Tue Jun 15 21:45:26 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
1588 * sparc-dis.c: Don't declare qsort, since sysdep.h might.
1590 * configure.in: Do make sysdep.h link.
1591 * Makefile.in: Search ../include. Don't search ../bfd.
1593 Tue Jun 15 13:36:10 1993 Stu Grossman (grossman@cygnus.com)
1595 Changes from Jeff Law, law@cs.utah.edu:
1596 * hppa-dis.c: Fix typo. 'a' and 'd' were reversed.
1597 Do not print a space before the completers specified by
1600 Fri Jun 11 18:40:21 1993 Ken Raeburn (raeburn@cygnus.com)
1602 * mips-dis.c: No longer need to bomb out if HOST_64_BIT is
1603 defined, since gdb has been fixed.
1605 Changes from Jeff Law, law@cs.utah.edu:
1606 * hppa-dis.c (print_insn_hppa): Last argument to fput_reg,
1607 fput_reg_r, fput_creg, fput_const, and fputs_filtered should
1608 be a *disassemble_info, not a *FILE.
1609 * hppa-dis.c: Support 'd', '!', and 'a'.
1610 * hppa-dis.c: Support 's' to extract a 2 bit space register.
1611 * hppa-dis.c: Delete cases which are no longer needed.
1613 Fri Jun 11 07:53:48 1993 Jim Kingdon (kingdon@cygnus.com)
1615 * m68k-dis.c (print_insn_{m68k,arg}): Add MMU codes.
1617 Tue Jun 8 12:25:01 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
1619 * h8300-dis.c: New file, removed from bfd/cpu-h8300.c, with
1622 Mon Jun 7 12:58:49 1993 Per Bothner (bothner@rtl.cygnus.com)
1624 * Makefile.in (CSEARCH): Add -I../bfd for sysdep.h and bfd.h.
1625 * configure.in: No longer need to configure to get sysdep.h.
1627 Thu Jun 3 15:56:49 1993 Stu Grossman (grossman@cygnus.com)
1629 * Patches from Jeffrey Law <law@cs.utah.edu>.
1630 * hppa-dis.c: Support 'I', 'J', and 'K' in output
1631 templates for 1.1 FP computational instructions.
1633 Tue May 25 13:05:48 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
1635 * h8500-dis.c (print_insn_h8500): Address argument is type
1637 * z8k-dis.c (print_insn_z8k, print_insn_z8001, print_insn_z8002):
1640 * h8500-opc.h (addr_class_type): No comma at end of enumerator.
1641 * sh-opc.h (sh_nibble_type, sh_arg_type): Ditto.
1643 * sparc-dis.c (compare_opcodes): Move static declaration to
1646 Fri May 21 14:17:37 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1648 * sparc-dis.c (print_insn_sparc): Implement 'n' argument for unimp
1649 instruction, remove unimp hack from 'l' argument.
1651 Wed May 19 15:35:54 1993 Stu Grossman (grossman@cygnus.com)
1653 * z8k-dis.c (fetch_data): Use unsigned char to make ancient gcc's
1656 Fri May 14 15:22:46 1993 Ian Lance Taylor (ian@cygnus.com)
1658 * Based on patches from davidj@ICSI.Berkeley.EDU (David Johnson):
1659 * mips-dis.c (print_insn_arg): Handle 'C' for general coprocessor
1662 Fri May 14 00:09:14 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
1664 * hppa-dis.c: Include dis-asm.h before sysdep.h. Changed some
1665 arrays of string pointers to 2-d arrays of chars, to save
1668 Thu May 6 20:51:17 1993 Fred Fish (fnf@cygnus.com)
1670 * a29k-dis.c, alpha-dis.c, i960-dis.c, sparc-dis.c, z8k-dis.c:
1671 Cast second arg to read_memory_func to "bfd_byte *", as necessary.
1673 Tue May 4 20:31:10 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
1675 * hppa-dis.c: New file from Utah, adapted to new disassembler
1677 * Makefile.in: Include it.
1679 Mon Apr 26 18:17:42 1993 Steve Chamberlain (sac@thepub.cygnus.com)
1681 * sh-dis.c, sh-opc.h: New files.
1683 Fri Apr 23 18:51:22 1993 Steve Chamberlain (sac@thepub.cygnus.com)
1685 * alpha-dis.c, alpha-opc.h: New files.
1687 Tue Apr 6 12:54:08 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1689 * mips-dis.c: Sign extend 'j' and 'b' arguments, delta is a signed
1692 Mon Apr 5 17:37:37 1993 John Gilmore (gnu@cygnus.com)
1694 * sparc-dis.c: Make "ta" the default trap instruction, "t" the alias.
1696 Fri Apr 2 07:24:27 1993 Ian Lance Taylor (ian@cygnus.com)
1698 * a29k-dis.c, sparc-dis.c, sparc-opc.c: Use CONST rather than
1701 Thu Apr 1 11:20:43 1993 Jim Kingdon (kingdon@cygnus.com)
1703 * sparc-dis.c: Use fprintf_func a few places where I forgot,
1704 and double percent signs a few places.
1706 * a29k-dis.c, i960-dis.c: New, merged from gdb and binutils.
1708 * i386-dis.c, m68k-dis.c, mips-dis.c, sparc-dis.c:
1709 Use info->print_address_func not print_address.
1711 * dis-buf.c (generic_print_address): New function.
1713 Wed Mar 31 10:07:04 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1715 * Makefile.in: Add sparc-dis.c.
1716 sparc-dis.c: New file, merges binutils and gdb versions as follows:
1718 Add `add' instruction to the set that get checked
1719 for a preceding `sethi' in order to print an absolute address.
1720 * (print_insn): Disassembly prefers real instructions.
1721 (is_delayed_branch): Speed up.
1722 * sparc-opcode.h: Add ALIAS bit to aliases. Fix up opcode tables.
1723 Still missing some float ops, and needs testing.
1724 * sparc-pinsn.c (print_insn): Eliminate 'set' test, subsumed by
1725 F_ALIAS. Use printf, not fprintf, when not passing a file
1727 (compare_opcodes): Check that identical instructions have
1728 identical opcodes, complain otherwise.
1731 * Include reg_names.
1733 Use dis-asm.h/read_memory_func interface.
1735 Wed Mar 31 20:49:06 1993 K. Richard Pixley (rich@rtl.cygnus.com)
1737 * h8500-dis.c, i386-dis.c, m68k-dis.c, z8k-dis.c (fetch_data):
1738 deliberately return non-zero to setjmp from longjmp. Otherwise
1739 this code fails to compile.
1741 Wed Mar 31 17:04:31 1993 Stu Grossman (grossman@cygnus.com)
1743 * m68k-dis.c: Fix prototype for fetch_arg().
1745 Wed Mar 31 10:07:04 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1747 * dis-buf.c: New file, for new read_memory_func interface.
1748 Makefile.in (OFILES): Include it.
1749 m68k-dis.c, i386-dis.c, h8500-dis.c, mips-dis.c, z8k-dis.c:
1750 Use new read_memory_func interface.
1752 Mon Mar 29 14:02:17 1993 Steve Chamberlain (sac@thepub.cygnus.com)
1754 * h8500-dis.c (print_insn_h8500): Get sign of fp offsets right.
1755 * h8500-opc.h: Fix couple of opcodes.
1757 Wed Mar 24 02:03:36 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
1759 * Makefile.in: add dvi & installcheck targets
1761 Mon Mar 22 18:55:04 1993 John Gilmore (gnu@cygnus.com)
1763 * Makefile.in: Update for h8500-dis.c.
1765 Fri Mar 19 14:27:17 1993 Steve Chamberlain (sac@thepub.cygnus.com)
1767 * h8500-dis.c, h8500-opc.h: New files
1769 Thu Mar 18 14:12:37 1993 Per Bothner (bothner@rtl.cygnus.com)
1771 * mips-dis.c, z8k-dis.c: Converted to use interface defined in
1772 ../include/dis-asm.h.
1773 * m68k-dis.c: New file (merge of ../binutils/m68k-pinsn.c
1774 and ../gdb/m68k-pinsn.c).
1775 * i386-dis.c: New file (merge of ../binutils/i386-pinsn.c
1776 and ../gdb/i386-pinsn.c).
1777 * m68881-ext.c: New file. Moved definition of
1778 ext_format ext_format_68881 from ../gdb/m68k-tdep.c.
1779 * Makefile.in: Adjust for new files.
1780 * i386-dis.c: Patches from John Hassey (hassey@dg-rtp.dg.com).
1781 * m68k-dis.c: Recognize '9' placement code, so (say) pflush
1782 can be dis-assembled.
1784 Wed Feb 17 09:19:47 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
1786 * mips-dis.c (print_insn_arg): Now returns void.
1788 Mon Jan 11 16:09:16 1993 Fred Fish (fnf@cygnus.com)
1790 * mips-dis.c (ansidecl.h): Include for benefit of sysdep.h
1791 files that use the macros.
1793 Thu Jan 7 13:15:17 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1795 * mips-dis.c: New file, from gdb/mips-pinsn.c.
1796 * Makefile.in (DIS_LIBS): Added mips-dis.o.
1797 (CFILES): Added mips-dis.c.
1799 Thu Jan 7 07:36:33 1993 Steve Chamberlain (sac@thepub.cygnus.com)
1801 * z8k-dis.c (print_insn_z8001, print_insn_z8002): new routines
1802 * z8kgen.c, z8k-opc.h: fix sizes of some shifts.
1804 Tue Dec 22 15:42:44 1992 Per Bothner (bothner@rtl.cygnus.com)
1806 * Makefile.in: Improve *clean rules.
1807 * configure.in: Allow a default host.
1809 Tue Nov 17 19:53:54 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
1811 * Makefile.in: also use -I$(srcdir)/../bfd, since some sysdep
1812 files include other sysdep files
1814 Thu Nov 12 16:10:37 1992 Steve Chamberlain (sac@thepub.cygnus.com)
1816 * z8k-dis.c z8k-opc.h z8kgen.c: checkpoint
1818 Fri Oct 9 04:56:05 1992 John Gilmore (gnu@cygnus.com)
1820 * configure.in: For host support, use ../bfd/configure.host
1821 so it stays in sync with the ../bfd/hosts database.
1823 Thu Oct 1 23:38:54 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
1825 * configure.in: use cpu-vendor-os triple instead of nested cases
1827 Wed Sep 30 16:09:20 1992 Michael Werner (mtw@cygnus.com)
1829 * z8k-dis.c (unparse_instr): fix bug where opcode returned was
1830 *always* the wrong one.
1832 Wed Sep 30 07:42:17 1992 Steve Chamberlain (sac@thepub.cygnus.com)
1834 * z8kgen.c: added copyright info
1836 Tue Sep 29 12:20:21 1992 Steve Chamberlain (sac@thepub.cygnus.com)
1838 * z8k-dis.c (unparse_instr): prettier tabs
1839 * z8kgen.c -> z8k-opc.h: bug fixes in tables
1841 Fri Sep 25 12:50:32 1992 Stu Grossman (grossman at cygnus.com)
1843 * configure.in: Add ncr* configuration.
1844 * z8k-dis.c (struct instr_data_s): Make instr_asmsrc char to make
1845 picayune ANSI compilers happy.
1847 Sep 20 08:50:55 1992 Fred Fish (fnf@cygnus.com)
1849 * configure.in (i386): Make i386 and i486 synonymous for now.
1850 * configure.in (i[34]86-*-sysv4): Add my_host definition.
1852 Fri Sep 18 17:01:23 1992 Ken Raeburn (raeburn@cambridge.cygnus.com)
1854 * Makefile.in (install): Fix typo.
1856 Fri Sep 18 02:04:24 1992 John Gilmore (gnu@cygnus.com)
1858 * Makefile.in (make): Remove obsolete crud.
1859 (sparc-opc.o): Avoid Sun Make VPATH bug.
1861 Tue Sep 8 17:29:27 1992 K. Richard Pixley (rich@sendai.cygnus.com)
1863 * Makefile.in: since there are no SUBDIRS, remove rule and
1864 references of subdir_do.
1866 Tue Sep 8 17:02:58 1992 Ken Raeburn (raeburn@cambridge.cygnus.com)
1868 * Makefile.in (install): Get the library name right here too.
1869 Don't install bfd.h, since it's unrelated to this library. No
1870 subdirs to recurse into, either.
1871 (CFILES): The source file has a .c suffix, not .o.
1873 * sparc-opc.c: New file, moved from BFD.
1874 * Makefile.in (OFILES): Build it.
1876 Thu Sep 3 16:59:20 1992 Michael Werner (mtw@cygnus.com)
1878 * z8k-dis.c: fixed forward refferences of some declarations.
1880 Mon Aug 31 16:09:45 1992 Michael Werner (mtw@cygnus.com)
1882 * Makefile.in: get the name of the library right
1884 Mon Aug 31 13:47:35 1992 Steve Chamberlain (sac@thepub.cygnus.com)
1886 * z8k-dis.c: knows how to disassemble z8k stuff
1887 * z8k-opc.h: new file full of z8000 opcodes
1891 version-control: never