3 * mn10300-opc.c (FMT_XX): Renumber starting at one.
4 (mn10300_operands): Rough cut. Enough to parse "mov" instructions
6 (mn10300_opcodes): Break opcode format out into its own field.
7 Update many operand fields to deal with signed vs unsigned
8 issues. Fix one or two typos in the "mov" instruction
9 opcode, mask and/or operand fields.
13 * m68k-opc.c (plusha): Prefer encoding for m68040up, in case
18 * mn10300-opc.c (mn10300_opcodes): Add opcode & masks for
19 all opcodes. Very rough cut at operands for all opcodes.
21 * mn10300-opc.c (mn10300_opcodes): Start fleshing out the
26 * mn10200-opc.c, mn10300-opc.c: New files.
27 * mn10200-dis.c, mn10300-dis.c: New files.
28 * mn10x00-opc.c, mn10x00-dis.c: Deleted.
29 * disassemble.c: Break mn10x00 support into 10200 and 10300
31 * configure.in: Likewise.
36 * Makefile.in (MOSTLYCLEAN): Move config.log to distclean.
40 * mn10x00-opc.c, mn10x00-dis.c: New files for Matsushita
42 * disassemble (ARCH_mn10x00): Define.
43 (disassembler): Handle bfd_arch_mn10x00.
44 * configure.in: Recognize bfd_mn10x00_arch.
49 * i386-dis.c (op_rtn): Change to be a pointer. Adjust uses
50 accordingly. Don't declare functions using op_rtn.
55 * v850-dis.c (disassemble): Add memaddr argument. Re-arrange
56 params to be more standard.
57 * (disassemble): Print absolute addresses and symbolic names for
58 branch and jump targets.
59 * v850-opc.c (v850_operand): Add displacement flag to 9 and 22
61 * (v850_opcodes): Add breakpoint insn.
66 * m68k-opc.c: Move the fmovemx data register cases before the
67 other cases, so that they get recognized before the data register
68 does gets treated as a degenerate register list.
72 * mips-opc.c: Add a case for "div" and "divu" with two registers
73 and a destination of $0.
77 * mips-dis.c (print_insn_arg): Add prototype.
78 (_print_insn_mips): Ditto.
82 * mips-dis.c (print_insn_arg): Print condition code registers as
87 * sparc-opc.c (sparc_opcodes): Add setuw, setsw, setx.
92 * v850-dis.c (disassemble): Make static. Provide prototype.
96 * v850-opc.c (insert_d9, insert_d22): Fix boundary case
101 * v850-dis.c (disassemble): Handle insertion of ',', '[' and
102 ']' characters into the output stream.
103 * v850-opc.c (v850_opcodes: Remove size field from all opcodes.
104 Add "memop" field to all opcodes (for the disassembler).
105 Reorder opcodes so that "nop" comes before "mov" and "jr"
108 * v850-dis.c (print_insn_v850): Fix typo in last change.
110 * v850-dis.c (print_insn_v850): Properly handle disassembling
111 a two byte insn at the end of a memory region when the memory
112 region's size is only two byte aligned.
114 * v850-dis.c (v850_cc_names): Fix stupid thinkos.
116 * v850-dis.c (v850_reg_names): Define.
117 (v850_sreg_names, v850_cc_names): Likewise.
118 (disassemble): Very rough cut at printing operands (unformatted).
120 * v850-opc.c (BOP_MASK): Fix.
121 (v850_opcodes): Fix mask for jarl and jr.
123 * v850-dis.c: New file. Skeleton for disassembler support.
124 * Makefile.in Remove v850 references, they're not needed here
125 and they weren't being sanitized away.
126 * configure.in: Add v850-dis.o when building v850 toolchains.
127 * configure: Rebuilt.
128 * disassemble.c (disassembler): Call v850 disassembler.
130 * v850-opc.c (insert_d8_7, extract_d8_7): New functions.
131 (insert_d8_6, extract_d8_6): New functions.
132 (v850_operands): Rename D7S to D7; operand for D7 is unsigned.
133 Rename D8 to D8_7, use {insert,extract}_d8_7 routines.
135 (IF4A, IF4B): Use "D7" instead of "D7S".
136 (IF4C, IF4D): Use "D8_7" instead of "D8".
137 (IF4E, IF4F): New. Use "D8_6".
138 (v850_opcodes): Use IF4A/IF4B for sld.b/sst.b. Use IF4C/IF4D for
139 sld.h/sst.h. Use IF4E/IF4F for sld.w/sst.w.
141 * v850-opc.c (insert_d16_15, extract_d16_15): New functions.
142 (v850_operands): Change D16 to D16_15, use special insert/extract
143 routines. New new D16 that uses the generic insert/extract code.
144 (IF7A, IF7B): Use D16_15.
145 (IF7C, IF7D): New. Use D16.
146 (v850_opcodes): Use IF7C and IF7D for ld.b and st.b.
148 * v850-opc.c (insert_d9, insert_d22): Slightly improve error
149 message. Issue an error if the branch offset is odd.
151 * v850-opc.c: Add notes about needing special insert/extract
152 for all the load/store insns, except "ld.b" and "st.b".
154 * v850-opc.c (insert_d22, extract_d22): New functions.
155 (v850_operands): Use insert_d22 and extract_d22 for
157 (insert_d9): Fix range check.
161 * v850-opc.c (v850_operands): Add V850_OPERAND_SIGNED flag
162 and set bits field to D9 and D22 operands.
166 * v850-opc.c (v850_operands): Define SR2 operand.
167 (v850_opcodes): "ldsr" uses R1,SR2.
169 * v850-opc.c (v850_opcodes): Fix opcode specs for
170 sld.w, sst.b, sst.h, sst.w, and nop.
174 * v850-opc.c (v850_opcodes): Add null opcode to mark the
175 end of the opcode table.
181 * d10v-opc.c (pre_defined_registers): Added register pairs,
182 "r0-r1", "r2-r3", etc.
188 * v850-opc.c (v850_operands): Make I16 be a signed operand.
189 Create I16U for an unsigned 16bit mmediate operand.
190 (v850_opcodes): Use I16U for "ori", "andi" and "xori".
192 * v850-opc.c (v850_operands): Define EP operand.
193 (IF4A, IF4B, IF4C, IF4D): Use EP.
195 * v850-opc.c (v850_opcodes): Fix opcode numbers for "mov"
196 with immediate operand, "movhi". Tweak "ldsr".
198 * v850-opc.c (v850_opcodes): Get ld.[bhw] and st.[bhw]
199 correct. Get sld.[bhw] and sst.[bhw] closer.
201 * v850-opc.c (v850_operands): "not" is a two byte insn
203 * v850-opc.c (v850_opcodes): Correct bit pattern for setf.
205 * v850-opc.c (v850_operands): D16 inserts at offset 16!
207 * v850-opc.c (two): Get order of words correct.
209 * v850-opc.c (v850_operands): I16 inserts at offset 16!
211 * v850-opc.c (v850_operands): Add "SR1" and "SR2" for system
212 register source and destination operands.
213 (v850_opcodes): Use SR1 and SR2 for "ldsr" and "stsr".
215 * v850-opc.c (v850_opcodes): Fix thinko in "jmp" opcode. Fix
216 same thinko in "trap" opcode.
218 * v850-opc.c (v850_opcodes): Add initializer for size field
221 * v850-opc.c (v850_operands): D6 -> DS7. References changed.
222 Add D8 for 8-bit unsigned field in short load/store insns.
223 (IF4A, IF4D): These both need two registers.
224 (IF4C, IF4D): Define. Use 8-bit unsigned field.
225 (v850_opcodes): For "sld.h", "sld.w", "sst.h", "sst.w", use
226 IF4C & IF4D. For "trap" use I5U, not I5. Add IF1 operand
227 for "ldsr" and "stsr".
228 * v850-opc.c (v850_operands): 3-bit immediate for bit insns
231 * v850-opc.c (v850_opcodes): Correct short store half (sst.h) and
232 short store word (sst.w).
236 * v850-opc.c (v850_operands): Added insert and extract fields,
237 pointers to functions that handle unusual operand encodings.
241 * v850-opc.c (v850_opcodes): Enable "trap".
243 * v850-opc.c (v850_opcodes): Fix order of displacement
244 and register for "set1", "clr1", "not1", and "tst1".
248 * v850-opc.c (v850_operands): Add "B3" support.
249 (v850_opcodes): Fix and enable "set1", "clr1", "not1"
252 * v850-opc.c (v850_opcodes): "jmp" has only an R1 operand.
254 * v850-opc.c: Close unterminated comment.
258 * v850-opc.c (v850_operands): Add flags field.
259 (v850_opcodes): add move opcodes.
263 * Makefile.in (ALL_MACHINES): Add v850-opc.o.
264 * configure: (bfd_v850v_arch) Add new case.
265 * configure.in: (bfd_v850_arch) Add new case.
266 * v850-opc.c: New file.
271 * sparc-dis.c (print_insn_sparc): Handle little endian sparcs.
276 * d10v-opc.c: Add additional information to the opcode
277 table to help determinine which instructions can be done
283 * mpw-make.sed: Update editing of include pathnames to be
288 * arm-opc.h: Added "bx" instruction definition.
292 * alpha-opc.c (EV4EXTHWINDEX): Field width should be 8 not 5.
297 * d10v-opc.c (d10v_opcodes): Minor fixes to addi and bl.l.
301 * d10v-opc.c (d10v_opcodes): Correct 'mv' unit entry to EITHER.
306 * makefile.vms: Update for alpha-opc changes.
310 * i386-dis.c (print_insn_i386): Actually return the correct value.
311 (ONE, OP_ONE): #ifdef out; not used.
316 * d10v-opc.c (d10v_opcodes): Added 2 accumulator sub instructions.
317 Changed subi operand type to treat 0 as 16.
322 * m68k-opc.c: Add cpushl for the mcf5200. From Ken Rose
327 * arm-opc.h: (arm_opcodes): Added halfword and sign-extension
328 memory transfer instructions. Add new format string entries %h and %s.
329 * arm-dis.c: (print_insn_arm): Provide decoding of the new
335 * d10v-opc.c (d10v_operands): Added UNUM4S; a 4-bit accumulator shift.
336 (d10v_opcodes): Modified accumulator shift instructions to use UNUM4S.
341 * alpha-dis.c (print_insn_alpha_osf): Remove.
342 (print_insn_alpha_vms): Remove.
343 (print_insn_alpha): Make globally visible. Chose the register
344 names based on info->flavour.
345 * disassemble.c: Always return print_insn_alpha for the alpha.
350 * d10v-dis.c (dis_long): Handle unknown opcodes.
354 * d10v-opc.c: Changes to support signed and unsigned numbers.
355 All instructions with the same name that have long and short forms
356 now end in ".l" or ".s". Divs added.
357 * d10v-dis.c: Changes to support signed and unsigned numbers.
361 * d10v-dis.c: Change all functions to use info->print_address_func.
366 * m68k-opc.c (m68k_opcodes): Make opcode masks for the ColdFire
367 move ccr/sr insns more strict so that the disassembler only
368 selects them when the addressing mode is data register.
372 * d10v-opc.c (pre_defined_registers): Declare.
373 * d10v-dis.c (print_operand): Now uses pre_defined_registers
374 to pick a better name for the registers.
379 * sparc-opc.c: Fix opcode values for fpack16, and fpackfix. Fix
380 operands for fexpand and fpmerge. From Christian Kuehnke
385 * alpha-dis.c (print_insn_alpha): No longer the user-visible
386 print routine. Take new regnames and cpumask arguments.
387 Kill the environment variable nonsense.
388 (print_insn_alpha_osf): New function. Do OSF/1 style regnames.
389 (print_insn_alpha_vms): New function. Do VMS style regnames.
390 * disassemble.c (disassembler): Test bfd flavour to pick
391 between OSF and VMS routines. Default to OSF.
395 * configure.in: Call AC_SUBST (INSTALL_SHLIB).
396 * configure: Rebuild.
397 * Makefile.in (install): Use @INSTALL_SHLIB@.
402 * configure: (bfd_d10v_arch) Add new case.
403 * configure.in: (bfd_d10v_arch) Add new case.
404 * d10v-dis.c: New file.
405 * d10v-opc.c: New file.
406 * disassemble.c (disassembler) Add entry for d10v.
411 * m68k-opc.c (m68k_opcodes): Fix bugs in coldfire insns relating
412 to bcc, trapfl, subxl, and wddata discovered by Andreas Schwab.
416 * i386-dis.c: Get rid of print_insn_i8086. Use info.mach to
417 distinguish between variants of the instruction set.
418 * sparc-dis.c: Get rid of print_insn_sparclite. Use info.mach to
419 distinguish between variants of the instruction set.
423 * i386-dis.c (print_insn_i8086): New routine to disassemble using
424 the 8086 instruction set.
425 * i386-dis.c: General cleanups. Make most things static. Add
426 prototypes. Get rid of static variables aflags and dflags. Pass
427 them as args (to almost everything).
431 * h8300-dis.c (bfd_h8_disassemble): Handle macregs in ldmac insns.
433 * h8300-dis.c (bfd_h8_disassemble): Handle "ldm.l" and "stm.l".
435 * h8300-dis.c (bfd_h8_disassemble): "abs" is implicitly two
436 if the next arg is marked with SRC_IN_DST. Gross.
438 * h8300-dis.c (bfd_h8_disassemble): Print "exr" when
439 we're looking for and find EXR.
441 * h8300-dis.c (bfd_h8_disassemble): We don't have a match
442 if we're looking for KBIT and we don't find it.
444 * h8300-dis.c (bfd_h8_disassemble): Mask off unwanted bits
447 * h8300-dis.c (bfd_h8_disassemble): Don't set plen for
448 3bit immediate operands.
452 * Released binutils 2.7.
454 * alpha-opc.c: Add new case of "mov". From Klaus Kaempf
459 * alpha-opc.c: Correct second case of "mov" to use OPRL.
463 * sparc-dis.c (print_insn_sparclite): New routine to print
464 sparclite instructions.
468 * m68k-opc.c (m68k_opcodes): Add coldfire support.
472 * sparc-opc.c (asi_table): Add #ASI_N, #ASI_N_L, #ASI_NUCLEUS,
473 #ASI_NUCLEUS_LITTLE. Rename #ASI_AS_IF_USER_{PRIMARY,SECONDARY}_L
474 to #ASI_AS_IF_USER_{PRIMARY,SECONDARY}_LITTLE.
478 * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir):
479 Use autoconf-set values.
480 (docdir, oldincludedir): Removed.
481 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
485 * alpha-opc.c: New file.
486 * alpha-opc.h: Remove.
487 * alpha-dis.c: Complete rewrite to use new opcode table.
488 * configure.in: For bfd_alpha_arch, use alpha-opc.o.
489 * configure: Rebuild with autoconf 2.10.
490 * Makefile.in (ALL_MACHINES): Add alpha-opc.o.
491 (alpha-dis.o): Depend upon $(INCDIR)/opcode/alpha.h, not
493 (alpha-opc.o): New target.
497 * sparc-dis.c (print_insn_sparc): Remove unused local variable i.
498 Set imm_added_to_rs1 even if the source and destination register
501 * sparc-opc.c: Add some two operand forms of the wr instruction.
505 * h8300-dis.c (bfd_h8_disassemble): Rename "hmode" argument
508 * disassemble.c (disassembler): Handle H8/S.
509 * h8300-dis.c (print_insn_h8300s): New function for H8/S.
513 * sparc-opc.c: Add beq/teq as aliases for be/te.
515 * ppc-opc.c: Fix fcmpo opcode. From Sergei Steshenko
520 * makefile.vms: New file.
522 * alpha-dis.c (print_insn_alpha): Print lda ra,lit(rz) as mov.
526 * h8300-dis.c (bfd_h8_disassemble): Always print ABS8MEM with :8,
531 * i386-dis.c (OP_OFF): Call append_prefix.
535 * ppc-opc.c (instruction encoding macros): Add explicit casts to
536 unsigned long to silence a warning from the Solaris PowerPC
541 * sparc-opc.c (sparc_opcodes): Add ultrasparc vis extensions.
545 * sparc-dis.c (X_IMM,X_SIMM): New macros.
547 (print_insn_sparc): Merge cases i,I,j together. New cases X,Y.
548 * sparc-opc.c (sparc_opcodes): Use X for 5 bit shift constants,
549 Y for 6 bit shift constants. Rewrite entries for crdcxt, cwrcxt,
550 cpush, cpusha, cpull sparclet insns.
554 * sparc-dis.c (compute_arch_mask): Replace ANSI style def with K&R.
558 * sparc-opc.c: Set F_FBR on floating point branch instructions.
559 Set F_FLOAT on other floating point instructions.
563 * ppc-opc.c (PPC860): Macro for 860/821 specific instructions and
565 (powerpc_opcodes): Add 860/821 specific SPRs.
569 * configure.in: Permit --enable-shared to specify a list of
570 directories. Set and substitute BFD_PICLIST.
571 * configure: Rebuild.
572 * Makefile.in (BFD_PICLIST): Rename from BFD_LIST. Change all
573 uses. Set to @BFD_PICLIST@.
577 * h8300-dis.c (bfd_h8_disassemble): Use "bit" for L_3 immediates,
578 not "abs", which may be needed for the absolute in something
579 like btst #0,@10:8. Print L_3 immediates separately from other
580 immediates. Change ABSMOV reference to ABS8MEM.
584 * sparc-dis.c (opcodes_initialized): Move inside print_insn_sparc.
585 (current_arch_mask): New static global.
586 (compute_arch_mask): New static function.
587 (print_insn_sparc): Delete sparc_v9_p. New static local
588 current_mach. Resort opcode table if current_mach changes.
589 Generalize "insn not supported" test.
590 (compare_opcodes): Prefer supported opcodes to nonsupported ones.
591 Delete test for v9/!v9.
592 * sparc-opc.c (MASK_*): Use SPARC_OPCODE_ARCH_MASK.
594 (brfc): Split into CBR and FBR for coprocessor/fp branches.
595 (brfcx): Renamed to FBRX.
596 (condfc): Renamed to CONDFC. Pass v6notlet to CBR (standard
597 coprocessor mnemonics are not supported on the sparclet).
598 (condf): Renamed to CONDF.
599 (SLCBCC2): Delete F_ALIAS flag.
603 * sparc-opc.c (sparc_opcodes): rd must be 0 for
604 mov foo,{%y,%psr,%wim,%tbr}. Support mov foo,%asrX.
608 * Makefile.in (config.status): Depend upon BFD VERSION file, so
609 that the shared library version number is set correctly.
613 * configure.in: Use AC_CHECK_TOOL to find ar and ranlib. From
615 * configure: Rebuild.
619 * z8kgen.c (internal, gas): Call xmalloc rather than unchecked
624 * configure: Rebuild with autoconf 2.8.
628 * sparc-dis.c (print_insn_sparc): Handle 'O' operand char like 'r'.
629 * sparc-opc.c (sparc_opcodes): Use 'O' operand char for `neg reg'.
633 * configure.in: Don't set SHLIB or SHLINK to an empty string,
634 since they appear as targets in Makefile.in.
635 * configure: Rebuild.
639 * mpw-make.sed: Edit out shared library support bits.
643 * sparc-opc.c (v8,v6notv9): Add MASK_SPARCLET.
644 (sparc_opcode_archs): Add MASK_V8 to sparclet entry.
645 (sparc_opcodes): Add sparclet insns.
646 (sparclet_cpreg_table): New static local.
647 (sparc_{encode,decode}_sparclet_cpreg): New functions.
648 * sparc-dis.c (print_insn_sparc): Handle sparclet cpregs.
652 * i386-dis.c (index16): New static variable.
653 (putop): Print jecxz for 32 bit case, jcxz for 16 bit, not the
655 (OP_indirE): Return result of OP_E.
656 (OP_E): Check for 16 bit addressing mode, and disassemble
657 correctly. Optimised 32 bit case a little. Don't print
658 "(base,index,scale)" when sib specifies only an offset.
662 * configure.in: Set and substitute SHLIB_DEP.
663 * configure: Rebuild.
664 * Makefile.in (SHLIB_DEP): New variable.
665 (LIBIBERTY_LISTS, BFD_LIST): New variables.
666 (stamp-piclist): Depend upon LIBIBERTY_LISTS and BFD_LIST. If
667 COMMON_SHLIB, add them to piclist with appropriate modifications.
668 ($(SHLIB)): Depend upon $(SHLIB_DEP). Don't check COMMON_SHLIB
669 here: just use piclist.
673 * sparc-dis.c (MASK_V9,V9_ONLY_P,V9_P): Define.
674 (print_insn_sparc): Rewrite v9/not-v9 tests.
675 (compare_opcodes): Likewise.
676 * sparc-opc.c (MASK_<ARCH>): Define.
677 (v6,v7,v8,sparclite,v9,v9a): Redefine.
678 (sparclet,v6notv9): Define.
679 (sparc_opcode_archs): Delete member `conflicts'. Add `supported'.
680 (sparc_opcodes): Delete F_NOTV9, use v6notv9 instead.
684 * configure.in: Call AC_PROG_CC before configure.host.
685 * configure: Rebuild.
687 * Makefile.in (SONAME): Remove leading ../bfd/ from $(SHLIB).
691 * i386-dis.c (onebyte_has_modrm): New static array.
692 (twobyte_has_modrm): New static array.
693 (print_insn_i386): Only fetch the mod/reg/rm byte if it is needed.
697 * Makefile.in ($(SHLINK)): Check ts against $(SHLIB), not
702 * ppc-opc.c (PPC): Undef, so default defination on Windows NT
707 * m68k-opc.c (m68k_opcodes): The bkpt instruction is supported on
708 m68010up, not just m68020up | cpu32.
710 * Makefile.in (SONAME): New variable.
711 ($(SHLINK)): Make a link to the transformed name, as well.
712 (stamp-tshlink): New target.
713 (install): Skip stamp-tshlink during install.
717 * configure.in: Call AC_ARG_PROGRAM.
718 * configure: Rebuild.
719 * Makefile.in (program_transform_name): New variable.
720 (install): Transform library name before installing it.
724 * i960-dis.c (mem): Add HX dcinva instruction.
726 Support for building as a shared library, based on patches from
728 * configure.in: Add AC_ARG_ENABLE for shared and commonbfdlib.
729 New substitutions: ALLLIBS, PICFLAG, SHLIB, SHLIB_CC,
730 SHLIB_CFLAGS, COMMON_SHLIB, SHLINK.
731 * configure: Rebuild.
732 * Makefile.in (ALLLIBS): New variable.
733 (PICFLAG, SHLIB, SHLIB_CC, SHLIB_CFLAGS): New variables.
734 (COMMON_SHLIB, SHLINK): New variables.
735 (.c.o): If PICFLAG is set, compile twice, once PIC, once normal.
736 (STAGESTUFF): Remove variable.
737 (all): Depend upon $(ALLLIBS) rather than $(TARGETLIB).
738 (stamp-piclist, piclist): New targets.
739 ($(SHLIB), $(SHLINK)): New targets.
740 ($(OFILES)): Depend upon stamp-picdir.
741 (disassemble.o): Build twice if PICFLAG is set.
742 (MOSTLYCLEAN): Add pic/*.o.
743 (clean): Remove $(SHLIB), $(SHLINK), piclist, and stamp-piclist.
744 (distclean): Remove pic and stamp-picdir.
745 (install): Install shared libraries.
746 (stamp-picdir): New target.
750 * sparc-dis.c (print_insn_sparc): Delete DISASM_RAW_INSN support.
751 Print unknown instruction as "unknown", rather than in hex.
755 * dis-buf.c: Include "sysdep.h" before "dis-asm.h".
759 * sparc-opc.c (sparc_opcode_archs): Mark v8/sparclite as conflicting.
763 * i386-dis.c (print_insn_i386): Only fetch the mod/reg/rm byte
764 when necessary. From Ulrich Drepper
769 * sparc-dis.c (print_insn_sparc): NUMOPCODES replaced with
770 sparc_num_opcodes. Update architecture enum values.
771 * sparc-opc.c (sparc_opcode_archs): Replaces architecture_pname.
772 (sparc_opcode_lookup_arch): New function.
773 (sparc_num_opcodes): Renamed from bfd_sparc_num_opcodes.
774 (sparc_opcodes): Add v9a shutdown insn.
778 * sparc-dis.c (print_insn_sparc): Renamed from print_insn.
779 If DISASM_RAW_INSN, print insn in hex. Handle v9a as opcode
781 (print_insn_sparc64): Deleted.
782 * disassemble.c (disassembler, case bfd_arch_sparc): Always use
785 * sparc-opc.c (architecture_pname): Add v9a.
789 * alpha-opc.h (alpha_insn_set): VAX floating point opcode was
790 incorrectly defined as 0x16 when it should be 0x15.
791 (FLOAT_FORMAT_MASK): function code is 11 bits, not just 7 bits!
792 (alpha_insn_set): added cvtst and cvttq float ops. Also added
793 excb (exception barrier) which is defined in the Alpha
794 Architecture Handbook version 2.
795 * alpha-dis.c (print_insn_alpha): Fixed special-case decoding for
796 OPERATE_FORMAT_CODE type instructions. The bug caused mulq to be
797 disassembled as or, for example.
801 * mips-dis.c (print_insn_arg): Print cases 'i' and 'u' in hex.
802 (_print_insn_mips): Change i from int to unsigned int.
806 * ppc-opc.c (powerpc_opcodes): tlbi POWER opcode form different
807 from tlbie PowerPC opcode. Add PPC603 tlbld and tlbli.
811 * i386-dis.c: Added Pentium Pro instructions.
815 * ppc-opc.c (fsqrt{,.}): Duplicate for PowerPC in addition to
820 * sh-opc.h (sh_nibble_type): Added REG_B.
821 (sh_arg_type): Added A_REG_B.
822 (sh_table): Added pref and bank reg versions of ldc, ldc.l, stc
824 * sh-dis.c (print_insn_shx): Added cases for REG_B and A_REG_B.
828 * disassemble.c (disassembler): Use new bfd_big_endian macro.
832 * Makefile.in (distclean): Remove stamp-h. From Ronald
838 * alpha-dis.c (print_insn_alpha): fixed decoding of cpys
843 * sh-opc.h (sh_arg_type): Added A_SSR and A_SPC.
844 (sh_table): Added many SH3 opcodes.
845 * sh-dis.c (print_insn_shx): Added cases for A_SSR and A_SPC.
849 * ppc-opc.c (subfc., subfco): Mark this PPCCOM, not PPC.
850 (subco,subco.): Mark this PPC, not PPCCOM.
854 * configure: Rebuild with autoconf 2.7.
858 * configure: Rebuild with autoconf 2.6.
862 * configure.in: Sort list of architectures. Accept but do nothing
863 for alliant, convex, pyramid, romp, and tahoe.
867 * a29k-dis.c (print_special): Change num to unsigned int.
871 * a29k-dis.c (print_insn): Cast insn24 to unsigned long when
876 * configure.in: Call AC_CHECK_PROG to find and cache AR.
877 * configure: Rebuilt.
881 * configure.in: Add case for bfd_i860_arch.
882 * configure: Rebuild.
886 * m68k-opc.c (m68k_opcodes): Correct fmoveml operands.
887 * m68k-dis.c (NEXTSINGLE): Change i to unsigned int.
888 (NEXTDOUBLE): Likewise.
889 (print_insn_m68k): Don't match fmoveml if there is more than one
890 register in the list.
891 (print_insn_arg): Handle a place of '8' for a type of 'L'.
895 * m68k-opc.c: Use #W rather than #w.
896 * m68k-dis.c (print_insn_arg): Handle new 'W' place.
900 * m68k-opc.c (m68k_opcode_aliases): Add dbfw as an alias for dbf,
901 and likewise for all the dbxx opcodes.
905 * arc-dis.c: Include elf-bfd.h rather than libelf.h.
909 * mips-opc.c: Added shorthand (V1) for INSN_4100 manifest. Added
910 the VR4100 specific instructions to the mips_opcodes structure.
914 * mpw-config.in, mpw-make.sed: Remove ugly workaround for
915 ugly Metrowerks bug in CW6, is fixed in CW7.
919 * ppc-opc.c (whole file): Add flags for common/any support.
923 * Makefile.in (BISON): Remove macro.
924 (FLAGS_TO_PASS): Remove BISON.
930 * m68k-dis.c (print_insn_m68k): Recognize all two-word
931 instructions that take no args by looking at the match mask.
932 (print_insn_arg): Always print "%" before register names.
933 [case 'c']: Use "nc" for the no-cache case, as recognized by gas.
934 [case '_']: Don't print "@#" before address.
935 [case 'J']: Use "%s" as format string, not register name.
936 [case 'B']: Treat place == 'C' like 'l' and 'L'.
940 * i386-dis.c: Describe cmpxchg8b operand, and spell the opcode
947 * alpha-opc.h (MEMORY_FUNCTION_FORMAT_MASK): added.
948 (alpha_insn_set): added definitions for VAX floating point
949 instructions (Unix compilers don't generate these, but handcoded
950 assembly might still use them).
952 * alpha-dis.c (print_insn_alpha): added support for disassembling
953 the miscellaneous instructions in the Alpha instruction set.
957 * mpw-config.in: Add m68k-opc.c.o to BFD_MACHINES for m68k,
958 no longer create sysdep.h, sed ppc-opc.c to work around a
959 serious Metrowerks C bug.
960 * mpw-make.in: Remove.
961 * mpw-make.sed: New file, used by mpw-configure to edit
962 Makefile.in into an MPW makefile.
966 * Makefile.in (maintainer-clean): New synonym for realclean.
970 * m68k-opc.c: Split pmove patterns which use 'P' into patterns
971 which use '0', '1', and '2' instead. Specify the proper size for
972 a pmove immediate operand. Correct the pmovefd patterns to be
973 moves to a register, not from a register.
974 * m68k-dis.c (print_insn_arg): Replace 'P' with '0', '1', '2'.
978 * sparc-opc.c (sparc_opcodes): Mark all insns that reference
979 %psr, %wim, %tbr as F_NOTV9.
983 * Makefile.in (Makefile): Just rebuild Makefile when running
985 (config.h, stamp-h): New targets.
986 * configure.in: Call AC_CONFIG_HEADER and AC_CANONICAL_SYSTEM
987 earlier. Don't bother to call AC_ARG_PROGRAM. Touch stamp-h when
989 * configure: Rebuild.
991 * mips-opc.c: Change unaligned loads and stores with "t,A"
992 operands to use "t,A(b)".
996 * sh-dis.c (print_insn_shx): Add F_FR0 support.
1000 * sh-dis.c (print_insn_shx): Change loop over op->arg[n] to iterate
1001 until 3 instead of until 2.
1005 * Makefile.in (ALL_CFLAGS): Define.
1006 (.c.o, disassemble.o): Use $(ALL_CFLAGS).
1007 (MOSTLYCLEAN): Add config.log.
1008 (distclean): Don't remove config.log.
1009 * configure.in: Substitute HDEFINES.
1010 * configure: Rebuild.
1014 * sh-opc.h (sh_arg_type): Add F_FR0.
1015 (sh_table, case fmac): Add F_FR0 as first argument.
1019 * sh-opc.h (sh_opcode_info): Increase arg array size to 4.
1023 * sparc-dis.c: Remove all references to NO_V9.
1027 * aclocal.m4: Just include ../bfd/aclocal.m4.
1028 * configure: Rebuild.
1032 * sparc-dis.c (X_DISP19): Define.
1033 (print_insn, case 'G'): Use it.
1034 (print_insn, case 'L'): Sign extend displacement.
1038 * configure.in: Run ../bfd/configure.host before AC_PROG_CC.
1039 Subsitute CFLAGS and AR. Call AC_PROG_INSTALL. Don't substitute
1040 host_makefile_frag or frags.
1041 * aclocal.m4: New file.
1042 * configure: Rebuild.
1043 * Makefile.in (INSTALL): Set to @INSTALL@.
1044 (INSTALL_PROGRAM): Set to @INSTALL_PROGRAM@.
1045 (INSTALL_DATA): Set to @INSTALL_DATA@.
1047 (AR_FLAGS): Set to rc rather than qc.
1048 (CC): Define as @CC@.
1049 (CFLAGS): Set to @CFLAGS@.
1050 (@host_makefile_frag@): Remove.
1051 (config.status): Remove dependency upon @frags@.
1053 * configure.in: ../bfd/config.bfd now just sets shell variables.
1054 Use them rather than looking through target Makefile fragments.
1055 * configure: Rebuild.
1059 * sh-opc.h (ftrc): Change FPUL_N to FPUL_M.
1063 * sparc-opc.c (sparc_opcodes): Delete duplicate wr %y insn.
1064 Add clrx, iprefetch, signx, clruw, cas, casl, casx, casxl synthetic
1067 * sparc-opc.c (sparc_opcodes): Fix prefetcha insn.
1068 (lookup_{name,value}): New functions.
1069 (prefetch_table): New static local.
1070 (sparc_{encode,decode}_prefetch): New functions.
1071 * sparc-dis.c (print_insn): Handle '*' arg (prefetch function).
1075 * sh-opc.h: Add blank lines to improve readabililty of sh3e
1080 * sh-dis.c: Correct comment on first line of file.
1084 * disassemble.c (disassembler): Handle bfd_mach_sparc64.
1086 * sparc-opc.c (asi, membar): New static locals.
1087 (sparc_{encode,decode}_{asi,membar}): New functions.
1088 (sparc_opcodes, membar insn): Fix.
1089 * sparc-dis.c (print_insn): Call sparc_decode_asi.
1090 Support decoding of membar masks.
1095 * m68k-opc.c (m68k_opcode_aliases): Add br, brs, brb, brw, brl.
1099 * m68k-opc.c (m68k_opcode_aliases): Add bhib as an alias for bhis,
1100 and likewise for the other branches. Add bhs as an alias for bcc,
1101 and likewise for the size variants. Add dbhs as an alias for
1106 * sh-opc.h (FP sts instructions): Update to match reality.
1110 * m68k-dis.c: (fpcr_names): Add % before all register names.
1111 (reg_names): Likewise.
1112 (print_insn_arg): Don't explicitly print % before register names.
1113 Add % before register names in static array names. In case 'r',
1114 print data registers as `@(Dn)', not `Dn@'. When printing a
1115 memory address, don't print @# before it.
1116 (print_indexed): Change base_disp and outer_disp from int to
1117 bfd_vma. Print using MIT syntax, not mutant invalid Motorola
1118 syntax. Sign extend 8 byte displacement correctly.
1119 (print_base): Print using MIT syntax. Print zpc when appropriate.
1120 Change parameter disp from int to bfd_vma.
1122 * m68k-opc.c (m68k_opcode_aliases): Add jsrl and jsrs as aliases
1127 * sh-dis.c (print_insn_shx): Handle new operand types F_REG_N,
1128 F_REG_M, FPSCR_M, FPSCR_N, FPUL_M and FPUL_N.
1129 * sh-opc.h (sh_arg_type): Add new operand types.
1130 (sh_table): Add new opcodes from SH3E Floating Point ISA.
1134 * Makefile.in (distclean): Remove generated file config.h.
1138 * Makefile.in (distclean): Remove generated file config.h.
1142 * m68k-opc.c: New file, holding tables from include/opcode/m68k.h.
1144 * m68k-dis.c: Remove BREAK_UP_BIG_DECL stuff.
1146 (print_insn_m68k): Change d to be const. Use m68k_numopcodes
1147 rather than numopcodes. Use m68k_opcodes rather than removed
1148 opcode function. Don't check F_ALIAS.
1149 (print_insn_arg): Change first parameter to be const char *.
1150 * Makefile.in (ALL_MACHINES): Add m68k-opc.o.
1151 (m68k-opc.o): New target.
1152 * configure.in: Build m68k-opc.o for bfd_m68k_arch.
1153 * configure: Rebuild.
1157 * sparc-dis.c (HASH_SIZE, HASH_INSN): Define.
1158 (opcode_bits, opcode_hash_table): New variables.
1159 (opcodes_initialized): Renamed from opcodes_sorted.
1160 (build_hash_table): New function.
1161 (is_delayed_branch): Use hash table.
1162 (print_insn): Renamed from print_insn_sparc, made static.
1163 Build and use hash table. If !sparc64, ignore sparc64 insns,
1164 and vice-versa if sparc64.
1165 (print_insn_sparc, print_insn_sparc64): New functions.
1166 (compare_opcodes): Move sparc64 opcodes to end.
1167 Print commutative insns with constant second.
1168 * sparc-opc.c (all non-v9 insns): Use flag F_NOTV9 instead of F_ALIAS.
1172 * sh-dis.c (print_insn_shx): Remove unused local dslot. Use
1173 print_address_func for A_BDISP12 and A_BDISP8. Correct test which
1174 avoids printing a delay slot in a delay slot.
1175 * sh-opc.h (sh_table): Fully bracket last entry.
1179 * sparc-opc.c (sllx, srax, srlx): Fix disassembly.
1183 * configure.in: Get host_makefile_frag from ${srcdir}.
1185 * configure.in: Autoconfiscated. Check for string[s].h. Create
1186 config.h from config.in. Don't set up sysdep.h link.
1187 * sysdep.h: New file.
1188 * configure, config.in: New files, generated from configure.in.
1189 * Makefile.in: Updated to be processed autoconf-style.
1190 (distclean): Keep sysdep.h. Remove config.log and config.cache.
1191 (Makefile): Depend on config.status.
1192 (config.status): New rule.
1193 * configure.bat: Update Makefile substitutions.
1197 * mips-opc.c (L1): Define.
1198 (mips_opcodes): Add R4010 instructions: flushi, flushd, flushid,
1199 addciu, madd, maddu, ffc, ffs, msub, msubu, selsi, selsr, waiti,
1204 * mips-opc.c (mips_opcodes): For the move pseudo-op, prefer daddu
1205 if ISA 3 and addu otherwise, replacing or, since some MIPS chips
1206 have multiple add units but only a single logical unit.
1208 * ppc-opc.c (powerpc_operands): Change CR to use a bitsize of 3,
1209 shifted by 18, without any insertion or extraction function.
1210 (insert_cr, extract_cr): Remove.
1215 * Makefile.in (ALL_MACHINES): Add arc-dis.o and arc-opc.o.
1220 * m68k-dis.c (print_insn_arg, print_indexed): Print "%" before
1225 * mpw-config.in: Add sh and i386 configs, remove sparc config.
1226 * sh-opc.h: Add copyright.
1230 * Makefile.in (crunch-m68k): Delete extra target accidentally
1231 checked in a while ago.
1235 * sh-opc.h (sh_table): Add SH3 support.
1239 * sh-opc.h: Added bsrf and braf.
1243 * arm-opc.h (arm_opcodes): Add 64-bit multiply patterns. Delete
1244 bogus [ls]fm{ea,fd} patterns.
1246 * arm-opc.h (arm_opcodes): Correct typos in stm, ldm, std, and ldc.
1247 * arm-dis.c (print_insn_arm): Make GIVEN a parameter, don't try and
1248 initialize it from memory. Make function static.
1249 (print_insn_{big,little}_arm): New functions.
1250 * disassemble.c (disassembler, case bfd_arch_arm): Disassemble for
1251 the correct endianness.
1256 * arc-opc.c (arc_opcodes): Add ARC_OPCODE_CONDITIONAL_BRANCH flag.
1257 (arc_suffixes): Use ARC_DELAY_{NONE,NORMAL,JUMP}.
1262 * sh-opc.h (sh_nibble_type, sh_arg_type): remove trailing , from
1267 * m68k-dis.c (opcode): Finish change made by Kung Hsu on April
1268 17th, so that it builds again using GCC as the compiler.
1272 * mips-dis.c (print_insn_little_mips): Cast return value from
1273 bfd_getl32 from bfd_vma to unsigned long, because _print_insn_mips
1274 expects an unsigned long, and that might be fewer words of
1275 argument storage (e.g., if bfd_vma is long long on a 32-bit
1277 (print_insn_big_mips): Likewise with bfd_getb32 value.
1278 (_print_insn_mips): Now static.
1282 * m68k-dis.c: Take out #define BREAK_UP_BIG_DECL kludge, because
1283 gcc memory hog problem with initializer is fixed.
1288 * arc-opc.c (NULL): Define.
1289 (arc_operands, insn fields u,s): Delete.
1290 (arc_operands, insn fields a,b,c): Mark as signed.
1291 (arc_opcodes): No longer const, links computed at run-time.
1292 (arc_opcodes, mac/mul insns): Breakout suffixes as we don't handle
1293 suffixes that affect the insn code.
1294 (arc_opcodes): Resort table to macros are first.
1295 (arc_opcodes, ld [b,c] entry): Add %Q to prevent shimms.
1296 (arc_opcodes, st [b] entry): Likewise.
1297 (arc_opcodes, st [b,d] entry): Fix mask, value.
1298 (arc_reg_names): Add entries for r29, r30, r31, r60.
1299 (opcode_map, icode_map): New static globals.
1300 (arc_opcode_init_tables): Initialize them.
1301 (arc_opcode_lookup_asm, arc_opcode_lookup_dis): New functions.
1302 (insert_shimmoffset): Signal error if register present.
1304 * arc-dis.c (print_insn): Call arc_opcode_lookup_dis.
1309 Merge in support for Mac MPW as a host.
1310 (Old change descriptions retained for informational value.)
1312 * mpw-config.in (archname): Compute from the config.
1313 (BFD_MACHINES, ARCHDEFS): Put into mk.tmp.
1315 * mpw-config.in (target_arch): Compute from canonical target.
1316 (m68k, mips, powerpc, sparc): Add architectures.
1317 * mpw-make.in (disassemble.c.o): Add.
1318 (ALL_CFLAGS): Remove special flags (-mc68020 -mc68881 -model far).
1320 * mpw-config.in (BFD_MACHINES): Set to a default value.
1321 * mpw-make.in (BFD_MACHINES): Remove wired-in value.
1323 * mpw-make.in (CSEARCH): Add extra-include to search path.
1325 * mpw-config.in (varargs.h): Don't create.
1326 (sysdep.h): Create using forward-include.
1327 * mpw-make.in (CSEARCH): Add include/mpw to search path.
1329 * mpw-config.in: New file, MPW version of configure.in.
1330 * mpw-make.in: New file, MPW version of Makefile.in.
1335 * arc-dis.c (print_insn): New parameter `big_p'. Callers updated.
1336 Call arc_get_opcode_mach to map bfd mach number to opcode value.
1337 (print_insn_*): Pass bfd mach number, not opcode version.
1338 * arc-opc.c (arc_get_opcode_mach): New function.
1343 * alpha-dis.c (print_insn_alpha): Put empty statement after
1348 * hppa-dis.c (sign_extend): Delete, redundant with libhppa.h version.
1349 (low_sign_extend): Likewise.
1350 (get_field): Delete unused function.
1351 (set_field, deposit_14, deposit_21): Likewise.
1355 * i386-dis.c: Support for more pentium opcodes. From Guy Harris
1362 * alpha-opc.h (OSF_ASMCODE): define
1363 print pal-code names as defined in App C of the
1364 Alpha Architecture Reference Manual
1366 * alpha-dis.c: cleaned up output
1367 print stylized code forms as defined in App A.4.3 of the
1368 Alpha Architecture Reference Manual
1372 * mips-opc.c: Add new mips4 instructions. Don't set INSN_RFE for
1374 * mips-dis.c (print_insn_arg): Handle new argument types 'h', 'R',
1379 * m68k-dis.c (opcode): New function. Returns address of opcode
1380 table entry given index, even if the opcode table was split to
1381 work around gcc bugs.
1382 (print_insn_m68k): Call opcode instead of referencing m68k_opcodes
1384 (BREAK_UP_BIG_DECL): Make secondary array static and const.
1385 (reg_names): Now const.
1386 (print_insn_arg): Arrays cacheFieldName and names now const.
1387 (print_indexed): Array scales now const.
1392 * arc-dis.c (print_insn_arc_base): Split into big and little fns.
1393 (print_insn_arc_{host,graphics,audio}): Likewise.
1394 (print_insn): Add prototype.
1395 (arc_get_disassembler): New arg `big_p'. Return little or big
1396 print fn accordingly.
1397 * arc-opc.c (arc_opcode_init_tables): Init arc_operand_map once.
1398 (arc_opcode_supported): Use ARC_OPCODE_CPU to ignore byte order.
1399 (arc_opval_supported): Likewise.
1400 * disassemble.c (disassembler): Pass big endian flag to
1401 arc_get_disassembler.
1406 * ppc-opc.c: Sort recently added instructions by minor opcode
1407 number within major opcode number.
1411 * hppa-dis.c: Include libhppa.h.
1415 * mips-opc.c: Change dli to use M_DLI, and add dla.
1419 * Makefile.in (ALL_MACHINES): Add w65-dis.o.
1424 * arc-dis.c (arc_get_disassembler): Change argument to int,
1425 one of bfd_mach_arc_xxx. All callers updated.
1430 * mips-opc.c: Add r4650 mul instruction.
1434 * mips-opc.c: Add uld and usd macros for unaligned double load and
1439 * ppc-opc.c (powerpc_opcodes): Add 403GA opcodes rfci, dccci,
1440 mfdcr, mtdcr, icbt, iccci.
1445 * arc-dis.c (print_insn): Handle ARC_OPERAND_ADDRESS.
1446 * arc-opc.c (arc_operands): New operand 'J' for jump addresses.
1447 ('L' operand): Mark as ARC_OPERAND_ADDRESS.
1448 (arc_opcodes, j insn): Use 'J' operand type, not 'L'.
1449 (arc_opcodes, ld/st insns): Fix address writeback operand letter.
1450 (insert_absaddr): New function.
1454 * arc-dis.c (print_insn_arc): Rename to print_insn and make static.
1455 New argument `cpu', pass it to arc_opcode_init_tables.
1456 Document byte order dependencies. Ignore unsupported insns.
1457 (arc_get_disassembler): New function.
1458 (print_insn_arc_base, print_insn_arc_host, print_insn_arc_graphics,
1459 print_insn_arc_audio): New functions.
1460 * arc-opc.c (MULTSHIFT operand): Delete.
1461 (UNSIGNED, SATURATION): New operands.
1462 (mac, mul, mul64, mulu64): New insns.
1463 (ext. asl, asr, lsr, ror): Only available on host and graphics cpus.
1464 (padc, padd, pmov, pand, psbc, psub, swap): New insns.
1465 (host,graphics,audio extended and auxiliary regs): Define.
1466 (ss, sc, mh, ml): New suffixes.
1467 (arc_opcode_supported, arc_opval_supported): New functions.
1468 (insert_multshift, extract_multshift): Deleted.
1469 * disassemble.c (disassembler, case bfd_arch_arc): Call
1470 arc_get_disassembler to get disassembler routine.
1475 * i960-dis.c (struct tabent, struct sparse_tabent): Change the
1476 signed char fields to shorts, more portable.
1480 * i960-dis.c (struct tabent, struct sparse_tabent): Declare the
1481 char fields as signed chars, since they may have negative values.
1485 * i386-dis.c (dis386_twobyte): Add cpuid, From Charles Hannum
1491 * ppc-opc.c (extract_bdm): Correct parenthezisation.
1492 * ppc-dis.c (print_insn_powerpc): Print .long before unrecognized
1497 * ppc-opc.c: Changes based on patch from David Edelsohn
1499 (powerpc_operands): Add operands SPRBAT and SPRG. Split TBR out of
1502 (insert_tbr): New static function.
1503 (extract_tbr): New static function.
1504 (XFXFXM_MASK, XFXM): Define.
1505 (XSPRBAT_MASK, XSPRG_MASK): Define.
1506 (powerpc_opcodes): Add instructions to access special registers by
1507 name. Add mtcr and mftbu.
1511 * mips-opc.c (P3): Define.
1512 (mips_opcodes): Add mad and madu.
1514 Sun Jan 15 16:32:59 1995 Steve Chamberlain <sac@splat>
1516 * configure.in: Add W65 support.
1517 * disassemble.c: Likewise.
1518 * w65-opc.h, w65-dis.c: New files.
1522 * h8300-dis.c (bfd_h8_disassemble): Add support for 2 bit
1528 * arc-dis.c (print_insn_arc): Branch offsets are relative to delay
1530 * arc-opc.c (extract_reladdr): New function.
1531 (insert_reladdr): Store address right-shifted by 2.
1536 * mips-opc.c: Add dli as a synonym for li.
1541 * arc-opc.c (insertion fns): Pass pointer to value's table entry.
1543 (extraction fns): Insn argument now array of two words. Return pointer
1544 to value's table entry. All uses changed.
1545 (arc_opcode_lookup_suffix): Exported for arc-dis.c.
1546 (insert_multshift, extract_multshift): New fns.
1547 (arc_operands): Add support for cache bypass suffix. Add support for
1548 predefined aux regs. Modifier bits moved to flags field.
1549 (arc_opcodes): Likewise.
1550 Add mul/mulu/shift insns. Syntax of zero/sign extension insns changed.
1551 New insn rlc. Update to syntax in programmer's manual.
1552 (arc_reg_names): Fix typo in lp_count. Add predefined aux regs.
1553 (arc_suffixes): New synonyms lo,hs for cs,cc. New suffix for cache
1555 (arc_opcode_init_tables): New argument to indicate cpu type.
1556 (insert_reg): Handle predefined aux regs.
1557 (extract_reg): Likewise.
1558 (lookup_register): New fn.
1559 * arc-dis.c (arc_condition_codes): Deleted.
1560 (print_insn_arc): Handle insns with 32 bit immediate constants better.
1561 Clean up modifier handling. Handle predefined aux regs.
1566 * alpha-dis.c (print_insn_alpha): Handle call_pal instruction, and
1567 print something for reserved opcode values, even if it won't
1570 * mips-dis.c (_print_insn_mips): When initializing, shift right
1571 and mask, to avoid sign extension problems on the Alpha.
1573 * m68k-dis.c (print_insn_arg, case 'J'): Handle buscr and pcr
1579 * configure.in: Add ARC support.
1580 * disassemble.c: Likewise.
1581 * arc-dis.c, arc-opc.c: New files.
1586 * sh-opc.h (mov.l gbr): Get direction right.
1587 * sh-dis.c (print_insn_shx): New function.
1588 (print_insn_shl, print_insn_sh): Call print_insn_shx to
1589 print opcodes with right byte order.
1593 * ns32k-dis.c (struct ns32k_option): Renamed from struct option,
1594 to avoid conflicts with getopt.
1598 * hppa-dis.c (print_insn_hppa): Read the instruction using
1599 bfd_getb32, so that it works on a little endian or 64 bit host.
1600 Remove unused local variable op.
1604 * mips-opc.c: Use or instead of addu for pseudo-op move, since
1605 addu does not work correctly if -mips3.
1609 * a29k-dis.c (print_special): Add special register names defined
1610 on 29030, 29040 and 29050.
1611 (print_insn): Handle new operand type 'I'.
1615 * Makefile.in (INSTALL): Use top level install.sh script.
1619 * sparc-dis.c: Rewrite to use bitfields, rather than a union, so
1620 that it works on a little endian host.
1624 * configure.in: Use ${config_shell} when running config.bfd.
1628 * mips-opc.c (mips_opcodes): "dabs" is only available with -mips3.
1632 * a29k-dis.c (print_insn): Print the opcode.
1636 * mips-opc.c (mips_opcodes): Set WR_t for sc and scd.
1640 * hppa-dis.c (reg_names): Use r26-r23 for arg0-arg3.
1644 * mips-opc.c: Set INSN_STORE_MEMORY flag for all instructions
1645 which store a value into memory.
1649 * configure.in, Makefile.in, disassemble.c: Add support for the ARM.
1650 * arm-dis.c, arm-opc.h: New files.
1654 * Makefile.in (ns32k-dis.o): Add dependency.
1655 * ns32k-dis.c (print_insn_arg): Declare initialized local as
1656 string, not as array of chars.
1660 * sparc-dis.c (print_insn_sparc): Handle new operand type 'x'.
1662 * sparc-opc.c: Added sparclite extended FP operations, and
1663 versions of v9 impdep* instructions permitting specification of
1668 * i960-dis.c (reg_names): Now const.
1669 (struct sparse_tabent): New type, copied from array type in mem
1671 (ctrl): Local static array ctrl_tab now const.
1672 (cobr): Local static array cobr_tab now const.
1673 (mem): Local variables reg1, reg2, reg3 now point to const. Local
1674 static variable mem_tab no longer explicitly initialized. Changed
1675 mem_init to const array of struct sparse_tabent.
1676 (reg): Local static variable reg_tab no longer explicitly
1677 initialized. Changed reg_init to const array of struct
1679 (ea): Local static array scale_tab now const.
1681 * i960-dis.c (reg): Added i960JX instructions to reg_init table.
1686 * configure.bat: the disassember needs to be enabled for
1687 "objdump -d" to work in djgpp.
1691 * ns32k-dis.c: Deleted all code in "#ifdef GDB".
1692 (invalid_float): Enabled general version, doesn't require running
1693 on ns32k host. Changed to take char* argument, and test for
1694 explicitly specified sizes, instead of using sizeof() on host CPU
1696 (INVALID_FLOAT): Cast first argument.
1697 (opt_u, opt_U, opt_O, opt_C, opt_S, list_P532, list_M532,
1698 list_P032, list_M032): Now const.
1699 (optlist, list_search): Made appropriate arguments now point to
1701 (print_insn_arg): Changed static array of one-character-string
1702 pointers into a static const array of characters; fixed sprintf
1703 statement accordingly.
1707 * opcodes/ns32k-dis.c: Semi-new file. Had apparently been dropped
1708 from distribution. A ns32k-dis.c from a previous distribution has
1709 been brought up to date and supports the new interface.
1711 * disassemble.c: define ARCH_ns32k and add case bfd_arch_ns32k.
1713 * configure.in: add bfd_ns32k_arch target support.
1715 * Makefile.in: add ns32k-dis.o to ALL_MACHINES.
1716 Add ns32k-dis.c to CFILES. Add dependencies for ns32k-dis.o.
1720 * h8300-dis.c (bfd_h8_disassemble): Get 16bit branch
1725 * h8300-dis.c, mips-dis.c: Don't use true and false.
1729 * configure.in: Change --with-targets to --enable-targets.
1733 * mips-dis.c (_print_insn_mips): Build a static hash table mapping
1734 opcodes to the first instruction with that opcode, to speed
1740 * Makefile.in (mostlyclean): Fix typo (was mostyclean).
1744 * configure.bat: update to latest makefile.in
1748 * a29k-dis.c (print_insn): Print 'x' type operand in hex.
1749 * h8300-dis.c (bfd_h8_disassemble): Print 16bit rels correctly.
1750 * sh-dis.c (print_insn_sh): Don't recur endlessly if delay
1751 slot insn is in a delay slot.
1752 * z8k-opc.h: (resflg): Fix patterns.
1753 * h8500-opc.h Fix CR insn patterns.
1757 * ppc-opc.c (powerpc_opcodes): Put PowerPC versions of "cmp" and
1758 "cmpl" before POWER versions, so that gas -many uses them.
1762 * disassemble.c: New file.
1763 * Makefile.in (OFILES): Add disassemble.o.
1764 (disassemble.o): Provide dependencies; compile with $(ARCHDEFS).
1765 * configure.in: Define ARCHDEFS in Makefile. Code taken from
1766 binutils/configure.in.
1768 * m68k-dis.c (print_insn_m68k): If F_ALIAS flag is set, skip the
1769 opcode being examined.
1773 * ppc-opc.c (powerpc_operands): Added RAL, RAM and RAS.
1774 (insert_ral, insert_ram, insert_ras): New functions.
1775 (powerpc_opcodes): Use RAL for load with update, RAM for lmw, and
1776 RAS for store with update.
1780 * ppc-opc.c (powerpc_opcodes): Correct fcir. From David Edelsohn
1785 * mips-opc.c (mips_opcodes): Correct operands of "nor" with an
1790 * sparc-opc.c (sparc_opcodes): Fix "rd %fprs,%l0".
1794 * ppc-opc.c (powerpc_operands): The signedp field has been
1795 removed, so don't initialize it. Set the PPC_OPERAND_SIGNED flag
1796 instead. Add new operand SISIGNOPT.
1797 (powerpc_opcodes): For lis, liu, addis, and cau use SISIGNOPT.
1799 * ppc-dis.c (print_insn_powerpc): Check PPC_OPERAND_SIGNED rather
1804 * i386-dis.c (struct private): Renamed to dis_private. `private'
1805 is a reserved word for dynix cc.
1809 * configure.in: Change error message to refer to bfd/config.bfd
1810 rather than bfd/configure.in.
1814 * ppc-opc.c: Define POWER2 as short alias flag.
1815 (powerpc_opcodes): Add POWER/2 opcodes lfq*, stfq*, fcir[z], and
1820 * i960-dis.c (print_insn_i960): Don't read a second word for
1821 opcodes 0, 1, 2 and 3.
1825 * configure.in: Don't build m68881-ext.o for bfd_m68k_arch.
1829 * m68881-ext.c: Removed; no longer used.
1830 * Makefile.in: Changed accordingly.
1832 * m68k-dis.c (ext_format_68881): Don't declare.
1833 (print_insn_m68k): If an instruction uses place 'i', it uses at
1834 least four fixed bytes.
1835 (print_insn_arg): Don't bump p by 2 for case 'I', place 'i'. For
1836 extended float, convert to double using floatformat_to_double, not
1837 ieee_extended_to_double, and fetch the data before converting it.
1841 * mips-opc.c: It's sqrt.s, not sqrt.w. From
1846 * ppc-opc.c (powerpc_opcodes): The POWER uses bdn[l][a] where the
1847 PowerPC uses bdnz[l][a].
1851 * dis-buf.c, i386-dis.c: Include sysdep.h.
1855 * configure.in (bfd_powerpc_arch): Use ppc-dis.o and ppc-opc.o.
1857 * ppc-opc.c (powerpc_opcodes): Mark POWER instructions supported
1858 by Motorola PowerPC 601 with PPC_OPCODE_601.
1859 * ppc-dis.c (print_insn_big_powerpc, print_insn_little_powerpc):
1860 Disassemble Motorola PowerPC 601 instructions as well as normal
1861 PowerPC instructions.
1865 * i960-dis.c (reg, mem): Just use a static array instead of
1870 * hppa-dis.c (print_insn_hppa): For '?' and '@' only adjust the
1871 condition name index if this is for a negated condition.
1873 * hppa-dis.c (print_insn_hppa): No space before 'H' operand.
1874 Floating point format for 'H' operand is backwards from normal
1875 case (0 == double, 1 == single). For '4', '6', '7', '9', and '8'
1876 operands (fmpyadd and fmpysub), handle bizarre register
1877 translation correctly for single precision format.
1879 * hppa-dis.c (print_insn_hppa): Do not emit a space after 'F'
1880 or 'I' operands if the next format specifier is 'M' (fcmp
1881 condition completer).
1885 * ppc-opc.c (powerpc_operands): New operand type MBE to handle a
1886 single number giving a bitmask for the MB and ME fields of an M
1887 form instruction. Change NB to accept 32, and turn it into 0;
1888 also turn 0 into 32 when disassembling. Seperated SH from NB.
1889 (insert_mbe, extract_mbe): New functions.
1890 (insert_nb, extract_nb): New functions.
1891 (SC_MASK): Mask out SA and LK bits.
1892 (powerpc_opcodes): Change "cal" to use RT, D, RA rather than RT,
1893 RA, SI. Change "liu" and "cau" to use UI rather than SI. Mark
1894 "bctr" and "bctrl" as accepted by POWER. Change "rlwimi",
1895 "rlimi", "rlwimi.", "rlimi.", "rlwinm", "rlinm", "rlwinm.",
1896 "rlinm.", "rlmi", "rlmi.", "rlwnm", "rlnm", "rlwnm.", "rlnm." to
1897 use MBE rather than MB. Add "mfmq" and "mtmq" POWER instructions.
1898 (powerpc_macros): Define table of macro definitions.
1899 (powerpc_num_macros): Define.
1901 * ppc-dis.c (print_insn_powerpc): Don't skip optional operands
1902 if PPC_OPERAND_NEXT is set.
1906 * i960-dis.c (print_insn_i960): Make buffer bfd_byte instead of
1907 char. Retrieve contents using bfd_getl32 instead of shifting.
1911 * ppc-opc.c: New file. Opcode table for PowerPC, including
1912 opcodes for POWER (RS/6000).
1913 * ppc-dis.c: New file. PowerPC and Power (RS/6000) disassembler.
1914 * Makefile.in (ALL_MACHINES): Add ppc-dis.o and ppc-opc.o.
1915 (CFILES): Add ppc-dis.c.
1916 (ppc-dis.o, ppc-opc.o): New targets.
1917 * configure.in: Build ppc-dis.o and ppc-opc.o for bfd_rs6000_arch.
1921 * hppa-dis.c (print_insn_hppa): Handle 'N' in assembler template.
1922 No space before 'u', 'f', or 'N'.
1926 * i386-dis.c (print_insn_i386): Add FIXME comment regarding reading
1927 farther than we should.
1929 * i386-dis.c (dis386): Use Yb and Yv for scasb and scasS.
1933 * sparc-dis.c m68k-dis.c alpha-dis.c a29k-dis.c: Fix comments.
1937 * i960-dis.c (print_insn_i960): Only read word2 if the instruction
1938 needs it, to prevent reading past the end of a section.
1942 * mips-opc.h: Use macro for j instruction, to support SVR4 PIC.
1943 Removed t,A case for la; always use t,A(b) case.
1948 * mips-dis.c (print_insn_arg): Handle 'k'.
1949 * mips-opc.c: Make cache use k, not t.
1953 * alpha-opc.h, alpha-dis.c (print_insn_alpha): Add
1954 FLOAT_MEMORY_FORMAT_CODE, FLOAT_BRANCH_FORMAT_CODE, correct
1955 FLOAT_FORMAT_CODE to put out floating point register names.
1959 * mips-opc.c: Use macros for jal variants, to support SVR4 PIC.
1963 * a29k-dis.c (print_insn): Use 0x%08x, not 0x%8x.
1967 * mips-opc.c (dsll, dsra, dsrl): Added '>' cases for shift counts
1968 larger than 32. Moved dsxx32 variants first for disassembler.
1972 * z8kgen.c, z8k-opc.h: Add full lda information.
1976 * hppa-dis.c (print_insn_hppa): Do not emit a space after
1977 movb instructions. Any necessary space will be emitted by
1978 the code to handle nullification completers.
1982 * mips-opc.c: Moved l.d down so that it disassembles as ldc1.
1986 * alpha-opc.h: Add ldl_l, fix typo for ldq_u.
1987 * alpha-dis.c (print_insn_alpha): Add code for PAL_FORMAT_CODE.
1991 * mips-opc.c: Correct lwu opcode value (book had it wrong).
1995 * z8k-dis.c (FETCH_DATA): get just the right amount of data.
1996 (unpack_instr): Cope with ARG_IMM4M1 type instructions.
2000 * m88k-dis.c (m88kdis): comment change. Remove space after
2002 (printop): handle new arg types DEC and XREG for m88110.
2006 * hppa-dis.c (print_insn_hppa): Handle 'z' operand
2007 type for absolute branch addresses. Delete special
2008 "ble" and "be" code in 'W' operand code.
2012 * mips-opc.c: Set hazard information correctly for branch
2013 likely instructions.
2017 * alpha-dis.c (print_insn_alpha), alpha-opc.h: Fix bugs, use
2018 info->fprintf_func for printing and info->print_address_func for
2023 * mips-opc.c: Set INSN_TRAP for tXX instructions.
2028 Corrected second case of "b" for disassembler.
2032 * mips-dis.c, m88k-dis.c: Don't include libbfd.h. Changed calls
2033 to BFD swapping routines to correspond to BFD name changes.
2037 * mips-opc.c: Change div machine instruction to be z,s,t rather
2038 than s,t. Change div macro to be d,v,t rather than d,s,t.
2039 Likewise for divu, ddiv, ddivu. Added z,s,t case for drem, dremu,
2040 rem and remu which generates only the corresponding div
2041 instruction. This is for compatibility with the MIPS assembler,
2042 which only generates the simple machine instruction when an
2043 explicit destination of $0 is used.
2044 * mips-dis.c (print_insn_arg): Handle 'z' (always register zero).
2049 WR_31 hazard for bal, bgezal, bltzal.
2053 * hppa-dis.c (print_insn_hppa): Use print function
2054 from within the disassemble_info, not fprintf_filtered.
2058 * hppa-dis.c (print_insn_hppa): Handle '|' like '>'. (From Jeff
2063 * mips-opc.c ("absu"): Removed.
2068 * mips-opc.c: Added r6000 and r4000 instructions and macros.
2069 Changed hazard information to distinguish between memory load
2070 delays and coprocessor load delays.
2074 * mips-opc.c: li.d uses "T,L", not "S,F". Added li.s.
2078 * configure.in: Don't pass cpu to config.bfd.
2082 * m88k-dis.c (m88kdis): Make class unsigned.
2086 * alpha-dis.c (print_insn_alpha): One branch format case was
2087 missing the instruction name.
2091 * Makefile.in (ALL_MACHINES): Renamed from DIS_LIBS.
2092 Add the arch-specific auxiliary files.
2093 (OFILES): Remove the arch-specific auxiliary files
2094 and use BFD_MACHINES instead of DIS_LIBS.
2095 * configure.in: Set BFD_MACHINES based on --with-targets option.
2099 * mips-opc.c: Added lwc1 E,A(b) to go with lwc1 T,A(b). Similarly
2104 * sparc-opc.c: Change CONST to const to deal with gcc
2105 -Dconst=__const -traditional.
2110 coprocessor instructions out of #if 0, and made them use new
2115 * sparc-dis.c: Include ansidecl.h before opcodes/sparc.h.
2119 * sparc-opc.c: Add F_JSR, F_UNBR, or F_CONDBR flags to each branch
2120 instruction, for use by the disassembler.
2122 * sparc-dis.c (SEX): Add sign extension macro. Replace many
2123 hand-coded sign extensions that depended on 32-bit host ints.
2124 FIXME, we still depend on big-endian host bitfield ordering.
2125 (sparc_print_insn): Set the insn_info_valid field, and the
2126 other fields that describe the instruction being printed.
2130 * sparc-opc.c (call): Accept all 6 addressing modes valid for
2131 `jmp' instead of just one of them.
2135 * hppa-dis.c: Move floating registers from reg_names to fp_reg_names.
2136 (fput_fp_reg_r): Renamed from fput_reg_r.
2137 (fput_fp_reg): New function.
2138 (print_insn_hppa): Use fput_fp_reg{,_r} where appropriate.
2140 * hppa-dis.c (print_insn_hppa, cases 'a', 'd'): Print space afterwards.
2142 * hppa-dis.c (print_insn_hppa, case 'd'): Use GET_COND not GET_FIELD.
2146 * hppa-dis.c (print_insn_hppa): Use extract_5r_store for 'r'.
2148 * hppa-dis.c (print_insn_hppa, case '>'): If next character is 'n',
2149 don't output a space.
2151 * hppa-dis.c (float_format_names): 10 is undefined, and 11 is quad.
2155 * mips-opc.c: New file, containing opcode table from
2156 ../include/opcode/mips.h.
2157 * Makefile.in: Add it.
2161 * m88k-dis.c: New file, moved in from gdb and changed to use the
2162 new dis-asm.h disassembler interface.
2163 * Makefile.in (DIS_LIBS): Added m88k-dis.o.
2164 (m88k-dis.o): New target.
2168 * mips-dis.c (print_insn_arg, _print_insn_mips): Made pointer to
2169 argument string const char * to correspond to opcode/mips.h.
2173 * mips-dis.c: Updated to account for name changes in new version
2175 * Makefile.in: Added header file dependencies.
2179 * h8300-dis.c (bfd_h8_disassemble): Correct fetching of instruction.
2183 * m68k-dis.c (NEXTWORD, NEXTLONG): Use ((x) ^ 0x8000) - 0x8000 to sign
2184 extend, rather than shifts.
2188 * Makefile.in: Undo 15 June change.
2192 * m68k-dis.c (print_insn_arg): Change return value to byte count
2194 * m68k-dis.c: Re-write to detect invalid operands before
2195 printing anything, so we can handle this the same way we
2196 handle invalid opcodes.
2200 * sh-dis.c, sh-opc.h: Understand some more opcodes.
2204 * hppa-dis.c: Include <ansidecl.h> and sysdep.h before other
2209 * sparc-dis.c: Don't declare qsort, since sysdep.h might.
2211 * configure.in: Do make sysdep.h link.
2212 * Makefile.in: Search ../include. Don't search ../bfd.
2217 * hppa-dis.c: Fix typo. 'a' and 'd' were reversed.
2218 Do not print a space before the completers specified by
2223 * mips-dis.c: No longer need to bomb out if HOST_64_BIT is
2224 defined, since gdb has been fixed.
2227 * hppa-dis.c (print_insn_hppa): Last argument to fput_reg,
2228 fput_reg_r, fput_creg, fput_const, and fputs_filtered should
2229 be a *disassemble_info, not a *FILE.
2230 * hppa-dis.c: Support 'd', '!', and 'a'.
2231 * hppa-dis.c: Support 's' to extract a 2 bit space register.
2232 * hppa-dis.c: Delete cases which are no longer needed.
2236 * m68k-dis.c (print_insn_{m68k,arg}): Add MMU codes.
2240 * h8300-dis.c: New file, removed from bfd/cpu-h8300.c, with
2245 * Makefile.in (CSEARCH): Add -I../bfd for sysdep.h and bfd.h.
2246 * configure.in: No longer need to configure to get sysdep.h.
2251 * hppa-dis.c: Support 'I', 'J', and 'K' in output
2252 templates for 1.1 FP computational instructions.
2256 * h8500-dis.c (print_insn_h8500): Address argument is type
2258 * z8k-dis.c (print_insn_z8k, print_insn_z8001, print_insn_z8002):
2261 * h8500-opc.h (addr_class_type): No comma at end of enumerator.
2262 * sh-opc.h (sh_nibble_type, sh_arg_type): Ditto.
2264 * sparc-dis.c (compare_opcodes): Move static declaration to
2269 * sparc-dis.c (print_insn_sparc): Implement 'n' argument for unimp
2270 instruction, remove unimp hack from 'l' argument.
2274 * z8k-dis.c (fetch_data): Use unsigned char to make ancient gcc's
2280 * mips-dis.c (print_insn_arg): Handle 'C' for general coprocessor
2285 * hppa-dis.c: Include dis-asm.h before sysdep.h. Changed some
2286 arrays of string pointers to 2-d arrays of chars, to save
2291 * a29k-dis.c, alpha-dis.c, i960-dis.c, sparc-dis.c, z8k-dis.c:
2292 Cast second arg to read_memory_func to "bfd_byte *", as necessary.
2296 * hppa-dis.c: New file from Utah, adapted to new disassembler
2298 * Makefile.in: Include it.
2302 * sh-dis.c, sh-opc.h: New files.
2306 * alpha-dis.c, alpha-opc.h: New files.
2310 * mips-dis.c: Sign extend 'j' and 'b' arguments, delta is a signed
2315 * sparc-dis.c: Make "ta" the default trap instruction, "t" the alias.
2319 * a29k-dis.c, sparc-dis.c, sparc-opc.c: Use CONST rather than
2324 * sparc-dis.c: Use fprintf_func a few places where I forgot,
2325 and double percent signs a few places.
2327 * a29k-dis.c, i960-dis.c: New, merged from gdb and binutils.
2329 * i386-dis.c, m68k-dis.c, mips-dis.c, sparc-dis.c:
2330 Use info->print_address_func not print_address.
2332 * dis-buf.c (generic_print_address): New function.
2336 * Makefile.in: Add sparc-dis.c.
2337 sparc-dis.c: New file, merges binutils and gdb versions as follows:
2339 Add `add' instruction to the set that get checked
2340 for a preceding `sethi' in order to print an absolute address.
2341 * (print_insn): Disassembly prefers real instructions.
2342 (is_delayed_branch): Speed up.
2343 * sparc-opcode.h: Add ALIAS bit to aliases. Fix up opcode tables.
2344 Still missing some float ops, and needs testing.
2345 * sparc-pinsn.c (print_insn): Eliminate 'set' test, subsumed by
2346 F_ALIAS. Use printf, not fprintf, when not passing a file
2348 (compare_opcodes): Check that identical instructions have
2349 identical opcodes, complain otherwise.
2352 * Include reg_names.
2354 Use dis-asm.h/read_memory_func interface.
2358 * h8500-dis.c, i386-dis.c, m68k-dis.c, z8k-dis.c (fetch_data):
2359 deliberately return non-zero to setjmp from longjmp. Otherwise
2360 this code fails to compile.
2364 * m68k-dis.c: Fix prototype for fetch_arg().
2368 * dis-buf.c: New file, for new read_memory_func interface.
2369 Makefile.in (OFILES): Include it.
2370 m68k-dis.c, i386-dis.c, h8500-dis.c, mips-dis.c, z8k-dis.c:
2371 Use new read_memory_func interface.
2375 * h8500-dis.c (print_insn_h8500): Get sign of fp offsets right.
2376 * h8500-opc.h: Fix couple of opcodes.
2378 Wed Mar 24 02:03:36 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
2380 * Makefile.in: add dvi & installcheck targets
2384 * Makefile.in: Update for h8500-dis.c.
2388 * h8500-dis.c, h8500-opc.h: New files
2392 * mips-dis.c, z8k-dis.c: Converted to use interface defined in
2393 ../include/dis-asm.h.
2394 * m68k-dis.c: New file (merge of ../binutils/m68k-pinsn.c
2395 and ../gdb/m68k-pinsn.c).
2396 * i386-dis.c: New file (merge of ../binutils/i386-pinsn.c
2397 and ../gdb/i386-pinsn.c).
2398 * m68881-ext.c: New file. Moved definition of
2399 ext_format ext_format_68881 from ../gdb/m68k-tdep.c.
2400 * Makefile.in: Adjust for new files.
2402 * m68k-dis.c: Recognize '9' placement code, so (say) pflush
2403 can be dis-assembled.
2407 * mips-dis.c (print_insn_arg): Now returns void.
2411 * mips-dis.c (ansidecl.h): Include for benefit of sysdep.h
2412 files that use the macros.
2416 * mips-dis.c: New file, from gdb/mips-pinsn.c.
2417 * Makefile.in (DIS_LIBS): Added mips-dis.o.
2418 (CFILES): Added mips-dis.c.
2422 * z8k-dis.c (print_insn_z8001, print_insn_z8002): new routines
2423 * z8kgen.c, z8k-opc.h: fix sizes of some shifts.
2427 * Makefile.in: Improve *clean rules.
2428 * configure.in: Allow a default host.
2430 Tue Nov 17 19:53:54 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
2432 * Makefile.in: also use -I$(srcdir)/../bfd, since some sysdep
2433 files include other sysdep files
2437 * z8k-dis.c z8k-opc.h z8kgen.c: checkpoint
2441 * configure.in: For host support, use ../bfd/configure.host
2442 so it stays in sync with the ../bfd/hosts database.
2444 Thu Oct 1 23:38:54 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
2446 * configure.in: use cpu-vendor-os triple instead of nested cases
2450 * z8k-dis.c (unparse_instr): fix bug where opcode returned was
2451 *always* the wrong one.
2455 * z8kgen.c: added copyright info
2459 * z8k-dis.c (unparse_instr): prettier tabs
2460 * z8kgen.c -> z8k-opc.h: bug fixes in tables
2462 Fri Sep 25 12:50:32 1992 Stu Grossman (grossman at cygnus.com)
2464 * configure.in: Add ncr* configuration.
2465 * z8k-dis.c (struct instr_data_s): Make instr_asmsrc char to make
2466 picayune ANSI compilers happy.
2470 * configure.in (i386): Make i386 and i486 synonymous for now.
2471 * configure.in (i[34]86-*-sysv4): Add my_host definition.
2475 * Makefile.in (install): Fix typo.
2479 * Makefile.in (make): Remove obsolete crud.
2480 (sparc-opc.o): Avoid Sun Make VPATH bug.
2484 * Makefile.in: since there are no SUBDIRS, remove rule and
2485 references of subdir_do.
2489 * Makefile.in (install): Get the library name right here too.
2490 Don't install bfd.h, since it's unrelated to this library. No
2491 subdirs to recurse into, either.
2492 (CFILES): The source file has a .c suffix, not .o.
2494 * sparc-opc.c: New file, moved from BFD.
2495 * Makefile.in (OFILES): Build it.
2499 * z8k-dis.c: fixed forward refferences of some declarations.
2503 * Makefile.in: get the name of the library right
2507 * z8k-dis.c: knows how to disassemble z8k stuff
2508 * z8k-opc.h: new file full of z8000 opcodes
2512 version-control: never