1 Mon Jun 16 14:13:18 1997 Ian Lance Taylor <ian@cygnus.com>
3 * m68k-dis.c (print_insn_arg): Print case 7.2 using %pc@()
4 syntax. From Roman Hodek
5 <rnhodek@faui22c.informatik.uni-erlangen.de>.
7 * i386-dis.c (twobyte_has_modrm): Fix pand.
9 Mon Jun 16 14:08:38 1997 Michael Taylor <mbt@mit.edu>
11 * i386-dis.c (dis386_twobyte): Fix pand and pandn.
13 Tue Jun 10 11:26:47 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
15 * arm-dis.c: Add prototypes for arm_decode_shift and
18 Mon Jun 2 11:39:04 1997 Gavin Koch <gavin@cygnus.com>
20 * mips-opc.c: Add r3900 insns.
22 Tue May 27 15:55:44 1997 Ian Lance Taylor <ian@cygnus.com>
24 * sh-dis.c (print_insn_shx): Change relmask to bfd_vma. Don't
25 print delay slot instructions on the same line. When using a PC
26 relative load, add a comment with the value being loaded if it can
29 Tue May 27 11:02:08 1997 Alan Modra <alan@spri.levels.unisa.edu.au>
31 * i386-dis.c (dis386[], dis386_twobyte[]): change pushl/popl
32 to pushS/popS for segment regs and byte constant so that
33 pushw/popw printed when in 16 bit data mode.
35 * i386-dis.c (dis386[]): change cwtl, cltd to cWtS, cStd to
36 print cbtw, cwtd in 16 bit data mode.
37 * i386-dis.c (putop): extra case W to support above.
39 * i386-dis.c (print_insn_x86): print addr32 prefix when given
40 address size prefix in 16 bit address mode.
42 Fri May 23 16:47:23 1997 Ian Lance Taylor <ian@cygnus.com>
44 * sh-dis.c: Reindent. Rename local variable fprintf to
47 Thu May 22 14:06:02 1997 Doug Evans <dje@canuck.cygnus.com>
49 * m32r-opc.c (m32r_cgen_insn_table, cmpui): Undo patch of May 2.
51 Tue May 20 11:26:27 1997 Gavin Koch <gavin@cygnus.com>
53 * mips-opc.c (mips_builtin_opcodes): Moved INSN_ISA field into new
55 * mips16-opc.c (mip16_opcodes): same.
57 Mon May 12 15:10:53 1997 Jim Wilson <wilson@cygnus.com>
59 * m68k-opc.c (moveb): Change $d to %d.
61 Mon May 5 14:28:41 1997 Ian Lance Taylor <ian@cygnus.com>
63 * i386-dis.c: (dis386_twobyte): Add MMX instructions.
64 (twobyte_has_modrm): Likewise.
66 (OP_MMX, OP_EM, OP_MS): New static functions.
68 * i386-dis.c: Revert patch of April 4. The output now matches
71 Fri May 2 12:48:37 1997 Doug Evans <dje@canuck.cygnus.com>
73 * m32r-opc.c (m32r_cgen_insn_table, cmpui): Use $uimm16 instead
76 Thu May 1 15:34:15 1997 Doug Evans <dje@canuck.cygnus.com>
78 * m32r-opc.h (CGEN_ARCH): Renamed from CGEN_CPU.
80 Tue Apr 15 12:40:08 1997 Ian Lance Taylor <ian@cygnus.com>
82 * Makefile.in (install): Depend upon installdirs.
83 (installdirs): New target.
85 Mon Apr 14 12:13:51 1997 Ian Lance Taylor <ian@cygnus.com>
87 From Thomas Graichen <graichen@rzpd.de>:
88 * configure.in: Use ${CONFIG_SHELL} when running $ac_config_sub.
91 Sun Apr 13 17:50:41 1997 Doug Evans <dje@canuck.cygnus.com>
93 * cgen-*.c, m32r-*.c: #include sysdep.h instead of config.h.
94 Delete string{,s}.h support.
96 Thu Apr 10 14:44:56 1997 Doug Evans <dje@canuck.cygnus.com>
98 * cgen-asm.c (cgen_parse_operand_fn): New global.
99 (cgen_parse_{{,un}signed_integer,address}): Update call to
100 cgen_parse_operand_fn.
101 (cgen_init_parse_operand): New function.
102 * m32r-asm.c (parse_insn_normal): cgen_init_parse_operand renamed
103 from cgen_asm_init_parse.
104 (m32r_cgen_assemble_insn): New operand `errmsg'.
105 Delete call to as_bad, return error message to caller.
106 (m32r_cgen_asm_hash_keywords): #if 0 out.
108 Wed Apr 9 12:05:25 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
110 * m68k-dis.c (print_insn_arg) [case 'd']: Print as address register,
112 [case 'J']: Fix typo in register name.
114 Mon Apr 7 16:48:22 1997 Ian Lance Taylor <ian@cygnus.com>
116 * configure.in: Substitute SHLIB_LIBS.
117 * configure: Rebuild.
118 * Makefile.in (SHLIB_LIBS): New variable.
119 ($(SHLIB)): Use $(SHLIB_LIBS).
121 Mon Apr 7 11:45:44 1997 Doug Evans <dje@canuck.cygnus.com>
123 * cgen-dis.c (build_dis_hash_table): Fix xmalloc size computation.
125 * cgen-opc.c (hash_keyword_name): Improve algorithm.
127 * disassemble.c (disassembler): Handle m32r.
129 Fri Apr 4 12:29:38 1997 Doug Evans <dje@canuck.cygnus.com>
131 * m32r-asm.c, m32r-dis.c, m32r-opc.c, m32r-opc.h: New files.
132 * cgen-asm.c, cgen-dis.c, cgen-opc.c: New files.
133 * Makefile.in (CFILES): Add them.
134 (ALL_MACHINES): Add them.
135 (dependencies): Regenerate.
136 * configure.in (cgen_files): New variable.
137 (bfd_m32r_arch): Add entry.
138 * configure: Regenerate.
140 Fri Apr 4 14:04:16 1997 Ian Lance Taylor <ian@cygnus.com>
142 * configure.in: Correct file names for bfd_mn10[23]00_arch.
143 * configure: Rebuild.
145 * Makefile.in: Rebuild dependencies.
147 * d10v-dis.c: Include "ansidecl.h" before "opcode/d10v.h".
149 * i386-dis.c (float_reg): Swap fsubrp and fsubp. Swap fdivrp and
152 Thu Apr 3 13:22:45 1997 Ian Lance Taylor <ian@cygnus.com>
154 * Branched binutils 2.8.
156 Wed Apr 2 12:23:53 1997 Ian Lance Taylor <ian@cygnus.com>
158 * m10200-dis.c: Rename from mn10200-dis.c.
159 * m10200-opc.c: Rename from mn10200-opc.c.
160 * m10300-dis.c: Rename from mn10300-dis.c
161 * m10300-opc.c: Rename from mn10300-opc.c.
162 * Makefile.in: Update accordingly.
164 * mips16-opc.c: Add mul and dmul macros.
166 Tue Apr 1 16:27:45 1997 Klaus Kaempf <kkaempf@progis.de>
168 * makefile.vms: Update CFLAGS, add clean target.
170 Fri Mar 28 12:10:09 1997 Ian Lance Taylor <ian@cygnus.com>
172 * mips-opc.c: Add "wait". From Ralf Baechle
173 <ralf@gnu.ai.mit.edu>.
175 * configure.in: Add stdlib.h to AC_CHECK_HEADERS list.
176 * configure, config.in: Rebuild.
177 * sysdep.h: Include <stdlib.h> if it exists.
178 * sparc-dis.c: Include <stdio.h> and "sysdep.h". Don't include
180 * Makefile.in: Rebuild dependencies.
182 Thu Mar 27 14:24:43 1997 Ian Lance Taylor <ian@cygnus.com>
184 * ppc-opc.c: Add PPC 403 instructions and extended opcodes. From
185 Andrew Bray <andy@madhouse.demon.co.uk>.
187 * mips-opc.c: Add cast when setting mips_opcodes.
190 Tue Mar 25 23:04:00 1997 Stu Grossman (grossman@critters.cygnus.com)
192 * v850-dis.c (disassemble): Fix sign extension problem.
193 * v850-opc.c (extract_d*): Fix sign extension problems to make
194 disassembly calculate branch offsets correctly.
197 Mon Mar 24 13:22:13 1997 Ian Lance Taylor <ian@cygnus.com>
199 * sh-opc.h: Add bf/s and bt/s as synonyms for bf.s and bt.s.
201 * mips-opc.c: Add dctr and dctw.
204 Sun Mar 23 18:08:10 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
206 * d30v-dis.c (print_insn): Change the way signed constants
209 Fri Mar 21 14:37:52 1997 Ian Lance Taylor <ian@cygnus.com>
211 * Makefile.in (BFD_H): New variable.
212 (HFILES): New variable.
213 (CFILES): Add all C files.
214 (.dep, .dep1, dep.sed, dep, dep-in): New targets.
215 Delete old dependencies, and build new ones.
216 * dep-in.sed: New file.
218 Thu Mar 20 19:03:30 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
220 * m68k-opc.c (m68k_opcode_aliases): Added blo and blo{s,b,w,l}.
222 start-sanitize-coldfire
223 Wed Mar 19 06:53:58 1997 J.T. Conklin <jtc@rtl.cygnus.com>
225 * m68k-opc.c (m68k_opcodes): Provide coldfire division module
228 end-sanitize-coldfire
229 Tue Mar 18 14:17:03 1997 Jeffrey A Law (law@cygnus.com)
231 * mn10200-opc.c: Change "trap" to "syscall".
232 * mn10300-opc.c: Add new "syscall" instruction.
234 Mon Mar 17 08:48:03 1997 J.T. Conklin <jtc@beauty.cygnus.com>
236 * m68k-opc.c (m68k_opcodes): Provide correct entries for mulsl and
237 mulul insns on the coldfire.
239 Sat Mar 15 17:13:05 1997 Ian Lance Taylor <ian@cygnus.com>
241 * arm-dis.c (print_insn_arm): Don't print instruction bytes.
242 (print_insn_big_arm): Set bytes_per_chunk and display_endian.
243 (print_insn_little_arm): Likewise.
245 Fri Mar 14 15:08:59 1997 Ian Lance Taylor <ian@cygnus.com>
247 Based on patches from H.J. Lu <hjl@lucon.org>:
248 * i386-dis.c (fetch_data): Add prototype.
249 * m68k-dis.c (fetch_data): Add prototype.
250 (dummy_print_address): Add prototype. Make static.
251 * ppc-opc.c (valid_bo): Add prototype.
252 * sparc-dis.c (build_hash_table): Add prototype.
253 (is_delayed_branch, compute_arch_mask): Add prototypes.
254 (print_insn_sparc): Make several local variables const.
255 (compare_opcodes): Change arguments to const PTR. Add prototype.
256 * sparc-opc.c (arg): Change name field to be const.
257 (lookup_name, lookup_value): Add prototypes. Change table and
258 name parameters to be const.
259 (sparc_encode_asi): Change name parameter to be const.
260 (sparc_encode_membar, sparc_encode_prefetch): Likewise.
261 (sparc_encode_sparclet_cpreg): Likewise.
262 (sparc_decode_asi): Change return type to be const.
263 (sparc_decode_membar, sparc_decode_prefetch): Likewise.
264 (sparc_decode_sparclet_cpreg): Likewise.
266 Fri Mar 7 10:51:49 1997 Ian Lance Taylor <ian@cygnus.com>
268 * Makefile.in ($(SHLINK)): Just use ln -s, not ln -sf, since
269 Solaris doesn't like the combined options, and the -f is
271 (stamp-tshlink, install): Likewise.
273 Thu Mar 6 16:51:11 1997 Jeffrey A Law (law@cygnus.com)
275 * mn10300-opc.c (IMM16_PCREL, SD8N_PCREL, D16_SHIFT): Mark these
278 Tue Mar 4 06:10:36 1997 J.T. Conklin <jtc@cygnus.com>
280 * m68k-opc.c (m68k_opcodes): Fix last change for the mc68010.
282 Mon Mar 3 07:45:20 1997 J.T. Conklin <jtc@cygnus.com>
284 * m68k-opc.c (m68k_opcodes): Added entries for the tst insns on
287 Thu Feb 27 14:04:32 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
289 * m68k-opc.c (m68k_opcodes): Added swbegl pseudo-instruction.
292 Thu Feb 27 11:36:41 1997 Michael Meissner <meissner@cygnus.com>
294 * tic80-dis.c (print_insn_tic80): Set info->bytes_per_line to 8.
296 Wed Feb 26 15:34:48 1997 Michael Meissner <meissner@cygnus.com>
298 * tic80-opc.c (tic80_predefined_symbols): Define r25 properly.
301 Wed Feb 26 13:38:30 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
303 * m68k-dis.c (NEXTSINGLE, NEXTDOUBLE, NEXTEXTEND): Use
304 floatformat_to_double to make portable.
305 (print_insn_arg): Use NEXTEXTEND macro when extracting extended
308 Mon Feb 24 19:26:12 1997 Dawn Perchik <dawn@cygnus.com>
310 * mips-opc.c: Initialize mips_opcodes to mips_builtin_opcodes,
311 and bfd_mips_num_opcodes to bfd_mips_num_builtin_opcodes.
313 Mon Feb 24 15:19:01 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
315 * d10v-dis.c, d10v-opc.c: Change pre_defined_registers to
316 d10v_predefined_registers and reg_name_cnt to d10v_reg_name_cnt.
319 Mon Feb 24 14:33:26 1997 Fred Fish <fnf@cygnus.com>
321 * tic80-opc.c (LSI_SCALED): Renamed from this ...
322 (OFF_SL_BR_SCALED): ... to this, and added the flag
323 TIC80_OPERAND_BASEREL to the flags word.
324 (tic80_opcodes): Replace all occurances of LSI_SCALED with
328 Sat Feb 22 21:25:00 1997 Dawn Perchik <dawn@cygnus.com>
330 * mips-opc.c: Add macros for cop0, cop1 cop2 and cop3.
331 Change mips_opcodes from const array to a pointer,
332 and change bfd_mips_num_opcodes from const int to int,
333 so that we can increase the size of the mips opcodes table
337 Sat Feb 22 21:03:47 1997 Fred Fish <fnf@cygnus.com>
339 * tic80-opc.c (tic80_predefined_symbols): Revert change to
340 store BITNUM values in the table in one's complement form
341 to match behavior when assembler is given a raw numeric
342 value for a BITNUM operand.
343 * tic80-dis.c (print_operand_bitnum): Ditto.
347 Fri Feb 21 16:31:18 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
349 * d30v-opc.c: Removed references to FLAG_X.
352 Wed Feb 19 14:51:20 1997 Ian Lance Taylor <ian@cygnus.com>
354 * Makefile.in: Add dependencies on ../bfd/bfd.h as required.
357 Tue Feb 18 17:43:43 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
359 * Makefile.in: Added d30v object files.
360 * configure: (bfd_d30v_arch) Rebuilt.
361 * configure.in: (bfd_d30v_arch) Added new case.
362 * d30v-dis.c: New file.
363 * d30v-opc.c: New file.
364 * disassemble.c (disassembler) Add entry for d30v.
368 Tue Feb 18 16:32:08 1997 Fred Fish <fnf@cygnus.com>
370 * tic80-opc.c (tic80_predefined_symbols): Add symbolic
371 representations for the floating point BITNUM values.
373 Fri Feb 14 12:14:05 1997 Fred Fish <fnf@cygnus.com>
375 * tic80-opc.c (tic80_predefined_symbols): Store BITNUM values
376 in the table in one's complement form, as they appear in the
378 (tic80_symbol_to_value): Use macros to access predefined
380 (tic80_value_to_symbol): Ditto.
381 (tic80_next_predefined_symbol): New function.
382 * tic80-dis.c (print_operand_bitnum): Remove code that did
383 one's complement for BITNUM values.
387 Fri Feb 14 13:56:51 1997 Gavin Koch <gavin@cygnus.com>
389 * mips-opc.c: bug fix, can't mark insns INSN_5900 and INSN_ISA4
392 Thu Feb 13 21:56:51 1997 Klaus Kaempf <kkaempf@progis.de>
394 * makefile.vms: Remove 8 bit characters. Update to latest
397 Thu Feb 13 20:41:22 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
399 * m68k-opc.c (m68k_opcodes): Add swbeg pseudo-instruction.
401 Thu Feb 13 16:30:02 1997 Jeffrey A Law (law@cygnus.com)
403 * mn10200-opc.c (IMM16_PCREL): This is a signed operand.
404 (IMM24_PCREL): Likewise.
406 Thu Feb 13 13:28:43 1997 Ian Lance Taylor <ian@cygnus.com>
408 * mips-dis.c (print_mips16_insn_arg): Use memaddr - 2 as the base
409 address for an extended PC relative instruction that is not a
412 Wed Feb 12 12:27:40 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
414 * m68k-dis.c (print_insn_m68k): Set bytes_per_chunk and
418 Tue Feb 11 16:36:31 1997 Fred Fish <fnf@cygnus.com>
420 * tic80-opc.c (tic80_operands): Fix typo '+' -> '|'.
421 (tic80_opcodes): Sort entries so that long immediate forms
422 come after short immediate forms, making it easier for
423 assembler to select the right one for a given operand.
426 Tue Feb 11 15:26:47 1997 Ian Lance Taylor <ian@cygnus.com>
428 * mips-dis.c (_print_insn_mips): Set bytes_per_chunk and
430 (print_insn_mips16): Likewise.
433 Fri Feb 7 11:12:44 1997 Gavin Koch <gavin@cygnus.com>
435 * mips-opc.c: add r5900.
439 Mon Feb 10 10:12:41 1997 Fred Fish <fnf@cygnus.com>
441 * tic80-opc.c (tic80_symbol_to_value): Changed to accept
442 a symbol class that restricts translation to just that
443 class (general register, condition code, etc).
445 Thu Feb 6 17:34:09 1997 Fred Fish <fnf@cygnus.com>
447 * tic80-opc.c (tic80_operands): Add REG_0_E, REG_22_E,
448 and REG_DEST_E for register operands that have to be
449 an even numbered register. Add REG_FPA for operands that
450 are one of the floating point accumulator registers.
451 Add TIC80_OPERAND_MASK to flags for ENDMASK operand.
452 (tic80_opcodes): Change entries that need even numbered
453 register operands to use the new operand table entries.
454 Add "or" entries that are identical to "or.tt" entries.
457 Wed Feb 5 11:12:44 1997 Ian Lance Taylor <ian@cygnus.com>
459 * mips16-opc.c: Add new cases of exit instruction for
461 * mips-dis.c (print_mips16_insn_arg): Display floating point
462 registers in operands of exit instruction. Print `$' before
463 register names in operands of entry and exit instructions.
466 Thu Jan 30 14:09:03 1997 Fred Fish <fnf@cygnus.com>
468 * tic80-opc.c (tic80_predefined_symbols): Table of name/value
469 pairs for all predefined symbols recognized by the assembler.
470 Also used by the disassembling routines.
471 (tic80_symbol_to_value): New function.
472 (tic80_value_to_symbol): New function.
473 * tic80-dis.c (print_operand_control_register,
474 print_operand_condition_code, print_operand_bitnum):
475 Remove private tables and use tic80_value_to_symbol function.
478 Thu Jan 30 11:30:45 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
480 * d10v-dis.c (print_operand): Change address printing
481 to correctly handle PC wrapping. Fixes PR11490.
483 Wed Jan 29 09:39:17 1997 Jeffrey A Law (law@cygnus.com)
485 * mn10200-opc.c (mn10200_operands): Make 8 and 16 bit pc-relative
488 Tue Jan 28 15:57:34 1997 Ian Lance Taylor <ian@cygnus.com>
490 * mips-dis.c (print_insn_mips16): Set insn_info information.
491 (print_mips16_insn_arg): Likewise.
493 * mips-dis.c (print_insn_mips16): Better handling of an extend
494 opcode followed by an instruction which can not be extended.
496 Fri Jan 24 12:08:21 1997 J.T. Conklin <jtc@cygnus.com>
498 * m68k-opc.c (m68k_opcodes): Changed operand specifier for the
499 coldfire moveb instruction to not allow an address register as
500 destination. Although the documentation does not indicate that
501 this is invalid, experiments uncovered unexpected behavior.
502 Added a comment explaining the situation. Thanks to Andreas
503 Schwab for pointing this out to me.
506 Wed Jan 22 20:13:51 1997 Fred Fish <fnf@cygnus.com>
508 * tic80-opc.c (tic80_opcodes): Expand comment to note that the
509 entries are presorted so that entries with the same mnemonic are
510 adjacent to each other in the table. Sort the entries for each
511 instruction so that this is true.
514 Mon Jan 20 12:48:57 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
516 * m68k-dis.c: Include <libiberty.h>.
517 (print_insn_m68k): Sort the opcode table on the most significant
518 nibble of the opcode.
521 Sat Jan 18 15:15:05 1997 Fred Fish <fnf@cygnus.com>
523 * tic80-dis.c (tic80_opcodes): Add "wrcr", "vmpy", "vrnd",
524 "vsub", "vst", "xnor", and "xor" instructions.
525 (V_a1): Renamed from V_a, msb of accumulator reg number.
526 (V_a0): Add macro, lsb of accumulator reg number.
528 Fri Jan 17 18:24:31 1997 Fred Fish <fnf@cygnus.com>
530 * tic80-dis.c (print_insn_tic80): Broke excessively long
531 function up into several smaller ones and arranged for
532 the instruction printing function to be callable recursively
533 to print vector instructions that have both a load and a
534 math instruction packed into a single opcode.
535 * tic80-opc.c (tic80_opcodes): Expand comment for vld opcode
536 to explain why it comes after the other vector opcodes.
539 Fri Jan 17 16:19:15 1997 J.T. Conklin <jtc@beauty.cygnus.com>
541 * m68k-opc.c (m68k_opcodes): add b, w, or l specifier to coldfire
542 move insns to handle immediate operands.
544 Thu Jan 17 16:19:00 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
546 * m68k-opc.c (m68k_opcodes): Delete duplicate entry for "cmpil".
547 fix operand mask in the "moveml" entries for the coldfire.
550 Thu Jan 16 20:54:40 1997 Fred Fish <fnf@cygnus.com>
552 * tic80-opc.c (V_a, V_m, V_S, V_Z, V_p, OP_V, MASK_V):
553 New macros for building vector instruction opcodes.
554 (tic80_opcodes): Remove all uses of FMT_SI, FMT_REG, and
555 FMT_LI, which were unused. The field is now a flags field.
556 Remove some opcodes that are possible, but illegal, such
557 as long immediate instructions with doubles for immediate
558 values. Add "vadd" and "vld" instructions.
560 Wed Jan 15 18:59:51 1997 Fred Fish <fnf@cygnus.com>
562 * tic80-opc.c (tic80_operands): Reorder some table entries to make
563 the order more logical. Move the shift alias instructions ("rotl",
564 "shl", "ins", "rotr", "extu", "exts", "srl", and "sra" to be
565 interspersed with the regular sr.x and sl.x instructions. Add
566 and test new instruction opcodes for "sl", "sli", "sr", "sri", "st",
567 "sub", "subu", "swcr", and "trap".
569 Tue Jan 14 19:42:50 1997 Fred Fish <fnf@cygnus.com>
571 * tic80-opc.c (OFF_SS_PC): Renamed from OFF_SS.
572 (OFF_SL_PC): Renamed from OFF_SL.
573 (OFF_SS_BR): New operand type for base relative operand.
574 (OFF_SL_BR): New operand type for base relative operand.
575 (REG_BASE): New operand type for base register operand.
576 (tic80_opcodes): Add and test "fmpy", "frndm", "frndn", "frndp",
577 "frndz", "fsqrt", "fsub", "illop0", "illopF", "ins", "jsr",
578 "ld", "ld.u", "lmo", "or", "rdcr", "rmo", "rotl", and "rotr"
580 * tic80-dis.c (print_insn_tic80): Print opcode name with fixed width
581 10 char field, padded with spaces on rhs, rather than a string
582 followed by a tab. Use renamed TIC80_OPERAND_PCREL flag bit rather
583 than old TIC80_OPERAND_RELATIVE. Add support for new
584 TIC80_OPERAND_BASEREL flag bit.
586 Mon Jan 13 15:58:56 1997 Fred Fish <fnf@cygnus.com>
588 * tic80-dis.c (print_insn_tic80): Print floating point operands
590 * tic80-opc.c (SPFI): Add single precision floating point
591 immediate operand type.
592 (ROTATE): Add rotate operand type for shifts.
593 (ENDMASK): Add for shifts.
594 (n): Macro for the 'n' bit.
595 (i): Macro for the 'i' bit.
596 (PD): Macro for the 'PD' field.
597 (P2): Macro for the 'P2' field.
598 (P1): Macro for the 'P1' field.
599 (tic80_opcodes): Add entries for "exts", "extu", "fadd",
603 Mon Jan 6 15:06:55 1997 Jeffrey A Law (law@cygnus.com)
605 * mn10200-dis.c (disassemble): Mask off unwanted bits after
606 adding in current address for pc-relative operands.
609 Mon Jan 6 10:56:25 1997 Fred Fish <fnf@cygnus.com>
611 * tic80-dis.c (R_SCALED): Add macro to test for ":s" modifier bit.
612 (print_insn_tic80): If R_SCALED then print ":s" modifier for operand.
613 * tic80-opc.c (REG0, REG22, REG27, SSOFF, LSOFF): Names
614 changed to REG_0, REG_22, REG_DEST, OFF_SS, OFF_SL respectively.
615 (SICR, LICR, REGM_SI, REGM_LI): Names changed to CR_SI, CR_LI,
616 REG_BASE_M_SI, REG_BASE_M_LI respectively.
617 (REG_SCALED, LSI_SCALED): New operand types.
618 (E): New macro for 'E' bit at bit 27.
619 (tic80_opcodes): Add and test dld, dld.u, dst, estop, and etrap
620 opcodes, including the various size flavors (b,h,w,d) for
621 the direct load and store instructions.
623 Sun Jan 5 12:18:14 1997 Fred Fish <fnf@cygnus.com>
625 * tic80-dis.c (M_SI, M_LI): Add macros to test for ":m" modifier bit
627 * tic80-dis.c (print_insn_tic80): Change comma and paren handling.
628 Use M_SI and M_LI macros to check for ":m" modifier for GPR operands.
629 * tic80-opc.c (tic80_operands): Add REGM_SI and REGM_LI operands.
630 (F, M_REG, M_LI, M_SI, SZ_REG, SZ_LI, SZ_SI, D, S): New bit-twiddlers.
631 (MASK_LI_M, MASK_SI_M, MASK_REG_M): Remove and replace in opcode
632 masks with "MASK_* & ~M_*" to get the M bit reset.
633 (tic80_opcodes): Add bsr, bsr.a, cmnd, cmp, dcachec, and dcachef.
635 Sat Jan 4 19:05:05 1997 Fred Fish <fnf@cygnus.com>
637 * tic80-dis.c (print_insn_tic80): Print TIC80_OPERAND_RELATIVE
638 correctly. Add support for printing TIC80_OPERAND_BITNUM and
639 TIC80_OPERAND_CC, and TIC80_OPERAND_CR operands in symbolic
641 * tic80-opc.c (tic80_operands): Add SSOFF, LSOFF, BITNUM,
642 CC, SICR, and LICR table entries.
643 (tic80_opcodes): Add and test "nop", "br", "bbo", "bbz",
644 "bcnd", and "brcr" opcodes.
647 Fri Jan 3 18:32:11 1997 Fred Fish <fnf@cygnus.com>
649 * ppc-opc.c (powerpc_operands): Make comment match the
650 actual fields (no shift field).
651 * sparc-opc.c (sparc_opcodes): Document why this cannot be "const".
653 * tic80-dis.c (print_insn_tic80): Replace abort stub with a
654 partial implementation, work in progress.
655 * tic80-opc.c (tic80_operands): Begin construction operands table.
656 (tic80_opcodes): Continue populating opcodes table and start
657 filling in the operand indices.
658 (tic80_num_opcodes): Add this.
661 Fri Jan 3 12:13:52 1997 Ian Lance Taylor <ian@cygnus.com>
663 * m68k-opc.c: Add #B case for moveq.
665 Thu Jan 2 12:14:29 1997 Jeffrey A Law (law@cygnus.com)
667 * mn10300-dis.c (disassemble): Make sure all variables are initialized
668 before they are used.
671 Tue Dec 31 12:20:38 1996 Jeffrey A Law (law@cygnus.com)
673 * v850-opc.c (v850_opcodes): Put curly-braces around operands
674 for "breakpoint" instruction.
677 Tue Dec 31 15:38:13 1996 Ian Lance Taylor <ian@cygnus.com>
679 * Makefile.in (ALL_CFLAGS): Add -D_GNU_SOURCE.
680 (dep): Use ALL_CFLAGS rather than CFLAGS.
683 Tue Dec 31 15:09:16 1996 Michael Meissner <meissner@tiktok.cygnus.com>
685 * v850-opc.c (D8_{6,7}): Set V850_OPERAND_ADJUST_SHORT_MEMORY
689 Mon Dec 30 17:02:11 1996 Fred Fish <fnf@cygnus.com>
691 * Makefile.in (m68k-opc.o, alpha-opc.o): Remove dis-asm.h dependency.
693 (tic80-dis.o, tic80-opc.o): Add rules per comment in Makefile.in.
696 Mon Dec 30 11:38:01 1996 Ian Lance Taylor <ian@cygnus.com>
698 * mips16-opc.c: Add "abs".
701 Sun Dec 29 10:58:22 1996 Fred Fish <fnf@cygnus.com>
703 * Makefile.in (ALL_MACHINES): Add tic80-dis.o and tic80-opc.o.
704 * disassemble.c (ARCH_tic80): Define if ARCH_all is defined.
705 (disassembler): Add bfd_arch_tic80 support to set disassemble
707 * tic80-dis.c (print_insn_tic80): Add stub.
709 Fri Dec 27 22:30:57 1996 Fred Fish <fnf@cygnus.com>
711 * configure.in (arch in $selarchs): Add bfd_tic80_arch entry.
712 * configure: Regenerate with autoconf.
713 * tic80-dis.c: Add file.
714 * tic80-opc.c: Add file.
717 Fri Dec 20 14:30:19 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
719 * d10v-opc.c (pre_defined_registers): Add cr[0-15], dpc, dpsw, link.
721 Mon Dec 16 13:00:15 1996 Jeffrey A Law (law@cygnus.com)
723 * mn10200-opc.c (mn10200_operands): Add SIMM16N.
724 (mn10200_opcodes): Use it for some logicals and btst insns.
725 Add "break" and "trap" instructions.
727 * mn10300-opc.c (mn10300_opcodes): Add "break" instruction.
729 * mn10200-opc.c: Add pseudo-ops for "mov (an),am" and "mov an,(am)".
731 Sat Dec 14 22:36:20 1996 Ian Lance Taylor <ian@cygnus.com>
733 * mips-dis.c (print_mips16_insn_arg): The base address of a PC
734 relative load or add now depends upon whether the instruction is
737 Wed Dec 11 09:23:46 1996 Jeffrey A Law (law@cygnus.com)
739 * mn10200-dis.c: Finish writing disassembler.
740 * mn10200-opc.c (mn10200_opcodes): Fix mask for "mov imm8,dn".
741 Fix mask for "jmp (an)".
743 * mn10300-dis.c (disassemble, print_insn_mn10300): Corrently
744 handle endianness issues for mn10300.
746 * mn10200-opc.c (mn10200_opcodes): Fix operands for "movb dm,(an)".
748 Tue Dec 10 12:08:05 1996 Jeffrey A Law (law@cygnus.com)
750 * mn10200-opc.c (mn10200_opcodes): "mov imm8,d0" is a format 2
751 instruction. Fix opcode field for "movb (imm24),dn".
753 * mn10200-opc.c (mn10200_operands): Fix insertion position
756 Mon Dec 9 16:42:43 1996 Jeffrey A Law (law@cygnus.com)
758 * mn10200-opc.c: Create mn10200 opcode table.
759 * mn10200-dis.c: Flesh out mn10200 disassembler. Not ready,
760 but moving along nicely.
762 Sun Dec 8 04:28:31 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
764 * Makefile.in (ALL_MACHINES): Add mips16-opc.o.
766 Fri Dec 6 16:47:40 1996 J.T. Conklin <jtc@rhino.cygnus.com>
768 * m68k-opc.c (m68k_opcodes): Revert change to use < and >
769 specifiers for fmovem* instructions.
771 Fri Dec 6 14:48:09 1996 Jeffrey A Law (law@cygnus.com)
773 * mn10300-dis.c (disassemble): Remove '$' register prefixing.
775 Fri Dec 6 17:34:39 1996 Ian Lance Taylor <ian@cygnus.com>
777 * mips16-opc.c: Change opcode for entry/exit to avoid conflicting
780 Fri Dec 6 14:48:09 1996 Jeffrey A Law (law@cygnus.com)
782 * mn10300-opc.c: Add some comments explaining the various
785 * mn10300-dis.c (disassemble): Fix minor gcc -Wall warnings.
787 Thu Dec 5 12:09:48 1996 J.T. Conklin <jtc@rtl.cygnus.com>
789 * m68k-dis.c (print_insn_arg): Handle new < and > operand
792 * m68k-opc.c (m68k_opcodes): Simplify table by using < and >
793 operand specifiers in fmovm* instructions.
795 Wed Dec 4 14:52:18 1996 Ian Lance Taylor <ian@cygnus.com>
797 * ppc-opc.c (insert_li): Give an error if the offset has the two
798 least significant bits set.
800 Wed Nov 27 13:09:01 1996 Ian Lance Taylor <ian@cygnus.com>
802 * mips-dis.c (print_insn_mips16): Separate the instruction from
803 the arguments with a tab, not a space.
805 Tue Nov 26 13:24:17 1996 Jeffrey A Law (law@cygnus.com)
807 * mn10300-dis.c (disasemble): Finish conversion to '$' as
810 * mn10300-opc.c (mn10300_opcodes): Fix mask field for
813 Tue Nov 26 10:53:21 1996 Ian Lance Taylor <ian@cygnus.com>
815 * configure: Rebuild with autoconf 2.12.
817 Add support for mips16 (16 bit MIPS implementation):
818 * mips16-opc.c: New file.
819 * mips-dis.c: Include "elf-bfd.h" and "elf/mips.h".
820 (mips16_reg_names): New static array.
821 (print_insn_big_mips): Use print_insn_mips16 in 16 bit mode or
822 after seeing a 16 bit symbol.
823 (print_insn_little_mips): Likewise.
824 (print_insn_mips16): New static function.
825 (print_mips16_insn_arg): New static function.
826 * mips-opc.c: Add jalx instruction.
827 * Makefile.in (mips16-opc.o): New target.
828 * configure.in: Use mips16-opc.o for bfd_mips_arch.
829 * configure: Rebuild.
831 Mon Nov 25 16:15:17 1996 J.T. Conklin <jtc@cygnus.com>
833 * m68k-opc.c (m68k_opcodes): Simplify table by using < and >
834 operand specifiers in *save, *restore and movem* instructions.
836 * m68k-opc.c (m68k_opcodes): Fix move and movem instructions for
839 * m68k-opc.c (m68k_opcodes): The coldfire (mcf5200) can only use
840 register operands for immediate arithmetic, not, neg, negx, and
841 set according to condition instructions.
843 * m68k-opc.c (m68k_opcodes): Consistantly Use "s" as the storage
844 specifier of the effective-address operand in immediate forms of
845 arithmetic instructions. The specifier for the immediate operand
846 notes how and where the constant will be stored.
848 Mon Nov 25 11:17:01 1996 Jeffrey A Law (law@cygnus.com)
850 * mn10300-opc.c (mn10300_opcodes): Remove redundant "lcc"
853 * mn10300-dis.c (disassemble): Use '$' instead of '%' for
856 * mn10300-dis.c (disassemble): Prefix registers with '%'.
858 Wed Nov 20 10:37:13 1996 Jeffrey A Law (law@cygnus.com)
860 * mn10300-dis.c (disassemble): Handle register lists.
862 * mn10300-opc.c: Fix handling of register list operand for
863 "call", "ret", and "rets" instructions.
865 * mn10300-dis.c (disassemble): Print PC-relative and memory
866 addresses symbolically if possible.
867 * mn10300-opc.c: Distinguish between absolute memory addresses,
868 pc-relative offsets & random immediates.
870 * mn10300-dis.c (print_insn_mn10300): Fix fetch of last byte
872 (disassemble): Handle SPLIT and EXTENDED operands.
874 Tue Nov 19 13:33:01 1996 Jeffrey A Law (law@cygnus.com)
876 * mn10300-dis.c: Rough cut at printing some operands.
878 * mn10300-dis.c: Start working on disassembler support.
879 * mn10300-opc.c (mn10300_opcodes): Fix masks on several insns.
881 * mn10300-opc.c (mn10300_operands): Add "REGS" for a register
883 (mn10300_opcodes): Use REGS for register list in "movm" instructions.
885 Mon Nov 18 15:20:35 1996 Michael Meissner <meissner@tiktok.cygnus.com>
887 * d10v-opc.c (d10v_opcodes): Add3 sets the carry.
889 Fri Nov 15 13:43:19 1996 Jeffrey A Law (law@cygnus.com)
891 * mn10300-opc.c (mn10300_opcodes): Demand parens around
892 register argument is calls and jmp instructions.
894 Thu Nov 7 00:26:05 1996 Jeffrey A Law (law@cygnus.com)
896 * mn10300-opc.c (mn10300_opcodes): Use DN01 for putx and
897 getx operand. Fix opcode for mulqu imm,dn.
899 Wed Nov 6 13:42:32 1996 Jeffrey A Law (law@cygnus.com)
901 * mn10300-opc.c (mn10300_operands): Hijack "bits" field
902 in MN10300_OPERAND_SPLIT operands for how many bits
903 appear in the basic insn word. Add IMM32_HIGH24,
904 IMM32_HIGH24_LOWSHIFT8, IMM8E_SHIFT8.
905 (mn10300_opcodes): Use new operands as needed.
907 * mn10300-opc.c (mn10300_operands): Add IMM32_LOWSHIFT8
908 for bset, bclr, btst instructions.
909 (mn10300_opcodes): Use new IMM32_LOWSHIFT8 as needed.
911 * mn10300-opc.c (mn10300_operands): Remove many redundant
912 operands. Update opcode table as appropriate.
913 (IMM32): Add MN10300_OPERAND_SPLIT flag.
914 (mn10300_opcodes): Fix single bit error in mov imm32,dn insn.
916 Tue Nov 5 13:26:58 1996 Jeffrey A Law (law@cygnus.com)
918 * mn10300-opc.c (mn10300_operands): Add DN2, DM2, AN2, AM2
919 operands (for indexed load/stores). Fix bitpos for DI
920 operand. Add SN8N_SHIFT8, IMM8_SHIFT8, and D16_SHIFT for the
921 few instructions that insert immediates/displacements in the
922 middle of the instruction. Add IMM8E for 8 bit immediate in
923 the extended part of an instruction.
924 (mn10300_operands): Use new opcodes as appropriate.
926 Tue Nov 5 10:30:51 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
928 * d10v-opc.c (d10v_opcodes): Declare the trap instruction
929 sequential so the assembler never parallelizes it with
932 Mon Nov 4 12:50:40 1996 Jeffrey A Law (law@cygnus.com)
934 * mn10300-opc.c (mn10300_operands): Add DN01 and AN01 for
935 a data/address register that appears in register field 0
936 and register field 1.
937 (mn10300_opcodes): Use DN01 and AN01 for mov/cmp imm8,DN/AN
939 Fri Nov 1 10:29:11 1996 Richard Henderson <rth@tamu.edu>
941 * alpha-dis.c (print_insn_alpha): Use new NOPAL mask for
942 standard disassembly.
944 * alpha-opc.c (alpha_operands): Rearrange flags slot.
945 (alpha_opcodes): Add new BWX, CIX, and MAX instructions.
946 Recategorize PALcode instructions.
949 Wed Oct 30 16:46:58 1996 Jeffrey A Law (law@cygnus.com)
951 * v850-opc.c (v850_opcodes): Add relaxing "jbr".
954 Tue Oct 29 16:30:28 1996 Ian Lance Taylor <ian@cygnus.com>
956 * mips-dis.c (_print_insn_mips): Don't print a trailing tab if
957 there are no operand types.
960 Tue Oct 29 12:22:21 1996 Jeffrey A Law (law@cygnus.com)
962 * v850-opc.c (D9_RELAX): Renamed from D9, all references
964 (v850_operands): Make sure D22 immediately follows D9_RELAX.
967 Fri Oct 25 12:12:53 1996 Ian Lance Taylor <ian@cygnus.com>
969 * i386-dis.c (print_insn_x86): Set info->bytes_per_line to 5.
972 Thu Oct 24 17:53:52 1996 Jeffrey A Law (law@cygnus.com)
974 * v850-opc.c (insert_d8_6): Fix operand insertion for sld.w
975 and sst.w instructions.
977 * v850-opc.c (v850_opcodes): Add "jCC" instructions (aliases for
981 Thu Oct 24 17:21:20 1996 Ian Lance Taylor <ian@cygnus.com>
983 * mips-dis.c (_print_insn_mips): Use a tab between the instruction
986 Tue Oct 22 23:32:56 1996 Ian Lance Taylor <ian@cygnus.com>
988 * ppc-opc.c (PPCPWR2): Define.
989 (powerpc_opcodes): Use PPCPWR2 for fsqrt, rather than duplicating
992 Fri Oct 11 16:03:49 1996 Jeffrey A Law (law@cygnus.com)
994 * mn10300-opc.c (mn10300_opcodes): Fix typo in opcode
995 field for movhu instruction.
998 * v850-dis.c (disassemble): For V850_OPERAND_SIGNED operands,
999 cast value to "long" not "signed long" to keep hpux10
1003 Thu Oct 10 10:25:58 1996 Jeffrey A Law (law@cygnus.com)
1005 * mn10300-opc.c (mn10300_opcodes): Fix typo in opcode field
1008 * mn10300-opc.c (FMT*): Remove definitions.
1010 * mn10300-opc.c (mn10300_opcodes): Fix destination register
1011 for shift-by-register opcodes.
1013 * mn10300-opc.c (mn10300_operands): Break DN, DM, AN, AM
1014 into [AD][MN][01] for encoding the position of the register
1017 Wed Oct 9 11:19:26 1996 Jeffrey A Law (law@cygnus.com)
1019 * mn10300-opc.c (mn10300_opcodes): Add "extended" instructions,
1020 "putx", "getx", "mulq", "mulqu", "sat16", "sat24", "bsch".
1022 Tue Oct 8 11:55:35 1996 Jeffrey A Law (law@cygnus.com)
1024 * mn10300-opc.c (mn10300_operands): Remove "REGS" operand.
1025 Fix various typos. Add "PAREN" operand.
1026 (MEM, MEM2): Define.
1027 (mn10300_opcodes): Surround all memory addresses with "PAREN"
1028 operands. Fix several typos.
1030 * mn10300-opc.c (mn10300_opcodes): Fix typos in yesterday's
1033 Mon Oct 7 16:48:45 1996 Jeffrey A Law (law@cygnus.com)
1035 * mn10300-opc.c (FMT_XX): Renumber starting at one.
1036 (mn10300_operands): Rough cut. Enough to parse "mov" instructions
1038 (mn10300_opcodes): Break opcode format out into its own field.
1039 Update many operand fields to deal with signed vs unsigned
1040 issues. Fix one or two typos in the "mov" instruction
1041 opcode, mask and/or operand fields.
1043 Mon Oct 7 11:39:49 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1045 * m68k-opc.c (plusha): Prefer encoding for m68040up, in case
1046 m68851 wasn't reset.
1048 Thu Oct 3 17:17:02 1996 Ian Lance Taylor <ian@cygnus.com>
1050 * mn10300-opc.c (mn10300_opcodes): Add opcode & masks for
1051 all opcodes. Very rough cut at operands for all opcodes.
1053 * mn10300-opc.c (mn10300_opcodes): Start fleshing out the
1056 Thu Oct 3 10:06:07 1996 Jeffrey A Law (law@cygnus.com)
1058 * mn10200-opc.c, mn10300-opc.c: New files.
1059 * mn10200-dis.c, mn10300-dis.c: New files.
1060 * mn10x00-opc.c, mn10x00-dis.c: Deleted.
1061 * disassemble.c: Break mn10x00 support into 10200 and 10300
1063 * configure.in: Likewise.
1064 * configure: Rebuilt.
1066 Thu Oct 3 15:59:12 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
1068 * Makefile.in (MOSTLYCLEAN): Move config.log to distclean.
1070 Wed Oct 2 23:28:42 1996 Jeffrey A Law (law@cygnus.com)
1072 * mn10x00-opc.c, mn10x00-dis.c: New files for Matsushita
1074 * disassemble (ARCH_mn10x00): Define.
1075 (disassembler): Handle bfd_arch_mn10x00.
1076 * configure.in: Recognize bfd_mn10x00_arch.
1077 * configure: Rebuilt.
1079 Tue Oct 1 10:49:11 1996 Ian Lance Taylor <ian@cygnus.com>
1081 * i386-dis.c (op_rtn): Change to be a pointer. Adjust uses
1082 accordingly. Don't declare functions using op_rtn.
1085 Fri Sep 27 18:28:59 1996 Stu Grossman (grossman@critters.cygnus.com)
1087 * v850-dis.c (disassemble): Add memaddr argument. Re-arrange
1088 params to be more standard.
1089 * (disassemble): Print absolute addresses and symbolic names for
1090 branch and jump targets.
1091 * v850-opc.c (v850_operand): Add displacement flag to 9 and 22
1093 * (v850_opcodes): Add breakpoint insn.
1096 Mon Sep 23 12:32:26 1996 Ian Lance Taylor <ian@cygnus.com>
1098 * m68k-opc.c: Move the fmovemx data register cases before the
1099 other cases, so that they get recognized before the data register
1100 does gets treated as a degenerate register list.
1102 Tue Sep 17 12:06:51 1996 Ian Lance Taylor <ian@cygnus.com>
1104 * mips-opc.c: Add a case for "div" and "divu" with two registers
1105 and a destination of $0.
1107 Tue Sep 10 16:12:39 1996 Fred Fish <fnf@rtl.cygnus.com>
1109 * mips-dis.c (print_insn_arg): Add prototype.
1110 (_print_insn_mips): Ditto.
1112 Mon Sep 9 14:26:26 1996 Ian Lance Taylor <ian@cygnus.com>
1114 * mips-dis.c (print_insn_arg): Print condition code registers as
1117 Tue Sep 3 12:09:46 1996 Doug Evans <dje@canuck.cygnus.com>
1119 * sparc-opc.c (sparc_opcodes): Add setuw, setsw, setx.
1122 Tue Sep 3 12:05:25 1996 Jeffrey A Law (law@cygnus.com)
1124 * v850-dis.c (disassemble): Make static. Provide prototype.
1126 Sun Sep 1 22:30:40 1996 Jeffrey A Law (law@cygnus.com)
1128 * v850-opc.c (insert_d9, insert_d22): Fix boundary case
1131 Sat Aug 31 01:27:26 1996 Jeffrey A Law (law@cygnus.com)
1133 * v850-dis.c (disassemble): Handle insertion of ',', '[' and
1134 ']' characters into the output stream.
1135 * v850-opc.c (v850_opcodes: Remove size field from all opcodes.
1136 Add "memop" field to all opcodes (for the disassembler).
1137 Reorder opcodes so that "nop" comes before "mov" and "jr"
1138 comes before "jarl".
1140 * v850-dis.c (print_insn_v850): Fix typo in last change.
1142 * v850-dis.c (print_insn_v850): Properly handle disassembling
1143 a two byte insn at the end of a memory region when the memory
1144 region's size is only two byte aligned.
1146 * v850-dis.c (v850_cc_names): Fix stupid thinkos.
1148 * v850-dis.c (v850_reg_names): Define.
1149 (v850_sreg_names, v850_cc_names): Likewise.
1150 (disassemble): Very rough cut at printing operands (unformatted).
1152 * v850-opc.c (BOP_MASK): Fix.
1153 (v850_opcodes): Fix mask for jarl and jr.
1155 * v850-dis.c: New file. Skeleton for disassembler support.
1156 * Makefile.in Remove v850 references, they're not needed here
1157 and they weren't being sanitized away.
1158 * configure.in: Add v850-dis.o when building v850 toolchains.
1159 * configure: Rebuilt.
1160 * disassemble.c (disassembler): Call v850 disassembler.
1162 * v850-opc.c (insert_d8_7, extract_d8_7): New functions.
1163 (insert_d8_6, extract_d8_6): New functions.
1164 (v850_operands): Rename D7S to D7; operand for D7 is unsigned.
1165 Rename D8 to D8_7, use {insert,extract}_d8_7 routines.
1167 (IF4A, IF4B): Use "D7" instead of "D7S".
1168 (IF4C, IF4D): Use "D8_7" instead of "D8".
1169 (IF4E, IF4F): New. Use "D8_6".
1170 (v850_opcodes): Use IF4A/IF4B for sld.b/sst.b. Use IF4C/IF4D for
1171 sld.h/sst.h. Use IF4E/IF4F for sld.w/sst.w.
1173 * v850-opc.c (insert_d16_15, extract_d16_15): New functions.
1174 (v850_operands): Change D16 to D16_15, use special insert/extract
1175 routines. New new D16 that uses the generic insert/extract code.
1176 (IF7A, IF7B): Use D16_15.
1177 (IF7C, IF7D): New. Use D16.
1178 (v850_opcodes): Use IF7C and IF7D for ld.b and st.b.
1180 * v850-opc.c (insert_d9, insert_d22): Slightly improve error
1181 message. Issue an error if the branch offset is odd.
1183 * v850-opc.c: Add notes about needing special insert/extract
1184 for all the load/store insns, except "ld.b" and "st.b".
1186 * v850-opc.c (insert_d22, extract_d22): New functions.
1187 (v850_operands): Use insert_d22 and extract_d22 for
1189 (insert_d9): Fix range check.
1191 Fri Aug 30 18:01:02 1996 J.T. Conklin <jtc@hippo.cygnus.com>
1193 * v850-opc.c (v850_operands): Add V850_OPERAND_SIGNED flag
1194 and set bits field to D9 and D22 operands.
1196 Thu Aug 29 11:10:46 1996 Jeffrey A Law (law@cygnus.com)
1198 * v850-opc.c (v850_operands): Define SR2 operand.
1199 (v850_opcodes): "ldsr" uses R1,SR2.
1201 * v850-opc.c (v850_opcodes): Fix opcode specs for
1202 sld.w, sst.b, sst.h, sst.w, and nop.
1204 Wed Aug 28 15:55:43 1996 Jeffrey A Law (law@cygnus.com)
1206 * v850-opc.c (v850_opcodes): Add null opcode to mark the
1207 end of the opcode table.
1210 Mon Aug 26 13:35:53 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
1212 * d10v-opc.c (pre_defined_registers): Added register pairs,
1213 "r0-r1", "r2-r3", etc.
1216 Fri Aug 23 00:27:01 1996 Jeffrey A Law (law@cygnus.com)
1218 * v850-opc.c (v850_operands): Make I16 be a signed operand.
1219 Create I16U for an unsigned 16bit mmediate operand.
1220 (v850_opcodes): Use I16U for "ori", "andi" and "xori".
1222 * v850-opc.c (v850_operands): Define EP operand.
1223 (IF4A, IF4B, IF4C, IF4D): Use EP.
1225 * v850-opc.c (v850_opcodes): Fix opcode numbers for "mov"
1226 with immediate operand, "movhi". Tweak "ldsr".
1228 * v850-opc.c (v850_opcodes): Get ld.[bhw] and st.[bhw]
1229 correct. Get sld.[bhw] and sst.[bhw] closer.
1231 * v850-opc.c (v850_operands): "not" is a two byte insn
1233 * v850-opc.c (v850_opcodes): Correct bit pattern for setf.
1235 * v850-opc.c (v850_operands): D16 inserts at offset 16!
1237 * v850-opc.c (two): Get order of words correct.
1239 * v850-opc.c (v850_operands): I16 inserts at offset 16!
1241 * v850-opc.c (v850_operands): Add "SR1" and "SR2" for system
1242 register source and destination operands.
1243 (v850_opcodes): Use SR1 and SR2 for "ldsr" and "stsr".
1245 * v850-opc.c (v850_opcodes): Fix thinko in "jmp" opcode. Fix
1246 same thinko in "trap" opcode.
1248 * v850-opc.c (v850_opcodes): Add initializer for size field
1251 * v850-opc.c (v850_operands): D6 -> DS7. References changed.
1252 Add D8 for 8-bit unsigned field in short load/store insns.
1253 (IF4A, IF4D): These both need two registers.
1254 (IF4C, IF4D): Define. Use 8-bit unsigned field.
1255 (v850_opcodes): For "sld.h", "sld.w", "sst.h", "sst.w", use
1256 IF4C & IF4D. For "trap" use I5U, not I5. Add IF1 operand
1257 for "ldsr" and "stsr".
1258 * v850-opc.c (v850_operands): 3-bit immediate for bit insns
1261 * v850-opc.c (v850_opcodes): Correct short store half (sst.h) and
1262 short store word (sst.w).
1264 Thu Aug 22 16:57:27 1996 J.T. Conklin <jtc@rtl.cygnus.com>
1266 * v850-opc.c (v850_operands): Added insert and extract fields,
1267 pointers to functions that handle unusual operand encodings.
1269 Thu Aug 22 01:05:24 1996 Jeffrey A Law (law@cygnus.com)
1271 * v850-opc.c (v850_opcodes): Enable "trap".
1273 * v850-opc.c (v850_opcodes): Fix order of displacement
1274 and register for "set1", "clr1", "not1", and "tst1".
1276 Wed Aug 21 18:46:26 1996 Jeffrey A Law (law@cygnus.com)
1278 * v850-opc.c (v850_operands): Add "B3" support.
1279 (v850_opcodes): Fix and enable "set1", "clr1", "not1"
1282 * v850-opc.c (v850_opcodes): "jmp" has only an R1 operand.
1284 * v850-opc.c: Close unterminated comment.
1286 Wed Aug 21 17:31:26 1996 J.T. Conklin <jtc@hippo.cygnus.com>
1288 * v850-opc.c (v850_operands): Add flags field.
1289 (v850_opcodes): add move opcodes.
1291 Tue Aug 20 14:41:03 1996 J.T. Conklin <jtc@hippo.cygnus.com>
1293 * Makefile.in (ALL_MACHINES): Add v850-opc.o.
1294 * configure: (bfd_v850v_arch) Add new case.
1295 * configure.in: (bfd_v850_arch) Add new case.
1296 * v850-opc.c: New file.
1299 Mon Aug 19 15:21:38 1996 Doug Evans <dje@canuck.cygnus.com>
1301 * sparc-dis.c (print_insn_sparc): Handle little endian sparcs.
1303 Thu Aug 15 13:14:43 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
1305 * d10v-opc.c: Add additional information to the opcode
1306 table to help determinine which instructions can be done
1309 Thu Aug 15 13:11:13 1996 Stan Shebs <shebs@andros.cygnus.com>
1311 * mpw-make.sed: Update editing of include pathnames to be
1314 Thu Aug 15 16:28:41 1996 James G. Smith <jsmith@cygnus.co.uk>
1316 * arm-opc.h: Added "bx" instruction definition.
1318 Wed Aug 14 17:00:04 1996 Richard Henderson <rth@tamu.edu>
1320 * alpha-opc.c (EV4EXTHWINDEX): Field width should be 8 not 5.
1322 Mon Aug 12 14:30:37 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
1324 * d10v-opc.c (d10v_opcodes): Minor fixes to addi and bl.l.
1326 Fri Aug 9 13:21:59 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
1328 * d10v-opc.c (d10v_opcodes): Correct 'mv' unit entry to EITHER.
1330 Thu Aug 8 12:43:52 1996 Klaus Kaempf <kkaempf@progis.de>
1332 * makefile.vms: Update for alpha-opc changes.
1334 Wed Aug 7 11:55:10 1996 Ian Lance Taylor <ian@cygnus.com>
1336 * i386-dis.c (print_insn_i386): Actually return the correct value.
1337 (ONE, OP_ONE): #ifdef out; not used.
1339 Fri Aug 2 17:47:03 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
1341 * d10v-opc.c (d10v_opcodes): Added 2 accumulator sub instructions.
1342 Changed subi operand type to treat 0 as 16.
1344 Wed Jul 31 16:21:41 1996 Ian Lance Taylor <ian@cygnus.com>
1346 * m68k-opc.c: Add cpushl for the mcf5200. From Ken Rose
1349 Wed Jul 31 14:39:27 1996 James G. Smith <jsmith@cygnus.co.uk>
1351 * arm-opc.h: (arm_opcodes): Added halfword and sign-extension
1352 memory transfer instructions. Add new format string entries %h and %s.
1353 * arm-dis.c: (print_insn_arm): Provide decoding of the new
1356 Fri Jul 26 11:45:04 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
1358 * d10v-opc.c (d10v_operands): Added UNUM4S; a 4-bit accumulator shift.
1359 (d10v_opcodes): Modified accumulator shift instructions to use UNUM4S.
1361 Fri Jul 26 14:01:43 1996 Ian Lance Taylor <ian@cygnus.com>
1363 * alpha-dis.c (print_insn_alpha_osf): Remove.
1364 (print_insn_alpha_vms): Remove.
1365 (print_insn_alpha): Make globally visible. Chose the register
1366 names based on info->flavour.
1367 * disassemble.c: Always return print_insn_alpha for the alpha.
1369 Thu Jul 25 15:24:17 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
1371 * d10v-dis.c (dis_long): Handle unknown opcodes.
1373 Thu Jul 25 12:08:09 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
1375 * d10v-opc.c: Changes to support signed and unsigned numbers.
1376 All instructions with the same name that have long and short forms
1377 now end in ".l" or ".s". Divs added.
1378 * d10v-dis.c: Changes to support signed and unsigned numbers.
1380 Tue Jul 23 11:02:53 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
1382 * d10v-dis.c: Change all functions to use info->print_address_func.
1384 Mon Jul 22 15:38:53 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1386 * m68k-opc.c (m68k_opcodes): Make opcode masks for the ColdFire
1387 move ccr/sr insns more strict so that the disassembler only
1388 selects them when the addressing mode is data register.
1390 Mon Jul 22 11:25:24 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
1391 * d10v-opc.c (pre_defined_registers): Declare.
1392 * d10v-dis.c (print_operand): Now uses pre_defined_registers
1393 to pick a better name for the registers.
1395 Mon Jul 22 13:47:23 1996 Ian Lance Taylor <ian@cygnus.com>
1397 * sparc-opc.c: Fix opcode values for fpack16, and fpackfix. Fix
1398 operands for fexpand and fpmerge. From Christian Kuehnke
1399 <Christian.Kuehnke@arbi.informatik.uni-oldenburg.de>.
1401 Mon Jul 22 13:17:06 1996 Richard Henderson <rth@tamu.edu>
1403 * alpha-dis.c (print_insn_alpha): No longer the user-visible
1404 print routine. Take new regnames and cpumask arguments.
1405 Kill the environment variable nonsense.
1406 (print_insn_alpha_osf): New function. Do OSF/1 style regnames.
1407 (print_insn_alpha_vms): New function. Do VMS style regnames.
1408 * disassemble.c (disassembler): Test bfd flavour to pick
1409 between OSF and VMS routines. Default to OSF.
1411 Thu Jul 18 17:19:34 1996 Ian Lance Taylor <ian@cygnus.com>
1413 * configure.in: Call AC_SUBST (INSTALL_SHLIB).
1414 * configure: Rebuild.
1415 * Makefile.in (install): Use @INSTALL_SHLIB@.
1417 Wed Jul 17 14:39:05 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
1419 * configure: (bfd_d10v_arch) Add new case.
1420 * configure.in: (bfd_d10v_arch) Add new case.
1421 * d10v-dis.c: New file.
1422 * d10v-opc.c: New file.
1423 * disassemble.c (disassembler) Add entry for d10v.
1425 Wed Jul 17 10:12:05 1996 J.T. Conklin <jtc@rtl.cygnus.com>
1427 * m68k-opc.c (m68k_opcodes): Fix bugs in coldfire insns relating
1428 to bcc, trapfl, subxl, and wddata discovered by Andreas Schwab.
1430 Mon Jul 15 16:59:55 1996 Stu Grossman (grossman@critters.cygnus.com)
1432 * i386-dis.c: Get rid of print_insn_i8086. Use info.mach to
1433 distinguish between variants of the instruction set.
1434 * sparc-dis.c: Get rid of print_insn_sparclite. Use info.mach to
1435 distinguish between variants of the instruction set.
1437 Fri Jul 12 10:12:01 1996 Stu Grossman (grossman@critters.cygnus.com)
1439 * i386-dis.c (print_insn_i8086): New routine to disassemble using
1440 the 8086 instruction set.
1441 * i386-dis.c: General cleanups. Make most things static. Add
1442 prototypes. Get rid of static variables aflags and dflags. Pass
1443 them as args (to almost everything).
1445 Thu Jul 11 11:58:44 1996 Jeffrey A Law (law@cygnus.com)
1447 * h8300-dis.c (bfd_h8_disassemble): Handle macregs in ldmac insns.
1449 * h8300-dis.c (bfd_h8_disassemble): Handle "ldm.l" and "stm.l".
1451 * h8300-dis.c (bfd_h8_disassemble): "abs" is implicitly two
1452 if the next arg is marked with SRC_IN_DST. Gross.
1454 * h8300-dis.c (bfd_h8_disassemble): Print "exr" when
1455 we're looking for and find EXR.
1457 * h8300-dis.c (bfd_h8_disassemble): We don't have a match
1458 if we're looking for KBIT and we don't find it.
1460 * h8300-dis.c (bfd_h8_disassemble): Mask off unwanted bits
1463 * h8300-dis.c (bfd_h8_disassemble): Don't set plen for
1464 3bit immediate operands.
1466 Tue Jul 9 10:55:20 1996 Ian Lance Taylor <ian@cygnus.com>
1468 * Released binutils 2.7.
1470 * alpha-opc.c: Add new case of "mov". From Klaus Kaempf
1471 <kkaempf@progis.ac-net.de>.
1473 Thu Jul 4 11:42:51 1996 Ian Lance Taylor <ian@cygnus.com>
1475 * alpha-opc.c: Correct second case of "mov" to use OPRL.
1477 Wed Jul 3 16:03:47 1996 Stu Grossman (grossman@critters.cygnus.com)
1479 * sparc-dis.c (print_insn_sparclite): New routine to print
1480 sparclite instructions.
1482 Wed Jul 3 14:21:18 1996 J.T. Conklin <jtc@rtl.cygnus.com>
1484 * m68k-opc.c (m68k_opcodes): Add coldfire support.
1486 Fri Jun 28 15:53:51 1996 Doug Evans <dje@canuck.cygnus.com>
1488 * sparc-opc.c (asi_table): Add #ASI_N, #ASI_N_L, #ASI_NUCLEUS,
1489 #ASI_NUCLEUS_LITTLE. Rename #ASI_AS_IF_USER_{PRIMARY,SECONDARY}_L
1490 to #ASI_AS_IF_USER_{PRIMARY,SECONDARY}_LITTLE.
1492 Tue Jun 25 22:58:31 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
1494 * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir):
1495 Use autoconf-set values.
1496 (docdir, oldincludedir): Removed.
1497 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
1499 Fri Jun 21 13:53:36 1996 Richard Henderson <rth@tamu.edu>
1501 * alpha-opc.c: New file.
1502 * alpha-opc.h: Remove.
1503 * alpha-dis.c: Complete rewrite to use new opcode table.
1504 * configure.in: For bfd_alpha_arch, use alpha-opc.o.
1505 * configure: Rebuild with autoconf 2.10.
1506 * Makefile.in (ALL_MACHINES): Add alpha-opc.o.
1507 (alpha-dis.o): Depend upon $(INCDIR)/opcode/alpha.h, not
1509 (alpha-opc.o): New target.
1511 Wed Jun 19 15:55:12 1996 Ian Lance Taylor <ian@cygnus.com>
1513 * sparc-dis.c (print_insn_sparc): Remove unused local variable i.
1514 Set imm_added_to_rs1 even if the source and destination register
1517 * sparc-opc.c: Add some two operand forms of the wr instruction.
1519 Tue Jun 18 15:58:27 1996 Jeffrey A. Law <law@rtl.cygnus.com>
1521 * h8300-dis.c (bfd_h8_disassemble): Rename "hmode" argument
1524 * disassemble.c (disassembler): Handle H8/S.
1525 * h8300-dis.c (print_insn_h8300s): New function for H8/S.
1527 Tue Jun 18 18:06:50 1996 Ian Lance Taylor <ian@cygnus.com>
1529 * sparc-opc.c: Add beq/teq as aliases for be/te.
1531 * ppc-opc.c: Fix fcmpo opcode. From Sergei Steshenko
1532 <sergei@msil.sps.mot.com>.
1534 Tue Jun 18 15:08:54 1996 Klaus Kaempf <kkaempf@progis.de>
1536 * makefile.vms: New file.
1538 * alpha-dis.c (print_insn_alpha): Print lda ra,lit(rz) as mov.
1540 Mon Jun 10 18:50:38 1996 Ian Lance Taylor <ian@cygnus.com>
1542 * h8300-dis.c (bfd_h8_disassemble): Always print ABS8MEM with :8,
1545 Tue Jun 4 09:15:53 1996 Doug Evans <dje@canuck.cygnus.com>
1547 * i386-dis.c (OP_OFF): Call append_prefix.
1549 Thu May 23 15:18:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
1551 * ppc-opc.c (instruction encoding macros): Add explicit casts to
1552 unsigned long to silence a warning from the Solaris PowerPC
1555 Thu Apr 25 19:33:32 1996 Doug Evans <dje@canuck.cygnus.com>
1557 * sparc-opc.c (sparc_opcodes): Add ultrasparc vis extensions.
1559 Mon Apr 22 17:12:35 1996 Doug Evans <dje@blues.cygnus.com>
1561 * sparc-dis.c (X_IMM,X_SIMM): New macros.
1563 (print_insn_sparc): Merge cases i,I,j together. New cases X,Y.
1564 * sparc-opc.c (sparc_opcodes): Use X for 5 bit shift constants,
1565 Y for 6 bit shift constants. Rewrite entries for crdcxt, cwrcxt,
1566 cpush, cpusha, cpull sparclet insns.
1568 Wed Apr 17 14:20:22 1996 Doug Evans <dje@canuck.cygnus.com>
1570 * sparc-dis.c (compute_arch_mask): Replace ANSI style def with K&R.
1572 Thu Apr 11 17:30:02 1996 Ian Lance Taylor <ian@cygnus.com>
1574 * sparc-opc.c: Set F_FBR on floating point branch instructions.
1575 Set F_FLOAT on other floating point instructions.
1577 Mon Apr 8 17:02:48 1996 Michael Meissner <meissner@tiktok.cygnus.com>
1579 * ppc-opc.c (PPC860): Macro for 860/821 specific instructions and
1581 (powerpc_opcodes): Add 860/821 specific SPRs.
1583 Mon Apr 8 14:00:44 1996 Ian Lance Taylor <ian@cygnus.com>
1585 * configure.in: Permit --enable-shared to specify a list of
1586 directories. Set and substitute BFD_PICLIST.
1587 * configure: Rebuild.
1588 * Makefile.in (BFD_PICLIST): Rename from BFD_LIST. Change all
1589 uses. Set to @BFD_PICLIST@.
1591 Fri Apr 5 17:12:27 1996 Jeffrey A Law (law@cygnus.com)
1593 * h8300-dis.c (bfd_h8_disassemble): Use "bit" for L_3 immediates,
1594 not "abs", which may be needed for the absolute in something
1595 like btst #0,@10:8. Print L_3 immediates separately from other
1596 immediates. Change ABSMOV reference to ABS8MEM.
1598 Wed Apr 3 10:40:45 1996 Doug Evans <dje@canuck.cygnus.com>
1600 * sparc-dis.c (opcodes_initialized): Move inside print_insn_sparc.
1601 (current_arch_mask): New static global.
1602 (compute_arch_mask): New static function.
1603 (print_insn_sparc): Delete sparc_v9_p. New static local
1604 current_mach. Resort opcode table if current_mach changes.
1605 Generalize "insn not supported" test.
1606 (compare_opcodes): Prefer supported opcodes to nonsupported ones.
1607 Delete test for v9/!v9.
1608 * sparc-opc.c (MASK_*): Use SPARC_OPCODE_ARCH_MASK.
1610 (brfc): Split into CBR and FBR for coprocessor/fp branches.
1611 (brfcx): Renamed to FBRX.
1612 (condfc): Renamed to CONDFC. Pass v6notlet to CBR (standard
1613 coprocessor mnemonics are not supported on the sparclet).
1614 (condf): Renamed to CONDF.
1615 (SLCBCC2): Delete F_ALIAS flag.
1617 Sat Mar 30 21:45:59 1996 Doug Evans <dje@canuck.cygnus.com>
1619 * sparc-opc.c (sparc_opcodes): rd must be 0 for
1620 mov foo,{%y,%psr,%wim,%tbr}. Support mov foo,%asrX.
1622 Fri Mar 29 13:02:40 1996 Ian Lance Taylor <ian@cygnus.com>
1624 * Makefile.in (config.status): Depend upon BFD VERSION file, so
1625 that the shared library version number is set correctly.
1627 Tue Mar 26 15:47:14 1996 Ian Lance Taylor <ian@cygnus.com>
1629 * configure.in: Use AC_CHECK_TOOL to find ar and ranlib. From
1630 Miles Bader <miles@gnu.ai.mit.edu>.
1631 * configure: Rebuild.
1633 Sat Mar 16 13:04:07 1996 Fred Fish <fnf@cygnus.com>
1635 * z8kgen.c (internal, gas): Call xmalloc rather than unchecked
1638 Tue Mar 12 12:14:10 1996 Ian Lance Taylor <ian@cygnus.com>
1640 * configure: Rebuild with autoconf 2.8.
1642 Thu Mar 7 15:11:10 1996 Doug Evans <dje@charmed.cygnus.com>
1644 * sparc-dis.c (print_insn_sparc): Handle 'O' operand char like 'r'.
1645 * sparc-opc.c (sparc_opcodes): Use 'O' operand char for `neg reg'.
1647 Tue Mar 5 15:51:57 1996 Ian Lance Taylor <ian@cygnus.com>
1649 * configure.in: Don't set SHLIB or SHLINK to an empty string,
1650 since they appear as targets in Makefile.in.
1651 * configure: Rebuild.
1653 Mon Feb 26 13:03:40 1996 Stan Shebs <shebs@andros.cygnus.com>
1655 * mpw-make.sed: Edit out shared library support bits.
1657 Tue Feb 20 20:48:28 1996 Doug Evans <dje@charmed.cygnus.com>
1659 * sparc-opc.c (v8,v6notv9): Add MASK_SPARCLET.
1660 (sparc_opcode_archs): Add MASK_V8 to sparclet entry.
1661 (sparc_opcodes): Add sparclet insns.
1662 (sparclet_cpreg_table): New static local.
1663 (sparc_{encode,decode}_sparclet_cpreg): New functions.
1664 * sparc-dis.c (print_insn_sparc): Handle sparclet cpregs.
1666 Tue Feb 20 11:02:44 1996 Alan Modra <alan@mullet.Levels.UniSA.Edu.Au>
1668 * i386-dis.c (index16): New static variable.
1669 (putop): Print jecxz for 32 bit case, jcxz for 16 bit, not the
1671 (OP_indirE): Return result of OP_E.
1672 (OP_E): Check for 16 bit addressing mode, and disassemble
1673 correctly. Optimised 32 bit case a little. Don't print
1674 "(base,index,scale)" when sib specifies only an offset.
1676 Mon Feb 19 12:32:17 1996 Ian Lance Taylor <ian@cygnus.com>
1678 * configure.in: Set and substitute SHLIB_DEP.
1679 * configure: Rebuild.
1680 * Makefile.in (SHLIB_DEP): New variable.
1681 (LIBIBERTY_LISTS, BFD_LIST): New variables.
1682 (stamp-piclist): Depend upon LIBIBERTY_LISTS and BFD_LIST. If
1683 COMMON_SHLIB, add them to piclist with appropriate modifications.
1684 ($(SHLIB)): Depend upon $(SHLIB_DEP). Don't check COMMON_SHLIB
1685 here: just use piclist.
1687 Mon Feb 19 02:03:50 1996 Doug Evans <dje@charmed.cygnus.com>
1689 * sparc-dis.c (MASK_V9,V9_ONLY_P,V9_P): Define.
1690 (print_insn_sparc): Rewrite v9/not-v9 tests.
1691 (compare_opcodes): Likewise.
1692 * sparc-opc.c (MASK_<ARCH>): Define.
1693 (v6,v7,v8,sparclite,v9,v9a): Redefine.
1694 (sparclet,v6notv9): Define.
1695 (sparc_opcode_archs): Delete member `conflicts'. Add `supported'.
1696 (sparc_opcodes): Delete F_NOTV9, use v6notv9 instead.
1698 Thu Feb 15 14:45:05 1996 Ian Lance Taylor <ian@cygnus.com>
1700 * configure.in: Call AC_PROG_CC before configure.host.
1701 * configure: Rebuild.
1703 * Makefile.in (SONAME): Remove leading ../bfd/ from $(SHLIB).
1705 Wed Feb 14 19:01:27 1996 Alan Modra <alan@spri.levels.unisa.edu.au>
1707 * i386-dis.c (onebyte_has_modrm): New static array.
1708 (twobyte_has_modrm): New static array.
1709 (print_insn_i386): Only fetch the mod/reg/rm byte if it is needed.
1711 Tue Feb 13 15:15:01 1996 Ian Lance Taylor <ian@cygnus.com>
1713 * Makefile.in ($(SHLINK)): Check ts against $(SHLIB), not
1716 Mon Feb 12 16:26:06 1996 Michael Meissner <meissner@tiktok.cygnus.com>
1718 * ppc-opc.c (PPC): Undef, so default defination on Windows NT
1721 Wed Feb 7 13:59:54 1996 Ian Lance Taylor <ian@cygnus.com>
1723 * m68k-opc.c (m68k_opcodes): The bkpt instruction is supported on
1724 m68010up, not just m68020up | cpu32.
1726 * Makefile.in (SONAME): New variable.
1727 ($(SHLINK)): Make a link to the transformed name, as well.
1728 (stamp-tshlink): New target.
1729 (install): Skip stamp-tshlink during install.
1731 Tue Feb 6 12:28:54 1996 Ian Lance Taylor <ian@cygnus.com>
1733 * configure.in: Call AC_ARG_PROGRAM.
1734 * configure: Rebuild.
1735 * Makefile.in (program_transform_name): New variable.
1736 (install): Transform library name before installing it.
1738 Mon Feb 5 16:14:42 1996 Ian Lance Taylor <ian@cygnus.com>
1740 * i960-dis.c (mem): Add HX dcinva instruction.
1742 Support for building as a shared library, based on patches from
1743 Alan Modra <alan@spri.levels.unisa.edu.au>:
1744 * configure.in: Add AC_ARG_ENABLE for shared and commonbfdlib.
1745 New substitutions: ALLLIBS, PICFLAG, SHLIB, SHLIB_CC,
1746 SHLIB_CFLAGS, COMMON_SHLIB, SHLINK.
1747 * configure: Rebuild.
1748 * Makefile.in (ALLLIBS): New variable.
1749 (PICFLAG, SHLIB, SHLIB_CC, SHLIB_CFLAGS): New variables.
1750 (COMMON_SHLIB, SHLINK): New variables.
1751 (.c.o): If PICFLAG is set, compile twice, once PIC, once normal.
1752 (STAGESTUFF): Remove variable.
1753 (all): Depend upon $(ALLLIBS) rather than $(TARGETLIB).
1754 (stamp-piclist, piclist): New targets.
1755 ($(SHLIB), $(SHLINK)): New targets.
1756 ($(OFILES)): Depend upon stamp-picdir.
1757 (disassemble.o): Build twice if PICFLAG is set.
1758 (MOSTLYCLEAN): Add pic/*.o.
1759 (clean): Remove $(SHLIB), $(SHLINK), piclist, and stamp-piclist.
1760 (distclean): Remove pic and stamp-picdir.
1761 (install): Install shared libraries.
1762 (stamp-picdir): New target.
1764 Fri Feb 2 17:15:25 1996 Doug Evans <dje@charmed.cygnus.com>
1766 * sparc-dis.c (print_insn_sparc): Delete DISASM_RAW_INSN support.
1767 Print unknown instruction as "unknown", rather than in hex.
1769 Tue Jan 30 14:06:08 1996 Ian Lance Taylor <ian@cygnus.com>
1771 * dis-buf.c: Include "sysdep.h" before "dis-asm.h".
1773 Thu Jan 25 20:24:07 1996 Doug Evans <dje@charmed.cygnus.com>
1775 * sparc-opc.c (sparc_opcode_archs): Mark v8/sparclite as conflicting.
1777 Thu Jan 25 11:56:49 1996 Ian Lance Taylor <ian@cygnus.com>
1779 * i386-dis.c (print_insn_i386): Only fetch the mod/reg/rm byte
1780 when necessary. From Ulrich Drepper
1781 <drepper@myware.rz.uni-karlsruhe.de>.
1783 Thu Jan 25 03:39:10 1996 Doug Evans <dje@charmed.cygnus.com>
1785 * sparc-dis.c (print_insn_sparc): NUMOPCODES replaced with
1786 sparc_num_opcodes. Update architecture enum values.
1787 * sparc-opc.c (sparc_opcode_archs): Replaces architecture_pname.
1788 (sparc_opcode_lookup_arch): New function.
1789 (sparc_num_opcodes): Renamed from bfd_sparc_num_opcodes.
1790 (sparc_opcodes): Add v9a shutdown insn.
1792 Mon Jan 22 08:29:59 1996 Doug Evans <dje@charmed.cygnus.com>
1794 * sparc-dis.c (print_insn_sparc): Renamed from print_insn.
1795 If DISASM_RAW_INSN, print insn in hex. Handle v9a as opcode
1797 (print_insn_sparc64): Deleted.
1798 * disassemble.c (disassembler, case bfd_arch_sparc): Always use
1801 * sparc-opc.c (architecture_pname): Add v9a.
1803 Fri Jan 12 14:35:58 1996 David Mosberger-Tang <davidm@AZStarNet.com>
1805 * alpha-opc.h (alpha_insn_set): VAX floating point opcode was
1806 incorrectly defined as 0x16 when it should be 0x15.
1807 (FLOAT_FORMAT_MASK): function code is 11 bits, not just 7 bits!
1808 (alpha_insn_set): added cvtst and cvttq float ops. Also added
1809 excb (exception barrier) which is defined in the Alpha
1810 Architecture Handbook version 2.
1811 * alpha-dis.c (print_insn_alpha): Fixed special-case decoding for
1812 OPERATE_FORMAT_CODE type instructions. The bug caused mulq to be
1813 disassembled as or, for example.
1815 Wed Jan 10 12:37:22 1996 Ian Lance Taylor <ian@cygnus.com>
1817 * mips-dis.c (print_insn_arg): Print cases 'i' and 'u' in hex.
1818 (_print_insn_mips): Change i from int to unsigned int.
1820 Thu Jan 4 17:21:10 1996 David Edelsohn <edelsohn@mhpcc.edu>
1822 * ppc-opc.c (powerpc_opcodes): tlbi POWER opcode form different
1823 from tlbie PowerPC opcode. Add PPC603 tlbld and tlbli.
1825 Thu Dec 28 13:29:19 1995 John Hassey <hassey@rtp.dg.com>
1827 * i386-dis.c: Added Pentium Pro instructions.
1829 Tue Dec 19 22:56:35 1995 Michael Meissner <meissner@tiktok.cygnus.com>
1831 * ppc-opc.c (fsqrt{,.}): Duplicate for PowerPC in addition to
1834 Fri Dec 15 14:14:15 1995 J.T. Conklin <jtc@rtl.cygnus.com>
1836 * sh-opc.h (sh_nibble_type): Added REG_B.
1837 (sh_arg_type): Added A_REG_B.
1838 (sh_table): Added pref and bank reg versions of ldc, ldc.l, stc
1840 * sh-dis.c (print_insn_shx): Added cases for REG_B and A_REG_B.
1842 Fri Dec 15 16:44:31 1995 Ian Lance Taylor <ian@cygnus.com>
1844 * disassemble.c (disassembler): Use new bfd_big_endian macro.
1846 Tue Dec 12 12:22:24 1995 Ian Lance Taylor <ian@cygnus.com>
1848 * Makefile.in (distclean): Remove stamp-h. From Ronald
1849 F. Guilmette <rfg@monkeys.com>.
1851 Tue Dec 5 13:42:44 1995 Stan Shebs <shebs@andros.cygnus.com>
1853 From David Mosberger-Tang <davidm@azstarnet.com>:
1854 * alpha-dis.c (print_insn_alpha): fixed decoding of cpys
1857 Mon Dec 4 12:29:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
1859 * sh-opc.h (sh_arg_type): Added A_SSR and A_SPC.
1860 (sh_table): Added many SH3 opcodes.
1861 * sh-dis.c (print_insn_shx): Added cases for A_SSR and A_SPC.
1863 Fri Dec 1 07:42:18 1995 Michael Meissner <meissner@tiktok.cygnus.com>
1865 * ppc-opc.c (subfc., subfco): Mark this PPCCOM, not PPC.
1866 (subco,subco.): Mark this PPC, not PPCCOM.
1868 Mon Nov 27 13:09:52 1995 Ian Lance Taylor <ian@cygnus.com>
1870 * configure: Rebuild with autoconf 2.7.
1872 Tue Nov 21 18:28:06 1995 Ian Lance Taylor <ian@cygnus.com>
1874 * configure: Rebuild with autoconf 2.6.
1876 Wed Nov 15 19:02:53 1995 Ken Raeburn <raeburn@cygnus.com>
1878 * configure.in: Sort list of architectures. Accept but do nothing
1879 for alliant, convex, pyramid, romp, and tahoe.
1881 Wed Nov 8 20:18:59 1995 Ian Lance Taylor <ian@cygnus.com>
1883 * a29k-dis.c (print_special): Change num to unsigned int.
1885 Wed Nov 8 20:10:35 1995 Eric Freudenthal <freudenthal@nyu.edu>
1887 * a29k-dis.c (print_insn): Cast insn24 to unsigned long when
1890 Tue Nov 7 15:21:06 1995 Ian Lance Taylor <ian@cygnus.com>
1892 * configure.in: Call AC_CHECK_PROG to find and cache AR.
1893 * configure: Rebuilt.
1895 Mon Nov 6 17:39:47 1995 Harry Dolan <dolan@ssd.intel.com>
1897 * configure.in: Add case for bfd_i860_arch.
1898 * configure: Rebuild.
1900 Fri Nov 3 12:45:31 1995 Ian Lance Taylor <ian@cygnus.com>
1902 * m68k-opc.c (m68k_opcodes): Correct fmoveml operands.
1903 * m68k-dis.c (NEXTSINGLE): Change i to unsigned int.
1904 (NEXTDOUBLE): Likewise.
1905 (print_insn_m68k): Don't match fmoveml if there is more than one
1906 register in the list.
1907 (print_insn_arg): Handle a place of '8' for a type of 'L'.
1909 Thu Nov 2 23:06:33 1995 Ian Lance Taylor <ian@cygnus.com>
1911 * m68k-opc.c: Use #W rather than #w.
1912 * m68k-dis.c (print_insn_arg): Handle new 'W' place.
1914 Wed Nov 1 13:30:24 1995 Ian Lance Taylor <ian@cygnus.com>
1916 * m68k-opc.c (m68k_opcode_aliases): Add dbfw as an alias for dbf,
1917 and likewise for all the dbxx opcodes.
1919 Mon Oct 30 20:50:40 1995 Fred Fish <fnf@cygnus.com>
1921 * arc-dis.c: Include elf-bfd.h rather than libelf.h.
1923 Mon Oct 23 11:11:34 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
1925 * mips-opc.c: Added shorthand (V1) for INSN_4100 manifest. Added
1926 the VR4100 specific instructions to the mips_opcodes structure.
1928 Thu Oct 19 11:05:23 1995 Stan Shebs <shebs@andros.cygnus.com>
1930 * mpw-config.in, mpw-make.sed: Remove ugly workaround for
1931 ugly Metrowerks bug in CW6, is fixed in CW7.
1933 Mon Oct 16 12:59:01 1995 Michael Meissner <meissner@tiktok.cygnus.com>
1935 * ppc-opc.c (whole file): Add flags for common/any support.
1937 Tue Oct 10 11:06:07 1995 Fred Fish <fnf@cygnus.com>
1939 * Makefile.in (BISON): Remove macro.
1940 (FLAGS_TO_PASS): Remove BISON.
1942 Fri Oct 6 16:26:45 1995 Ken Raeburn <raeburn@cygnus.com>
1944 Mon Sep 25 22:49:32 1995 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1946 * m68k-dis.c (print_insn_m68k): Recognize all two-word
1947 instructions that take no args by looking at the match mask.
1948 (print_insn_arg): Always print "%" before register names.
1949 [case 'c']: Use "nc" for the no-cache case, as recognized by gas.
1950 [case '_']: Don't print "@#" before address.
1951 [case 'J']: Use "%s" as format string, not register name.
1952 [case 'B']: Treat place == 'C' like 'l' and 'L'.
1954 Thu Oct 5 22:16:20 1995 Ken Raeburn <raeburn@cygnus.com>
1956 * i386-dis.c: Describe cmpxchg8b operand, and spell the opcode
1959 Tue Oct 3 08:30:20 1995 steve chamberlain <sac@slash.cygnus.com>
1961 From David Mosberger-Tang <davidm@azstarnet.com>
1963 * alpha-opc.h (MEMORY_FUNCTION_FORMAT_MASK): added.
1964 (alpha_insn_set): added definitions for VAX floating point
1965 instructions (Unix compilers don't generate these, but handcoded
1966 assembly might still use them).
1968 * alpha-dis.c (print_insn_alpha): added support for disassembling
1969 the miscellaneous instructions in the Alpha instruction set.
1971 Tue Sep 26 18:47:20 1995 Stan Shebs <shebs@andros.cygnus.com>
1973 * mpw-config.in: Add m68k-opc.c.o to BFD_MACHINES for m68k,
1974 no longer create sysdep.h, sed ppc-opc.c to work around a
1975 serious Metrowerks C bug.
1976 * mpw-make.in: Remove.
1977 * mpw-make.sed: New file, used by mpw-configure to edit
1978 Makefile.in into an MPW makefile.
1980 Wed Sep 20 12:55:28 1995 Ian Lance Taylor <ian@cygnus.com>
1982 * Makefile.in (maintainer-clean): New synonym for realclean.
1984 Tue Sep 19 15:28:36 1995 Ian Lance Taylor <ian@cygnus.com>
1986 * m68k-opc.c: Split pmove patterns which use 'P' into patterns
1987 which use '0', '1', and '2' instead. Specify the proper size for
1988 a pmove immediate operand. Correct the pmovefd patterns to be
1989 moves to a register, not from a register.
1990 * m68k-dis.c (print_insn_arg): Replace 'P' with '0', '1', '2'.
1992 Thu Sep 14 11:58:22 1995 Doug Evans <dje@canuck.cygnus.com>
1994 * sparc-opc.c (sparc_opcodes): Mark all insns that reference
1995 %psr, %wim, %tbr as F_NOTV9.
1997 Fri Sep 8 01:07:38 1995 Ian Lance Taylor <ian@cygnus.com>
1999 * Makefile.in (Makefile): Just rebuild Makefile when running
2001 (config.h, stamp-h): New targets.
2002 * configure.in: Call AC_CONFIG_HEADER and AC_CANONICAL_SYSTEM
2003 earlier. Don't bother to call AC_ARG_PROGRAM. Touch stamp-h when
2004 rebuilding config.h.
2005 * configure: Rebuild.
2007 * mips-opc.c: Change unaligned loads and stores with "t,A"
2008 operands to use "t,A(b)".
2010 Thu Sep 7 19:02:46 1995 Jim Wilson <wilson@chestnut.cygnus.com>
2012 * sh-dis.c (print_insn_shx): Add F_FR0 support.
2014 Thu Sep 7 19:02:46 1995 Jim Wilson <wilson@chestnut.cygnus.com>
2016 * sh-dis.c (print_insn_shx): Change loop over op->arg[n] to iterate
2017 until 3 instead of until 2.
2019 Wed Sep 6 21:21:33 1995 Ian Lance Taylor <ian@cygnus.com>
2021 * Makefile.in (ALL_CFLAGS): Define.
2022 (.c.o, disassemble.o): Use $(ALL_CFLAGS).
2023 (MOSTLYCLEAN): Add config.log.
2024 (distclean): Don't remove config.log.
2025 * configure.in: Substitute HDEFINES.
2026 * configure: Rebuild.
2028 Wed Sep 6 15:08:09 1995 Jim Wilson <wilson@chestnut.cygnus.com>
2030 * sh-opc.h (sh_arg_type): Add F_FR0.
2031 (sh_table, case fmac): Add F_FR0 as first argument.
2033 Wed Sep 6 15:08:09 1995 Jim Wilson <wilson@chestnut.cygnus.com>
2035 * sh-opc.h (sh_opcode_info): Increase arg array size to 4.
2037 Tue Sep 5 18:28:10 1995 Doug Evans <dje@canuck.cygnus.com>
2039 * sparc-dis.c: Remove all references to NO_V9.
2041 Tue Sep 5 20:03:26 1995 Ian Lance Taylor <ian@cygnus.com>
2043 * aclocal.m4: Just include ../bfd/aclocal.m4.
2044 * configure: Rebuild.
2046 Tue Sep 5 16:09:59 1995 Doug Evans <dje@canuck.cygnus.com>
2048 * sparc-dis.c (X_DISP19): Define.
2049 (print_insn, case 'G'): Use it.
2050 (print_insn, case 'L'): Sign extend displacement.
2052 Mon Sep 4 14:28:46 1995 Ian Lance Taylor <ian@cygnus.com>
2054 * configure.in: Run ../bfd/configure.host before AC_PROG_CC.
2055 Subsitute CFLAGS and AR. Call AC_PROG_INSTALL. Don't substitute
2056 host_makefile_frag or frags.
2057 * aclocal.m4: New file.
2058 * configure: Rebuild.
2059 * Makefile.in (INSTALL): Set to @INSTALL@.
2060 (INSTALL_PROGRAM): Set to @INSTALL_PROGRAM@.
2061 (INSTALL_DATA): Set to @INSTALL_DATA@.
2063 (AR_FLAGS): Set to rc rather than qc.
2064 (CC): Define as @CC@.
2065 (CFLAGS): Set to @CFLAGS@.
2066 (@host_makefile_frag@): Remove.
2067 (config.status): Remove dependency upon @frags@.
2069 * configure.in: ../bfd/config.bfd now just sets shell variables.
2070 Use them rather than looking through target Makefile fragments.
2071 * configure: Rebuild.
2073 Thu Aug 31 12:35:32 1995 Jim Wilson <wilson@chestnut.cygnus.com>
2075 * sh-opc.h (ftrc): Change FPUL_N to FPUL_M.
2077 Wed Aug 30 13:52:28 1995 Doug Evans <dje@canuck.cygnus.com>
2079 * sparc-opc.c (sparc_opcodes): Delete duplicate wr %y insn.
2080 Add clrx, iprefetch, signx, clruw, cas, casl, casx, casxl synthetic
2083 * sparc-opc.c (sparc_opcodes): Fix prefetcha insn.
2084 (lookup_{name,value}): New functions.
2085 (prefetch_table): New static local.
2086 (sparc_{encode,decode}_prefetch): New functions.
2087 * sparc-dis.c (print_insn): Handle '*' arg (prefetch function).
2089 Wed Aug 30 11:11:58 1995 Jim Wilson <wilson@chestnut.cygnus.com>
2091 * sh-opc.h: Add blank lines to improve readabililty of sh3e
2094 Wed Aug 30 11:09:38 1995 Jim Wilson <wilson@chestnut.cygnus.com>
2096 * sh-dis.c: Correct comment on first line of file.
2098 Tue Aug 29 15:37:18 1995 Doug Evans <dje@canuck.cygnus.com>
2100 * disassemble.c (disassembler): Handle bfd_mach_sparc64.
2102 * sparc-opc.c (asi, membar): New static locals.
2103 (sparc_{encode,decode}_{asi,membar}): New functions.
2104 (sparc_opcodes, membar insn): Fix.
2105 * sparc-dis.c (print_insn): Call sparc_decode_asi.
2106 Support decoding of membar masks.
2109 Sat Aug 26 21:22:48 1995 Ian Lance Taylor <ian@cygnus.com>
2111 * m68k-opc.c (m68k_opcode_aliases): Add br, brs, brb, brw, brl.
2113 Mon Aug 21 17:33:36 1995 Ian Lance Taylor <ian@cygnus.com>
2115 * m68k-opc.c (m68k_opcode_aliases): Add bhib as an alias for bhis,
2116 and likewise for the other branches. Add bhs as an alias for bcc,
2117 and likewise for the size variants. Add dbhs as an alias for
2120 Fri Aug 11 13:40:24 1995 Jeff Law (law@snake.cs.utah.edu)
2122 * sh-opc.h (FP sts instructions): Update to match reality.
2124 Mon Aug 7 16:12:58 1995 Ian Lance Taylor <ian@cygnus.com>
2126 * m68k-dis.c: (fpcr_names): Add % before all register names.
2127 (reg_names): Likewise.
2128 (print_insn_arg): Don't explicitly print % before register names.
2129 Add % before register names in static array names. In case 'r',
2130 print data registers as `@(Dn)', not `Dn@'. When printing a
2131 memory address, don't print @# before it.
2132 (print_indexed): Change base_disp and outer_disp from int to
2133 bfd_vma. Print using MIT syntax, not mutant invalid Motorola
2134 syntax. Sign extend 8 byte displacement correctly.
2135 (print_base): Print using MIT syntax. Print zpc when appropriate.
2136 Change parameter disp from int to bfd_vma.
2138 * m68k-opc.c (m68k_opcode_aliases): Add jsrl and jsrs as aliases
2141 Mon Aug 7 02:21:40 1995 Jeff Law (law@snake.cs.utah.edu)
2143 * sh-dis.c (print_insn_shx): Handle new operand types F_REG_N,
2144 F_REG_M, FPSCR_M, FPSCR_N, FPUL_M and FPUL_N.
2145 * sh-opc.h (sh_arg_type): Add new operand types.
2146 (sh_table): Add new opcodes from SH3E Floating Point ISA.
2148 Sat Aug 5 16:50:14 1995 Fred Fish <fnf@cygnus.com>
2150 * Makefile.in (distclean): Remove generated file config.h.
2152 Sat Aug 5 16:50:14 1995 Fred Fish <fnf@cygnus.com>
2154 * Makefile.in (distclean): Remove generated file config.h.
2156 Wed Aug 2 18:33:40 1995 Ian Lance Taylor <ian@cygnus.com>
2158 * m68k-opc.c: New file, holding tables from include/opcode/m68k.h.
2160 * m68k-dis.c: Remove BREAK_UP_BIG_DECL stuff.
2162 (print_insn_m68k): Change d to be const. Use m68k_numopcodes
2163 rather than numopcodes. Use m68k_opcodes rather than removed
2164 opcode function. Don't check F_ALIAS.
2165 (print_insn_arg): Change first parameter to be const char *.
2166 * Makefile.in (ALL_MACHINES): Add m68k-opc.o.
2167 (m68k-opc.o): New target.
2168 * configure.in: Build m68k-opc.o for bfd_m68k_arch.
2169 * configure: Rebuild.
2171 Wed Aug 2 08:23:38 1995 Doug Evans <dje@canuck.cygnus.com>
2173 * sparc-dis.c (HASH_SIZE, HASH_INSN): Define.
2174 (opcode_bits, opcode_hash_table): New variables.
2175 (opcodes_initialized): Renamed from opcodes_sorted.
2176 (build_hash_table): New function.
2177 (is_delayed_branch): Use hash table.
2178 (print_insn): Renamed from print_insn_sparc, made static.
2179 Build and use hash table. If !sparc64, ignore sparc64 insns,
2180 and vice-versa if sparc64.
2181 (print_insn_sparc, print_insn_sparc64): New functions.
2182 (compare_opcodes): Move sparc64 opcodes to end.
2183 Print commutative insns with constant second.
2184 * sparc-opc.c (all non-v9 insns): Use flag F_NOTV9 instead of F_ALIAS.
2186 Tue Aug 1 00:12:49 1995 Ian Lance Taylor <ian@cygnus.com>
2188 * sh-dis.c (print_insn_shx): Remove unused local dslot. Use
2189 print_address_func for A_BDISP12 and A_BDISP8. Correct test which
2190 avoids printing a delay slot in a delay slot.
2191 * sh-opc.h (sh_table): Fully bracket last entry.
2193 Mon Jul 31 12:04:47 1995 Doug Evans <dje@canuck.cygnus.com>
2195 * sparc-opc.c (sllx, srax, srlx): Fix disassembly.
2197 Wed Jul 12 00:59:34 1995 Ken Raeburn <raeburn@kr-pc.cygnus.com>
2199 * configure.in: Get host_makefile_frag from ${srcdir}.
2201 * configure.in: Autoconfiscated. Check for string[s].h. Create
2202 config.h from config.in. Don't set up sysdep.h link.
2203 * sysdep.h: New file.
2204 * configure, config.in: New files, generated from configure.in.
2205 * Makefile.in: Updated to be processed autoconf-style.
2206 (distclean): Keep sysdep.h. Remove config.log and config.cache.
2207 (Makefile): Depend on config.status.
2208 (config.status): New rule.
2209 * configure.bat: Update Makefile substitutions.
2211 Tue Jul 11 14:23:37 1995 Jeff Spiegel <jeffs@lsil.com>
2213 * mips-opc.c (L1): Define.
2214 (mips_opcodes): Add R4010 instructions: flushi, flushd, flushid,
2215 addciu, madd, maddu, ffc, ffs, msub, msubu, selsi, selsr, waiti,
2218 Tue Jul 11 11:49:49 1995 Ian Lance Taylor <ian@cygnus.com>
2220 * mips-opc.c (mips_opcodes): For the move pseudo-op, prefer daddu
2221 if ISA 3 and addu otherwise, replacing or, since some MIPS chips
2222 have multiple add units but only a single logical unit.
2224 * ppc-opc.c (powerpc_operands): Change CR to use a bitsize of 3,
2225 shifted by 18, without any insertion or extraction function.
2226 (insert_cr, extract_cr): Remove.
2229 Mon Jul 3 11:54:31 1995 Ian Lance Taylor <ian@cygnus.com>
2231 * Makefile.in (ALL_MACHINES): Add arc-dis.o and arc-opc.o.
2234 Wed Jun 21 20:05:39 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
2236 * m68k-dis.c (print_insn_arg, print_indexed): Print "%" before
2239 Thu Jun 15 17:23:31 1995 Stan Shebs <shebs@andros.cygnus.com>
2241 * mpw-config.in: Add sh and i386 configs, remove sparc config.
2242 * sh-opc.h: Add copyright.
2244 Mon Jun 5 03:30:43 1995 Ken Raeburn <raeburn@kr-laptop.cygnus.com>
2246 * Makefile.in (crunch-m68k): Delete extra target accidentally
2247 checked in a while ago.
2249 Wed May 24 16:22:13 1995 Jim Wilson <wilson@chestnut.cygnus.com>
2251 * sh-opc.h (sh_table): Add SH3 support.
2253 Wed May 24 14:16:08 1995 Steve Chamberlain <sac@slash.cygnus.com>
2255 * sh-opc.h: Added bsrf and braf.
2257 Wed May 10 14:28:16 1995 Richard Earnshaw (rearnsha@armltd.co.uk)
2259 * arm-opc.h (arm_opcodes): Add 64-bit multiply patterns. Delete
2260 bogus [ls]fm{ea,fd} patterns.
2262 * arm-opc.h (arm_opcodes): Correct typos in stm, ldm, std, and ldc.
2263 * arm-dis.c (print_insn_arm): Make GIVEN a parameter, don't try and
2264 initialize it from memory. Make function static.
2265 (print_insn_{big,little}_arm): New functions.
2266 * disassemble.c (disassembler, case bfd_arch_arm): Disassemble for
2267 the correct endianness.
2270 Sat Apr 29 23:20:05 1995 Doug Evans <dje@chestnut.cygnus.com>
2272 * arc-opc.c (arc_opcodes): Add ARC_OPCODE_CONDITIONAL_BRANCH flag.
2273 (arc_suffixes): Use ARC_DELAY_{NONE,NORMAL,JUMP}.
2276 Mon Apr 24 14:18:05 1995 Jason Molenda (crash@phydeaux.cygnus.com>
2278 * sh-opc.h (sh_nibble_type, sh_arg_type): remove trailing , from
2281 Wed Apr 19 14:07:03 1995 Michael Meissner <meissner@tiktok.cygnus.com>
2283 * m68k-dis.c (opcode): Finish change made by Kung Hsu on April
2284 17th, so that it builds again using GCC as the compiler.
2286 Tue Apr 18 12:14:51 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
2288 * mips-dis.c (print_insn_little_mips): Cast return value from
2289 bfd_getl32 from bfd_vma to unsigned long, because _print_insn_mips
2290 expects an unsigned long, and that might be fewer words of
2291 argument storage (e.g., if bfd_vma is long long on a 32-bit
2293 (print_insn_big_mips): Likewise with bfd_getb32 value.
2294 (_print_insn_mips): Now static.
2296 Mon Apr 17 12:23:28 1995 Kung Hsu <kung@rtl.cygnus.com>
2298 * m68k-dis.c: Take out #define BREAK_UP_BIG_DECL kludge, because
2299 gcc memory hog problem with initializer is fixed.
2302 Wed Apr 12 09:04:12 1995 Doug Evans <dje@canuck.cygnus.com>
2304 * arc-opc.c (NULL): Define.
2305 (arc_operands, insn fields u,s): Delete.
2306 (arc_operands, insn fields a,b,c): Mark as signed.
2307 (arc_opcodes): No longer const, links computed at run-time.
2308 (arc_opcodes, mac/mul insns): Breakout suffixes as we don't handle
2309 suffixes that affect the insn code.
2310 (arc_opcodes): Resort table to macros are first.
2311 (arc_opcodes, ld [b,c] entry): Add %Q to prevent shimms.
2312 (arc_opcodes, st [b] entry): Likewise.
2313 (arc_opcodes, st [b,d] entry): Fix mask, value.
2314 (arc_reg_names): Add entries for r29, r30, r31, r60.
2315 (opcode_map, icode_map): New static globals.
2316 (arc_opcode_init_tables): Initialize them.
2317 (arc_opcode_lookup_asm, arc_opcode_lookup_dis): New functions.
2318 (insert_shimmoffset): Signal error if register present.
2320 * arc-dis.c (print_insn): Call arc_opcode_lookup_dis.
2323 Mon Apr 10 15:55:01 1995 Stan Shebs <shebs@andros.cygnus.com>
2325 Merge in support for Mac MPW as a host.
2326 (Old change descriptions retained for informational value.)
2328 * mpw-config.in (archname): Compute from the config.
2329 (BFD_MACHINES, ARCHDEFS): Put into mk.tmp.
2331 * mpw-config.in (target_arch): Compute from canonical target.
2332 (m68k, mips, powerpc, sparc): Add architectures.
2333 * mpw-make.in (disassemble.c.o): Add.
2334 (ALL_CFLAGS): Remove special flags (-mc68020 -mc68881 -model far).
2336 * mpw-config.in (BFD_MACHINES): Set to a default value.
2337 * mpw-make.in (BFD_MACHINES): Remove wired-in value.
2339 * mpw-make.in (CSEARCH): Add extra-include to search path.
2341 * mpw-config.in (varargs.h): Don't create.
2342 (sysdep.h): Create using forward-include.
2343 * mpw-make.in (CSEARCH): Add include/mpw to search path.
2345 * mpw-config.in: New file, MPW version of configure.in.
2346 * mpw-make.in: New file, MPW version of Makefile.in.
2349 Thu Apr 6 20:36:08 1995 Doug Evans <dje@chestnut.cygnus.com>
2351 * arc-dis.c (print_insn): New parameter `big_p'. Callers updated.
2352 Call arc_get_opcode_mach to map bfd mach number to opcode value.
2353 (print_insn_*): Pass bfd mach number, not opcode version.
2354 * arc-opc.c (arc_get_opcode_mach): New function.
2357 Fri Mar 31 14:23:38 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
2359 * alpha-dis.c (print_insn_alpha): Put empty statement after
2362 Tue Mar 21 10:51:40 1995 Jeff Law (law@snake.cs.utah.edu)
2364 * hppa-dis.c (sign_extend): Delete, redundant with libhppa.h version.
2365 (low_sign_extend): Likewise.
2366 (get_field): Delete unused function.
2367 (set_field, deposit_14, deposit_21): Likewise.
2369 Fri Mar 17 15:55:53 1995 J.T. Conklin <jtc@rtl.cygnus.com>
2371 * i386-dis.c: Support for more pentium opcodes. From Guy Harris
2374 Tue Mar 14 00:52:57 1995 Ken Raeburn (raeburn@kr-pc.cygnus.com)
2376 Sat Feb 11 17:22:41 1995 Klaus Kaempf (kkaempf@didymus.rmi.de)
2378 * alpha-opc.h (OSF_ASMCODE): define
2379 print pal-code names as defined in App C of the
2380 Alpha Architecture Reference Manual
2382 * alpha-dis.c: cleaned up output
2383 print stylized code forms as defined in App A.4.3 of the
2384 Alpha Architecture Reference Manual
2386 Wed Mar 8 15:21:14 1995 Ian Lance Taylor <ian@cygnus.com>
2388 * mips-opc.c: Add new mips4 instructions. Don't set INSN_RFE for
2390 * mips-dis.c (print_insn_arg): Handle new argument types 'h', 'R',
2393 Wed Mar 8 02:54:05 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
2395 * m68k-dis.c (opcode): New function. Returns address of opcode
2396 table entry given index, even if the opcode table was split to
2397 work around gcc bugs.
2398 (print_insn_m68k): Call opcode instead of referencing m68k_opcodes
2400 (BREAK_UP_BIG_DECL): Make secondary array static and const.
2401 (reg_names): Now const.
2402 (print_insn_arg): Arrays cacheFieldName and names now const.
2403 (print_indexed): Array scales now const.
2406 Tue Mar 7 21:14:14 1995 Doug Evans <dje@chestnut.cygnus.com>
2408 * arc-dis.c (print_insn_arc_base): Split into big and little fns.
2409 (print_insn_arc_{host,graphics,audio}): Likewise.
2410 (print_insn): Add prototype.
2411 (arc_get_disassembler): New arg `big_p'. Return little or big
2412 print fn accordingly.
2413 * arc-opc.c (arc_opcode_init_tables): Init arc_operand_map once.
2414 (arc_opcode_supported): Use ARC_OPCODE_CPU to ignore byte order.
2415 (arc_opval_supported): Likewise.
2416 * disassemble.c (disassembler): Pass big endian flag to
2417 arc_get_disassembler.
2420 Tue Mar 7 16:41:21 1995 Ian Lance Taylor <ian@cygnus.com>
2422 * ppc-opc.c: Sort recently added instructions by minor opcode
2423 number within major opcode number.
2425 Mon Mar 6 10:04:36 1995 Jeff Law (law@snake.cs.utah.edu)
2427 * hppa-dis.c: Include libhppa.h.
2429 Fri Feb 24 19:15:36 1995 Ian Lance Taylor <ian@cygnus.com>
2431 * mips-opc.c: Change dli to use M_DLI, and add dla.
2433 Mon Feb 20 23:54:38 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2435 * Makefile.in (ALL_MACHINES): Add w65-dis.o.
2438 Fri Feb 17 12:42:25 1995 Doug Evans <dje@chestnut.cygnus.com>
2440 * arc-dis.c (arc_get_disassembler): Change argument to int,
2441 one of bfd_mach_arc_xxx. All callers updated.
2444 Thu Feb 16 17:34:41 1995 Ian Lance Taylor <ian@cygnus.com>
2446 * mips-opc.c: Add r4650 mul instruction.
2448 Wed Feb 15 15:45:20 1995 Ian Lance Taylor <ian@cygnus.com>
2450 * mips-opc.c: Add uld and usd macros for unaligned double load and
2453 Tue Feb 14 13:17:37 1995 Michael Meissner <meissner@tiktok.cygnus.com>
2455 * ppc-opc.c (powerpc_opcodes): Add 403GA opcodes rfci, dccci,
2456 mfdcr, mtdcr, icbt, iccci.
2459 Mon Feb 13 11:09:17 1995 Doug Evans <dje@canuck.cygnus.com>
2461 * arc-dis.c (print_insn): Handle ARC_OPERAND_ADDRESS.
2462 * arc-opc.c (arc_operands): New operand 'J' for jump addresses.
2463 ('L' operand): Mark as ARC_OPERAND_ADDRESS.
2464 (arc_opcodes, j insn): Use 'J' operand type, not 'L'.
2465 (arc_opcodes, ld/st insns): Fix address writeback operand letter.
2466 (insert_absaddr): New function.
2468 Thu Feb 9 19:19:23 1995 Doug Evans <dje@canuck.cygnus.com>
2470 * arc-dis.c (print_insn_arc): Rename to print_insn and make static.
2471 New argument `cpu', pass it to arc_opcode_init_tables.
2472 Document byte order dependencies. Ignore unsupported insns.
2473 (arc_get_disassembler): New function.
2474 (print_insn_arc_base, print_insn_arc_host, print_insn_arc_graphics,
2475 print_insn_arc_audio): New functions.
2476 * arc-opc.c (MULTSHIFT operand): Delete.
2477 (UNSIGNED, SATURATION): New operands.
2478 (mac, mul, mul64, mulu64): New insns.
2479 (ext. asl, asr, lsr, ror): Only available on host and graphics cpus.
2480 (padc, padd, pmov, pand, psbc, psub, swap): New insns.
2481 (host,graphics,audio extended and auxiliary regs): Define.
2482 (ss, sc, mh, ml): New suffixes.
2483 (arc_opcode_supported, arc_opval_supported): New functions.
2484 (insert_multshift, extract_multshift): Deleted.
2485 * disassemble.c (disassembler, case bfd_arch_arc): Call
2486 arc_get_disassembler to get disassembler routine.
2489 Thu Feb 9 12:28:13 1995 Stan Shebs <shebs@andros.cygnus.com>
2491 * i960-dis.c (struct tabent, struct sparse_tabent): Change the
2492 signed char fields to shorts, more portable.
2494 Wed Feb 8 17:29:29 1995 Stan Shebs <shebs@andros.cygnus.com>
2496 * i960-dis.c (struct tabent, struct sparse_tabent): Declare the
2497 char fields as signed chars, since they may have negative values.
2499 Mon Feb 6 10:52:06 1995 J.T. Conklin <jtc@rtl.cygnus.com>
2501 * i386-dis.c (dis386_twobyte): Add cpuid, From Charles Hannum
2502 (mycroft@netbsd.org).
2504 Mon Jan 30 12:38:00 1995 Ian Lance Taylor <ian@cygnus.com>
2506 From "Logg, Ed" <elogg@ea.com>:
2507 * ppc-opc.c (extract_bdm): Correct parenthezisation.
2508 * ppc-dis.c (print_insn_powerpc): Print .long before unrecognized
2511 Thu Jan 26 18:32:08 1995 Ian Lance Taylor <ian@cygnus.com>
2513 * ppc-opc.c: Changes based on patch from David Edelsohn
2514 <edelsohn@mhpcc.edu>.
2515 (powerpc_operands): Add operands SPRBAT and SPRG. Split TBR out of
2518 (insert_tbr): New static function.
2519 (extract_tbr): New static function.
2520 (XFXFXM_MASK, XFXM): Define.
2521 (XSPRBAT_MASK, XSPRG_MASK): Define.
2522 (powerpc_opcodes): Add instructions to access special registers by
2523 name. Add mtcr and mftbu.
2525 Tue Jan 17 10:56:43 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
2527 * mips-opc.c (P3): Define.
2528 (mips_opcodes): Add mad and madu.
2530 Sun Jan 15 16:32:59 1995 Steve Chamberlain <sac@splat>
2532 * configure.in: Add W65 support.
2533 * disassemble.c: Likewise.
2534 * w65-opc.h, w65-dis.c: New files.
2536 Wed Dec 28 22:15:33 1994 Steve Chamberlain (sac@jonny.cygnus.com)
2538 * h8300-dis.c (bfd_h8_disassemble): Add support for 2 bit
2542 Tue Dec 20 10:36:55 1994 Doug Evans <dje@canuck.cygnus.com>
2544 * arc-dis.c (print_insn_arc): Branch offsets are relative to delay
2546 * arc-opc.c (extract_reladdr): New function.
2547 (insert_reladdr): Store address right-shifted by 2.
2550 Tue Dec 20 11:25:12 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
2552 * mips-opc.c: Add dli as a synonym for li.
2555 Mon Dec 19 12:35:51 1994 Doug Evans <dje@canuck.cygnus.com>
2557 * arc-opc.c (insertion fns): Pass pointer to value's table entry.
2559 (extraction fns): Insn argument now array of two words. Return pointer
2560 to value's table entry. All uses changed.
2561 (arc_opcode_lookup_suffix): Exported for arc-dis.c.
2562 (insert_multshift, extract_multshift): New fns.
2563 (arc_operands): Add support for cache bypass suffix. Add support for
2564 predefined aux regs. Modifier bits moved to flags field.
2565 (arc_opcodes): Likewise.
2566 Add mul/mulu/shift insns. Syntax of zero/sign extension insns changed.
2567 New insn rlc. Update to syntax in programmer's manual.
2568 (arc_reg_names): Fix typo in lp_count. Add predefined aux regs.
2569 (arc_suffixes): New synonyms lo,hs for cs,cc. New suffix for cache
2571 (arc_opcode_init_tables): New argument to indicate cpu type.
2572 (insert_reg): Handle predefined aux regs.
2573 (extract_reg): Likewise.
2574 (lookup_register): New fn.
2575 * arc-dis.c (arc_condition_codes): Deleted.
2576 (print_insn_arc): Handle insns with 32 bit immediate constants better.
2577 Clean up modifier handling. Handle predefined aux regs.
2580 Thu Dec 8 18:23:31 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
2582 * alpha-dis.c (print_insn_alpha): Handle call_pal instruction, and
2583 print something for reserved opcode values, even if it won't
2586 * mips-dis.c (_print_insn_mips): When initializing, shift right
2587 and mask, to avoid sign extension problems on the Alpha.
2589 * m68k-dis.c (print_insn_arg, case 'J'): Handle buscr and pcr
2593 Tue Nov 29 18:02:43 1994 Doug Evans <dje@canuck.cygnus.com>
2595 * configure.in: Add ARC support.
2596 * disassemble.c: Likewise.
2597 * arc-dis.c, arc-opc.c: New files.
2600 Wed Nov 23 22:34:51 1994 Steve Chamberlain (sac@jonny.cygnus.com)
2602 * sh-opc.h (mov.l gbr): Get direction right.
2603 * sh-dis.c (print_insn_shx): New function.
2604 (print_insn_shl, print_insn_sh): Call print_insn_shx to
2605 print opcodes with right byte order.
2607 Thu Nov 3 19:32:22 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
2609 * ns32k-dis.c (struct ns32k_option): Renamed from struct option,
2610 to avoid conflicts with getopt.
2612 Mon Oct 31 18:48:10 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
2614 * hppa-dis.c (print_insn_hppa): Read the instruction using
2615 bfd_getb32, so that it works on a little endian or 64 bit host.
2616 Remove unused local variable op.
2618 Tue Oct 25 17:07:57 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
2620 * mips-opc.c: Use or instead of addu for pseudo-op move, since
2621 addu does not work correctly if -mips3.
2623 Wed Oct 19 13:40:16 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
2625 * a29k-dis.c (print_special): Add special register names defined
2626 on 29030, 29040 and 29050.
2627 (print_insn): Handle new operand type 'I'.
2629 Wed Oct 12 11:59:55 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
2631 * Makefile.in (INSTALL): Use top level install.sh script.
2633 Wed Oct 5 19:16:29 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
2635 * sparc-dis.c: Rewrite to use bitfields, rather than a union, so
2636 that it works on a little endian host.
2638 Tue Oct 4 12:14:21 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
2640 * configure.in: Use ${config_shell} when running config.bfd.
2642 Wed Sep 21 18:49:12 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
2644 * mips-opc.c (mips_opcodes): "dabs" is only available with -mips3.
2646 Thu Sep 15 16:30:22 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
2648 * a29k-dis.c (print_insn): Print the opcode.
2650 Wed Sep 14 17:52:14 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
2652 * mips-opc.c (mips_opcodes): Set WR_t for sc and scd.
2654 Sun Sep 11 22:32:17 1994 Jeff Law (law@snake.cs.utah.edu)
2656 * hppa-dis.c (reg_names): Use r26-r23 for arg0-arg3.
2658 Tue Sep 6 11:37:12 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
2660 * mips-opc.c: Set INSN_STORE_MEMORY flag for all instructions
2661 which store a value into memory.
2663 Sun Sep 04 17:58:10 1994 Richard Earnshaw (rwe@pegasus.esprit.ec.org)
2665 * configure.in, Makefile.in, disassemble.c: Add support for the ARM.
2666 * arm-dis.c, arm-opc.h: New files.
2668 Fri Aug 5 14:00:05 1994 Stan Shebs (shebs@andros.cygnus.com)
2670 * Makefile.in (ns32k-dis.o): Add dependency.
2671 * ns32k-dis.c (print_insn_arg): Declare initialized local as
2672 string, not as array of chars.
2674 Thu Jul 28 18:14:16 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
2676 * sparc-dis.c (print_insn_sparc): Handle new operand type 'x'.
2678 * sparc-opc.c: Added sparclite extended FP operations, and
2679 versions of v9 impdep* instructions permitting specification of
2682 Tue Jul 26 16:36:03 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
2684 * i960-dis.c (reg_names): Now const.
2685 (struct sparse_tabent): New type, copied from array type in mem
2687 (ctrl): Local static array ctrl_tab now const.
2688 (cobr): Local static array cobr_tab now const.
2689 (mem): Local variables reg1, reg2, reg3 now point to const. Local
2690 static variable mem_tab no longer explicitly initialized. Changed
2691 mem_init to const array of struct sparse_tabent.
2692 (reg): Local static variable reg_tab no longer explicitly
2693 initialized. Changed reg_init to const array of struct
2695 (ea): Local static array scale_tab now const.
2697 * i960-dis.c (reg): Added i960JX instructions to reg_init table.
2700 Tue Jul 19 21:00:00 1994 DJ Delorie (dj@ctron.com)
2702 * configure.bat: the disassember needs to be enabled for
2703 "objdump -d" to work in djgpp.
2705 Wed Jul 13 18:01:58 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
2707 * ns32k-dis.c: Deleted all code in "#ifdef GDB".
2708 (invalid_float): Enabled general version, doesn't require running
2709 on ns32k host. Changed to take char* argument, and test for
2710 explicitly specified sizes, instead of using sizeof() on host CPU
2712 (INVALID_FLOAT): Cast first argument.
2713 (opt_u, opt_U, opt_O, opt_C, opt_S, list_P532, list_M532,
2714 list_P032, list_M032): Now const.
2715 (optlist, list_search): Made appropriate arguments now point to
2717 (print_insn_arg): Changed static array of one-character-string
2718 pointers into a static const array of characters; fixed sprintf
2719 statement accordingly.
2721 Sun Jul 10 00:27:47 1994 Ian Dall (dall@hfrd.dsto.gov.au)
2723 * opcodes/ns32k-dis.c: Semi-new file. Had apparently been dropped
2724 from distribution. A ns32k-dis.c from a previous distribution has
2725 been brought up to date and supports the new interface.
2727 * disassemble.c: define ARCH_ns32k and add case bfd_arch_ns32k.
2729 * configure.in: add bfd_ns32k_arch target support.
2731 * Makefile.in: add ns32k-dis.o to ALL_MACHINES.
2732 Add ns32k-dis.c to CFILES. Add dependencies for ns32k-dis.o.
2734 Wed Jun 29 22:10:37 1994 Steve Chamberlain (sac@cygnus.com)
2736 * h8300-dis.c (bfd_h8_disassemble): Get 16bit branch
2739 Tue Jun 28 13:22:06 1994 Stan Shebs (shebs@andros.cygnus.com)
2741 * h8300-dis.c, mips-dis.c: Don't use true and false.
2743 Thu Jun 23 12:53:19 1994 David J. Mackenzie (djm@rtl.cygnus.com)
2745 * configure.in: Change --with-targets to --enable-targets.
2747 Wed Jun 22 13:38:32 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
2749 * mips-dis.c (_print_insn_mips): Build a static hash table mapping
2750 opcodes to the first instruction with that opcode, to speed
2751 disassembly of large files. From ralphc@pyramid.com (Ralph
2754 Tue Jun 7 12:49:44 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2756 * Makefile.in (mostlyclean): Fix typo (was mostyclean).
2758 Wed May 11 22:32:00 1994 DJ Delorie (dj@ctron.com)
2760 * configure.bat: update to latest makefile.in
2762 Sat May 7 17:13:21 1994 Steve Chamberlain (sac@cygnus.com)
2764 * a29k-dis.c (print_insn): Print 'x' type operand in hex.
2765 * h8300-dis.c (bfd_h8_disassemble): Print 16bit rels correctly.
2766 * sh-dis.c (print_insn_sh): Don't recur endlessly if delay
2767 slot insn is in a delay slot.
2768 * z8k-opc.h: (resflg): Fix patterns.
2769 * h8500-opc.h Fix CR insn patterns.
2771 Fri May 6 14:34:46 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2773 * ppc-opc.c (powerpc_opcodes): Put PowerPC versions of "cmp" and
2774 "cmpl" before POWER versions, so that gas -many uses them.
2776 Thu Apr 28 18:32:36 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
2778 * disassemble.c: New file.
2779 * Makefile.in (OFILES): Add disassemble.o.
2780 (disassemble.o): Provide dependencies; compile with $(ARCHDEFS).
2781 * configure.in: Define ARCHDEFS in Makefile. Code taken from
2782 binutils/configure.in.
2784 * m68k-dis.c (print_insn_m68k): If F_ALIAS flag is set, skip the
2785 opcode being examined.
2787 Thu Apr 21 17:08:40 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2789 * ppc-opc.c (powerpc_operands): Added RAL, RAM and RAS.
2790 (insert_ral, insert_ram, insert_ras): New functions.
2791 (powerpc_opcodes): Use RAL for load with update, RAM for lmw, and
2792 RAS for store with update.
2794 Sat Apr 16 23:41:44 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2796 * ppc-opc.c (powerpc_opcodes): Correct fcir. From David Edelsohn
2797 (edelsohn@npac.syr.edu).
2799 Wed Apr 6 17:11:45 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2801 * mips-opc.c (mips_opcodes): Correct operands of "nor" with an
2804 Mon Apr 4 16:30:46 1994 Doug Evans (dje@canuck.cygnus.com)
2806 * sparc-opc.c (sparc_opcodes): Fix "rd %fprs,%l0".
2808 Mon Apr 4 13:22:00 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2810 * ppc-opc.c (powerpc_operands): The signedp field has been
2811 removed, so don't initialize it. Set the PPC_OPERAND_SIGNED flag
2812 instead. Add new operand SISIGNOPT.
2813 (powerpc_opcodes): For lis, liu, addis, and cau use SISIGNOPT.
2814 Based on patch from David Edelsohn (edelsohn@npac.syr.edu).
2815 * ppc-dis.c (print_insn_powerpc): Check PPC_OPERAND_SIGNED rather
2818 Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2820 * i386-dis.c (struct private): Renamed to dis_private. `private'
2821 is a reserved word for dynix cc.
2823 Mon Mar 28 13:00:15 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2825 * configure.in: Change error message to refer to bfd/config.bfd
2826 rather than bfd/configure.in.
2828 Mon Mar 28 12:28:30 1994 David Edelsohn (edelsohn@npac.syr.edu)
2830 * ppc-opc.c: Define POWER2 as short alias flag.
2831 (powerpc_opcodes): Add POWER/2 opcodes lfq*, stfq*, fcir[z], and
2834 Wed Mar 23 12:23:05 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2836 * i960-dis.c (print_insn_i960): Don't read a second word for
2837 opcodes 0, 1, 2 and 3.
2839 Wed Mar 16 15:37:58 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2841 * configure.in: Don't build m68881-ext.o for bfd_m68k_arch.
2843 Mon Mar 14 14:53:50 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2845 * m68881-ext.c: Removed; no longer used.
2846 * Makefile.in: Changed accordingly.
2848 * m68k-dis.c (ext_format_68881): Don't declare.
2849 (print_insn_m68k): If an instruction uses place 'i', it uses at
2850 least four fixed bytes.
2851 (print_insn_arg): Don't bump p by 2 for case 'I', place 'i'. For
2852 extended float, convert to double using floatformat_to_double, not
2853 ieee_extended_to_double, and fetch the data before converting it.
2855 Tue Mar 8 18:12:25 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2857 * mips-opc.c: It's sqrt.s, not sqrt.w. From
2858 davidj@ICSI.Berkeley.EDU (David Johnson).
2860 Tue Feb 8 16:55:27 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2862 * ppc-opc.c (powerpc_opcodes): The POWER uses bdn[l][a] where the
2863 PowerPC uses bdnz[l][a].
2865 Tue Feb 8 00:32:28 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2867 * dis-buf.c, i386-dis.c: Include sysdep.h.
2869 Mon Feb 7 19:22:23 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2871 * configure.in (bfd_powerpc_arch): Use ppc-dis.o and ppc-opc.o.
2873 * ppc-opc.c (powerpc_opcodes): Mark POWER instructions supported
2874 by Motorola PowerPC 601 with PPC_OPCODE_601.
2875 * ppc-dis.c (print_insn_big_powerpc, print_insn_little_powerpc):
2876 Disassemble Motorola PowerPC 601 instructions as well as normal
2877 PowerPC instructions.
2879 Sun Feb 6 07:45:17 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2881 * i960-dis.c (reg, mem): Just use a static array instead of
2884 Sat Feb 5 00:04:02 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
2886 * hppa-dis.c (print_insn_hppa): For '?' and '@' only adjust the
2887 condition name index if this is for a negated condition.
2889 * hppa-dis.c (print_insn_hppa): No space before 'H' operand.
2890 Floating point format for 'H' operand is backwards from normal
2891 case (0 == double, 1 == single). For '4', '6', '7', '9', and '8'
2892 operands (fmpyadd and fmpysub), handle bizarre register
2893 translation correctly for single precision format.
2895 * hppa-dis.c (print_insn_hppa): Do not emit a space after 'F'
2896 or 'I' operands if the next format specifier is 'M' (fcmp
2897 condition completer).
2899 Feb 4 23:38:03 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2901 * ppc-opc.c (powerpc_operands): New operand type MBE to handle a
2902 single number giving a bitmask for the MB and ME fields of an M
2903 form instruction. Change NB to accept 32, and turn it into 0;
2904 also turn 0 into 32 when disassembling. Seperated SH from NB.
2905 (insert_mbe, extract_mbe): New functions.
2906 (insert_nb, extract_nb): New functions.
2907 (SC_MASK): Mask out SA and LK bits.
2908 (powerpc_opcodes): Change "cal" to use RT, D, RA rather than RT,
2909 RA, SI. Change "liu" and "cau" to use UI rather than SI. Mark
2910 "bctr" and "bctrl" as accepted by POWER. Change "rlwimi",
2911 "rlimi", "rlwimi.", "rlimi.", "rlwinm", "rlinm", "rlwinm.",
2912 "rlinm.", "rlmi", "rlmi.", "rlwnm", "rlnm", "rlwnm.", "rlnm." to
2913 use MBE rather than MB. Add "mfmq" and "mtmq" POWER instructions.
2914 (powerpc_macros): Define table of macro definitions.
2915 (powerpc_num_macros): Define.
2917 * ppc-dis.c (print_insn_powerpc): Don't skip optional operands
2918 if PPC_OPERAND_NEXT is set.
2920 Sat Jan 22 23:10:07 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2922 * i960-dis.c (print_insn_i960): Make buffer bfd_byte instead of
2923 char. Retrieve contents using bfd_getl32 instead of shifting.
2925 Fri Jan 21 19:01:39 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2927 * ppc-opc.c: New file. Opcode table for PowerPC, including
2928 opcodes for POWER (RS/6000).
2929 * ppc-dis.c: New file. PowerPC and Power (RS/6000) disassembler.
2930 * Makefile.in (ALL_MACHINES): Add ppc-dis.o and ppc-opc.o.
2931 (CFILES): Add ppc-dis.c.
2932 (ppc-dis.o, ppc-opc.o): New targets.
2933 * configure.in: Build ppc-dis.o and ppc-opc.o for bfd_rs6000_arch.
2935 Mon Jan 17 20:05:49 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
2937 * hppa-dis.c (print_insn_hppa): Handle 'N' in assembler template.
2938 No space before 'u', 'f', or 'N'.
2940 Sun Jan 16 14:20:16 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
2942 * i386-dis.c (print_insn_i386): Add FIXME comment regarding reading
2943 farther than we should.
2945 * i386-dis.c (dis386): Use Yb and Yv for scasb and scasS.
2947 Thu Jan 6 12:38:05 1994 David J. Mackenzie (djm@thepub.cygnus.com)
2949 * sparc-dis.c m68k-dis.c alpha-dis.c a29k-dis.c: Fix comments.
2951 Wed Jan 5 11:56:21 1994 David J. Mackenzie (djm@thepub.cygnus.com)
2953 * i960-dis.c (print_insn_i960): Only read word2 if the instruction
2954 needs it, to prevent reading past the end of a section.
2956 Wed Nov 17 17:20:12 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2958 * mips-opc.h: Use macro for j instruction, to support SVR4 PIC.
2959 Removed t,A case for la; always use t,A(b) case.
2961 Mon Nov 8 12:37:36 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2963 From Ted Lemen <mellon@pepper.ncd.com>
2964 * mips-dis.c (print_insn_arg): Handle 'k'.
2965 * mips-opc.c: Make cache use k, not t.
2967 Sun Nov 7 23:52:34 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2969 * alpha-opc.h, alpha-dis.c (print_insn_alpha): Add
2970 FLOAT_MEMORY_FORMAT_CODE, FLOAT_BRANCH_FORMAT_CODE, correct
2971 FLOAT_FORMAT_CODE to put out floating point register names.
2973 Mon Nov 1 18:17:51 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2975 * mips-opc.c: Use macros for jal variants, to support SVR4 PIC.
2977 Thu Oct 28 17:42:23 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2979 * a29k-dis.c (print_insn): Use 0x%08x, not 0x%8x.
2981 Wed Oct 27 11:48:01 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2983 * mips-opc.c (dsll, dsra, dsrl): Added '>' cases for shift counts
2984 larger than 32. Moved dsxx32 variants first for disassembler.
2986 Mon Oct 25 11:33:14 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
2988 * z8kgen.c, z8k-opc.h: Add full lda information.
2990 Tue Oct 19 12:39:25 1993 Jeffrey A Law (law@cs.utah.edu)
2992 * hppa-dis.c (print_insn_hppa): Do not emit a space after
2993 movb instructions. Any necessary space will be emitted by
2994 the code to handle nullification completers.
2996 Wed Oct 13 16:19:07 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2998 * mips-opc.c: Moved l.d down so that it disassembles as ldc1.
3000 Fri Oct 8 02:34:21 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3002 * alpha-opc.h: Add ldl_l, fix typo for ldq_u.
3003 * alpha-dis.c (print_insn_alpha): Add code for PAL_FORMAT_CODE.
3005 Tue Oct 5 17:47:53 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
3007 * mips-opc.c: Correct lwu opcode value (book had it wrong).
3009 Thu Sep 30 11:26:18 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
3011 * z8k-dis.c (FETCH_DATA): get just the right amount of data.
3012 (unpack_instr): Cope with ARG_IMM4M1 type instructions.
3014 Wed Sep 29 16:24:49 1993 K. Richard Pixley (rich@sendai.cygnus.com)
3016 * m88k-dis.c (m88kdis): comment change. Remove space after
3018 (printop): handle new arg types DEC and XREG for m88110.
3020 Tue Sep 28 19:20:16 1993 Jeffrey A Law (law@snake.cs.utah.edu)
3022 * hppa-dis.c (print_insn_hppa): Handle 'z' operand
3023 type for absolute branch addresses. Delete special
3024 "ble" and "be" code in 'W' operand code.
3026 Fri Sep 24 14:08:33 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
3028 * mips-opc.c: Set hazard information correctly for branch
3029 likely instructions.
3031 Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3033 * alpha-dis.c (print_insn_alpha), alpha-opc.h: Fix bugs, use
3034 info->fprintf_func for printing and info->print_address_func for
3037 Wed Sep 15 12:12:07 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
3039 * mips-opc.c: Set INSN_TRAP for tXX instructions.
3041 Thu Sep 9 10:11:27 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
3043 * mips-opc.c: From davidj@ICSI.Berkeley.EDU (David Johnson):
3044 Corrected second case of "b" for disassembler.
3046 Tue Sep 7 14:25:15 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
3048 * mips-dis.c, m88k-dis.c: Don't include libbfd.h. Changed calls
3049 to BFD swapping routines to correspond to BFD name changes.
3051 Thu Sep 2 10:35:25 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
3053 * mips-opc.c: Change div machine instruction to be z,s,t rather
3054 than s,t. Change div macro to be d,v,t rather than d,s,t.
3055 Likewise for divu, ddiv, ddivu. Added z,s,t case for drem, dremu,
3056 rem and remu which generates only the corresponding div
3057 instruction. This is for compatibility with the MIPS assembler,
3058 which only generates the simple machine instruction when an
3059 explicit destination of $0 is used.
3060 * mips-dis.c (print_insn_arg): Handle 'z' (always register zero).
3062 Thu Aug 26 17:41:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
3064 * mips-opc.c: From davidj@ICSI.Berkeley.EDU (David Johnson): Set
3065 WR_31 hazard for bal, bgezal, bltzal.
3067 Thu Aug 26 17:20:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3069 * hppa-dis.c (print_insn_hppa): Use print function
3070 from within the disassemble_info, not fprintf_filtered.
3072 Wed Aug 25 13:51:40 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
3074 * hppa-dis.c (print_insn_hppa): Handle '|' like '>'. (From Jeff
3075 Law, law@cs.utah.edu.)
3077 Mon Aug 23 12:44:05 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
3079 * mips-opc.c ("absu"): Removed.
3082 Fri Aug 20 10:52:52 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
3084 * mips-opc.c: Added r6000 and r4000 instructions and macros.
3085 Changed hazard information to distinguish between memory load
3086 delays and coprocessor load delays.
3088 Wed Aug 18 15:39:23 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
3090 * mips-opc.c: li.d uses "T,L", not "S,F". Added li.s.
3092 Tue Aug 17 09:44:42 1993 David J. Mackenzie (djm@thepub.cygnus.com)
3094 * configure.in: Don't pass cpu to config.bfd.
3096 Tue Aug 17 12:23:52 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
3098 * m88k-dis.c (m88kdis): Make class unsigned.
3100 Thu Aug 12 15:08:18 1993 Ian Lance Taylor (ian@cygnus.com)
3102 * alpha-dis.c (print_insn_alpha): One branch format case was
3103 missing the instruction name.
3105 Wed Aug 11 19:29:39 1993 David J. Mackenzie (djm@thepub.cygnus.com)
3107 * Makefile.in (ALL_MACHINES): Renamed from DIS_LIBS.
3108 Add the arch-specific auxiliary files.
3109 (OFILES): Remove the arch-specific auxiliary files
3110 and use BFD_MACHINES instead of DIS_LIBS.
3111 * configure.in: Set BFD_MACHINES based on --with-targets option.
3113 Thu Aug 12 12:04:53 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
3115 * mips-opc.c: Added lwc1 E,A(b) to go with lwc1 T,A(b). Similarly
3118 Sun Aug 8 15:09:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3120 * sparc-opc.c: Change CONST to const to deal with gcc
3121 -Dconst=__const -traditional.
3123 Fri Aug 6 10:58:55 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
3125 * mips-opc.c: From davidj@ICSI.Berkeley.EDU (David Johnson): Took
3126 coprocessor instructions out of #if 0, and made them use new
3129 Thu Aug 5 17:11:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3131 * sparc-dis.c: Include ansidecl.h before opcodes/sparc.h.
3133 Fri Jul 30 18:48:15 1993 John Gilmore (gnu@cygnus.com)
3135 * sparc-opc.c: Add F_JSR, F_UNBR, or F_CONDBR flags to each branch
3136 instruction, for use by the disassembler.
3138 * sparc-dis.c (SEX): Add sign extension macro. Replace many
3139 hand-coded sign extensions that depended on 32-bit host ints.
3140 FIXME, we still depend on big-endian host bitfield ordering.
3141 (sparc_print_insn): Set the insn_info_valid field, and the
3142 other fields that describe the instruction being printed.
3144 Tue Jul 27 17:04:58 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
3146 * sparc-opc.c (call): Accept all 6 addressing modes valid for
3147 `jmp' instead of just one of them.
3149 Wed Jul 21 11:43:32 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
3151 * hppa-dis.c: Move floating registers from reg_names to fp_reg_names.
3152 (fput_fp_reg_r): Renamed from fput_reg_r.
3153 (fput_fp_reg): New function.
3154 (print_insn_hppa): Use fput_fp_reg{,_r} where appropriate.
3156 * hppa-dis.c (print_insn_hppa, cases 'a', 'd'): Print space afterwards.
3158 * hppa-dis.c (print_insn_hppa, case 'd'): Use GET_COND not GET_FIELD.
3160 Mon Jul 19 13:52:21 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
3162 * hppa-dis.c (print_insn_hppa): Use extract_5r_store for 'r'.
3164 * hppa-dis.c (print_insn_hppa, case '>'): If next character is 'n',
3165 don't output a space.
3167 * hppa-dis.c (float_format_names): 10 is undefined, and 11 is quad.
3169 Sun Jul 18 16:30:02 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
3171 * mips-opc.c: New file, containing opcode table from
3172 ../include/opcode/mips.h.
3173 * Makefile.in: Add it.
3175 Thu Jul 15 12:37:05 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
3177 * m88k-dis.c: New file, moved in from gdb and changed to use the
3178 new dis-asm.h disassembler interface.
3179 * Makefile.in (DIS_LIBS): Added m88k-dis.o.
3180 (m88k-dis.o): New target.
3182 Tue Jul 13 10:04:16 1993 Ian Lance Taylor (ian@cygnus.com)
3184 * mips-dis.c (print_insn_arg, _print_insn_mips): Made pointer to
3185 argument string const char * to correspond to opcode/mips.h.
3187 Tue Jul 6 15:18:37 1993 Ian Lance Taylor (ian@cygnus.com)
3189 * mips-dis.c: Updated to account for name changes in new version
3191 * Makefile.in: Added header file dependencies.
3193 Sat Jul 3 23:47:56 1993 Doug Evans (dje@canuck.cygnus.com)
3195 * h8300-dis.c (bfd_h8_disassemble): Correct fetching of instruction.
3197 Thu Jul 1 12:23:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3199 * m68k-dis.c (NEXTWORD, NEXTLONG): Use ((x) ^ 0x8000) - 0x8000 to sign
3200 extend, rather than shifts.
3202 Sun Jun 20 20:56:56 1993 Ken Raeburn (raeburn@poseidon.cygnus.com)
3204 * Makefile.in: Undo 15 June change.
3206 Fri Jun 18 14:15:15 1993 Per Bothner (bothner@deneb.cygnus.com)
3208 * m68k-dis.c (print_insn_arg): Change return value to byte count
3210 * m68k-dis.c: Re-write to detect invalid operands before
3211 printing anything, so we can handle this the same way we
3212 handle invalid opcodes.
3214 Thu Jun 17 15:01:36 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
3216 * sh-dis.c, sh-opc.h: Understand some more opcodes.
3218 Wed Jun 16 13:48:05 1993 Ian Lance Taylor (ian@cygnus.com)
3220 * hppa-dis.c: Include <ansidecl.h> and sysdep.h before other
3223 Tue Jun 15 21:45:26 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
3225 * sparc-dis.c: Don't declare qsort, since sysdep.h might.
3227 * configure.in: Do make sysdep.h link.
3228 * Makefile.in: Search ../include. Don't search ../bfd.
3230 Tue Jun 15 13:36:10 1993 Stu Grossman (grossman@cygnus.com)
3232 Changes from Jeff Law, law@cs.utah.edu:
3233 * hppa-dis.c: Fix typo. 'a' and 'd' were reversed.
3234 Do not print a space before the completers specified by
3237 Fri Jun 11 18:40:21 1993 Ken Raeburn (raeburn@cygnus.com)
3239 * mips-dis.c: No longer need to bomb out if HOST_64_BIT is
3240 defined, since gdb has been fixed.
3242 Changes from Jeff Law, law@cs.utah.edu:
3243 * hppa-dis.c (print_insn_hppa): Last argument to fput_reg,
3244 fput_reg_r, fput_creg, fput_const, and fputs_filtered should
3245 be a *disassemble_info, not a *FILE.
3246 * hppa-dis.c: Support 'd', '!', and 'a'.
3247 * hppa-dis.c: Support 's' to extract a 2 bit space register.
3248 * hppa-dis.c: Delete cases which are no longer needed.
3250 Fri Jun 11 07:53:48 1993 Jim Kingdon (kingdon@cygnus.com)
3252 * m68k-dis.c (print_insn_{m68k,arg}): Add MMU codes.
3254 Tue Jun 8 12:25:01 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
3256 * h8300-dis.c: New file, removed from bfd/cpu-h8300.c, with
3259 Mon Jun 7 12:58:49 1993 Per Bothner (bothner@rtl.cygnus.com)
3261 * Makefile.in (CSEARCH): Add -I../bfd for sysdep.h and bfd.h.
3262 * configure.in: No longer need to configure to get sysdep.h.
3264 Thu Jun 3 15:56:49 1993 Stu Grossman (grossman@cygnus.com)
3266 * Patches from Jeffrey Law <law@cs.utah.edu>.
3267 * hppa-dis.c: Support 'I', 'J', and 'K' in output
3268 templates for 1.1 FP computational instructions.
3270 Tue May 25 13:05:48 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
3272 * h8500-dis.c (print_insn_h8500): Address argument is type
3274 * z8k-dis.c (print_insn_z8k, print_insn_z8001, print_insn_z8002):
3277 * h8500-opc.h (addr_class_type): No comma at end of enumerator.
3278 * sh-opc.h (sh_nibble_type, sh_arg_type): Ditto.
3280 * sparc-dis.c (compare_opcodes): Move static declaration to
3283 Fri May 21 14:17:37 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3285 * sparc-dis.c (print_insn_sparc): Implement 'n' argument for unimp
3286 instruction, remove unimp hack from 'l' argument.
3288 Wed May 19 15:35:54 1993 Stu Grossman (grossman@cygnus.com)
3290 * z8k-dis.c (fetch_data): Use unsigned char to make ancient gcc's
3293 Fri May 14 15:22:46 1993 Ian Lance Taylor (ian@cygnus.com)
3295 * Based on patches from davidj@ICSI.Berkeley.EDU (David Johnson):
3296 * mips-dis.c (print_insn_arg): Handle 'C' for general coprocessor
3299 Fri May 14 00:09:14 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
3301 * hppa-dis.c: Include dis-asm.h before sysdep.h. Changed some
3302 arrays of string pointers to 2-d arrays of chars, to save
3305 Thu May 6 20:51:17 1993 Fred Fish (fnf@cygnus.com)
3307 * a29k-dis.c, alpha-dis.c, i960-dis.c, sparc-dis.c, z8k-dis.c:
3308 Cast second arg to read_memory_func to "bfd_byte *", as necessary.
3310 Tue May 4 20:31:10 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
3312 * hppa-dis.c: New file from Utah, adapted to new disassembler
3314 * Makefile.in: Include it.
3316 Mon Apr 26 18:17:42 1993 Steve Chamberlain (sac@thepub.cygnus.com)
3318 * sh-dis.c, sh-opc.h: New files.
3320 Fri Apr 23 18:51:22 1993 Steve Chamberlain (sac@thepub.cygnus.com)
3322 * alpha-dis.c, alpha-opc.h: New files.
3324 Tue Apr 6 12:54:08 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3326 * mips-dis.c: Sign extend 'j' and 'b' arguments, delta is a signed
3329 Mon Apr 5 17:37:37 1993 John Gilmore (gnu@cygnus.com)
3331 * sparc-dis.c: Make "ta" the default trap instruction, "t" the alias.
3333 Fri Apr 2 07:24:27 1993 Ian Lance Taylor (ian@cygnus.com)
3335 * a29k-dis.c, sparc-dis.c, sparc-opc.c: Use CONST rather than
3338 Thu Apr 1 11:20:43 1993 Jim Kingdon (kingdon@cygnus.com)
3340 * sparc-dis.c: Use fprintf_func a few places where I forgot,
3341 and double percent signs a few places.
3343 * a29k-dis.c, i960-dis.c: New, merged from gdb and binutils.
3345 * i386-dis.c, m68k-dis.c, mips-dis.c, sparc-dis.c:
3346 Use info->print_address_func not print_address.
3348 * dis-buf.c (generic_print_address): New function.
3350 Wed Mar 31 10:07:04 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3352 * Makefile.in: Add sparc-dis.c.
3353 sparc-dis.c: New file, merges binutils and gdb versions as follows:
3355 Add `add' instruction to the set that get checked
3356 for a preceding `sethi' in order to print an absolute address.
3357 * (print_insn): Disassembly prefers real instructions.
3358 (is_delayed_branch): Speed up.
3359 * sparc-opcode.h: Add ALIAS bit to aliases. Fix up opcode tables.
3360 Still missing some float ops, and needs testing.
3361 * sparc-pinsn.c (print_insn): Eliminate 'set' test, subsumed by
3362 F_ALIAS. Use printf, not fprintf, when not passing a file
3364 (compare_opcodes): Check that identical instructions have
3365 identical opcodes, complain otherwise.
3368 * Include reg_names.
3370 Use dis-asm.h/read_memory_func interface.
3372 Wed Mar 31 20:49:06 1993 K. Richard Pixley (rich@rtl.cygnus.com)
3374 * h8500-dis.c, i386-dis.c, m68k-dis.c, z8k-dis.c (fetch_data):
3375 deliberately return non-zero to setjmp from longjmp. Otherwise
3376 this code fails to compile.
3378 Wed Mar 31 17:04:31 1993 Stu Grossman (grossman@cygnus.com)
3380 * m68k-dis.c: Fix prototype for fetch_arg().
3382 Wed Mar 31 10:07:04 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3384 * dis-buf.c: New file, for new read_memory_func interface.
3385 Makefile.in (OFILES): Include it.
3386 m68k-dis.c, i386-dis.c, h8500-dis.c, mips-dis.c, z8k-dis.c:
3387 Use new read_memory_func interface.
3389 Mon Mar 29 14:02:17 1993 Steve Chamberlain (sac@thepub.cygnus.com)
3391 * h8500-dis.c (print_insn_h8500): Get sign of fp offsets right.
3392 * h8500-opc.h: Fix couple of opcodes.
3394 Wed Mar 24 02:03:36 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
3396 * Makefile.in: add dvi & installcheck targets
3398 Mon Mar 22 18:55:04 1993 John Gilmore (gnu@cygnus.com)
3400 * Makefile.in: Update for h8500-dis.c.
3402 Fri Mar 19 14:27:17 1993 Steve Chamberlain (sac@thepub.cygnus.com)
3404 * h8500-dis.c, h8500-opc.h: New files
3406 Thu Mar 18 14:12:37 1993 Per Bothner (bothner@rtl.cygnus.com)
3408 * mips-dis.c, z8k-dis.c: Converted to use interface defined in
3409 ../include/dis-asm.h.
3410 * m68k-dis.c: New file (merge of ../binutils/m68k-pinsn.c
3411 and ../gdb/m68k-pinsn.c).
3412 * i386-dis.c: New file (merge of ../binutils/i386-pinsn.c
3413 and ../gdb/i386-pinsn.c).
3414 * m68881-ext.c: New file. Moved definition of
3415 ext_format ext_format_68881 from ../gdb/m68k-tdep.c.
3416 * Makefile.in: Adjust for new files.
3417 * i386-dis.c: Patches from John Hassey (hassey@dg-rtp.dg.com).
3418 * m68k-dis.c: Recognize '9' placement code, so (say) pflush
3419 can be dis-assembled.
3421 Wed Feb 17 09:19:47 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
3423 * mips-dis.c (print_insn_arg): Now returns void.
3425 Mon Jan 11 16:09:16 1993 Fred Fish (fnf@cygnus.com)
3427 * mips-dis.c (ansidecl.h): Include for benefit of sysdep.h
3428 files that use the macros.
3430 Thu Jan 7 13:15:17 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
3432 * mips-dis.c: New file, from gdb/mips-pinsn.c.
3433 * Makefile.in (DIS_LIBS): Added mips-dis.o.
3434 (CFILES): Added mips-dis.c.
3436 Thu Jan 7 07:36:33 1993 Steve Chamberlain (sac@thepub.cygnus.com)
3438 * z8k-dis.c (print_insn_z8001, print_insn_z8002): new routines
3439 * z8kgen.c, z8k-opc.h: fix sizes of some shifts.
3441 Tue Dec 22 15:42:44 1992 Per Bothner (bothner@rtl.cygnus.com)
3443 * Makefile.in: Improve *clean rules.
3444 * configure.in: Allow a default host.
3446 Tue Nov 17 19:53:54 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
3448 * Makefile.in: also use -I$(srcdir)/../bfd, since some sysdep
3449 files include other sysdep files
3451 Thu Nov 12 16:10:37 1992 Steve Chamberlain (sac@thepub.cygnus.com)
3453 * z8k-dis.c z8k-opc.h z8kgen.c: checkpoint
3455 Fri Oct 9 04:56:05 1992 John Gilmore (gnu@cygnus.com)
3457 * configure.in: For host support, use ../bfd/configure.host
3458 so it stays in sync with the ../bfd/hosts database.
3460 Thu Oct 1 23:38:54 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
3462 * configure.in: use cpu-vendor-os triple instead of nested cases
3464 Wed Sep 30 16:09:20 1992 Michael Werner (mtw@cygnus.com)
3466 * z8k-dis.c (unparse_instr): fix bug where opcode returned was
3467 *always* the wrong one.
3469 Wed Sep 30 07:42:17 1992 Steve Chamberlain (sac@thepub.cygnus.com)
3471 * z8kgen.c: added copyright info
3473 Tue Sep 29 12:20:21 1992 Steve Chamberlain (sac@thepub.cygnus.com)
3475 * z8k-dis.c (unparse_instr): prettier tabs
3476 * z8kgen.c -> z8k-opc.h: bug fixes in tables
3478 Fri Sep 25 12:50:32 1992 Stu Grossman (grossman at cygnus.com)
3480 * configure.in: Add ncr* configuration.
3481 * z8k-dis.c (struct instr_data_s): Make instr_asmsrc char to make
3482 picayune ANSI compilers happy.
3484 Sep 20 08:50:55 1992 Fred Fish (fnf@cygnus.com)
3486 * configure.in (i386): Make i386 and i486 synonymous for now.
3487 * configure.in (i[34]86-*-sysv4): Add my_host definition.
3489 Fri Sep 18 17:01:23 1992 Ken Raeburn (raeburn@cambridge.cygnus.com)
3491 * Makefile.in (install): Fix typo.
3493 Fri Sep 18 02:04:24 1992 John Gilmore (gnu@cygnus.com)
3495 * Makefile.in (make): Remove obsolete crud.
3496 (sparc-opc.o): Avoid Sun Make VPATH bug.
3498 Tue Sep 8 17:29:27 1992 K. Richard Pixley (rich@sendai.cygnus.com)
3500 * Makefile.in: since there are no SUBDIRS, remove rule and
3501 references of subdir_do.
3503 Tue Sep 8 17:02:58 1992 Ken Raeburn (raeburn@cambridge.cygnus.com)
3505 * Makefile.in (install): Get the library name right here too.
3506 Don't install bfd.h, since it's unrelated to this library. No
3507 subdirs to recurse into, either.
3508 (CFILES): The source file has a .c suffix, not .o.
3510 * sparc-opc.c: New file, moved from BFD.
3511 * Makefile.in (OFILES): Build it.
3513 Thu Sep 3 16:59:20 1992 Michael Werner (mtw@cygnus.com)
3515 * z8k-dis.c: fixed forward refferences of some declarations.
3517 Mon Aug 31 16:09:45 1992 Michael Werner (mtw@cygnus.com)
3519 * Makefile.in: get the name of the library right
3521 Mon Aug 31 13:47:35 1992 Steve Chamberlain (sac@thepub.cygnus.com)
3523 * z8k-dis.c: knows how to disassemble z8k stuff
3524 * z8k-opc.h: new file full of z8000 opcodes
3528 version-control: never