* saprc-dis.c (compute_arch_mask): Replace ANSI style def with K&R.
[deliverable/binutils-gdb.git] / opcodes / ChangeLog
1 Wed Apr 17 14:20:22 1996 Doug Evans <dje@canuck.cygnus.com>
2
3 * saprc-dis.c (compute_arch_mask): Replace ANSI style def with K&R.
4
5 Thu Apr 11 17:30:02 1996 Ian Lance Taylor <ian@cygnus.com>
6
7 * sparc-opc.c: Set F_FBR on floating point branch instructions.
8 Set F_FLOAT on other floating point instructions.
9
10 Mon Apr 8 17:02:48 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11
12 * ppc-opc.c (PPC860): Macro for 860/821 specific instructions and
13 registers.
14 (powerpc_opcodes): Add 860/821 specific SPRs.
15
16 Mon Apr 8 14:00:44 1996 Ian Lance Taylor <ian@cygnus.com>
17
18 * configure.in: Permit --enable-shared to specify a list of
19 directories. Set and substitute BFD_PICLIST.
20 * configure: Rebuild.
21 * Makefile.in (BFD_PICLIST): Rename from BFD_LIST. Change all
22 uses. Set to @BFD_PICLIST@.
23
24 Fri Apr 5 17:12:27 1996 Jeffrey A Law (law@cygnus.com)
25
26 * h8300-dis.c (bfd_h8_disassemble): Use "bit" for L_3 immediates,
27 not "abs", which may be needed for the absolute in something
28 like btst #0,@10:8. Print L_3 immediates separately from other
29 immediates. Change ABSMOV reference to ABS8MEM.
30
31 Wed Apr 3 10:40:45 1996 Doug Evans <dje@canuck.cygnus.com>
32
33 * sparc-dis.c (opcodes_initialized): Move inside print_insn_sparc.
34 (current_arch_mask): New static global.
35 (compute_arch_mask): New static function.
36 (print_insn_sparc): Delete sparc_v9_p. New static local
37 current_mach. Resort opcode table if current_mach changes.
38 Generalize "insn not supported" test.
39 (compare_opcodes): Prefer supported opcodes to nonsupported ones.
40 Delete test for v9/!v9.
41 * sparc-opc.c (MASK_*): Use SPARC_OPCODE_ARCH_MASK.
42 (v6notlet): Define.
43 (brfc): Split into CBR and FBR for coprocessor/fp branches.
44 (brfcx): Renamed to FBRX.
45 (condfc): Renamed to CONDFC. Pass v6notlet to CBR (standard
46 coprocessor mnemonics are not supported on the sparclet).
47 (condf): Renamed to CONDF.
48 (SLCBCC2): Delete F_ALIAS flag.
49
50 Sat Mar 30 21:45:59 1996 Doug Evans <dje@canuck.cygnus.com>
51
52 * sparc-opc.c (sparc_opcodes): rd must be 0 for
53 mov foo,{%y,%psr,%wim,%tbr}. Support mov foo,%asrX.
54
55 Fri Mar 29 13:02:40 1996 Ian Lance Taylor <ian@cygnus.com>
56
57 * Makefile.in (config.status): Depend upon BFD VERSION file, so
58 that the shared library version number is set correctly.
59
60 Tue Mar 26 15:47:14 1996 Ian Lance Taylor <ian@cygnus.com>
61
62 * configure.in: Use AC_CHECK_TOOL to find ar and ranlib. From
63 Miles Bader <miles@gnu.ai.mit.edu>.
64 * configure: Rebuild.
65
66 Sat Mar 16 13:04:07 1996 Fred Fish <fnf@cygnus.com>
67
68 * z8kgen.c (internal, gas): Call xmalloc rather than unchecked
69 malloc.
70
71 Tue Mar 12 12:14:10 1996 Ian Lance Taylor <ian@cygnus.com>
72
73 * configure: Rebuild with autoconf 2.8.
74
75 Thu Mar 7 15:11:10 1996 Doug Evans <dje@charmed.cygnus.com>
76
77 * sparc-dis.c (print_insn_sparc): Handle 'O' operand char like 'r'.
78 * sparc-opc.c (sparc_opcodes): Use 'O' operand char for `neg reg'.
79
80 Tue Mar 5 15:51:57 1996 Ian Lance Taylor <ian@cygnus.com>
81
82 * configure.in: Don't set SHLIB or SHLINK to an empty string,
83 since they appear as targets in Makefile.in.
84 * configure: Rebuild.
85
86 Mon Feb 26 13:03:40 1996 Stan Shebs <shebs@andros.cygnus.com>
87
88 * mpw-make.sed: Edit out shared library support bits.
89
90 Tue Feb 20 20:48:28 1996 Doug Evans <dje@charmed.cygnus.com>
91
92 * sparc-opc.c (v8,v6notv9): Add MASK_SPARCLET.
93 (sparc_opcode_archs): Add MASK_V8 to sparclet entry.
94 (sparc_opcodes): Add sparclet insns.
95 (sparclet_cpreg_table): New static local.
96 (sparc_{encode,decode}_sparclet_cpreg): New functions.
97 * sparc-dis.c (print_insn_sparc): Handle sparclet cpregs.
98
99 Tue Feb 20 11:02:44 1996 Alan Modra <alan@mullet.Levels.UniSA.Edu.Au>
100
101 * i386-dis.c (index16): New static variable.
102 (putop): Print jecxz for 32 bit case, jcxz for 16 bit, not the
103 other way around.
104 (OP_indirE): Return result of OP_E.
105 (OP_E): Check for 16 bit addressing mode, and disassemble
106 correctly. Optimised 32 bit case a little. Don't print
107 "(base,index,scale)" when sib specifies only an offset.
108
109 Mon Feb 19 12:32:17 1996 Ian Lance Taylor <ian@cygnus.com>
110
111 * configure.in: Set and substitute SHLIB_DEP.
112 * configure: Rebuild.
113 * Makefile.in (SHLIB_DEP): New variable.
114 (LIBIBERTY_LISTS, BFD_LIST): New variables.
115 (stamp-piclist): Depend upon LIBIBERTY_LISTS and BFD_LIST. If
116 COMMON_SHLIB, add them to piclist with appropriate modifications.
117 ($(SHLIB)): Depend upon $(SHLIB_DEP). Don't check COMMON_SHLIB
118 here: just use piclist.
119
120 Mon Feb 19 02:03:50 1996 Doug Evans <dje@charmed.cygnus.com>
121
122 * sparc-dis.c (MASK_V9,V9_ONLY_P,V9_P): Define.
123 (print_insn_sparc): Rewrite v9/not-v9 tests.
124 (compare_opcodes): Likewise.
125 * sparc-opc.c (MASK_<ARCH>): Define.
126 (v6,v7,v8,sparclite,v9,v9a): Redefine.
127 (sparclet,v6notv9): Define.
128 (sparc_opcode_archs): Delete member `conflicts'. Add `supported'.
129 (sparc_opcodes): Delete F_NOTV9, use v6notv9 instead.
130
131 Thu Feb 15 14:45:05 1996 Ian Lance Taylor <ian@cygnus.com>
132
133 * configure.in: Call AC_PROG_CC before configure.host.
134 * configure: Rebuild.
135
136 * Makefile.in (SONAME): Remove leading ../bfd/ from $(SHLIB).
137
138 Wed Feb 14 19:01:27 1996 Alan Modra <alan@spri.levels.unisa.edu.au>
139
140 * i386-dis.c (onebyte_has_modrm): New static array.
141 (twobyte_has_modrm): New static array.
142 (print_insn_i386): Only fetch the mod/reg/rm byte if it is needed.
143
144 Tue Feb 13 15:15:01 1996 Ian Lance Taylor <ian@cygnus.com>
145
146 * Makefile.in ($(SHLINK)): Check ts against $(SHLIB), not
147 $(SHLINK).
148
149 Mon Feb 12 16:26:06 1996 Michael Meissner <meissner@tiktok.cygnus.com>
150
151 * ppc-opc.c (PPC): Undef, so default defination on Windows NT
152 doesn't conflict.
153
154 Wed Feb 7 13:59:54 1996 Ian Lance Taylor <ian@cygnus.com>
155
156 * m68k-opc.c (m68k_opcodes): The bkpt instruction is supported on
157 m68010up, not just m68020up | cpu32.
158
159 * Makefile.in (SONAME): New variable.
160 ($(SHLINK)): Make a link to the transformed name, as well.
161 (stamp-tshlink): New target.
162 (install): Skip stamp-tshlink during install.
163
164 Tue Feb 6 12:28:54 1996 Ian Lance Taylor <ian@cygnus.com>
165
166 * configure.in: Call AC_ARG_PROGRAM.
167 * configure: Rebuild.
168 * Makefile.in (program_transform_name): New variable.
169 (install): Transform library name before installing it.
170
171 Mon Feb 5 16:14:42 1996 Ian Lance Taylor <ian@cygnus.com>
172
173 * i960-dis.c (mem): Add HX dcinva instruction.
174
175 Support for building as a shared library, based on patches from
176 Alan Modra <alan@spri.levels.unisa.edu.au>:
177 * configure.in: Add AC_ARG_ENABLE for shared and commonbfdlib.
178 New substitutions: ALLLIBS, PICFLAG, SHLIB, SHLIB_CC,
179 SHLIB_CFLAGS, COMMON_SHLIB, SHLINK.
180 * configure: Rebuild.
181 * Makefile.in (ALLLIBS): New variable.
182 (PICFLAG, SHLIB, SHLIB_CC, SHLIB_CFLAGS): New variables.
183 (COMMON_SHLIB, SHLINK): New variables.
184 (.c.o): If PICFLAG is set, compile twice, once PIC, once normal.
185 (STAGESTUFF): Remove variable.
186 (all): Depend upon $(ALLLIBS) rather than $(TARGETLIB).
187 (stamp-piclist, piclist): New targets.
188 ($(SHLIB), $(SHLINK)): New targets.
189 ($(OFILES)): Depend upon stamp-picdir.
190 (disassemble.o): Build twice if PICFLAG is set.
191 (MOSTLYCLEAN): Add pic/*.o.
192 (clean): Remove $(SHLIB), $(SHLINK), piclist, and stamp-piclist.
193 (distclean): Remove pic and stamp-picdir.
194 (install): Install shared libraries.
195 (stamp-picdir): New target.
196
197 Fri Feb 2 17:15:25 1996 Doug Evans <dje@charmed.cygnus.com>
198
199 * sparc-dis.c (print_insn_sparc): Delete DISASM_RAW_INSN support.
200 Print unknown instruction as "unknown", rather than in hex.
201
202 Tue Jan 30 14:06:08 1996 Ian Lance Taylor <ian@cygnus.com>
203
204 * dis-buf.c: Include "sysdep.h" before "dis-asm.h".
205
206 Thu Jan 25 20:24:07 1996 Doug Evans <dje@charmed.cygnus.com>
207
208 * sparc-opc.c (sparc_opcode_archs): Mark v8/sparclite as conflicting.
209
210 Thu Jan 25 11:56:49 1996 Ian Lance Taylor <ian@cygnus.com>
211
212 * i386-dis.c (print_insn_i386): Only fetch the mod/reg/rm byte
213 when necessary. From Ulrich Drepper
214 <drepper@myware.rz.uni-karlsruhe.de>.
215
216 Thu Jan 25 03:39:10 1996 Doug Evans <dje@charmed.cygnus.com>
217
218 * sparc-dis.c (print_insn_sparc): NUMOPCODES replaced with
219 sparc_num_opcodes. Update architecture enum values.
220 * sparc-opc.c (sparc_opcode_archs): Replaces architecture_pname.
221 (sparc_opcode_lookup_arch): New function.
222 (sparc_num_opcodes): Renamed from bfd_sparc_num_opcodes.
223 (sparc_opcodes): Add v9a shutdown insn.
224
225 Mon Jan 22 08:29:59 1996 Doug Evans <dje@charmed.cygnus.com>
226
227 * sparc-dis.c (print_insn_sparc): Renamed from print_insn.
228 If DISASM_RAW_INSN, print insn in hex. Handle v9a as opcode
229 architecture.
230 (print_insn_sparc64): Deleted.
231 * disassemble.c (disassembler, case bfd_arch_sparc): Always use
232 print_insn_sparc.
233
234 * sparc-opc.c (architecture_pname): Add v9a.
235
236 Fri Jan 12 14:35:58 1996 David Mosberger-Tang <davidm@AZStarNet.com>
237
238 * alpha-opc.h (alpha_insn_set): VAX floating point opcode was
239 incorrectly defined as 0x16 when it should be 0x15.
240 (FLOAT_FORMAT_MASK): function code is 11 bits, not just 7 bits!
241 (alpha_insn_set): added cvtst and cvttq float ops. Also added
242 excb (exception barrier) which is defined in the Alpha
243 Architecture Handbook version 2.
244 * alpha-dis.c (print_insn_alpha): Fixed special-case decoding for
245 OPERATE_FORMAT_CODE type instructions. The bug caused mulq to be
246 disassembled as or, for example.
247
248 Wed Jan 10 12:37:22 1996 Ian Lance Taylor <ian@cygnus.com>
249
250 * mips-dis.c (print_insn_arg): Print cases 'i' and 'u' in hex.
251 (_print_insn_mips): Change i from int to unsigned int.
252
253 Thu Jan 4 17:21:10 1996 David Edelsohn <edelsohn@mhpcc.edu>
254
255 * ppc-opc.c (powerpc_opcodes): tlbi POWER opcode form different
256 from tlbie PowerPC opcode. Add PPC603 tlbld and tlbli.
257
258 Thu Dec 28 13:29:19 1995 John Hassey <hassey@rtp.dg.com>
259
260 * i386-dis.c: Added Pentium Pro instructions.
261
262 Tue Dec 19 22:56:35 1995 Michael Meissner <meissner@tiktok.cygnus.com>
263
264 * ppc-opc.c (fsqrt{,.}): Duplicate for PowerPC in addition to
265 being for Power2.
266
267 Fri Dec 15 14:14:15 1995 J.T. Conklin <jtc@rtl.cygnus.com>
268
269 * sh-opc.h (sh_nibble_type): Added REG_B.
270 (sh_arg_type): Added A_REG_B.
271 (sh_table): Added pref and bank reg versions of ldc, ldc.l, stc
272 and stc.l opcodes.
273 * sh-dis.c (print_insn_shx): Added cases for REG_B and A_REG_B.
274
275 Fri Dec 15 16:44:31 1995 Ian Lance Taylor <ian@cygnus.com>
276
277 * disassemble.c (disassembler): Use new bfd_big_endian macro.
278
279 Tue Dec 12 12:22:24 1995 Ian Lance Taylor <ian@cygnus.com>
280
281 * Makefile.in (distclean): Remove stamp-h. From Ronald
282 F. Guilmette <rfg@monkeys.com>.
283
284 Tue Dec 5 13:42:44 1995 Stan Shebs <shebs@andros.cygnus.com>
285
286 From David Mosberger-Tang <davidm@azstarnet.com>:
287 * alpha-dis.c (print_insn_alpha): fixed decoding of cpys
288 instruction.
289
290 Mon Dec 4 12:29:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
291
292 * sh-opc.h (sh_arg_type): Added A_SSR and A_SPC.
293 (sh_table): Added many SH3 opcodes.
294 * sh-dis.c (print_insn_shx): Added cases for A_SSR and A_SPC.
295
296 Fri Dec 1 07:42:18 1995 Michael Meissner <meissner@tiktok.cygnus.com>
297
298 * ppc-opc.c (subfc., subfco): Mark this PPCCOM, not PPC.
299 (subco,subco.): Mark this PPC, not PPCCOM.
300
301 Mon Nov 27 13:09:52 1995 Ian Lance Taylor <ian@cygnus.com>
302
303 * configure: Rebuild with autoconf 2.7.
304
305 Tue Nov 21 18:28:06 1995 Ian Lance Taylor <ian@cygnus.com>
306
307 * configure: Rebuild with autoconf 2.6.
308
309 Wed Nov 15 19:02:53 1995 Ken Raeburn <raeburn@cygnus.com>
310
311 * configure.in: Sort list of architectures. Accept but do nothing
312 for alliant, convex, pyramid, romp, and tahoe.
313
314 Wed Nov 8 20:18:59 1995 Ian Lance Taylor <ian@cygnus.com>
315
316 * a29k-dis.c (print_special): Change num to unsigned int.
317
318 Wed Nov 8 20:10:35 1995 Eric Freudenthal <freudenthal@nyu.edu>
319
320 * a29k-dis.c (print_insn): Cast insn24 to unsigned long when
321 shifting it.
322
323 Tue Nov 7 15:21:06 1995 Ian Lance Taylor <ian@cygnus.com>
324
325 * configure.in: Call AC_CHECK_PROG to find and cache AR.
326 * configure: Rebuilt.
327
328 Mon Nov 6 17:39:47 1995 Harry Dolan <dolan@ssd.intel.com>
329
330 * configure.in: Add case for bfd_i860_arch.
331 * configure: Rebuild.
332
333 Fri Nov 3 12:45:31 1995 Ian Lance Taylor <ian@cygnus.com>
334
335 * m68k-opc.c (m68k_opcodes): Correct fmoveml operands.
336 * m68k-dis.c (NEXTSINGLE): Change i to unsigned int.
337 (NEXTDOUBLE): Likewise.
338 (print_insn_m68k): Don't match fmoveml if there is more than one
339 register in the list.
340 (print_insn_arg): Handle a place of '8' for a type of 'L'.
341
342 Thu Nov 2 23:06:33 1995 Ian Lance Taylor <ian@cygnus.com>
343
344 * m68k-opc.c: Use #W rather than #w.
345 * m68k-dis.c (print_insn_arg): Handle new 'W' place.
346
347 Wed Nov 1 13:30:24 1995 Ian Lance Taylor <ian@cygnus.com>
348
349 * m68k-opc.c (m68k_opcode_aliases): Add dbfw as an alias for dbf,
350 and likewise for all the dbxx opcodes.
351
352 Mon Oct 30 20:50:40 1995 Fred Fish <fnf@cygnus.com>
353
354 * arc-dis.c: Include elf-bfd.h rather than libelf.h.
355
356 Mon Oct 23 11:11:34 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
357
358 * mips-opc.c: Added shorthand (V1) for INSN_4100 manifest. Added
359 the VR4100 specific instructions to the mips_opcodes structure.
360
361 Thu Oct 19 11:05:23 1995 Stan Shebs <shebs@andros.cygnus.com>
362
363 * mpw-config.in, mpw-make.sed: Remove ugly workaround for
364 ugly Metrowerks bug in CW6, is fixed in CW7.
365
366 Mon Oct 16 12:59:01 1995 Michael Meissner <meissner@tiktok.cygnus.com>
367
368 * ppc-opc.c (whole file): Add flags for common/any support.
369
370 Tue Oct 10 11:06:07 1995 Fred Fish <fnf@cygnus.com>
371
372 * Makefile.in (BISON): Remove macro.
373 (FLAGS_TO_PASS): Remove BISON.
374
375 Fri Oct 6 16:26:45 1995 Ken Raeburn <raeburn@cygnus.com>
376
377 Mon Sep 25 22:49:32 1995 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
378
379 * m68k-dis.c (print_insn_m68k): Recognize all two-word
380 instructions that take no args by looking at the match mask.
381 (print_insn_arg): Always print "%" before register names.
382 [case 'c']: Use "nc" for the no-cache case, as recognized by gas.
383 [case '_']: Don't print "@#" before address.
384 [case 'J']: Use "%s" as format string, not register name.
385 [case 'B']: Treat place == 'C' like 'l' and 'L'.
386
387 Thu Oct 5 22:16:20 1995 Ken Raeburn <raeburn@cygnus.com>
388
389 * i386-dis.c: Describe cmpxchg8b operand, and spell the opcode
390 name correctly.
391
392 Tue Oct 3 08:30:20 1995 steve chamberlain <sac@slash.cygnus.com>
393
394 From David Mosberger-Tang <davidm@azstarnet.com>
395
396 * alpha-opc.h (MEMORY_FUNCTION_FORMAT_MASK): added.
397 (alpha_insn_set): added definitions for VAX floating point
398 instructions (Unix compilers don't generate these, but handcoded
399 assembly might still use them).
400
401 * alpha-dis.c (print_insn_alpha): added support for disassembling
402 the miscellaneous instructions in the Alpha instruction set.
403
404 Tue Sep 26 18:47:20 1995 Stan Shebs <shebs@andros.cygnus.com>
405
406 * mpw-config.in: Add m68k-opc.c.o to BFD_MACHINES for m68k,
407 no longer create sysdep.h, sed ppc-opc.c to work around a
408 serious Metrowerks C bug.
409 * mpw-make.in: Remove.
410 * mpw-make.sed: New file, used by mpw-configure to edit
411 Makefile.in into an MPW makefile.
412
413 Wed Sep 20 12:55:28 1995 Ian Lance Taylor <ian@cygnus.com>
414
415 * Makefile.in (maintainer-clean): New synonym for realclean.
416
417 Tue Sep 19 15:28:36 1995 Ian Lance Taylor <ian@cygnus.com>
418
419 * m68k-opc.c: Split pmove patterns which use 'P' into patterns
420 which use '0', '1', and '2' instead. Specify the proper size for
421 a pmove immediate operand. Correct the pmovefd patterns to be
422 moves to a register, not from a register.
423 * m68k-dis.c (print_insn_arg): Replace 'P' with '0', '1', '2'.
424
425 Thu Sep 14 11:58:22 1995 Doug Evans <dje@canuck.cygnus.com>
426
427 * sparc-opc.c (sparc_opcodes): Mark all insns that reference
428 %psr, %wim, %tbr as F_NOTV9.
429
430 Fri Sep 8 01:07:38 1995 Ian Lance Taylor <ian@cygnus.com>
431
432 * Makefile.in (Makefile): Just rebuild Makefile when running
433 config.status.
434 (config.h, stamp-h): New targets.
435 * configure.in: Call AC_CONFIG_HEADER and AC_CANONICAL_SYSTEM
436 earlier. Don't bother to call AC_ARG_PROGRAM. Touch stamp-h when
437 rebuilding config.h.
438 * configure: Rebuild.
439
440 * mips-opc.c: Change unaligned loads and stores with "t,A"
441 operands to use "t,A(b)".
442
443 Thu Sep 7 19:02:46 1995 Jim Wilson <wilson@chestnut.cygnus.com>
444
445 * sh-dis.c (print_insn_shx): Add F_FR0 support.
446
447 Thu Sep 7 19:02:46 1995 Jim Wilson <wilson@chestnut.cygnus.com>
448
449 * sh-dis.c (print_insn_shx): Change loop over op->arg[n] to iterate
450 until 3 instead of until 2.
451
452 Wed Sep 6 21:21:33 1995 Ian Lance Taylor <ian@cygnus.com>
453
454 * Makefile.in (ALL_CFLAGS): Define.
455 (.c.o, disassemble.o): Use $(ALL_CFLAGS).
456 (MOSTLYCLEAN): Add config.log.
457 (distclean): Don't remove config.log.
458 * configure.in: Substitute HDEFINES.
459 * configure: Rebuild.
460
461 Wed Sep 6 15:08:09 1995 Jim Wilson <wilson@chestnut.cygnus.com>
462
463 * sh-opc.h (sh_arg_type): Add F_FR0.
464 (sh_table, case fmac): Add F_FR0 as first argument.
465
466 Wed Sep 6 15:08:09 1995 Jim Wilson <wilson@chestnut.cygnus.com>
467
468 * sh-opc.h (sh_opcode_info): Increase arg array size to 4.
469
470 Tue Sep 5 18:28:10 1995 Doug Evans <dje@canuck.cygnus.com>
471
472 * sparc-dis.c: Remove all references to NO_V9.
473
474 Tue Sep 5 20:03:26 1995 Ian Lance Taylor <ian@cygnus.com>
475
476 * aclocal.m4: Just include ../bfd/aclocal.m4.
477 * configure: Rebuild.
478
479 Tue Sep 5 16:09:59 1995 Doug Evans <dje@canuck.cygnus.com>
480
481 * sparc-dis.c (X_DISP19): Define.
482 (print_insn, case 'G'): Use it.
483 (print_insn, case 'L'): Sign extend displacement.
484
485 Mon Sep 4 14:28:46 1995 Ian Lance Taylor <ian@cygnus.com>
486
487 * configure.in: Run ../bfd/configure.host before AC_PROG_CC.
488 Subsitute CFLAGS and AR. Call AC_PROG_INSTALL. Don't substitute
489 host_makefile_frag or frags.
490 * aclocal.m4: New file.
491 * configure: Rebuild.
492 * Makefile.in (INSTALL): Set to @INSTALL@.
493 (INSTALL_PROGRAM): Set to @INSTALL_PROGRAM@.
494 (INSTALL_DATA): Set to @INSTALL_DATA@.
495 (AR): Set to @AR@.
496 (AR_FLAGS): Set to rc rather than qc.
497 (CC): Define as @CC@.
498 (CFLAGS): Set to @CFLAGS@.
499 (@host_makefile_frag@): Remove.
500 (config.status): Remove dependency upon @frags@.
501
502 * configure.in: ../bfd/config.bfd now just sets shell variables.
503 Use them rather than looking through target Makefile fragments.
504 * configure: Rebuild.
505
506 Thu Aug 31 12:35:32 1995 Jim Wilson <wilson@chestnut.cygnus.com>
507
508 * sh-opc.h (ftrc): Change FPUL_N to FPUL_M.
509
510 Wed Aug 30 13:52:28 1995 Doug Evans <dje@canuck.cygnus.com>
511
512 * sparc-opc.c (sparc_opcodes): Delete duplicate wr %y insn.
513 Add clrx, iprefetch, signx, clruw, cas, casl, casx, casxl synthetic
514 sparc64 insns.
515
516 * sparc-opc.c (sparc_opcodes): Fix prefetcha insn.
517 (lookup_{name,value}): New functions.
518 (prefetch_table): New static local.
519 (sparc_{encode,decode}_prefetch): New functions.
520 * sparc-dis.c (print_insn): Handle '*' arg (prefetch function).
521
522 Wed Aug 30 11:11:58 1995 Jim Wilson <wilson@chestnut.cygnus.com>
523
524 * sh-opc.h: Add blank lines to improve readabililty of sh3e
525 instructions.
526
527 Wed Aug 30 11:09:38 1995 Jim Wilson <wilson@chestnut.cygnus.com>
528
529 * sh-dis.c: Correct comment on first line of file.
530
531 Tue Aug 29 15:37:18 1995 Doug Evans <dje@canuck.cygnus.com>
532
533 * disassemble.c (disassembler): Handle bfd_mach_sparc64.
534
535 * sparc-opc.c (asi, membar): New static locals.
536 (sparc_{encode,decode}_{asi,membar}): New functions.
537 (sparc_opcodes, membar insn): Fix.
538 * sparc-dis.c (print_insn): Call sparc_decode_asi.
539 Support decoding of membar masks.
540 (X_MEMBAR): Define.
541
542 Sat Aug 26 21:22:48 1995 Ian Lance Taylor <ian@cygnus.com>
543
544 * m68k-opc.c (m68k_opcode_aliases): Add br, brs, brb, brw, brl.
545
546 Mon Aug 21 17:33:36 1995 Ian Lance Taylor <ian@cygnus.com>
547
548 * m68k-opc.c (m68k_opcode_aliases): Add bhib as an alias for bhis,
549 and likewise for the other branches. Add bhs as an alias for bcc,
550 and likewise for the size variants. Add dbhs as an alias for
551 dbcc.
552
553 Fri Aug 11 13:40:24 1995 Jeff Law (law@snake.cs.utah.edu)
554
555 * sh-opc.h (FP sts instructions): Update to match reality.
556
557 Mon Aug 7 16:12:58 1995 Ian Lance Taylor <ian@cygnus.com>
558
559 * m68k-dis.c: (fpcr_names): Add % before all register names.
560 (reg_names): Likewise.
561 (print_insn_arg): Don't explicitly print % before register names.
562 Add % before register names in static array names. In case 'r',
563 print data registers as `@(Dn)', not `Dn@'. When printing a
564 memory address, don't print @# before it.
565 (print_indexed): Change base_disp and outer_disp from int to
566 bfd_vma. Print using MIT syntax, not mutant invalid Motorola
567 syntax. Sign extend 8 byte displacement correctly.
568 (print_base): Print using MIT syntax. Print zpc when appropriate.
569 Change parameter disp from int to bfd_vma.
570
571 * m68k-opc.c (m68k_opcode_aliases): Add jsrl and jsrs as aliases
572 for jsr.
573
574 Mon Aug 7 02:21:40 1995 Jeff Law (law@snake.cs.utah.edu)
575
576 * sh-dis.c (print_insn_shx): Handle new operand types F_REG_N,
577 F_REG_M, FPSCR_M, FPSCR_N, FPUL_M and FPUL_N.
578 * sh-opc.h (sh_arg_type): Add new operand types.
579 (sh_table): Add new opcodes from SH3E Floating Point ISA.
580
581 Sat Aug 5 16:50:14 1995 Fred Fish <fnf@cygnus.com>
582
583 * Makefile.in (distclean): Remove generated file config.h.
584
585 Sat Aug 5 16:50:14 1995 Fred Fish <fnf@cygnus.com>
586
587 * Makefile.in (distclean): Remove generated file config.h.
588
589 Wed Aug 2 18:33:40 1995 Ian Lance Taylor <ian@cygnus.com>
590
591 * m68k-opc.c: New file, holding tables from include/opcode/m68k.h.
592 Clean up tables.
593 * m68k-dis.c: Remove BREAK_UP_BIG_DECL stuff.
594 (opcode): Remove.
595 (print_insn_m68k): Change d to be const. Use m68k_numopcodes
596 rather than numopcodes. Use m68k_opcodes rather than removed
597 opcode function. Don't check F_ALIAS.
598 (print_insn_arg): Change first parameter to be const char *.
599 * Makefile.in (ALL_MACHINES): Add m68k-opc.o.
600 (m68k-opc.o): New target.
601 * configure.in: Build m68k-opc.o for bfd_m68k_arch.
602 * configure: Rebuild.
603
604 Wed Aug 2 08:23:38 1995 Doug Evans <dje@canuck.cygnus.com>
605
606 * sparc-dis.c (HASH_SIZE, HASH_INSN): Define.
607 (opcode_bits, opcode_hash_table): New variables.
608 (opcodes_initialized): Renamed from opcodes_sorted.
609 (build_hash_table): New function.
610 (is_delayed_branch): Use hash table.
611 (print_insn): Renamed from print_insn_sparc, made static.
612 Build and use hash table. If !sparc64, ignore sparc64 insns,
613 and vice-versa if sparc64.
614 (print_insn_sparc, print_insn_sparc64): New functions.
615 (compare_opcodes): Move sparc64 opcodes to end.
616 Print commutative insns with constant second.
617 * sparc-opc.c (all non-v9 insns): Use flag F_NOTV9 instead of F_ALIAS.
618
619 Tue Aug 1 00:12:49 1995 Ian Lance Taylor <ian@cygnus.com>
620
621 * sh-dis.c (print_insn_shx): Remove unused local dslot. Use
622 print_address_func for A_BDISP12 and A_BDISP8. Correct test which
623 avoids printing a delay slot in a delay slot.
624 * sh-opc.h (sh_table): Fully bracket last entry.
625
626 Mon Jul 31 12:04:47 1995 Doug Evans <dje@canuck.cygnus.com>
627
628 * sparc-opc.c (sllx, srax, srlx): Fix disassembly.
629
630 Wed Jul 12 00:59:34 1995 Ken Raeburn <raeburn@kr-pc.cygnus.com>
631
632 * configure.in: Get host_makefile_frag from ${srcdir}.
633
634 * configure.in: Autoconfiscated. Check for string[s].h. Create
635 config.h from config.in. Don't set up sysdep.h link.
636 * sysdep.h: New file.
637 * configure, config.in: New files, generated from configure.in.
638 * Makefile.in: Updated to be processed autoconf-style.
639 (distclean): Keep sysdep.h. Remove config.log and config.cache.
640 (Makefile): Depend on config.status.
641 (config.status): New rule.
642 * configure.bat: Update Makefile substitutions.
643
644 Tue Jul 11 14:23:37 1995 Jeff Spiegel <jeffs@lsil.com>
645
646 * mips-opc.c (L1): Define.
647 (mips_opcodes): Add R4010 instructions: flushi, flushd, flushid,
648 addciu, madd, maddu, ffc, ffs, msub, msubu, selsi, selsr, waiti,
649 and wb.
650
651 Tue Jul 11 11:49:49 1995 Ian Lance Taylor <ian@cygnus.com>
652
653 * mips-opc.c (mips_opcodes): For the move pseudo-op, prefer daddu
654 if ISA 3 and addu otherwise, replacing or, since some MIPS chips
655 have multiple add units but only a single logical unit.
656
657 * ppc-opc.c (powerpc_operands): Change CR to use a bitsize of 3,
658 shifted by 18, without any insertion or extraction function.
659 (insert_cr, extract_cr): Remove.
660
661 start-sanitize-arc
662 Mon Jul 3 11:54:31 1995 Ian Lance Taylor <ian@cygnus.com>
663
664 * Makefile.in (ALL_MACHINES): Add arc-dis.o and arc-opc.o.
665
666 end-sanitize-arc
667 Wed Jun 21 20:05:39 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
668
669 * m68k-dis.c (print_insn_arg, print_indexed): Print "%" before
670 register names.
671
672 Thu Jun 15 17:23:31 1995 Stan Shebs <shebs@andros.cygnus.com>
673
674 * mpw-config.in: Add sh and i386 configs, remove sparc config.
675 * sh-opc.h: Add copyright.
676
677 Mon Jun 5 03:30:43 1995 Ken Raeburn <raeburn@kr-laptop.cygnus.com>
678
679 * Makefile.in (crunch-m68k): Delete extra target accidentally
680 checked in a while ago.
681
682 Wed May 24 16:22:13 1995 Jim Wilson <wilson@chestnut.cygnus.com>
683
684 * sh-opc.h (sh_table): Add SH3 support.
685
686 Wed May 24 14:16:08 1995 Steve Chamberlain <sac@slash.cygnus.com>
687
688 * sh-opc.h: Added bsrf and braf.
689
690 Wed May 10 14:28:16 1995 Richard Earnshaw (rearnsha@armltd.co.uk)
691
692 * arm-opc.h (arm_opcodes): Add 64-bit multiply patterns. Delete
693 bogus [ls]fm{ea,fd} patterns.
694
695 * arm-opc.h (arm_opcodes): Correct typos in stm, ldm, std, and ldc.
696 * arm-dis.c (print_insn_arm): Make GIVEN a parameter, don't try and
697 initialize it from memory. Make function static.
698 (print_insn_{big,little}_arm): New functions.
699 * disassemble.c (disassembler, case bfd_arch_arm): Disassemble for
700 the correct endianness.
701
702 start-sanitize-arc
703 Sat Apr 29 23:20:05 1995 Doug Evans <dje@chestnut.cygnus.com>
704
705 * arc-opc.c (arc_opcodes): Add ARC_OPCODE_CONDITIONAL_BRANCH flag.
706 (arc_suffixes): Use ARC_DELAY_{NONE,NORMAL,JUMP}.
707 end-sanitize-arc
708
709 Mon Apr 24 14:18:05 1995 Jason Molenda (crash@phydeaux.cygnus.com>
710
711 * sh-opc.h (sh_nibble_type, sh_arg_type): remove trailing , from
712 enum list.
713
714 Wed Apr 19 14:07:03 1995 Michael Meissner <meissner@tiktok.cygnus.com>
715
716 * m68k-dis.c (opcode): Finish change made by Kung Hsu on April
717 17th, so that it builds again using GCC as the compiler.
718
719 Tue Apr 18 12:14:51 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
720
721 * mips-dis.c (print_insn_little_mips): Cast return value from
722 bfd_getl32 from bfd_vma to unsigned long, because _print_insn_mips
723 expects an unsigned long, and that might be fewer words of
724 argument storage (e.g., if bfd_vma is long long on a 32-bit
725 machine).
726 (print_insn_big_mips): Likewise with bfd_getb32 value.
727 (_print_insn_mips): Now static.
728
729 Mon Apr 17 12:23:28 1995 Kung Hsu <kung@rtl.cygnus.com>
730
731 * m68k-dis.c: Take out #define BREAK_UP_BIG_DECL kludge, because
732 gcc memory hog problem with initializer is fixed.
733
734 start-sanitize-arc
735 Wed Apr 12 09:04:12 1995 Doug Evans <dje@canuck.cygnus.com>
736
737 * arc-opc.c (NULL): Define.
738 (arc_operands, insn fields u,s): Delete.
739 (arc_operands, insn fields a,b,c): Mark as signed.
740 (arc_opcodes): No longer const, links computed at run-time.
741 (arc_opcodes, mac/mul insns): Breakout suffixes as we don't handle
742 suffixes that affect the insn code.
743 (arc_opcodes): Resort table to macros are first.
744 (arc_opcodes, ld [b,c] entry): Add %Q to prevent shimms.
745 (arc_opcodes, st [b] entry): Likewise.
746 (arc_opcodes, st [b,d] entry): Fix mask, value.
747 (arc_reg_names): Add entries for r29, r30, r31, r60.
748 (opcode_map, icode_map): New static globals.
749 (arc_opcode_init_tables): Initialize them.
750 (arc_opcode_lookup_asm, arc_opcode_lookup_dis): New functions.
751 (insert_shimmoffset): Signal error if register present.
752 Validate constant.
753 * arc-dis.c (print_insn): Call arc_opcode_lookup_dis.
754 end-sanitize-arc
755
756 Mon Apr 10 15:55:01 1995 Stan Shebs <shebs@andros.cygnus.com>
757
758 Merge in support for Mac MPW as a host.
759 (Old change descriptions retained for informational value.)
760
761 * mpw-config.in (archname): Compute from the config.
762 (BFD_MACHINES, ARCHDEFS): Put into mk.tmp.
763
764 * mpw-config.in (target_arch): Compute from canonical target.
765 (m68k, mips, powerpc, sparc): Add architectures.
766 * mpw-make.in (disassemble.c.o): Add.
767 (ALL_CFLAGS): Remove special flags (-mc68020 -mc68881 -model far).
768
769 * mpw-config.in (BFD_MACHINES): Set to a default value.
770 * mpw-make.in (BFD_MACHINES): Remove wired-in value.
771
772 * mpw-make.in (CSEARCH): Add extra-include to search path.
773
774 * mpw-config.in (varargs.h): Don't create.
775 (sysdep.h): Create using forward-include.
776 * mpw-make.in (CSEARCH): Add include/mpw to search path.
777
778 * mpw-config.in: New file, MPW version of configure.in.
779 * mpw-make.in: New file, MPW version of Makefile.in.
780
781 start-sanitize-arc
782 Thu Apr 6 20:36:08 1995 Doug Evans <dje@chestnut.cygnus.com>
783
784 * arc-dis.c (print_insn): New parameter `big_p'. Callers updated.
785 Call arc_get_opcode_mach to map bfd mach number to opcode value.
786 (print_insn_*): Pass bfd mach number, not opcode version.
787 * arc-opc.c (arc_get_opcode_mach): New function.
788 end-sanitize-arc
789
790 Fri Mar 31 14:23:38 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
791
792 * alpha-dis.c (print_insn_alpha): Put empty statement after
793 default label.
794
795 Tue Mar 21 10:51:40 1995 Jeff Law (law@snake.cs.utah.edu)
796
797 * hppa-dis.c (sign_extend): Delete, redundant with libhppa.h version.
798 (low_sign_extend): Likewise.
799 (get_field): Delete unused function.
800 (set_field, deposit_14, deposit_21): Likewise.
801
802 Fri Mar 17 15:55:53 1995 J.T. Conklin <jtc@rtl.cygnus.com>
803
804 * i386-dis.c: Support for more pentium opcodes. From Guy Harris
805 (guy@netapp.com).
806
807 Tue Mar 14 00:52:57 1995 Ken Raeburn (raeburn@kr-pc.cygnus.com)
808
809 Sat Feb 11 17:22:41 1995 Klaus Kaempf (kkaempf@didymus.rmi.de)
810
811 * alpha-opc.h (OSF_ASMCODE): define
812 print pal-code names as defined in App C of the
813 Alpha Architecture Reference Manual
814
815 * alpha-dis.c: cleaned up output
816 print stylized code forms as defined in App A.4.3 of the
817 Alpha Architecture Reference Manual
818
819 Wed Mar 8 15:21:14 1995 Ian Lance Taylor <ian@cygnus.com>
820
821 * mips-opc.c: Add new mips4 instructions. Don't set INSN_RFE for
822 `rfe'.
823 * mips-dis.c (print_insn_arg): Handle new argument types 'h', 'R',
824 'N', and 'M'.
825
826 Wed Mar 8 02:54:05 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
827
828 * m68k-dis.c (opcode): New function. Returns address of opcode
829 table entry given index, even if the opcode table was split to
830 work around gcc bugs.
831 (print_insn_m68k): Call opcode instead of referencing m68k_opcodes
832 directly.
833 (BREAK_UP_BIG_DECL): Make secondary array static and const.
834 (reg_names): Now const.
835 (print_insn_arg): Arrays cacheFieldName and names now const.
836 (print_indexed): Array scales now const.
837
838 start-sanitize-arc
839 Tue Mar 7 21:14:14 1995 Doug Evans <dje@chestnut.cygnus.com>
840
841 * arc-dis.c (print_insn_arc_base): Split into big and little fns.
842 (print_insn_arc_{host,graphics,audio}): Likewise.
843 (print_insn): Add prototype.
844 (arc_get_disassembler): New arg `big_p'. Return little or big
845 print fn accordingly.
846 * arc-opc.c (arc_opcode_init_tables): Init arc_operand_map once.
847 (arc_opcode_supported): Use ARC_OPCODE_CPU to ignore byte order.
848 (arc_opval_supported): Likewise.
849 * disassemble.c (disassembler): Pass big endian flag to
850 arc_get_disassembler.
851 end-sanitize-arc
852
853 Tue Mar 7 16:41:21 1995 Ian Lance Taylor <ian@cygnus.com>
854
855 * ppc-opc.c: Sort recently added instructions by minor opcode
856 number within major opcode number.
857
858 Mon Mar 6 10:04:36 1995 Jeff Law (law@snake.cs.utah.edu)
859
860 * hppa-dis.c: Include libhppa.h.
861
862 Fri Feb 24 19:15:36 1995 Ian Lance Taylor <ian@cygnus.com>
863
864 * mips-opc.c: Change dli to use M_DLI, and add dla.
865
866 Mon Feb 20 23:54:38 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
867
868 * Makefile.in (ALL_MACHINES): Add w65-dis.o.
869
870 start-sanitize-arc
871 Fri Feb 17 12:42:25 1995 Doug Evans <dje@chestnut.cygnus.com>
872
873 * arc-dis.c (arc_get_disassembler): Change argument to int,
874 one of bfd_mach_arc_xxx. All callers updated.
875 end-sanitize-arc
876
877 Thu Feb 16 17:34:41 1995 Ian Lance Taylor <ian@cygnus.com>
878
879 * mips-opc.c: Add r4650 mul instruction.
880
881 Wed Feb 15 15:45:20 1995 Ian Lance Taylor <ian@cygnus.com>
882
883 * mips-opc.c: Add uld and usd macros for unaligned double load and
884 store.
885
886 Tue Feb 14 13:17:37 1995 Michael Meissner <meissner@tiktok.cygnus.com>
887
888 * ppc-opc.c (powerpc_opcodes): Add 403GA opcodes rfci, dccci,
889 mfdcr, mtdcr, icbt, iccci.
890
891 start-sanitize-arc
892 Mon Feb 13 11:09:17 1995 Doug Evans <dje@canuck.cygnus.com>
893
894 * arc-dis.c (print_insn): Handle ARC_OPERAND_ADDRESS.
895 * arc-opc.c (arc_operands): New operand 'J' for jump addresses.
896 ('L' operand): Mark as ARC_OPERAND_ADDRESS.
897 (arc_opcodes, j insn): Use 'J' operand type, not 'L'.
898 (arc_opcodes, ld/st insns): Fix address writeback operand letter.
899 (insert_absaddr): New function.
900
901 Thu Feb 9 19:19:23 1995 Doug Evans <dje@canuck.cygnus.com>
902
903 * arc-dis.c (print_insn_arc): Rename to print_insn and make static.
904 New argument `cpu', pass it to arc_opcode_init_tables.
905 Document byte order dependencies. Ignore unsupported insns.
906 (arc_get_disassembler): New function.
907 (print_insn_arc_base, print_insn_arc_host, print_insn_arc_graphics,
908 print_insn_arc_audio): New functions.
909 * arc-opc.c (MULTSHIFT operand): Delete.
910 (UNSIGNED, SATURATION): New operands.
911 (mac, mul, mul64, mulu64): New insns.
912 (ext. asl, asr, lsr, ror): Only available on host and graphics cpus.
913 (padc, padd, pmov, pand, psbc, psub, swap): New insns.
914 (host,graphics,audio extended and auxiliary regs): Define.
915 (ss, sc, mh, ml): New suffixes.
916 (arc_opcode_supported, arc_opval_supported): New functions.
917 (insert_multshift, extract_multshift): Deleted.
918 * disassemble.c (disassembler, case bfd_arch_arc): Call
919 arc_get_disassembler to get disassembler routine.
920 end-sanitize-arc
921
922 Thu Feb 9 12:28:13 1995 Stan Shebs <shebs@andros.cygnus.com>
923
924 * i960-dis.c (struct tabent, struct sparse_tabent): Change the
925 signed char fields to shorts, more portable.
926
927 Wed Feb 8 17:29:29 1995 Stan Shebs <shebs@andros.cygnus.com>
928
929 * i960-dis.c (struct tabent, struct sparse_tabent): Declare the
930 char fields as signed chars, since they may have negative values.
931
932 Mon Feb 6 10:52:06 1995 J.T. Conklin <jtc@rtl.cygnus.com>
933
934 * i386-dis.c (dis386_twobyte): Add cpuid, From Charles Hannum
935 (mycroft@netbsd.org).
936
937 Mon Jan 30 12:38:00 1995 Ian Lance Taylor <ian@cygnus.com>
938
939 From "Logg, Ed" <elogg@ea.com>:
940 * ppc-opc.c (extract_bdm): Correct parenthezisation.
941 * ppc-dis.c (print_insn_powerpc): Print .long before unrecognized
942 value.
943
944 Thu Jan 26 18:32:08 1995 Ian Lance Taylor <ian@cygnus.com>
945
946 * ppc-opc.c: Changes based on patch from David Edelsohn
947 <edelsohn@mhpcc.edu>.
948 (powerpc_operands): Add operands SPRBAT and SPRG. Split TBR out of
949 SPR.
950 (FXM_MASK): Define.
951 (insert_tbr): New static function.
952 (extract_tbr): New static function.
953 (XFXFXM_MASK, XFXM): Define.
954 (XSPRBAT_MASK, XSPRG_MASK): Define.
955 (powerpc_opcodes): Add instructions to access special registers by
956 name. Add mtcr and mftbu.
957
958 Tue Jan 17 10:56:43 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
959
960 * mips-opc.c (P3): Define.
961 (mips_opcodes): Add mad and madu.
962
963 Sun Jan 15 16:32:59 1995 Steve Chamberlain <sac@splat>
964
965 * configure.in: Add W65 support.
966 * disassemble.c: Likewise.
967 * w65-opc.h, w65-dis.c: New files.
968
969 Wed Dec 28 22:15:33 1994 Steve Chamberlain (sac@jonny.cygnus.com)
970
971 * h8300-dis.c (bfd_h8_disassemble): Add support for 2 bit
972 immediates.
973
974 start-sanitize-arc
975 Tue Dec 20 10:36:55 1994 Doug Evans <dje@canuck.cygnus.com>
976
977 * arc-dis.c (print_insn_arc): Branch offsets are relative to delay
978 slot.
979 * arc-opc.c (extract_reladdr): New function.
980 (insert_reladdr): Store address right-shifted by 2.
981 end-sanitize-arc
982
983 Tue Dec 20 11:25:12 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
984
985 * mips-opc.c: Add dli as a synonym for li.
986
987 start-sanitize-arc
988 Mon Dec 19 12:35:51 1994 Doug Evans <dje@canuck.cygnus.com>
989
990 * arc-opc.c (insertion fns): Pass pointer to value's table entry.
991 All uses changed.
992 (extraction fns): Insn argument now array of two words. Return pointer
993 to value's table entry. All uses changed.
994 (arc_opcode_lookup_suffix): Exported for arc-dis.c.
995 (insert_multshift, extract_multshift): New fns.
996 (arc_operands): Add support for cache bypass suffix. Add support for
997 predefined aux regs. Modifier bits moved to flags field.
998 (arc_opcodes): Likewise.
999 Add mul/mulu/shift insns. Syntax of zero/sign extension insns changed.
1000 New insn rlc. Update to syntax in programmer's manual.
1001 (arc_reg_names): Fix typo in lp_count. Add predefined aux regs.
1002 (arc_suffixes): New synonyms lo,hs for cs,cc. New suffix for cache
1003 bypass.
1004 (arc_opcode_init_tables): New argument to indicate cpu type.
1005 (insert_reg): Handle predefined aux regs.
1006 (extract_reg): Likewise.
1007 (lookup_register): New fn.
1008 * arc-dis.c (arc_condition_codes): Deleted.
1009 (print_insn_arc): Handle insns with 32 bit immediate constants better.
1010 Clean up modifier handling. Handle predefined aux regs.
1011 end-sanitize-arc
1012
1013 Thu Dec 8 18:23:31 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
1014
1015 * alpha-dis.c (print_insn_alpha): Handle call_pal instruction, and
1016 print something for reserved opcode values, even if it won't
1017 assemble again.
1018
1019 * mips-dis.c (_print_insn_mips): When initializing, shift right
1020 and mask, to avoid sign extension problems on the Alpha.
1021
1022 * m68k-dis.c (print_insn_arg, case 'J'): Handle buscr and pcr
1023 control registers.
1024
1025 start-sanitize-arc
1026 Tue Nov 29 18:02:43 1994 Doug Evans <dje@canuck.cygnus.com>
1027
1028 * configure.in: Add ARC support.
1029 * disassemble.c: Likewise.
1030 * arc-dis.c, arc-opc.c: New files.
1031 end-sanitize-arc
1032
1033 Wed Nov 23 22:34:51 1994 Steve Chamberlain (sac@jonny.cygnus.com)
1034
1035 * sh-opc.h (mov.l gbr): Get direction right.
1036 * sh-dis.c (print_insn_shx): New function.
1037 (print_insn_shl, print_insn_sh): Call print_insn_shx to
1038 print opcodes with right byte order.
1039
1040 Thu Nov 3 19:32:22 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
1041
1042 * ns32k-dis.c (struct ns32k_option): Renamed from struct option,
1043 to avoid conflicts with getopt.
1044
1045 Mon Oct 31 18:48:10 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
1046
1047 * hppa-dis.c (print_insn_hppa): Read the instruction using
1048 bfd_getb32, so that it works on a little endian or 64 bit host.
1049 Remove unused local variable op.
1050
1051 Tue Oct 25 17:07:57 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
1052
1053 * mips-opc.c: Use or instead of addu for pseudo-op move, since
1054 addu does not work correctly if -mips3.
1055
1056 Wed Oct 19 13:40:16 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
1057
1058 * a29k-dis.c (print_special): Add special register names defined
1059 on 29030, 29040 and 29050.
1060 (print_insn): Handle new operand type 'I'.
1061
1062 Wed Oct 12 11:59:55 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
1063
1064 * Makefile.in (INSTALL): Use top level install.sh script.
1065
1066 Wed Oct 5 19:16:29 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
1067
1068 * sparc-dis.c: Rewrite to use bitfields, rather than a union, so
1069 that it works on a little endian host.
1070
1071 Tue Oct 4 12:14:21 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
1072
1073 * configure.in: Use ${config_shell} when running config.bfd.
1074
1075 Wed Sep 21 18:49:12 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
1076
1077 * mips-opc.c (mips_opcodes): "dabs" is only available with -mips3.
1078
1079 Thu Sep 15 16:30:22 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
1080
1081 * a29k-dis.c (print_insn): Print the opcode.
1082
1083 Wed Sep 14 17:52:14 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
1084
1085 * mips-opc.c (mips_opcodes): Set WR_t for sc and scd.
1086
1087 Sun Sep 11 22:32:17 1994 Jeff Law (law@snake.cs.utah.edu)
1088
1089 * hppa-dis.c (reg_names): Use r26-r23 for arg0-arg3.
1090
1091 Tue Sep 6 11:37:12 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
1092
1093 * mips-opc.c: Set INSN_STORE_MEMORY flag for all instructions
1094 which store a value into memory.
1095
1096 Sun Sep 04 17:58:10 1994 Richard Earnshaw (rwe@pegasus.esprit.ec.org)
1097
1098 * configure.in, Makefile.in, disassemble.c: Add support for the ARM.
1099 * arm-dis.c, arm-opc.h: New files.
1100
1101 Fri Aug 5 14:00:05 1994 Stan Shebs (shebs@andros.cygnus.com)
1102
1103 * Makefile.in (ns32k-dis.o): Add dependency.
1104 * ns32k-dis.c (print_insn_arg): Declare initialized local as
1105 string, not as array of chars.
1106
1107 Thu Jul 28 18:14:16 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
1108
1109 * sparc-dis.c (print_insn_sparc): Handle new operand type 'x'.
1110
1111 * sparc-opc.c: Added sparclite extended FP operations, and
1112 versions of v9 impdep* instructions permitting specification of
1113 the OPF field.
1114
1115 Tue Jul 26 16:36:03 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
1116
1117 * i960-dis.c (reg_names): Now const.
1118 (struct sparse_tabent): New type, copied from array type in mem
1119 function.
1120 (ctrl): Local static array ctrl_tab now const.
1121 (cobr): Local static array cobr_tab now const.
1122 (mem): Local variables reg1, reg2, reg3 now point to const. Local
1123 static variable mem_tab no longer explicitly initialized. Changed
1124 mem_init to const array of struct sparse_tabent.
1125 (reg): Local static variable reg_tab no longer explicitly
1126 initialized. Changed reg_init to const array of struct
1127 sparse_tabent.
1128 (ea): Local static array scale_tab now const.
1129
1130 * i960-dis.c (reg): Added i960JX instructions to reg_init table.
1131 (REG_MAX): Updated.
1132
1133 Tue Jul 19 21:00:00 1994 DJ Delorie (dj@ctron.com)
1134
1135 * configure.bat: the disassember needs to be enabled for
1136 "objdump -d" to work in djgpp.
1137
1138 Wed Jul 13 18:01:58 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
1139
1140 * ns32k-dis.c: Deleted all code in "#ifdef GDB".
1141 (invalid_float): Enabled general version, doesn't require running
1142 on ns32k host. Changed to take char* argument, and test for
1143 explicitly specified sizes, instead of using sizeof() on host CPU
1144 types.
1145 (INVALID_FLOAT): Cast first argument.
1146 (opt_u, opt_U, opt_O, opt_C, opt_S, list_P532, list_M532,
1147 list_P032, list_M032): Now const.
1148 (optlist, list_search): Made appropriate arguments now point to
1149 const.
1150 (print_insn_arg): Changed static array of one-character-string
1151 pointers into a static const array of characters; fixed sprintf
1152 statement accordingly.
1153
1154 Sun Jul 10 00:27:47 1994 Ian Dall (dall@hfrd.dsto.gov.au)
1155
1156 * opcodes/ns32k-dis.c: Semi-new file. Had apparently been dropped
1157 from distribution. A ns32k-dis.c from a previous distribution has
1158 been brought up to date and supports the new interface.
1159
1160 * disassemble.c: define ARCH_ns32k and add case bfd_arch_ns32k.
1161
1162 * configure.in: add bfd_ns32k_arch target support.
1163
1164 * Makefile.in: add ns32k-dis.o to ALL_MACHINES.
1165 Add ns32k-dis.c to CFILES. Add dependencies for ns32k-dis.o.
1166
1167 Wed Jun 29 22:10:37 1994 Steve Chamberlain (sac@cygnus.com)
1168
1169 * h8300-dis.c (bfd_h8_disassemble): Get 16bit branch
1170 disassembly right.
1171
1172 Tue Jun 28 13:22:06 1994 Stan Shebs (shebs@andros.cygnus.com)
1173
1174 * h8300-dis.c, mips-dis.c: Don't use true and false.
1175
1176 Thu Jun 23 12:53:19 1994 David J. Mackenzie (djm@rtl.cygnus.com)
1177
1178 * configure.in: Change --with-targets to --enable-targets.
1179
1180 Wed Jun 22 13:38:32 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
1181
1182 * mips-dis.c (_print_insn_mips): Build a static hash table mapping
1183 opcodes to the first instruction with that opcode, to speed
1184 disassembly of large files. From ralphc@pyramid.com (Ralph
1185 Campbell).
1186
1187 Tue Jun 7 12:49:44 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1188
1189 * Makefile.in (mostlyclean): Fix typo (was mostyclean).
1190
1191 Wed May 11 22:32:00 1994 DJ Delorie (dj@ctron.com)
1192
1193 * configure.bat: update to latest makefile.in
1194
1195 Sat May 7 17:13:21 1994 Steve Chamberlain (sac@cygnus.com)
1196
1197 * a29k-dis.c (print_insn): Print 'x' type operand in hex.
1198 * h8300-dis.c (bfd_h8_disassemble): Print 16bit rels correctly.
1199 * sh-dis.c (print_insn_sh): Don't recur endlessly if delay
1200 slot insn is in a delay slot.
1201 * z8k-opc.h: (resflg): Fix patterns.
1202 * h8500-opc.h Fix CR insn patterns.
1203
1204 Fri May 6 14:34:46 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1205
1206 * ppc-opc.c (powerpc_opcodes): Put PowerPC versions of "cmp" and
1207 "cmpl" before POWER versions, so that gas -many uses them.
1208
1209 Thu Apr 28 18:32:36 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
1210
1211 * disassemble.c: New file.
1212 * Makefile.in (OFILES): Add disassemble.o.
1213 (disassemble.o): Provide dependencies; compile with $(ARCHDEFS).
1214 * configure.in: Define ARCHDEFS in Makefile. Code taken from
1215 binutils/configure.in.
1216
1217 * m68k-dis.c (print_insn_m68k): If F_ALIAS flag is set, skip the
1218 opcode being examined.
1219
1220 Thu Apr 21 17:08:40 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1221
1222 * ppc-opc.c (powerpc_operands): Added RAL, RAM and RAS.
1223 (insert_ral, insert_ram, insert_ras): New functions.
1224 (powerpc_opcodes): Use RAL for load with update, RAM for lmw, and
1225 RAS for store with update.
1226
1227 Sat Apr 16 23:41:44 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1228
1229 * ppc-opc.c (powerpc_opcodes): Correct fcir. From David Edelsohn
1230 (edelsohn@npac.syr.edu).
1231
1232 Wed Apr 6 17:11:45 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1233
1234 * mips-opc.c (mips_opcodes): Correct operands of "nor" with an
1235 immediate argument.
1236
1237 Mon Apr 4 16:30:46 1994 Doug Evans (dje@canuck.cygnus.com)
1238
1239 * sparc-opc.c (sparc_opcodes): Fix "rd %fprs,%l0".
1240
1241 Mon Apr 4 13:22:00 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1242
1243 * ppc-opc.c (powerpc_operands): The signedp field has been
1244 removed, so don't initialize it. Set the PPC_OPERAND_SIGNED flag
1245 instead. Add new operand SISIGNOPT.
1246 (powerpc_opcodes): For lis, liu, addis, and cau use SISIGNOPT.
1247 Based on patch from David Edelsohn (edelsohn@npac.syr.edu).
1248 * ppc-dis.c (print_insn_powerpc): Check PPC_OPERAND_SIGNED rather
1249 than signedp field.
1250
1251 Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1252
1253 * i386-dis.c (struct private): Renamed to dis_private. `private'
1254 is a reserved word for dynix cc.
1255
1256 Mon Mar 28 13:00:15 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1257
1258 * configure.in: Change error message to refer to bfd/config.bfd
1259 rather than bfd/configure.in.
1260
1261 Mon Mar 28 12:28:30 1994 David Edelsohn (edelsohn@npac.syr.edu)
1262
1263 * ppc-opc.c: Define POWER2 as short alias flag.
1264 (powerpc_opcodes): Add POWER/2 opcodes lfq*, stfq*, fcir[z], and
1265 fsqrt.
1266
1267 Wed Mar 23 12:23:05 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1268
1269 * i960-dis.c (print_insn_i960): Don't read a second word for
1270 opcodes 0, 1, 2 and 3.
1271
1272 Wed Mar 16 15:37:58 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1273
1274 * configure.in: Don't build m68881-ext.o for bfd_m68k_arch.
1275
1276 Mon Mar 14 14:53:50 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1277
1278 * m68881-ext.c: Removed; no longer used.
1279 * Makefile.in: Changed accordingly.
1280
1281 * m68k-dis.c (ext_format_68881): Don't declare.
1282 (print_insn_m68k): If an instruction uses place 'i', it uses at
1283 least four fixed bytes.
1284 (print_insn_arg): Don't bump p by 2 for case 'I', place 'i'. For
1285 extended float, convert to double using floatformat_to_double, not
1286 ieee_extended_to_double, and fetch the data before converting it.
1287
1288 Tue Mar 8 18:12:25 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1289
1290 * mips-opc.c: It's sqrt.s, not sqrt.w. From
1291 davidj@ICSI.Berkeley.EDU (David Johnson).
1292
1293 Tue Feb 8 16:55:27 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1294
1295 * ppc-opc.c (powerpc_opcodes): The POWER uses bdn[l][a] where the
1296 PowerPC uses bdnz[l][a].
1297
1298 Tue Feb 8 00:32:28 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1299
1300 * dis-buf.c, i386-dis.c: Include sysdep.h.
1301
1302 Mon Feb 7 19:22:23 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1303
1304 * configure.in (bfd_powerpc_arch): Use ppc-dis.o and ppc-opc.o.
1305
1306 * ppc-opc.c (powerpc_opcodes): Mark POWER instructions supported
1307 by Motorola PowerPC 601 with PPC_OPCODE_601.
1308 * ppc-dis.c (print_insn_big_powerpc, print_insn_little_powerpc):
1309 Disassemble Motorola PowerPC 601 instructions as well as normal
1310 PowerPC instructions.
1311
1312 Sun Feb 6 07:45:17 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1313
1314 * i960-dis.c (reg, mem): Just use a static array instead of
1315 calling xmalloc.
1316
1317 Sat Feb 5 00:04:02 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
1318
1319 * hppa-dis.c (print_insn_hppa): For '?' and '@' only adjust the
1320 condition name index if this is for a negated condition.
1321
1322 * hppa-dis.c (print_insn_hppa): No space before 'H' operand.
1323 Floating point format for 'H' operand is backwards from normal
1324 case (0 == double, 1 == single). For '4', '6', '7', '9', and '8'
1325 operands (fmpyadd and fmpysub), handle bizarre register
1326 translation correctly for single precision format.
1327
1328 * hppa-dis.c (print_insn_hppa): Do not emit a space after 'F'
1329 or 'I' operands if the next format specifier is 'M' (fcmp
1330 condition completer).
1331
1332 Feb 4 23:38:03 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1333
1334 * ppc-opc.c (powerpc_operands): New operand type MBE to handle a
1335 single number giving a bitmask for the MB and ME fields of an M
1336 form instruction. Change NB to accept 32, and turn it into 0;
1337 also turn 0 into 32 when disassembling. Seperated SH from NB.
1338 (insert_mbe, extract_mbe): New functions.
1339 (insert_nb, extract_nb): New functions.
1340 (SC_MASK): Mask out SA and LK bits.
1341 (powerpc_opcodes): Change "cal" to use RT, D, RA rather than RT,
1342 RA, SI. Change "liu" and "cau" to use UI rather than SI. Mark
1343 "bctr" and "bctrl" as accepted by POWER. Change "rlwimi",
1344 "rlimi", "rlwimi.", "rlimi.", "rlwinm", "rlinm", "rlwinm.",
1345 "rlinm.", "rlmi", "rlmi.", "rlwnm", "rlnm", "rlwnm.", "rlnm." to
1346 use MBE rather than MB. Add "mfmq" and "mtmq" POWER instructions.
1347 (powerpc_macros): Define table of macro definitions.
1348 (powerpc_num_macros): Define.
1349
1350 * ppc-dis.c (print_insn_powerpc): Don't skip optional operands
1351 if PPC_OPERAND_NEXT is set.
1352
1353 Sat Jan 22 23:10:07 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1354
1355 * i960-dis.c (print_insn_i960): Make buffer bfd_byte instead of
1356 char. Retrieve contents using bfd_getl32 instead of shifting.
1357
1358 Fri Jan 21 19:01:39 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1359
1360 * ppc-opc.c: New file. Opcode table for PowerPC, including
1361 opcodes for POWER (RS/6000).
1362 * ppc-dis.c: New file. PowerPC and Power (RS/6000) disassembler.
1363 * Makefile.in (ALL_MACHINES): Add ppc-dis.o and ppc-opc.o.
1364 (CFILES): Add ppc-dis.c.
1365 (ppc-dis.o, ppc-opc.o): New targets.
1366 * configure.in: Build ppc-dis.o and ppc-opc.o for bfd_rs6000_arch.
1367
1368 Mon Jan 17 20:05:49 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
1369
1370 * hppa-dis.c (print_insn_hppa): Handle 'N' in assembler template.
1371 No space before 'u', 'f', or 'N'.
1372
1373 Sun Jan 16 14:20:16 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
1374
1375 * i386-dis.c (print_insn_i386): Add FIXME comment regarding reading
1376 farther than we should.
1377
1378 * i386-dis.c (dis386): Use Yb and Yv for scasb and scasS.
1379
1380 Thu Jan 6 12:38:05 1994 David J. Mackenzie (djm@thepub.cygnus.com)
1381
1382 * sparc-dis.c m68k-dis.c alpha-dis.c a29k-dis.c: Fix comments.
1383
1384 Wed Jan 5 11:56:21 1994 David J. Mackenzie (djm@thepub.cygnus.com)
1385
1386 * i960-dis.c (print_insn_i960): Only read word2 if the instruction
1387 needs it, to prevent reading past the end of a section.
1388
1389 Wed Nov 17 17:20:12 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1390
1391 * mips-opc.h: Use macro for j instruction, to support SVR4 PIC.
1392 Removed t,A case for la; always use t,A(b) case.
1393
1394 Mon Nov 8 12:37:36 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1395
1396 From Ted Lemen <mellon@pepper.ncd.com>
1397 * mips-dis.c (print_insn_arg): Handle 'k'.
1398 * mips-opc.c: Make cache use k, not t.
1399
1400 Sun Nov 7 23:52:34 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1401
1402 * alpha-opc.h, alpha-dis.c (print_insn_alpha): Add
1403 FLOAT_MEMORY_FORMAT_CODE, FLOAT_BRANCH_FORMAT_CODE, correct
1404 FLOAT_FORMAT_CODE to put out floating point register names.
1405
1406 Mon Nov 1 18:17:51 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1407
1408 * mips-opc.c: Use macros for jal variants, to support SVR4 PIC.
1409
1410 Thu Oct 28 17:42:23 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1411
1412 * a29k-dis.c (print_insn): Use 0x%08x, not 0x%8x.
1413
1414 Wed Oct 27 11:48:01 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1415
1416 * mips-opc.c (dsll, dsra, dsrl): Added '>' cases for shift counts
1417 larger than 32. Moved dsxx32 variants first for disassembler.
1418
1419 Mon Oct 25 11:33:14 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
1420
1421 * z8kgen.c, z8k-opc.h: Add full lda information.
1422
1423 Tue Oct 19 12:39:25 1993 Jeffrey A Law (law@cs.utah.edu)
1424
1425 * hppa-dis.c (print_insn_hppa): Do not emit a space after
1426 movb instructions. Any necessary space will be emitted by
1427 the code to handle nullification completers.
1428
1429 Wed Oct 13 16:19:07 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1430
1431 * mips-opc.c: Moved l.d down so that it disassembles as ldc1.
1432
1433 Fri Oct 8 02:34:21 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1434
1435 * alpha-opc.h: Add ldl_l, fix typo for ldq_u.
1436 * alpha-dis.c (print_insn_alpha): Add code for PAL_FORMAT_CODE.
1437
1438 Tue Oct 5 17:47:53 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1439
1440 * mips-opc.c: Correct lwu opcode value (book had it wrong).
1441
1442 Thu Sep 30 11:26:18 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
1443
1444 * z8k-dis.c (FETCH_DATA): get just the right amount of data.
1445 (unpack_instr): Cope with ARG_IMM4M1 type instructions.
1446
1447 Wed Sep 29 16:24:49 1993 K. Richard Pixley (rich@sendai.cygnus.com)
1448
1449 * m88k-dis.c (m88kdis): comment change. Remove space after
1450 printing mnemonic.
1451 (printop): handle new arg types DEC and XREG for m88110.
1452
1453 Tue Sep 28 19:20:16 1993 Jeffrey A Law (law@snake.cs.utah.edu)
1454
1455 * hppa-dis.c (print_insn_hppa): Handle 'z' operand
1456 type for absolute branch addresses. Delete special
1457 "ble" and "be" code in 'W' operand code.
1458
1459 Fri Sep 24 14:08:33 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1460
1461 * mips-opc.c: Set hazard information correctly for branch
1462 likely instructions.
1463
1464 Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1465
1466 * alpha-dis.c (print_insn_alpha), alpha-opc.h: Fix bugs, use
1467 info->fprintf_func for printing and info->print_address_func for
1468 address output.
1469
1470 Wed Sep 15 12:12:07 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1471
1472 * mips-opc.c: Set INSN_TRAP for tXX instructions.
1473
1474 Thu Sep 9 10:11:27 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1475
1476 * mips-opc.c: From davidj@ICSI.Berkeley.EDU (David Johnson):
1477 Corrected second case of "b" for disassembler.
1478
1479 Tue Sep 7 14:25:15 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1480
1481 * mips-dis.c, m88k-dis.c: Don't include libbfd.h. Changed calls
1482 to BFD swapping routines to correspond to BFD name changes.
1483
1484 Thu Sep 2 10:35:25 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1485
1486 * mips-opc.c: Change div machine instruction to be z,s,t rather
1487 than s,t. Change div macro to be d,v,t rather than d,s,t.
1488 Likewise for divu, ddiv, ddivu. Added z,s,t case for drem, dremu,
1489 rem and remu which generates only the corresponding div
1490 instruction. This is for compatibility with the MIPS assembler,
1491 which only generates the simple machine instruction when an
1492 explicit destination of $0 is used.
1493 * mips-dis.c (print_insn_arg): Handle 'z' (always register zero).
1494
1495 Thu Aug 26 17:41:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1496
1497 * mips-opc.c: From davidj@ICSI.Berkeley.EDU (David Johnson): Set
1498 WR_31 hazard for bal, bgezal, bltzal.
1499
1500 Thu Aug 26 17:20:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1501
1502 * hppa-dis.c (print_insn_hppa): Use print function
1503 from within the disassemble_info, not fprintf_filtered.
1504
1505 Wed Aug 25 13:51:40 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
1506
1507 * hppa-dis.c (print_insn_hppa): Handle '|' like '>'. (From Jeff
1508 Law, law@cs.utah.edu.)
1509
1510 Mon Aug 23 12:44:05 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1511
1512 * mips-opc.c ("absu"): Removed.
1513 ("dabs"): Added.
1514
1515 Fri Aug 20 10:52:52 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1516
1517 * mips-opc.c: Added r6000 and r4000 instructions and macros.
1518 Changed hazard information to distinguish between memory load
1519 delays and coprocessor load delays.
1520
1521 Wed Aug 18 15:39:23 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1522
1523 * mips-opc.c: li.d uses "T,L", not "S,F". Added li.s.
1524
1525 Tue Aug 17 09:44:42 1993 David J. Mackenzie (djm@thepub.cygnus.com)
1526
1527 * configure.in: Don't pass cpu to config.bfd.
1528
1529 Tue Aug 17 12:23:52 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1530
1531 * m88k-dis.c (m88kdis): Make class unsigned.
1532
1533 Thu Aug 12 15:08:18 1993 Ian Lance Taylor (ian@cygnus.com)
1534
1535 * alpha-dis.c (print_insn_alpha): One branch format case was
1536 missing the instruction name.
1537
1538 Wed Aug 11 19:29:39 1993 David J. Mackenzie (djm@thepub.cygnus.com)
1539
1540 * Makefile.in (ALL_MACHINES): Renamed from DIS_LIBS.
1541 Add the arch-specific auxiliary files.
1542 (OFILES): Remove the arch-specific auxiliary files
1543 and use BFD_MACHINES instead of DIS_LIBS.
1544 * configure.in: Set BFD_MACHINES based on --with-targets option.
1545
1546 Thu Aug 12 12:04:53 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1547
1548 * mips-opc.c: Added lwc1 E,A(b) to go with lwc1 T,A(b). Similarly
1549 for swc1.
1550
1551 Sun Aug 8 15:09:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1552
1553 * sparc-opc.c: Change CONST to const to deal with gcc
1554 -Dconst=__const -traditional.
1555
1556 Fri Aug 6 10:58:55 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1557
1558 * mips-opc.c: From davidj@ICSI.Berkeley.EDU (David Johnson): Took
1559 coprocessor instructions out of #if 0, and made them use new
1560 argument type "C".
1561
1562 Thu Aug 5 17:11:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1563
1564 * sparc-dis.c: Include ansidecl.h before opcodes/sparc.h.
1565
1566 Fri Jul 30 18:48:15 1993 John Gilmore (gnu@cygnus.com)
1567
1568 * sparc-opc.c: Add F_JSR, F_UNBR, or F_CONDBR flags to each branch
1569 instruction, for use by the disassembler.
1570
1571 * sparc-dis.c (SEX): Add sign extension macro. Replace many
1572 hand-coded sign extensions that depended on 32-bit host ints.
1573 FIXME, we still depend on big-endian host bitfield ordering.
1574 (sparc_print_insn): Set the insn_info_valid field, and the
1575 other fields that describe the instruction being printed.
1576
1577 Tue Jul 27 17:04:58 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
1578
1579 * sparc-opc.c (call): Accept all 6 addressing modes valid for
1580 `jmp' instead of just one of them.
1581
1582 Wed Jul 21 11:43:32 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
1583
1584 * hppa-dis.c: Move floating registers from reg_names to fp_reg_names.
1585 (fput_fp_reg_r): Renamed from fput_reg_r.
1586 (fput_fp_reg): New function.
1587 (print_insn_hppa): Use fput_fp_reg{,_r} where appropriate.
1588
1589 * hppa-dis.c (print_insn_hppa, cases 'a', 'd'): Print space afterwards.
1590
1591 * hppa-dis.c (print_insn_hppa, case 'd'): Use GET_COND not GET_FIELD.
1592
1593 Mon Jul 19 13:52:21 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
1594
1595 * hppa-dis.c (print_insn_hppa): Use extract_5r_store for 'r'.
1596
1597 * hppa-dis.c (print_insn_hppa, case '>'): If next character is 'n',
1598 don't output a space.
1599
1600 * hppa-dis.c (float_format_names): 10 is undefined, and 11 is quad.
1601
1602 Sun Jul 18 16:30:02 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
1603
1604 * mips-opc.c: New file, containing opcode table from
1605 ../include/opcode/mips.h.
1606 * Makefile.in: Add it.
1607
1608 Thu Jul 15 12:37:05 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1609
1610 * m88k-dis.c: New file, moved in from gdb and changed to use the
1611 new dis-asm.h disassembler interface.
1612 * Makefile.in (DIS_LIBS): Added m88k-dis.o.
1613 (m88k-dis.o): New target.
1614
1615 Tue Jul 13 10:04:16 1993 Ian Lance Taylor (ian@cygnus.com)
1616
1617 * mips-dis.c (print_insn_arg, _print_insn_mips): Made pointer to
1618 argument string const char * to correspond to opcode/mips.h.
1619
1620 Tue Jul 6 15:18:37 1993 Ian Lance Taylor (ian@cygnus.com)
1621
1622 * mips-dis.c: Updated to account for name changes in new version
1623 of opcode/mips.h.
1624 * Makefile.in: Added header file dependencies.
1625
1626 Sat Jul 3 23:47:56 1993 Doug Evans (dje@canuck.cygnus.com)
1627
1628 * h8300-dis.c (bfd_h8_disassemble): Correct fetching of instruction.
1629
1630 Thu Jul 1 12:23:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1631
1632 * m68k-dis.c (NEXTWORD, NEXTLONG): Use ((x) ^ 0x8000) - 0x8000 to sign
1633 extend, rather than shifts.
1634
1635 Sun Jun 20 20:56:56 1993 Ken Raeburn (raeburn@poseidon.cygnus.com)
1636
1637 * Makefile.in: Undo 15 June change.
1638
1639 Fri Jun 18 14:15:15 1993 Per Bothner (bothner@deneb.cygnus.com)
1640
1641 * m68k-dis.c (print_insn_arg): Change return value to byte count
1642 or error code.
1643 * m68k-dis.c: Re-write to detect invalid operands before
1644 printing anything, so we can handle this the same way we
1645 handle invalid opcodes.
1646
1647 Thu Jun 17 15:01:36 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
1648
1649 * sh-dis.c, sh-opc.h: Understand some more opcodes.
1650
1651 Wed Jun 16 13:48:05 1993 Ian Lance Taylor (ian@cygnus.com)
1652
1653 * hppa-dis.c: Include <ansidecl.h> and sysdep.h before other
1654 header files.
1655
1656 Tue Jun 15 21:45:26 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
1657
1658 * sparc-dis.c: Don't declare qsort, since sysdep.h might.
1659
1660 * configure.in: Do make sysdep.h link.
1661 * Makefile.in: Search ../include. Don't search ../bfd.
1662
1663 Tue Jun 15 13:36:10 1993 Stu Grossman (grossman@cygnus.com)
1664
1665 Changes from Jeff Law, law@cs.utah.edu:
1666 * hppa-dis.c: Fix typo. 'a' and 'd' were reversed.
1667 Do not print a space before the completers specified by
1668 'a' and 'd'.
1669
1670 Fri Jun 11 18:40:21 1993 Ken Raeburn (raeburn@cygnus.com)
1671
1672 * mips-dis.c: No longer need to bomb out if HOST_64_BIT is
1673 defined, since gdb has been fixed.
1674
1675 Changes from Jeff Law, law@cs.utah.edu:
1676 * hppa-dis.c (print_insn_hppa): Last argument to fput_reg,
1677 fput_reg_r, fput_creg, fput_const, and fputs_filtered should
1678 be a *disassemble_info, not a *FILE.
1679 * hppa-dis.c: Support 'd', '!', and 'a'.
1680 * hppa-dis.c: Support 's' to extract a 2 bit space register.
1681 * hppa-dis.c: Delete cases which are no longer needed.
1682
1683 Fri Jun 11 07:53:48 1993 Jim Kingdon (kingdon@cygnus.com)
1684
1685 * m68k-dis.c (print_insn_{m68k,arg}): Add MMU codes.
1686
1687 Tue Jun 8 12:25:01 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
1688
1689 * h8300-dis.c: New file, removed from bfd/cpu-h8300.c, with
1690 H8/300-H opcodes.
1691
1692 Mon Jun 7 12:58:49 1993 Per Bothner (bothner@rtl.cygnus.com)
1693
1694 * Makefile.in (CSEARCH): Add -I../bfd for sysdep.h and bfd.h.
1695 * configure.in: No longer need to configure to get sysdep.h.
1696
1697 Thu Jun 3 15:56:49 1993 Stu Grossman (grossman@cygnus.com)
1698
1699 * Patches from Jeffrey Law <law@cs.utah.edu>.
1700 * hppa-dis.c: Support 'I', 'J', and 'K' in output
1701 templates for 1.1 FP computational instructions.
1702
1703 Tue May 25 13:05:48 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
1704
1705 * h8500-dis.c (print_insn_h8500): Address argument is type
1706 bfd_vma.
1707 * z8k-dis.c (print_insn_z8k, print_insn_z8001, print_insn_z8002):
1708 Ditto.
1709
1710 * h8500-opc.h (addr_class_type): No comma at end of enumerator.
1711 * sh-opc.h (sh_nibble_type, sh_arg_type): Ditto.
1712
1713 * sparc-dis.c (compare_opcodes): Move static declaration to
1714 top-level.
1715
1716 Fri May 21 14:17:37 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1717
1718 * sparc-dis.c (print_insn_sparc): Implement 'n' argument for unimp
1719 instruction, remove unimp hack from 'l' argument.
1720
1721 Wed May 19 15:35:54 1993 Stu Grossman (grossman@cygnus.com)
1722
1723 * z8k-dis.c (fetch_data): Use unsigned char to make ancient gcc's
1724 happy.
1725
1726 Fri May 14 15:22:46 1993 Ian Lance Taylor (ian@cygnus.com)
1727
1728 * Based on patches from davidj@ICSI.Berkeley.EDU (David Johnson):
1729 * mips-dis.c (print_insn_arg): Handle 'C' for general coprocessor
1730 instructions.
1731
1732 Fri May 14 00:09:14 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
1733
1734 * hppa-dis.c: Include dis-asm.h before sysdep.h. Changed some
1735 arrays of string pointers to 2-d arrays of chars, to save
1736 space.
1737
1738 Thu May 6 20:51:17 1993 Fred Fish (fnf@cygnus.com)
1739
1740 * a29k-dis.c, alpha-dis.c, i960-dis.c, sparc-dis.c, z8k-dis.c:
1741 Cast second arg to read_memory_func to "bfd_byte *", as necessary.
1742
1743 Tue May 4 20:31:10 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
1744
1745 * hppa-dis.c: New file from Utah, adapted to new disassembler
1746 calling interface.
1747 * Makefile.in: Include it.
1748
1749 Mon Apr 26 18:17:42 1993 Steve Chamberlain (sac@thepub.cygnus.com)
1750
1751 * sh-dis.c, sh-opc.h: New files.
1752
1753 Fri Apr 23 18:51:22 1993 Steve Chamberlain (sac@thepub.cygnus.com)
1754
1755 * alpha-dis.c, alpha-opc.h: New files.
1756
1757 Tue Apr 6 12:54:08 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1758
1759 * mips-dis.c: Sign extend 'j' and 'b' arguments, delta is a signed
1760 value.
1761
1762 Mon Apr 5 17:37:37 1993 John Gilmore (gnu@cygnus.com)
1763
1764 * sparc-dis.c: Make "ta" the default trap instruction, "t" the alias.
1765
1766 Fri Apr 2 07:24:27 1993 Ian Lance Taylor (ian@cygnus.com)
1767
1768 * a29k-dis.c, sparc-dis.c, sparc-opc.c: Use CONST rather than
1769 const.
1770
1771 Thu Apr 1 11:20:43 1993 Jim Kingdon (kingdon@cygnus.com)
1772
1773 * sparc-dis.c: Use fprintf_func a few places where I forgot,
1774 and double percent signs a few places.
1775
1776 * a29k-dis.c, i960-dis.c: New, merged from gdb and binutils.
1777
1778 * i386-dis.c, m68k-dis.c, mips-dis.c, sparc-dis.c:
1779 Use info->print_address_func not print_address.
1780
1781 * dis-buf.c (generic_print_address): New function.
1782
1783 Wed Mar 31 10:07:04 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1784
1785 * Makefile.in: Add sparc-dis.c.
1786 sparc-dis.c: New file, merges binutils and gdb versions as follows:
1787 From GDB:
1788 Add `add' instruction to the set that get checked
1789 for a preceding `sethi' in order to print an absolute address.
1790 * (print_insn): Disassembly prefers real instructions.
1791 (is_delayed_branch): Speed up.
1792 * sparc-opcode.h: Add ALIAS bit to aliases. Fix up opcode tables.
1793 Still missing some float ops, and needs testing.
1794 * sparc-pinsn.c (print_insn): Eliminate 'set' test, subsumed by
1795 F_ALIAS. Use printf, not fprintf, when not passing a file
1796 pointer...
1797 (compare_opcodes): Check that identical instructions have
1798 identical opcodes, complain otherwise.
1799 From binutils:
1800 * New 'm' arg.
1801 * Include reg_names.
1802 From neither:
1803 Use dis-asm.h/read_memory_func interface.
1804
1805 Wed Mar 31 20:49:06 1993 K. Richard Pixley (rich@rtl.cygnus.com)
1806
1807 * h8500-dis.c, i386-dis.c, m68k-dis.c, z8k-dis.c (fetch_data):
1808 deliberately return non-zero to setjmp from longjmp. Otherwise
1809 this code fails to compile.
1810
1811 Wed Mar 31 17:04:31 1993 Stu Grossman (grossman@cygnus.com)
1812
1813 * m68k-dis.c: Fix prototype for fetch_arg().
1814
1815 Wed Mar 31 10:07:04 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1816
1817 * dis-buf.c: New file, for new read_memory_func interface.
1818 Makefile.in (OFILES): Include it.
1819 m68k-dis.c, i386-dis.c, h8500-dis.c, mips-dis.c, z8k-dis.c:
1820 Use new read_memory_func interface.
1821
1822 Mon Mar 29 14:02:17 1993 Steve Chamberlain (sac@thepub.cygnus.com)
1823
1824 * h8500-dis.c (print_insn_h8500): Get sign of fp offsets right.
1825 * h8500-opc.h: Fix couple of opcodes.
1826
1827 Wed Mar 24 02:03:36 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
1828
1829 * Makefile.in: add dvi & installcheck targets
1830
1831 Mon Mar 22 18:55:04 1993 John Gilmore (gnu@cygnus.com)
1832
1833 * Makefile.in: Update for h8500-dis.c.
1834
1835 Fri Mar 19 14:27:17 1993 Steve Chamberlain (sac@thepub.cygnus.com)
1836
1837 * h8500-dis.c, h8500-opc.h: New files
1838
1839 Thu Mar 18 14:12:37 1993 Per Bothner (bothner@rtl.cygnus.com)
1840
1841 * mips-dis.c, z8k-dis.c: Converted to use interface defined in
1842 ../include/dis-asm.h.
1843 * m68k-dis.c: New file (merge of ../binutils/m68k-pinsn.c
1844 and ../gdb/m68k-pinsn.c).
1845 * i386-dis.c: New file (merge of ../binutils/i386-pinsn.c
1846 and ../gdb/i386-pinsn.c).
1847 * m68881-ext.c: New file. Moved definition of
1848 ext_format ext_format_68881 from ../gdb/m68k-tdep.c.
1849 * Makefile.in: Adjust for new files.
1850 * i386-dis.c: Patches from John Hassey (hassey@dg-rtp.dg.com).
1851 * m68k-dis.c: Recognize '9' placement code, so (say) pflush
1852 can be dis-assembled.
1853
1854 Wed Feb 17 09:19:47 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
1855
1856 * mips-dis.c (print_insn_arg): Now returns void.
1857
1858 Mon Jan 11 16:09:16 1993 Fred Fish (fnf@cygnus.com)
1859
1860 * mips-dis.c (ansidecl.h): Include for benefit of sysdep.h
1861 files that use the macros.
1862
1863 Thu Jan 7 13:15:17 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1864
1865 * mips-dis.c: New file, from gdb/mips-pinsn.c.
1866 * Makefile.in (DIS_LIBS): Added mips-dis.o.
1867 (CFILES): Added mips-dis.c.
1868
1869 Thu Jan 7 07:36:33 1993 Steve Chamberlain (sac@thepub.cygnus.com)
1870
1871 * z8k-dis.c (print_insn_z8001, print_insn_z8002): new routines
1872 * z8kgen.c, z8k-opc.h: fix sizes of some shifts.
1873
1874 Tue Dec 22 15:42:44 1992 Per Bothner (bothner@rtl.cygnus.com)
1875
1876 * Makefile.in: Improve *clean rules.
1877 * configure.in: Allow a default host.
1878
1879 Tue Nov 17 19:53:54 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
1880
1881 * Makefile.in: also use -I$(srcdir)/../bfd, since some sysdep
1882 files include other sysdep files
1883
1884 Thu Nov 12 16:10:37 1992 Steve Chamberlain (sac@thepub.cygnus.com)
1885
1886 * z8k-dis.c z8k-opc.h z8kgen.c: checkpoint
1887
1888 Fri Oct 9 04:56:05 1992 John Gilmore (gnu@cygnus.com)
1889
1890 * configure.in: For host support, use ../bfd/configure.host
1891 so it stays in sync with the ../bfd/hosts database.
1892
1893 Thu Oct 1 23:38:54 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
1894
1895 * configure.in: use cpu-vendor-os triple instead of nested cases
1896
1897 Wed Sep 30 16:09:20 1992 Michael Werner (mtw@cygnus.com)
1898
1899 * z8k-dis.c (unparse_instr): fix bug where opcode returned was
1900 *always* the wrong one.
1901
1902 Wed Sep 30 07:42:17 1992 Steve Chamberlain (sac@thepub.cygnus.com)
1903
1904 * z8kgen.c: added copyright info
1905
1906 Tue Sep 29 12:20:21 1992 Steve Chamberlain (sac@thepub.cygnus.com)
1907
1908 * z8k-dis.c (unparse_instr): prettier tabs
1909 * z8kgen.c -> z8k-opc.h: bug fixes in tables
1910
1911 Fri Sep 25 12:50:32 1992 Stu Grossman (grossman at cygnus.com)
1912
1913 * configure.in: Add ncr* configuration.
1914 * z8k-dis.c (struct instr_data_s): Make instr_asmsrc char to make
1915 picayune ANSI compilers happy.
1916
1917 Sep 20 08:50:55 1992 Fred Fish (fnf@cygnus.com)
1918
1919 * configure.in (i386): Make i386 and i486 synonymous for now.
1920 * configure.in (i[34]86-*-sysv4): Add my_host definition.
1921
1922 Fri Sep 18 17:01:23 1992 Ken Raeburn (raeburn@cambridge.cygnus.com)
1923
1924 * Makefile.in (install): Fix typo.
1925
1926 Fri Sep 18 02:04:24 1992 John Gilmore (gnu@cygnus.com)
1927
1928 * Makefile.in (make): Remove obsolete crud.
1929 (sparc-opc.o): Avoid Sun Make VPATH bug.
1930
1931 Tue Sep 8 17:29:27 1992 K. Richard Pixley (rich@sendai.cygnus.com)
1932
1933 * Makefile.in: since there are no SUBDIRS, remove rule and
1934 references of subdir_do.
1935
1936 Tue Sep 8 17:02:58 1992 Ken Raeburn (raeburn@cambridge.cygnus.com)
1937
1938 * Makefile.in (install): Get the library name right here too.
1939 Don't install bfd.h, since it's unrelated to this library. No
1940 subdirs to recurse into, either.
1941 (CFILES): The source file has a .c suffix, not .o.
1942
1943 * sparc-opc.c: New file, moved from BFD.
1944 * Makefile.in (OFILES): Build it.
1945
1946 Thu Sep 3 16:59:20 1992 Michael Werner (mtw@cygnus.com)
1947
1948 * z8k-dis.c: fixed forward refferences of some declarations.
1949
1950 Mon Aug 31 16:09:45 1992 Michael Werner (mtw@cygnus.com)
1951
1952 * Makefile.in: get the name of the library right
1953
1954 Mon Aug 31 13:47:35 1992 Steve Chamberlain (sac@thepub.cygnus.com)
1955
1956 * z8k-dis.c: knows how to disassemble z8k stuff
1957 * z8k-opc.h: new file full of z8000 opcodes
1958
1959 \f
1960 Local Variables:
1961 version-control: never
1962 End:
This page took 0.072592 seconds and 4 git commands to generate.