4 * arc-dis.c (print_insn_arc): Rename to print_insn and make static.
5 New argument `cpu', pass it to arc_opcode_init_tables.
6 Document byte order dependencies. Ignore unsupported insns.
7 (arc_disassembler): New function.
8 (print_insn_arc_base, print_insn_arc_host, print_insn_arc_graphics,
9 print_insn_arc_audio): New functions.
10 * arc-opc.c (MULTSHIFT operand): Delete.
11 (UNSIGNED, SATURATION): New operands.
12 (mac, mul, mul64, mulu64): New insns.
13 (ext. asl, asr, lsr, ror): Only available on host and graphics cpus.
14 (padc, padd, pmov, pand, psbc, psub, swap): New insns.
15 (host,graphics,audio extended and auxiliary regs): Define.
16 (ss, sc, mh, ml): New suffixes.
17 (arc_opcode_supported, arc_opval_supported): New functions.
18 (insert_multshift, extract_multshift): Deleted.
19 * disassemble.c (disassembler, case bfd_arch_arc): Call
20 arc_disassembler to get disassembler routine.
25 * i960-dis.c (struct tabent, struct sparse_tabent): Change the
26 signed char fields to shorts, more portable.
30 * i960-dis.c (struct tabent, struct sparse_tabent): Declare the
31 char fields as signed chars, since they may have negative values.
35 * i386-dis.c (dis386_twobyte): Add cpuid, From Charles Hannum
41 * ppc-opc.c (extract_bdm): Correct parenthezisation.
42 * ppc-dis.c (print_insn_powerpc): Print .long before unrecognized
47 * ppc-opc.c: Changes based on patch from David Edelsohn
49 (powerpc_operands): Add operands SPRBAT and SPRG. Split TBR out of
52 (insert_tbr): New static function.
53 (extract_tbr): New static function.
54 (XFXFXM_MASK, XFXM): Define.
55 (XSPRBAT_MASK, XSPRG_MASK): Define.
56 (powerpc_opcodes): Add instructions to access special registers by
57 name. Add mtcr and mftbu.
61 * mips-opc.c (P3): Define.
62 (mips_opcodes): Add mad and madu.
64 Sun Jan 15 16:32:59 1995 Steve Chamberlain <sac@splat>
66 * configure.in: Add W65 support.
67 * disassemble.c: Likewise.
68 * w65-opc.h, w65-dis.c: New files.
72 * h8300-dis.c (bfd_h8_disassemble): Add support for 2 bit
78 * arc-dis.c (print_insn_arc): Branch offsets are relative to delay
80 * arc-opc.c (extract_reladdr): New function.
81 (insert_reladdr): Store address right-shifted by 2.
86 * mips-opc.c: Add dli as a synonym for li.
91 * arc-opc.c (insertion fns): Pass pointer to value's table entry.
93 (extraction fns): Insn argument now array of two words. Return pointer
94 to value's table entry. All uses changed.
95 (arc_opcode_lookup_suffix): Exported for arc-dis.c.
96 (insert_multshift, extract_multshift): New fns.
97 (arc_operands): Add support for cache bypass suffix. Add support for
98 predefined aux regs. Modifier bits moved to flags field.
99 (arc_opcodes): Likewise.
100 Add mul/mulu/shift insns. Syntax of zero/sign extension insns changed.
101 New insn rlc. Update to syntax in programmer's manual.
102 (arc_reg_names): Fix typo in lp_count. Add predefined aux regs.
103 (arc_suffixes): New synonyms lo,hs for cs,cc. New suffix for cache
105 (arc_opcode_init_tables): New argument to indicate cpu type.
106 (insert_reg): Handle predefined aux regs.
107 (extract_reg): Likewise.
108 (lookup_register): New fn.
109 * arc-dis.c (arc_condition_codes): Deleted.
110 (print_insn_arc): Handle insns with 32 bit immediate constants better.
111 Clean up modifier handling. Handle predefined aux regs.
116 * alpha-dis.c (print_insn_alpha): Handle call_pal instruction, and
117 print something for reserved opcode values, even if it won't
120 * mips-dis.c (_print_insn_mips): When initializing, shift right
121 and mask, to avoid sign extension problems on the Alpha.
123 * m68k-dis.c (print_insn_arg, case 'J'): Handle buscr and pcr
129 * configure.in: Add ARC support.
130 * disassemble.c: Likewise.
131 * arc-dis.c, arc-opc.c: New files.
136 * sh-opc.h (mov.l gbr): Get direction right.
137 * sh-dis.c (print_insn_shx): New function.
138 (print_insn_shl, print_insn_sh): Call print_insn_shx to
139 print opcodes with right byte order.
143 * ns32k-dis.c (struct ns32k_option): Renamed from struct option,
144 to avoid conflicts with getopt.
148 * hppa-dis.c (print_insn_hppa): Read the instruction using
149 bfd_getb32, so that it works on a little endian or 64 bit host.
150 Remove unused local variable op.
154 * mips-opc.c: Use or instead of addu for pseudo-op move, since
155 addu does not work correctly if -mips3.
159 * a29k-dis.c (print_special): Add special register names defined
160 on 29030, 29040 and 29050.
161 (print_insn): Handle new operand type 'I'.
165 * Makefile.in (INSTALL): Use top level install.sh script.
169 * sparc-dis.c: Rewrite to use bitfields, rather than a union, so
170 that it works on a little endian host.
174 * configure.in: Use ${config_shell} when running config.bfd.
178 * mips-opc.c (mips_opcodes): "dabs" is only available with -mips3.
182 * a29k-dis.c (print_insn): Print the opcode.
186 * mips-opc.c (mips_opcodes): Set WR_t for sc and scd.
190 * hppa-dis.c (reg_names): Use r26-r23 for arg0-arg3.
194 * mips-opc.c: Set INSN_STORE_MEMORY flag for all instructions
195 which store a value into memory.
199 * configure.in, Makefile.in, disassemble.c: Add support for the ARM.
200 * arm-dis.c, arm-opc.h: New files.
204 * Makefile.in (ns32k-dis.o): Add dependency.
205 * ns32k-dis.c (print_insn_arg): Declare initialized local as
206 string, not as array of chars.
210 * sparc-dis.c (print_insn_sparc): Handle new operand type 'x'.
212 * sparc-opc.c: Added sparclite extended FP operations, and
213 versions of v9 impdep* instructions permitting specification of
218 * i960-dis.c (reg_names): Now const.
219 (struct sparse_tabent): New type, copied from array type in mem
221 (ctrl): Local static array ctrl_tab now const.
222 (cobr): Local static array cobr_tab now const.
223 (mem): Local variables reg1, reg2, reg3 now point to const. Local
224 static variable mem_tab no longer explicitly initialized. Changed
225 mem_init to const array of struct sparse_tabent.
226 (reg): Local static variable reg_tab no longer explicitly
227 initialized. Changed reg_init to const array of struct
229 (ea): Local static array scale_tab now const.
231 start-sanitize-i960xl
232 * i960-dis.c (reg): Added i960XL instructions to reg_init table.
238 * configure.bat: the disassember needs to be enabled for
239 "objdump -d" to work in djgpp.
243 * ns32k-dis.c: Deleted all code in "#ifdef GDB".
244 (invalid_float): Enabled general version, doesn't require running
245 on ns32k host. Changed to take char* argument, and test for
246 explicitly specified sizes, instead of using sizeof() on host CPU
248 (INVALID_FLOAT): Cast first argument.
249 (opt_u, opt_U, opt_O, opt_C, opt_S, list_P532, list_M532,
250 list_P032, list_M032): Now const.
251 (optlist, list_search): Made appropriate arguments now point to
253 (print_insn_arg): Changed static array of one-character-string
254 pointers into a static const array of characters; fixed sprintf
255 statement accordingly.
259 * opcodes/ns32k-dis.c: Semi-new file. Had apparently been dropped
260 from distribution. A ns32k-dis.c from a previous distribution has
261 been brought up to date and supports the new interface.
263 * disassemble.c: define ARCH_ns32k and add case bfd_arch_ns32k.
265 * configure.in: add bfd_ns32k_arch target support.
267 * Makefile.in: add ns32k-dis.o to ALL_MACHINES.
268 Add ns32k-dis.c to CFILES. Add dependencies for ns32k-dis.o.
272 * h8300-dis.c (bfd_h8_disassemble): Get 16bit branch
277 * h8300-dis.c, mips-dis.c: Don't use true and false.
281 * configure.in: Change --with-targets to --enable-targets.
285 * mips-dis.c (_print_insn_mips): Build a static hash table mapping
286 opcodes to the first instruction with that opcode, to speed
292 * Makefile.in (mostlyclean): Fix typo (was mostyclean).
296 * configure.bat: update to latest makefile.in
300 * a29k-dis.c (print_insn): Print 'x' type operand in hex.
301 * h8300-dis.c (bfd_h8_disassemble): Print 16bit rels correctly.
302 * sh-dis.c (print_insn_sh): Don't recur endlessly if delay
303 slot insn is in a delay slot.
304 * z8k-opc.h: (resflg): Fix patterns.
305 * h8500-opc.h Fix CR insn patterns.
309 * ppc-opc.c (powerpc_opcodes): Put PowerPC versions of "cmp" and
310 "cmpl" before POWER versions, so that gas -many uses them.
314 * disassemble.c: New file.
315 * Makefile.in (OFILES): Add disassemble.o.
316 (disassemble.o): Provide dependencies; compile with $(ARCHDEFS).
317 * configure.in: Define ARCHDEFS in Makefile. Code taken from
318 binutils/configure.in.
320 * m68k-dis.c (print_insn_m68k): If F_ALIAS flag is set, skip the
321 opcode being examined.
325 * ppc-opc.c (powerpc_operands): Added RAL, RAM and RAS.
326 (insert_ral, insert_ram, insert_ras): New functions.
327 (powerpc_opcodes): Use RAL for load with update, RAM for lmw, and
328 RAS for store with update.
332 * ppc-opc.c (powerpc_opcodes): Correct fcir. From David Edelsohn
337 * mips-opc.c (mips_opcodes): Correct operands of "nor" with an
342 * sparc-opc.c (sparc_opcodes): Fix "rd %fprs,%l0".
346 * ppc-opc.c (powerpc_operands): The signedp field has been
347 removed, so don't initialize it. Set the PPC_OPERAND_SIGNED flag
348 instead. Add new operand SISIGNOPT.
349 (powerpc_opcodes): For lis, liu, addis, and cau use SISIGNOPT.
351 * ppc-dis.c (print_insn_powerpc): Check PPC_OPERAND_SIGNED rather
356 * i386-dis.c (struct private): Renamed to dis_private. `private'
357 is a reserved word for dynix cc.
361 * configure.in: Change error message to refer to bfd/config.bfd
362 rather than bfd/configure.in.
366 * ppc-opc.c: Define POWER2 as short alias flag.
367 (powerpc_opcodes): Add POWER/2 opcodes lfq*, stfq*, fcir[z], and
372 * i960-dis.c (print_insn_i960): Don't read a second word for
373 opcodes 0, 1, 2 and 3.
377 * configure.in: Don't build m68881-ext.o for bfd_m68k_arch.
381 * m68881-ext.c: Removed; no longer used.
382 * Makefile.in: Changed accordingly.
384 * m68k-dis.c (ext_format_68881): Don't declare.
385 (print_insn_m68k): If an instruction uses place 'i', it uses at
386 least four fixed bytes.
387 (print_insn_arg): Don't bump p by 2 for case 'I', place 'i'. For
388 extended float, convert to double using floatformat_to_double, not
389 ieee_extended_to_double, and fetch the data before converting it.
393 * mips-opc.c: It's sqrt.s, not sqrt.w. From
398 * ppc-opc.c (powerpc_opcodes): The POWER uses bdn[l][a] where the
399 PowerPC uses bdnz[l][a].
403 * dis-buf.c, i386-dis.c: Include sysdep.h.
407 * configure.in (bfd_powerpc_arch): Use ppc-dis.o and ppc-opc.o.
409 * ppc-opc.c (powerpc_opcodes): Mark POWER instructions supported
410 by Motorola PowerPC 601 with PPC_OPCODE_601.
411 * ppc-dis.c (print_insn_big_powerpc, print_insn_little_powerpc):
412 Disassemble Motorola PowerPC 601 instructions as well as normal
413 PowerPC instructions.
417 * i960-dis.c (reg, mem): Just use a static array instead of
422 * hppa-dis.c (print_insn_hppa): For '?' and '@' only adjust the
423 condition name index if this is for a negated condition.
425 * hppa-dis.c (print_insn_hppa): No space before 'H' operand.
426 Floating point format for 'H' operand is backwards from normal
427 case (0 == double, 1 == single). For '4', '6', '7', '9', and '8'
428 operands (fmpyadd and fmpysub), handle bizarre register
429 translation correctly for single precision format.
431 * hppa-dis.c (print_insn_hppa): Do not emit a space after 'F'
432 or 'I' operands if the next format specifier is 'M' (fcmp
433 condition completer).
437 * ppc-opc.c (powerpc_operands): New operand type MBE to handle a
438 single number giving a bitmask for the MB and ME fields of an M
439 form instruction. Change NB to accept 32, and turn it into 0;
440 also turn 0 into 32 when disassembling. Seperated SH from NB.
441 (insert_mbe, extract_mbe): New functions.
442 (insert_nb, extract_nb): New functions.
443 (SC_MASK): Mask out SA and LK bits.
444 (powerpc_opcodes): Change "cal" to use RT, D, RA rather than RT,
445 RA, SI. Change "liu" and "cau" to use UI rather than SI. Mark
446 "bctr" and "bctrl" as accepted by POWER. Change "rlwimi",
447 "rlimi", "rlwimi.", "rlimi.", "rlwinm", "rlinm", "rlwinm.",
448 "rlinm.", "rlmi", "rlmi.", "rlwnm", "rlnm", "rlwnm.", "rlnm." to
449 use MBE rather than MB. Add "mfmq" and "mtmq" POWER instructions.
450 (powerpc_macros): Define table of macro definitions.
451 (powerpc_num_macros): Define.
453 * ppc-dis.c (print_insn_powerpc): Don't skip optional operands
454 if PPC_OPERAND_NEXT is set.
458 * i960-dis.c (print_insn_i960): Make buffer bfd_byte instead of
459 char. Retrieve contents using bfd_getl32 instead of shifting.
463 * ppc-opc.c: New file. Opcode table for PowerPC, including
464 opcodes for POWER (RS/6000).
465 * ppc-dis.c: New file. PowerPC and Power (RS/6000) disassembler.
466 * Makefile.in (ALL_MACHINES): Add ppc-dis.o and ppc-opc.o.
467 (CFILES): Add ppc-dis.c.
468 (ppc-dis.o, ppc-opc.o): New targets.
469 * configure.in: Build ppc-dis.o and ppc-opc.o for bfd_rs6000_arch.
473 * hppa-dis.c (print_insn_hppa): Handle 'N' in assembler template.
474 No space before 'u', 'f', or 'N'.
478 * i386-dis.c (print_insn_i386): Add FIXME comment regarding reading
479 farther than we should.
481 * i386-dis.c (dis386): Use Yb and Yv for scasb and scasS.
485 * sparc-dis.c m68k-dis.c alpha-dis.c a29k-dis.c: Fix comments.
489 * i960-dis.c (print_insn_i960): Only read word2 if the instruction
490 needs it, to prevent reading past the end of a section.
494 * mips-opc.h: Use macro for j instruction, to support SVR4 PIC.
495 Removed t,A case for la; always use t,A(b) case.
500 * mips-dis.c (print_insn_arg): Handle 'k'.
501 * mips-opc.c: Make cache use k, not t.
505 * alpha-opc.h, alpha-dis.c (print_insn_alpha): Add
506 FLOAT_MEMORY_FORMAT_CODE, FLOAT_BRANCH_FORMAT_CODE, correct
507 FLOAT_FORMAT_CODE to put out floating point register names.
511 * mips-opc.c: Use macros for jal variants, to support SVR4 PIC.
515 * a29k-dis.c (print_insn): Use 0x%08x, not 0x%8x.
519 * mips-opc.c (dsll, dsra, dsrl): Added '>' cases for shift counts
520 larger than 32. Moved dsxx32 variants first for disassembler.
524 * z8kgen.c, z8k-opc.h: Add full lda information.
528 * hppa-dis.c (print_insn_hppa): Do not emit a space after
529 movb instructions. Any necessary space will be emitted by
530 the code to handle nullification completers.
534 * mips-opc.c: Moved l.d down so that it disassembles as ldc1.
538 * alpha-opc.h: Add ldl_l, fix typo for ldq_u.
539 * alpha-dis.c (print_insn_alpha): Add code for PAL_FORMAT_CODE.
543 * mips-opc.c: Correct lwu opcode value (book had it wrong).
547 * z8k-dis.c (FETCH_DATA): get just the right amount of data.
548 (unpack_instr): Cope with ARG_IMM4M1 type instructions.
552 * m88k-dis.c (m88kdis): comment change. Remove space after
554 (printop): handle new arg types DEC and XREG for m88110.
558 * hppa-dis.c (print_insn_hppa): Handle 'z' operand
559 type for absolute branch addresses. Delete special
560 "ble" and "be" code in 'W' operand code.
564 * mips-opc.c: Set hazard information correctly for branch
569 * alpha-dis.c (print_insn_alpha), alpha-opc.h: Fix bugs, use
570 info->fprintf_func for printing and info->print_address_func for
575 * mips-opc.c: Set INSN_TRAP for tXX instructions.
580 Corrected second case of "b" for disassembler.
584 * mips-dis.c, m88k-dis.c: Don't include libbfd.h. Changed calls
585 to BFD swapping routines to correspond to BFD name changes.
589 * mips-opc.c: Change div machine instruction to be z,s,t rather
590 than s,t. Change div macro to be d,v,t rather than d,s,t.
591 Likewise for divu, ddiv, ddivu. Added z,s,t case for drem, dremu,
592 rem and remu which generates only the corresponding div
593 instruction. This is for compatibility with the MIPS assembler,
594 which only generates the simple machine instruction when an
595 explicit destination of $0 is used.
596 * mips-dis.c (print_insn_arg): Handle 'z' (always register zero).
601 WR_31 hazard for bal, bgezal, bltzal.
605 * hppa-dis.c (print_insn_hppa): Use print function
606 from within the disassemble_info, not fprintf_filtered.
610 * hppa-dis.c (print_insn_hppa): Handle '|' like '>'. (From Jeff
615 * mips-opc.c ("absu"): Removed.
620 * mips-opc.c: Added r6000 and r4000 instructions and macros.
621 Changed hazard information to distinguish between memory load
622 delays and coprocessor load delays.
626 * mips-opc.c: li.d uses "T,L", not "S,F". Added li.s.
630 * configure.in: Don't pass cpu to config.bfd.
634 * m88k-dis.c (m88kdis): Make class unsigned.
638 * alpha-dis.c (print_insn_alpha): One branch format case was
639 missing the instruction name.
643 * Makefile.in (ALL_MACHINES): Renamed from DIS_LIBS.
644 Add the arch-specific auxiliary files.
645 (OFILES): Remove the arch-specific auxiliary files
646 and use BFD_MACHINES instead of DIS_LIBS.
647 * configure.in: Set BFD_MACHINES based on --with-targets option.
651 * mips-opc.c: Added lwc1 E,A(b) to go with lwc1 T,A(b). Similarly
656 * sparc-opc.c: Change CONST to const to deal with gcc
657 -Dconst=__const -traditional.
662 coprocessor instructions out of #if 0, and made them use new
667 * sparc-dis.c: Include ansidecl.h before opcodes/sparc.h.
671 * sparc-opc.c: Add F_JSR, F_UNBR, or F_CONDBR flags to each branch
672 instruction, for use by the disassembler.
674 * sparc-dis.c (SEX): Add sign extension macro. Replace many
675 hand-coded sign extensions that depended on 32-bit host ints.
676 FIXME, we still depend on big-endian host bitfield ordering.
677 (sparc_print_insn): Set the insn_info_valid field, and the
678 other fields that describe the instruction being printed.
682 * sparc-opc.c (call): Accept all 6 addressing modes valid for
683 `jmp' instead of just one of them.
687 * hppa-dis.c: Move floating registers from reg_names to fp_reg_names.
688 (fput_fp_reg_r): Renamed from fput_reg_r.
689 (fput_fp_reg): New function.
690 (print_insn_hppa): Use fput_fp_reg{,_r} where appropriate.
692 * hppa-dis.c (print_insn_hppa, cases 'a', 'd'): Print space afterwards.
694 * hppa-dis.c (print_insn_hppa, case 'd'): Use GET_COND not GET_FIELD.
698 * hppa-dis.c (print_insn_hppa): Use extract_5r_store for 'r'.
700 * hppa-dis.c (print_insn_hppa, case '>'): If next character is 'n',
701 don't output a space.
703 * hppa-dis.c (float_format_names): 10 is undefined, and 11 is quad.
707 * mips-opc.c: New file, containing opcode table from
708 ../include/opcode/mips.h.
709 * Makefile.in: Add it.
713 * m88k-dis.c: New file, moved in from gdb and changed to use the
714 new dis-asm.h disassembler interface.
715 * Makefile.in (DIS_LIBS): Added m88k-dis.o.
716 (m88k-dis.o): New target.
720 * mips-dis.c (print_insn_arg, _print_insn_mips): Made pointer to
721 argument string const char * to correspond to opcode/mips.h.
725 * mips-dis.c: Updated to account for name changes in new version
727 * Makefile.in: Added header file dependencies.
731 * h8300-dis.c (bfd_h8_disassemble): Correct fetching of instruction.
735 * m68k-dis.c (NEXTWORD, NEXTLONG): Use ((x) ^ 0x8000) - 0x8000 to sign
736 extend, rather than shifts.
740 * Makefile.in: Undo 15 June change.
744 * m68k-dis.c (print_insn_arg): Change return value to byte count
746 * m68k-dis.c: Re-write to detect invalid operands before
747 printing anything, so we can handle this the same way we
748 handle invalid opcodes.
752 * sh-dis.c, sh-opc.h: Understand some more opcodes.
756 * hppa-dis.c: Include <ansidecl.h> and sysdep.h before other
761 * sparc-dis.c: Don't declare qsort, since sysdep.h might.
763 * configure.in: Do make sysdep.h link.
764 * Makefile.in: Search ../include. Don't search ../bfd.
769 * hppa-dis.c: Fix typo. 'a' and 'd' were reversed.
770 Do not print a space before the completers specified by
775 * mips-dis.c: No longer need to bomb out if HOST_64_BIT is
776 defined, since gdb has been fixed.
779 * hppa-dis.c (print_insn_hppa): Last argument to fput_reg,
780 fput_reg_r, fput_creg, fput_const, and fputs_filtered should
781 be a *disassemble_info, not a *FILE.
782 * hppa-dis.c: Support 'd', '!', and 'a'.
783 * hppa-dis.c: Support 's' to extract a 2 bit space register.
784 * hppa-dis.c: Delete cases which are no longer needed.
788 * m68k-dis.c (print_insn_{m68k,arg}): Add MMU codes.
792 * h8300-dis.c: New file, removed from bfd/cpu-h8300.c, with
797 * Makefile.in (CSEARCH): Add -I../bfd for sysdep.h and bfd.h.
798 * configure.in: No longer need to configure to get sysdep.h.
803 * hppa-dis.c: Support 'I', 'J', and 'K' in output
804 templates for 1.1 FP computational instructions.
808 * h8500-dis.c (print_insn_h8500): Address argument is type
810 * z8k-dis.c (print_insn_z8k, print_insn_z8001, print_insn_z8002):
813 * h8500-opc.h (addr_class_type): No comma at end of enumerator.
814 * sh-opc.h (sh_nibble_type, sh_arg_type): Ditto.
816 * sparc-dis.c (compare_opcodes): Move static declaration to
821 * sparc-dis.c (print_insn_sparc): Implement 'n' argument for unimp
822 instruction, remove unimp hack from 'l' argument.
826 * z8k-dis.c (fetch_data): Use unsigned char to make ancient gcc's
832 * mips-dis.c (print_insn_arg): Handle 'C' for general coprocessor
837 * hppa-dis.c: Include dis-asm.h before sysdep.h. Changed some
838 arrays of string pointers to 2-d arrays of chars, to save
843 * a29k-dis.c, alpha-dis.c, i960-dis.c, sparc-dis.c, z8k-dis.c:
844 Cast second arg to read_memory_func to "bfd_byte *", as necessary.
848 * hppa-dis.c: New file from Utah, adapted to new disassembler
850 * Makefile.in: Include it.
854 * sh-dis.c, sh-opc.h: New files.
858 * alpha-dis.c, alpha-opc.h: New files.
862 * mips-dis.c: Sign extend 'j' and 'b' arguments, delta is a signed
867 * sparc-dis.c: Make "ta" the default trap instruction, "t" the alias.
871 * a29k-dis.c, sparc-dis.c, sparc-opc.c: Use CONST rather than
876 * sparc-dis.c: Use fprintf_func a few places where I forgot,
877 and double percent signs a few places.
879 * a29k-dis.c, i960-dis.c: New, merged from gdb and binutils.
881 * i386-dis.c, m68k-dis.c, mips-dis.c, sparc-dis.c:
882 Use info->print_address_func not print_address.
884 * dis-buf.c (generic_print_address): New function.
888 * Makefile.in: Add sparc-dis.c.
889 sparc-dis.c: New file, merges binutils and gdb versions as follows:
891 Add `add' instruction to the set that get checked
892 for a preceding `sethi' in order to print an absolute address.
893 * (print_insn): Disassembly prefers real instructions.
894 (is_delayed_branch): Speed up.
895 * sparc-opcode.h: Add ALIAS bit to aliases. Fix up opcode tables.
896 Still missing some float ops, and needs testing.
897 * sparc-pinsn.c (print_insn): Eliminate 'set' test, subsumed by
898 F_ALIAS. Use printf, not fprintf, when not passing a file
900 (compare_opcodes): Check that identical instructions have
901 identical opcodes, complain otherwise.
906 Use dis-asm.h/read_memory_func interface.
910 * h8500-dis.c, i386-dis.c, m68k-dis.c, z8k-dis.c (fetch_data):
911 deliberately return non-zero to setjmp from longjmp. Otherwise
912 this code fails to compile.
916 * m68k-dis.c: Fix prototype for fetch_arg().
920 * dis-buf.c: New file, for new read_memory_func interface.
921 Makefile.in (OFILES): Include it.
922 m68k-dis.c, i386-dis.c, h8500-dis.c, mips-dis.c, z8k-dis.c:
923 Use new read_memory_func interface.
927 * h8500-dis.c (print_insn_h8500): Get sign of fp offsets right.
928 * h8500-opc.h: Fix couple of opcodes.
930 Wed Mar 24 02:03:36 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
932 * Makefile.in: add dvi & installcheck targets
936 * Makefile.in: Update for h8500-dis.c.
940 * h8500-dis.c, h8500-opc.h: New files
944 * mips-dis.c, z8k-dis.c: Converted to use interface defined in
945 ../include/dis-asm.h.
946 * m68k-dis.c: New file (merge of ../binutils/m68k-pinsn.c
947 and ../gdb/m68k-pinsn.c).
948 * i386-dis.c: New file (merge of ../binutils/i386-pinsn.c
949 and ../gdb/i386-pinsn.c).
950 * m68881-ext.c: New file. Moved definition of
951 ext_format ext_format_68881 from ../gdb/m68k-tdep.c.
952 * Makefile.in: Adjust for new files.
954 * m68k-dis.c: Recognize '9' placement code, so (say) pflush
955 can be dis-assembled.
959 * mips-dis.c (print_insn_arg): Now returns void.
963 * mips-dis.c (ansidecl.h): Include for benefit of sysdep.h
964 files that use the macros.
968 * mips-dis.c: New file, from gdb/mips-pinsn.c.
969 * Makefile.in (DIS_LIBS): Added mips-dis.o.
970 (CFILES): Added mips-dis.c.
974 * z8k-dis.c (print_insn_z8001, print_insn_z8002): new routines
975 * z8kgen.c, z8k-opc.h: fix sizes of some shifts.
979 * Makefile.in: Improve *clean rules.
980 * configure.in: Allow a default host.
982 Tue Nov 17 19:53:54 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
984 * Makefile.in: also use -I$(srcdir)/../bfd, since some sysdep
985 files include other sysdep files
989 * z8k-dis.c z8k-opc.h z8kgen.c: checkpoint
993 * configure.in: For host support, use ../bfd/configure.host
994 so it stays in sync with the ../bfd/hosts database.
996 Thu Oct 1 23:38:54 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
998 * configure.in: use cpu-vendor-os triple instead of nested cases
1002 * z8k-dis.c (unparse_instr): fix bug where opcode returned was
1003 *always* the wrong one.
1007 * z8kgen.c: added copyright info
1011 * z8k-dis.c (unparse_instr): prettier tabs
1012 * z8kgen.c -> z8k-opc.h: bug fixes in tables
1014 Fri Sep 25 12:50:32 1992 Stu Grossman (grossman at cygnus.com)
1016 * configure.in: Add ncr* configuration.
1017 * z8k-dis.c (struct instr_data_s): Make instr_asmsrc char to make
1018 picayune ANSI compilers happy.
1022 * configure.in (i386): Make i386 and i486 synonymous for now.
1023 * configure.in (i[34]86-*-sysv4): Add my_host definition.
1027 * Makefile.in (install): Fix typo.
1031 * Makefile.in (make): Remove obsolete crud.
1032 (sparc-opc.o): Avoid Sun Make VPATH bug.
1036 * Makefile.in: since there are no SUBDIRS, remove rule and
1037 references of subdir_do.
1041 * Makefile.in (install): Get the library name right here too.
1042 Don't install bfd.h, since it's unrelated to this library. No
1043 subdirs to recurse into, either.
1044 (CFILES): The source file has a .c suffix, not .o.
1046 * sparc-opc.c: New file, moved from BFD.
1047 * Makefile.in (OFILES): Build it.
1051 * z8k-dis.c: fixed forward refferences of some declarations.
1055 * Makefile.in: get the name of the library right
1059 * z8k-dis.c: knows how to disassemble z8k stuff
1060 * z8k-opc.h: new file full of z8000 opcodes
1064 version-control: never