3 * Released binutils 2.7.
5 * alpha-opc.c: Add new case of "mov". From Klaus Kaempf
10 * alpha-opc.c: Correct second case of "mov" to use OPRL.
14 * sparc-dis.c (print_insn_sparclite): New routine to print
15 sparclite instructions.
19 * m68k-opc.c (m68k_opcodes): Add coldfire support.
23 * sparc-opc.c (asi_table): Add #ASI_N, #ASI_N_L, #ASI_NUCLEUS,
24 #ASI_NUCLEUS_LITTLE. Rename #ASI_AS_IF_USER_{PRIMARY,SECONDARY}_L
25 to #ASI_AS_IF_USER_{PRIMARY,SECONDARY}_LITTLE.
29 * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir):
30 Use autoconf-set values.
31 (docdir, oldincludedir): Removed.
32 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
36 * alpha-opc.c: New file.
37 * alpha-opc.h: Remove.
38 * alpha-dis.c: Complete rewrite to use new opcode table.
39 * configure.in: For bfd_alpha_arch, use alpha-opc.o.
40 * configure: Rebuild with autoconf 2.10.
41 * Makefile.in (ALL_MACHINES): Add alpha-opc.o.
42 (alpha-dis.o): Depend upon $(INCDIR)/opcode/alpha.h, not
44 (alpha-opc.o): New target.
48 * sparc-dis.c (print_insn_sparc): Remove unused local variable i.
49 Set imm_added_to_rs1 even if the source and destination register
52 * sparc-opc.c: Add some two operand forms of the wr instruction.
56 * h8300-dis.c (bfd_h8_disassemble): Rename "hmode" argument
59 * disassemble.c (disassembler): Handle H8/S.
60 * h8300-dis.c (print_insn_h8300s): New function for H8/S.
64 * sparc-opc.c: Add beq/teq as aliases for be/te.
66 * ppc-opc.c: Fix fcmpo opcode. From Sergei Steshenko
71 * makefile.vms: New file.
73 * alpha-dis.c (print_insn_alpha): Print lda ra,lit(rz) as mov.
77 * h8300-dis.c (bfd_h8_disassemble): Always print ABS8MEM with :8,
82 * i386-dis.c (OP_OFF): Call append_prefix.
86 * ppc-opc.c (instruction encoding macros): Add explicit casts to
87 unsigned long to silence a warning from the Solaris PowerPC
92 * sparc-opc.c (sparc_opcodes): Add ultrasparc vis extensions.
96 * sparc-dis.c (X_IMM,X_SIMM): New macros.
98 (print_insn_sparc): Merge cases i,I,j together. New cases X,Y.
99 * sparc-opc.c (sparc_opcodes): Use X for 5 bit shift constants,
100 Y for 6 bit shift constants. Rewrite entries for crdcxt, cwrcxt,
101 cpush, cpusha, cpull sparclet insns.
105 * sparc-dis.c (compute_arch_mask): Replace ANSI style def with K&R.
109 * sparc-opc.c: Set F_FBR on floating point branch instructions.
110 Set F_FLOAT on other floating point instructions.
114 * ppc-opc.c (PPC860): Macro for 860/821 specific instructions and
116 (powerpc_opcodes): Add 860/821 specific SPRs.
120 * configure.in: Permit --enable-shared to specify a list of
121 directories. Set and substitute BFD_PICLIST.
122 * configure: Rebuild.
123 * Makefile.in (BFD_PICLIST): Rename from BFD_LIST. Change all
124 uses. Set to @BFD_PICLIST@.
128 * h8300-dis.c (bfd_h8_disassemble): Use "bit" for L_3 immediates,
129 not "abs", which may be needed for the absolute in something
130 like btst #0,@10:8. Print L_3 immediates separately from other
131 immediates. Change ABSMOV reference to ABS8MEM.
135 * sparc-dis.c (opcodes_initialized): Move inside print_insn_sparc.
136 (current_arch_mask): New static global.
137 (compute_arch_mask): New static function.
138 (print_insn_sparc): Delete sparc_v9_p. New static local
139 current_mach. Resort opcode table if current_mach changes.
140 Generalize "insn not supported" test.
141 (compare_opcodes): Prefer supported opcodes to nonsupported ones.
142 Delete test for v9/!v9.
143 * sparc-opc.c (MASK_*): Use SPARC_OPCODE_ARCH_MASK.
145 (brfc): Split into CBR and FBR for coprocessor/fp branches.
146 (brfcx): Renamed to FBRX.
147 (condfc): Renamed to CONDFC. Pass v6notlet to CBR (standard
148 coprocessor mnemonics are not supported on the sparclet).
149 (condf): Renamed to CONDF.
150 (SLCBCC2): Delete F_ALIAS flag.
154 * sparc-opc.c (sparc_opcodes): rd must be 0 for
155 mov foo,{%y,%psr,%wim,%tbr}. Support mov foo,%asrX.
159 * Makefile.in (config.status): Depend upon BFD VERSION file, so
160 that the shared library version number is set correctly.
164 * configure.in: Use AC_CHECK_TOOL to find ar and ranlib. From
166 * configure: Rebuild.
170 * z8kgen.c (internal, gas): Call xmalloc rather than unchecked
175 * configure: Rebuild with autoconf 2.8.
179 * sparc-dis.c (print_insn_sparc): Handle 'O' operand char like 'r'.
180 * sparc-opc.c (sparc_opcodes): Use 'O' operand char for `neg reg'.
184 * configure.in: Don't set SHLIB or SHLINK to an empty string,
185 since they appear as targets in Makefile.in.
186 * configure: Rebuild.
190 * mpw-make.sed: Edit out shared library support bits.
194 * sparc-opc.c (v8,v6notv9): Add MASK_SPARCLET.
195 (sparc_opcode_archs): Add MASK_V8 to sparclet entry.
196 (sparc_opcodes): Add sparclet insns.
197 (sparclet_cpreg_table): New static local.
198 (sparc_{encode,decode}_sparclet_cpreg): New functions.
199 * sparc-dis.c (print_insn_sparc): Handle sparclet cpregs.
203 * i386-dis.c (index16): New static variable.
204 (putop): Print jecxz for 32 bit case, jcxz for 16 bit, not the
206 (OP_indirE): Return result of OP_E.
207 (OP_E): Check for 16 bit addressing mode, and disassemble
208 correctly. Optimised 32 bit case a little. Don't print
209 "(base,index,scale)" when sib specifies only an offset.
213 * configure.in: Set and substitute SHLIB_DEP.
214 * configure: Rebuild.
215 * Makefile.in (SHLIB_DEP): New variable.
216 (LIBIBERTY_LISTS, BFD_LIST): New variables.
217 (stamp-piclist): Depend upon LIBIBERTY_LISTS and BFD_LIST. If
218 COMMON_SHLIB, add them to piclist with appropriate modifications.
219 ($(SHLIB)): Depend upon $(SHLIB_DEP). Don't check COMMON_SHLIB
220 here: just use piclist.
224 * sparc-dis.c (MASK_V9,V9_ONLY_P,V9_P): Define.
225 (print_insn_sparc): Rewrite v9/not-v9 tests.
226 (compare_opcodes): Likewise.
227 * sparc-opc.c (MASK_<ARCH>): Define.
228 (v6,v7,v8,sparclite,v9,v9a): Redefine.
229 (sparclet,v6notv9): Define.
230 (sparc_opcode_archs): Delete member `conflicts'. Add `supported'.
231 (sparc_opcodes): Delete F_NOTV9, use v6notv9 instead.
235 * configure.in: Call AC_PROG_CC before configure.host.
236 * configure: Rebuild.
238 * Makefile.in (SONAME): Remove leading ../bfd/ from $(SHLIB).
242 * i386-dis.c (onebyte_has_modrm): New static array.
243 (twobyte_has_modrm): New static array.
244 (print_insn_i386): Only fetch the mod/reg/rm byte if it is needed.
248 * Makefile.in ($(SHLINK)): Check ts against $(SHLIB), not
253 * ppc-opc.c (PPC): Undef, so default defination on Windows NT
258 * m68k-opc.c (m68k_opcodes): The bkpt instruction is supported on
259 m68010up, not just m68020up | cpu32.
261 * Makefile.in (SONAME): New variable.
262 ($(SHLINK)): Make a link to the transformed name, as well.
263 (stamp-tshlink): New target.
264 (install): Skip stamp-tshlink during install.
268 * configure.in: Call AC_ARG_PROGRAM.
269 * configure: Rebuild.
270 * Makefile.in (program_transform_name): New variable.
271 (install): Transform library name before installing it.
275 * i960-dis.c (mem): Add HX dcinva instruction.
277 Support for building as a shared library, based on patches from
279 * configure.in: Add AC_ARG_ENABLE for shared and commonbfdlib.
280 New substitutions: ALLLIBS, PICFLAG, SHLIB, SHLIB_CC,
281 SHLIB_CFLAGS, COMMON_SHLIB, SHLINK.
282 * configure: Rebuild.
283 * Makefile.in (ALLLIBS): New variable.
284 (PICFLAG, SHLIB, SHLIB_CC, SHLIB_CFLAGS): New variables.
285 (COMMON_SHLIB, SHLINK): New variables.
286 (.c.o): If PICFLAG is set, compile twice, once PIC, once normal.
287 (STAGESTUFF): Remove variable.
288 (all): Depend upon $(ALLLIBS) rather than $(TARGETLIB).
289 (stamp-piclist, piclist): New targets.
290 ($(SHLIB), $(SHLINK)): New targets.
291 ($(OFILES)): Depend upon stamp-picdir.
292 (disassemble.o): Build twice if PICFLAG is set.
293 (MOSTLYCLEAN): Add pic/*.o.
294 (clean): Remove $(SHLIB), $(SHLINK), piclist, and stamp-piclist.
295 (distclean): Remove pic and stamp-picdir.
296 (install): Install shared libraries.
297 (stamp-picdir): New target.
301 * sparc-dis.c (print_insn_sparc): Delete DISASM_RAW_INSN support.
302 Print unknown instruction as "unknown", rather than in hex.
306 * dis-buf.c: Include "sysdep.h" before "dis-asm.h".
310 * sparc-opc.c (sparc_opcode_archs): Mark v8/sparclite as conflicting.
314 * i386-dis.c (print_insn_i386): Only fetch the mod/reg/rm byte
315 when necessary. From Ulrich Drepper
320 * sparc-dis.c (print_insn_sparc): NUMOPCODES replaced with
321 sparc_num_opcodes. Update architecture enum values.
322 * sparc-opc.c (sparc_opcode_archs): Replaces architecture_pname.
323 (sparc_opcode_lookup_arch): New function.
324 (sparc_num_opcodes): Renamed from bfd_sparc_num_opcodes.
325 (sparc_opcodes): Add v9a shutdown insn.
329 * sparc-dis.c (print_insn_sparc): Renamed from print_insn.
330 If DISASM_RAW_INSN, print insn in hex. Handle v9a as opcode
332 (print_insn_sparc64): Deleted.
333 * disassemble.c (disassembler, case bfd_arch_sparc): Always use
336 * sparc-opc.c (architecture_pname): Add v9a.
340 * alpha-opc.h (alpha_insn_set): VAX floating point opcode was
341 incorrectly defined as 0x16 when it should be 0x15.
342 (FLOAT_FORMAT_MASK): function code is 11 bits, not just 7 bits!
343 (alpha_insn_set): added cvtst and cvttq float ops. Also added
344 excb (exception barrier) which is defined in the Alpha
345 Architecture Handbook version 2.
346 * alpha-dis.c (print_insn_alpha): Fixed special-case decoding for
347 OPERATE_FORMAT_CODE type instructions. The bug caused mulq to be
348 disassembled as or, for example.
352 * mips-dis.c (print_insn_arg): Print cases 'i' and 'u' in hex.
353 (_print_insn_mips): Change i from int to unsigned int.
357 * ppc-opc.c (powerpc_opcodes): tlbi POWER opcode form different
358 from tlbie PowerPC opcode. Add PPC603 tlbld and tlbli.
362 * i386-dis.c: Added Pentium Pro instructions.
366 * ppc-opc.c (fsqrt{,.}): Duplicate for PowerPC in addition to
371 * sh-opc.h (sh_nibble_type): Added REG_B.
372 (sh_arg_type): Added A_REG_B.
373 (sh_table): Added pref and bank reg versions of ldc, ldc.l, stc
375 * sh-dis.c (print_insn_shx): Added cases for REG_B and A_REG_B.
379 * disassemble.c (disassembler): Use new bfd_big_endian macro.
383 * Makefile.in (distclean): Remove stamp-h. From Ronald
389 * alpha-dis.c (print_insn_alpha): fixed decoding of cpys
394 * sh-opc.h (sh_arg_type): Added A_SSR and A_SPC.
395 (sh_table): Added many SH3 opcodes.
396 * sh-dis.c (print_insn_shx): Added cases for A_SSR and A_SPC.
400 * ppc-opc.c (subfc., subfco): Mark this PPCCOM, not PPC.
401 (subco,subco.): Mark this PPC, not PPCCOM.
405 * configure: Rebuild with autoconf 2.7.
409 * configure: Rebuild with autoconf 2.6.
413 * configure.in: Sort list of architectures. Accept but do nothing
414 for alliant, convex, pyramid, romp, and tahoe.
418 * a29k-dis.c (print_special): Change num to unsigned int.
422 * a29k-dis.c (print_insn): Cast insn24 to unsigned long when
427 * configure.in: Call AC_CHECK_PROG to find and cache AR.
428 * configure: Rebuilt.
432 * configure.in: Add case for bfd_i860_arch.
433 * configure: Rebuild.
437 * m68k-opc.c (m68k_opcodes): Correct fmoveml operands.
438 * m68k-dis.c (NEXTSINGLE): Change i to unsigned int.
439 (NEXTDOUBLE): Likewise.
440 (print_insn_m68k): Don't match fmoveml if there is more than one
441 register in the list.
442 (print_insn_arg): Handle a place of '8' for a type of 'L'.
446 * m68k-opc.c: Use #W rather than #w.
447 * m68k-dis.c (print_insn_arg): Handle new 'W' place.
451 * m68k-opc.c (m68k_opcode_aliases): Add dbfw as an alias for dbf,
452 and likewise for all the dbxx opcodes.
456 * arc-dis.c: Include elf-bfd.h rather than libelf.h.
460 * mips-opc.c: Added shorthand (V1) for INSN_4100 manifest. Added
461 the VR4100 specific instructions to the mips_opcodes structure.
465 * mpw-config.in, mpw-make.sed: Remove ugly workaround for
466 ugly Metrowerks bug in CW6, is fixed in CW7.
470 * ppc-opc.c (whole file): Add flags for common/any support.
474 * Makefile.in (BISON): Remove macro.
475 (FLAGS_TO_PASS): Remove BISON.
481 * m68k-dis.c (print_insn_m68k): Recognize all two-word
482 instructions that take no args by looking at the match mask.
483 (print_insn_arg): Always print "%" before register names.
484 [case 'c']: Use "nc" for the no-cache case, as recognized by gas.
485 [case '_']: Don't print "@#" before address.
486 [case 'J']: Use "%s" as format string, not register name.
487 [case 'B']: Treat place == 'C' like 'l' and 'L'.
491 * i386-dis.c: Describe cmpxchg8b operand, and spell the opcode
498 * alpha-opc.h (MEMORY_FUNCTION_FORMAT_MASK): added.
499 (alpha_insn_set): added definitions for VAX floating point
500 instructions (Unix compilers don't generate these, but handcoded
501 assembly might still use them).
503 * alpha-dis.c (print_insn_alpha): added support for disassembling
504 the miscellaneous instructions in the Alpha instruction set.
508 * mpw-config.in: Add m68k-opc.c.o to BFD_MACHINES for m68k,
509 no longer create sysdep.h, sed ppc-opc.c to work around a
510 serious Metrowerks C bug.
511 * mpw-make.in: Remove.
512 * mpw-make.sed: New file, used by mpw-configure to edit
513 Makefile.in into an MPW makefile.
517 * Makefile.in (maintainer-clean): New synonym for realclean.
521 * m68k-opc.c: Split pmove patterns which use 'P' into patterns
522 which use '0', '1', and '2' instead. Specify the proper size for
523 a pmove immediate operand. Correct the pmovefd patterns to be
524 moves to a register, not from a register.
525 * m68k-dis.c (print_insn_arg): Replace 'P' with '0', '1', '2'.
529 * sparc-opc.c (sparc_opcodes): Mark all insns that reference
530 %psr, %wim, %tbr as F_NOTV9.
534 * Makefile.in (Makefile): Just rebuild Makefile when running
536 (config.h, stamp-h): New targets.
537 * configure.in: Call AC_CONFIG_HEADER and AC_CANONICAL_SYSTEM
538 earlier. Don't bother to call AC_ARG_PROGRAM. Touch stamp-h when
540 * configure: Rebuild.
542 * mips-opc.c: Change unaligned loads and stores with "t,A"
543 operands to use "t,A(b)".
547 * sh-dis.c (print_insn_shx): Add F_FR0 support.
551 * sh-dis.c (print_insn_shx): Change loop over op->arg[n] to iterate
552 until 3 instead of until 2.
556 * Makefile.in (ALL_CFLAGS): Define.
557 (.c.o, disassemble.o): Use $(ALL_CFLAGS).
558 (MOSTLYCLEAN): Add config.log.
559 (distclean): Don't remove config.log.
560 * configure.in: Substitute HDEFINES.
561 * configure: Rebuild.
565 * sh-opc.h (sh_arg_type): Add F_FR0.
566 (sh_table, case fmac): Add F_FR0 as first argument.
570 * sh-opc.h (sh_opcode_info): Increase arg array size to 4.
574 * sparc-dis.c: Remove all references to NO_V9.
578 * aclocal.m4: Just include ../bfd/aclocal.m4.
579 * configure: Rebuild.
583 * sparc-dis.c (X_DISP19): Define.
584 (print_insn, case 'G'): Use it.
585 (print_insn, case 'L'): Sign extend displacement.
589 * configure.in: Run ../bfd/configure.host before AC_PROG_CC.
590 Subsitute CFLAGS and AR. Call AC_PROG_INSTALL. Don't substitute
591 host_makefile_frag or frags.
592 * aclocal.m4: New file.
593 * configure: Rebuild.
594 * Makefile.in (INSTALL): Set to @INSTALL@.
595 (INSTALL_PROGRAM): Set to @INSTALL_PROGRAM@.
596 (INSTALL_DATA): Set to @INSTALL_DATA@.
598 (AR_FLAGS): Set to rc rather than qc.
599 (CC): Define as @CC@.
600 (CFLAGS): Set to @CFLAGS@.
601 (@host_makefile_frag@): Remove.
602 (config.status): Remove dependency upon @frags@.
604 * configure.in: ../bfd/config.bfd now just sets shell variables.
605 Use them rather than looking through target Makefile fragments.
606 * configure: Rebuild.
610 * sh-opc.h (ftrc): Change FPUL_N to FPUL_M.
614 * sparc-opc.c (sparc_opcodes): Delete duplicate wr %y insn.
615 Add clrx, iprefetch, signx, clruw, cas, casl, casx, casxl synthetic
618 * sparc-opc.c (sparc_opcodes): Fix prefetcha insn.
619 (lookup_{name,value}): New functions.
620 (prefetch_table): New static local.
621 (sparc_{encode,decode}_prefetch): New functions.
622 * sparc-dis.c (print_insn): Handle '*' arg (prefetch function).
626 * sh-opc.h: Add blank lines to improve readabililty of sh3e
631 * sh-dis.c: Correct comment on first line of file.
635 * disassemble.c (disassembler): Handle bfd_mach_sparc64.
637 * sparc-opc.c (asi, membar): New static locals.
638 (sparc_{encode,decode}_{asi,membar}): New functions.
639 (sparc_opcodes, membar insn): Fix.
640 * sparc-dis.c (print_insn): Call sparc_decode_asi.
641 Support decoding of membar masks.
646 * m68k-opc.c (m68k_opcode_aliases): Add br, brs, brb, brw, brl.
650 * m68k-opc.c (m68k_opcode_aliases): Add bhib as an alias for bhis,
651 and likewise for the other branches. Add bhs as an alias for bcc,
652 and likewise for the size variants. Add dbhs as an alias for
657 * sh-opc.h (FP sts instructions): Update to match reality.
661 * m68k-dis.c: (fpcr_names): Add % before all register names.
662 (reg_names): Likewise.
663 (print_insn_arg): Don't explicitly print % before register names.
664 Add % before register names in static array names. In case 'r',
665 print data registers as `@(Dn)', not `Dn@'. When printing a
666 memory address, don't print @# before it.
667 (print_indexed): Change base_disp and outer_disp from int to
668 bfd_vma. Print using MIT syntax, not mutant invalid Motorola
669 syntax. Sign extend 8 byte displacement correctly.
670 (print_base): Print using MIT syntax. Print zpc when appropriate.
671 Change parameter disp from int to bfd_vma.
673 * m68k-opc.c (m68k_opcode_aliases): Add jsrl and jsrs as aliases
678 * sh-dis.c (print_insn_shx): Handle new operand types F_REG_N,
679 F_REG_M, FPSCR_M, FPSCR_N, FPUL_M and FPUL_N.
680 * sh-opc.h (sh_arg_type): Add new operand types.
681 (sh_table): Add new opcodes from SH3E Floating Point ISA.
685 * Makefile.in (distclean): Remove generated file config.h.
689 * Makefile.in (distclean): Remove generated file config.h.
693 * m68k-opc.c: New file, holding tables from include/opcode/m68k.h.
695 * m68k-dis.c: Remove BREAK_UP_BIG_DECL stuff.
697 (print_insn_m68k): Change d to be const. Use m68k_numopcodes
698 rather than numopcodes. Use m68k_opcodes rather than removed
699 opcode function. Don't check F_ALIAS.
700 (print_insn_arg): Change first parameter to be const char *.
701 * Makefile.in (ALL_MACHINES): Add m68k-opc.o.
702 (m68k-opc.o): New target.
703 * configure.in: Build m68k-opc.o for bfd_m68k_arch.
704 * configure: Rebuild.
708 * sparc-dis.c (HASH_SIZE, HASH_INSN): Define.
709 (opcode_bits, opcode_hash_table): New variables.
710 (opcodes_initialized): Renamed from opcodes_sorted.
711 (build_hash_table): New function.
712 (is_delayed_branch): Use hash table.
713 (print_insn): Renamed from print_insn_sparc, made static.
714 Build and use hash table. If !sparc64, ignore sparc64 insns,
715 and vice-versa if sparc64.
716 (print_insn_sparc, print_insn_sparc64): New functions.
717 (compare_opcodes): Move sparc64 opcodes to end.
718 Print commutative insns with constant second.
719 * sparc-opc.c (all non-v9 insns): Use flag F_NOTV9 instead of F_ALIAS.
723 * sh-dis.c (print_insn_shx): Remove unused local dslot. Use
724 print_address_func for A_BDISP12 and A_BDISP8. Correct test which
725 avoids printing a delay slot in a delay slot.
726 * sh-opc.h (sh_table): Fully bracket last entry.
730 * sparc-opc.c (sllx, srax, srlx): Fix disassembly.
734 * configure.in: Get host_makefile_frag from ${srcdir}.
736 * configure.in: Autoconfiscated. Check for string[s].h. Create
737 config.h from config.in. Don't set up sysdep.h link.
738 * sysdep.h: New file.
739 * configure, config.in: New files, generated from configure.in.
740 * Makefile.in: Updated to be processed autoconf-style.
741 (distclean): Keep sysdep.h. Remove config.log and config.cache.
742 (Makefile): Depend on config.status.
743 (config.status): New rule.
744 * configure.bat: Update Makefile substitutions.
748 * mips-opc.c (L1): Define.
749 (mips_opcodes): Add R4010 instructions: flushi, flushd, flushid,
750 addciu, madd, maddu, ffc, ffs, msub, msubu, selsi, selsr, waiti,
755 * mips-opc.c (mips_opcodes): For the move pseudo-op, prefer daddu
756 if ISA 3 and addu otherwise, replacing or, since some MIPS chips
757 have multiple add units but only a single logical unit.
759 * ppc-opc.c (powerpc_operands): Change CR to use a bitsize of 3,
760 shifted by 18, without any insertion or extraction function.
761 (insert_cr, extract_cr): Remove.
766 * Makefile.in (ALL_MACHINES): Add arc-dis.o and arc-opc.o.
771 * m68k-dis.c (print_insn_arg, print_indexed): Print "%" before
776 * mpw-config.in: Add sh and i386 configs, remove sparc config.
777 * sh-opc.h: Add copyright.
781 * Makefile.in (crunch-m68k): Delete extra target accidentally
782 checked in a while ago.
786 * sh-opc.h (sh_table): Add SH3 support.
790 * sh-opc.h: Added bsrf and braf.
794 * arm-opc.h (arm_opcodes): Add 64-bit multiply patterns. Delete
795 bogus [ls]fm{ea,fd} patterns.
797 * arm-opc.h (arm_opcodes): Correct typos in stm, ldm, std, and ldc.
798 * arm-dis.c (print_insn_arm): Make GIVEN a parameter, don't try and
799 initialize it from memory. Make function static.
800 (print_insn_{big,little}_arm): New functions.
801 * disassemble.c (disassembler, case bfd_arch_arm): Disassemble for
802 the correct endianness.
807 * arc-opc.c (arc_opcodes): Add ARC_OPCODE_CONDITIONAL_BRANCH flag.
808 (arc_suffixes): Use ARC_DELAY_{NONE,NORMAL,JUMP}.
813 * sh-opc.h (sh_nibble_type, sh_arg_type): remove trailing , from
818 * m68k-dis.c (opcode): Finish change made by Kung Hsu on April
819 17th, so that it builds again using GCC as the compiler.
823 * mips-dis.c (print_insn_little_mips): Cast return value from
824 bfd_getl32 from bfd_vma to unsigned long, because _print_insn_mips
825 expects an unsigned long, and that might be fewer words of
826 argument storage (e.g., if bfd_vma is long long on a 32-bit
828 (print_insn_big_mips): Likewise with bfd_getb32 value.
829 (_print_insn_mips): Now static.
833 * m68k-dis.c: Take out #define BREAK_UP_BIG_DECL kludge, because
834 gcc memory hog problem with initializer is fixed.
839 * arc-opc.c (NULL): Define.
840 (arc_operands, insn fields u,s): Delete.
841 (arc_operands, insn fields a,b,c): Mark as signed.
842 (arc_opcodes): No longer const, links computed at run-time.
843 (arc_opcodes, mac/mul insns): Breakout suffixes as we don't handle
844 suffixes that affect the insn code.
845 (arc_opcodes): Resort table to macros are first.
846 (arc_opcodes, ld [b,c] entry): Add %Q to prevent shimms.
847 (arc_opcodes, st [b] entry): Likewise.
848 (arc_opcodes, st [b,d] entry): Fix mask, value.
849 (arc_reg_names): Add entries for r29, r30, r31, r60.
850 (opcode_map, icode_map): New static globals.
851 (arc_opcode_init_tables): Initialize them.
852 (arc_opcode_lookup_asm, arc_opcode_lookup_dis): New functions.
853 (insert_shimmoffset): Signal error if register present.
855 * arc-dis.c (print_insn): Call arc_opcode_lookup_dis.
860 Merge in support for Mac MPW as a host.
861 (Old change descriptions retained for informational value.)
863 * mpw-config.in (archname): Compute from the config.
864 (BFD_MACHINES, ARCHDEFS): Put into mk.tmp.
866 * mpw-config.in (target_arch): Compute from canonical target.
867 (m68k, mips, powerpc, sparc): Add architectures.
868 * mpw-make.in (disassemble.c.o): Add.
869 (ALL_CFLAGS): Remove special flags (-mc68020 -mc68881 -model far).
871 * mpw-config.in (BFD_MACHINES): Set to a default value.
872 * mpw-make.in (BFD_MACHINES): Remove wired-in value.
874 * mpw-make.in (CSEARCH): Add extra-include to search path.
876 * mpw-config.in (varargs.h): Don't create.
877 (sysdep.h): Create using forward-include.
878 * mpw-make.in (CSEARCH): Add include/mpw to search path.
880 * mpw-config.in: New file, MPW version of configure.in.
881 * mpw-make.in: New file, MPW version of Makefile.in.
886 * arc-dis.c (print_insn): New parameter `big_p'. Callers updated.
887 Call arc_get_opcode_mach to map bfd mach number to opcode value.
888 (print_insn_*): Pass bfd mach number, not opcode version.
889 * arc-opc.c (arc_get_opcode_mach): New function.
894 * alpha-dis.c (print_insn_alpha): Put empty statement after
899 * hppa-dis.c (sign_extend): Delete, redundant with libhppa.h version.
900 (low_sign_extend): Likewise.
901 (get_field): Delete unused function.
902 (set_field, deposit_14, deposit_21): Likewise.
906 * i386-dis.c: Support for more pentium opcodes. From Guy Harris
913 * alpha-opc.h (OSF_ASMCODE): define
914 print pal-code names as defined in App C of the
915 Alpha Architecture Reference Manual
917 * alpha-dis.c: cleaned up output
918 print stylized code forms as defined in App A.4.3 of the
919 Alpha Architecture Reference Manual
923 * mips-opc.c: Add new mips4 instructions. Don't set INSN_RFE for
925 * mips-dis.c (print_insn_arg): Handle new argument types 'h', 'R',
930 * m68k-dis.c (opcode): New function. Returns address of opcode
931 table entry given index, even if the opcode table was split to
932 work around gcc bugs.
933 (print_insn_m68k): Call opcode instead of referencing m68k_opcodes
935 (BREAK_UP_BIG_DECL): Make secondary array static and const.
936 (reg_names): Now const.
937 (print_insn_arg): Arrays cacheFieldName and names now const.
938 (print_indexed): Array scales now const.
943 * arc-dis.c (print_insn_arc_base): Split into big and little fns.
944 (print_insn_arc_{host,graphics,audio}): Likewise.
945 (print_insn): Add prototype.
946 (arc_get_disassembler): New arg `big_p'. Return little or big
947 print fn accordingly.
948 * arc-opc.c (arc_opcode_init_tables): Init arc_operand_map once.
949 (arc_opcode_supported): Use ARC_OPCODE_CPU to ignore byte order.
950 (arc_opval_supported): Likewise.
951 * disassemble.c (disassembler): Pass big endian flag to
952 arc_get_disassembler.
957 * ppc-opc.c: Sort recently added instructions by minor opcode
958 number within major opcode number.
962 * hppa-dis.c: Include libhppa.h.
966 * mips-opc.c: Change dli to use M_DLI, and add dla.
970 * Makefile.in (ALL_MACHINES): Add w65-dis.o.
975 * arc-dis.c (arc_get_disassembler): Change argument to int,
976 one of bfd_mach_arc_xxx. All callers updated.
981 * mips-opc.c: Add r4650 mul instruction.
985 * mips-opc.c: Add uld and usd macros for unaligned double load and
990 * ppc-opc.c (powerpc_opcodes): Add 403GA opcodes rfci, dccci,
991 mfdcr, mtdcr, icbt, iccci.
996 * arc-dis.c (print_insn): Handle ARC_OPERAND_ADDRESS.
997 * arc-opc.c (arc_operands): New operand 'J' for jump addresses.
998 ('L' operand): Mark as ARC_OPERAND_ADDRESS.
999 (arc_opcodes, j insn): Use 'J' operand type, not 'L'.
1000 (arc_opcodes, ld/st insns): Fix address writeback operand letter.
1001 (insert_absaddr): New function.
1005 * arc-dis.c (print_insn_arc): Rename to print_insn and make static.
1006 New argument `cpu', pass it to arc_opcode_init_tables.
1007 Document byte order dependencies. Ignore unsupported insns.
1008 (arc_get_disassembler): New function.
1009 (print_insn_arc_base, print_insn_arc_host, print_insn_arc_graphics,
1010 print_insn_arc_audio): New functions.
1011 * arc-opc.c (MULTSHIFT operand): Delete.
1012 (UNSIGNED, SATURATION): New operands.
1013 (mac, mul, mul64, mulu64): New insns.
1014 (ext. asl, asr, lsr, ror): Only available on host and graphics cpus.
1015 (padc, padd, pmov, pand, psbc, psub, swap): New insns.
1016 (host,graphics,audio extended and auxiliary regs): Define.
1017 (ss, sc, mh, ml): New suffixes.
1018 (arc_opcode_supported, arc_opval_supported): New functions.
1019 (insert_multshift, extract_multshift): Deleted.
1020 * disassemble.c (disassembler, case bfd_arch_arc): Call
1021 arc_get_disassembler to get disassembler routine.
1026 * i960-dis.c (struct tabent, struct sparse_tabent): Change the
1027 signed char fields to shorts, more portable.
1031 * i960-dis.c (struct tabent, struct sparse_tabent): Declare the
1032 char fields as signed chars, since they may have negative values.
1036 * i386-dis.c (dis386_twobyte): Add cpuid, From Charles Hannum
1042 * ppc-opc.c (extract_bdm): Correct parenthezisation.
1043 * ppc-dis.c (print_insn_powerpc): Print .long before unrecognized
1048 * ppc-opc.c: Changes based on patch from David Edelsohn
1050 (powerpc_operands): Add operands SPRBAT and SPRG. Split TBR out of
1053 (insert_tbr): New static function.
1054 (extract_tbr): New static function.
1055 (XFXFXM_MASK, XFXM): Define.
1056 (XSPRBAT_MASK, XSPRG_MASK): Define.
1057 (powerpc_opcodes): Add instructions to access special registers by
1058 name. Add mtcr and mftbu.
1062 * mips-opc.c (P3): Define.
1063 (mips_opcodes): Add mad and madu.
1065 Sun Jan 15 16:32:59 1995 Steve Chamberlain <sac@splat>
1067 * configure.in: Add W65 support.
1068 * disassemble.c: Likewise.
1069 * w65-opc.h, w65-dis.c: New files.
1073 * h8300-dis.c (bfd_h8_disassemble): Add support for 2 bit
1079 * arc-dis.c (print_insn_arc): Branch offsets are relative to delay
1081 * arc-opc.c (extract_reladdr): New function.
1082 (insert_reladdr): Store address right-shifted by 2.
1087 * mips-opc.c: Add dli as a synonym for li.
1092 * arc-opc.c (insertion fns): Pass pointer to value's table entry.
1094 (extraction fns): Insn argument now array of two words. Return pointer
1095 to value's table entry. All uses changed.
1096 (arc_opcode_lookup_suffix): Exported for arc-dis.c.
1097 (insert_multshift, extract_multshift): New fns.
1098 (arc_operands): Add support for cache bypass suffix. Add support for
1099 predefined aux regs. Modifier bits moved to flags field.
1100 (arc_opcodes): Likewise.
1101 Add mul/mulu/shift insns. Syntax of zero/sign extension insns changed.
1102 New insn rlc. Update to syntax in programmer's manual.
1103 (arc_reg_names): Fix typo in lp_count. Add predefined aux regs.
1104 (arc_suffixes): New synonyms lo,hs for cs,cc. New suffix for cache
1106 (arc_opcode_init_tables): New argument to indicate cpu type.
1107 (insert_reg): Handle predefined aux regs.
1108 (extract_reg): Likewise.
1109 (lookup_register): New fn.
1110 * arc-dis.c (arc_condition_codes): Deleted.
1111 (print_insn_arc): Handle insns with 32 bit immediate constants better.
1112 Clean up modifier handling. Handle predefined aux regs.
1117 * alpha-dis.c (print_insn_alpha): Handle call_pal instruction, and
1118 print something for reserved opcode values, even if it won't
1121 * mips-dis.c (_print_insn_mips): When initializing, shift right
1122 and mask, to avoid sign extension problems on the Alpha.
1124 * m68k-dis.c (print_insn_arg, case 'J'): Handle buscr and pcr
1130 * configure.in: Add ARC support.
1131 * disassemble.c: Likewise.
1132 * arc-dis.c, arc-opc.c: New files.
1137 * sh-opc.h (mov.l gbr): Get direction right.
1138 * sh-dis.c (print_insn_shx): New function.
1139 (print_insn_shl, print_insn_sh): Call print_insn_shx to
1140 print opcodes with right byte order.
1144 * ns32k-dis.c (struct ns32k_option): Renamed from struct option,
1145 to avoid conflicts with getopt.
1149 * hppa-dis.c (print_insn_hppa): Read the instruction using
1150 bfd_getb32, so that it works on a little endian or 64 bit host.
1151 Remove unused local variable op.
1155 * mips-opc.c: Use or instead of addu for pseudo-op move, since
1156 addu does not work correctly if -mips3.
1160 * a29k-dis.c (print_special): Add special register names defined
1161 on 29030, 29040 and 29050.
1162 (print_insn): Handle new operand type 'I'.
1166 * Makefile.in (INSTALL): Use top level install.sh script.
1170 * sparc-dis.c: Rewrite to use bitfields, rather than a union, so
1171 that it works on a little endian host.
1175 * configure.in: Use ${config_shell} when running config.bfd.
1179 * mips-opc.c (mips_opcodes): "dabs" is only available with -mips3.
1183 * a29k-dis.c (print_insn): Print the opcode.
1187 * mips-opc.c (mips_opcodes): Set WR_t for sc and scd.
1191 * hppa-dis.c (reg_names): Use r26-r23 for arg0-arg3.
1195 * mips-opc.c: Set INSN_STORE_MEMORY flag for all instructions
1196 which store a value into memory.
1200 * configure.in, Makefile.in, disassemble.c: Add support for the ARM.
1201 * arm-dis.c, arm-opc.h: New files.
1205 * Makefile.in (ns32k-dis.o): Add dependency.
1206 * ns32k-dis.c (print_insn_arg): Declare initialized local as
1207 string, not as array of chars.
1211 * sparc-dis.c (print_insn_sparc): Handle new operand type 'x'.
1213 * sparc-opc.c: Added sparclite extended FP operations, and
1214 versions of v9 impdep* instructions permitting specification of
1219 * i960-dis.c (reg_names): Now const.
1220 (struct sparse_tabent): New type, copied from array type in mem
1222 (ctrl): Local static array ctrl_tab now const.
1223 (cobr): Local static array cobr_tab now const.
1224 (mem): Local variables reg1, reg2, reg3 now point to const. Local
1225 static variable mem_tab no longer explicitly initialized. Changed
1226 mem_init to const array of struct sparse_tabent.
1227 (reg): Local static variable reg_tab no longer explicitly
1228 initialized. Changed reg_init to const array of struct
1230 (ea): Local static array scale_tab now const.
1232 * i960-dis.c (reg): Added i960JX instructions to reg_init table.
1237 * configure.bat: the disassember needs to be enabled for
1238 "objdump -d" to work in djgpp.
1242 * ns32k-dis.c: Deleted all code in "#ifdef GDB".
1243 (invalid_float): Enabled general version, doesn't require running
1244 on ns32k host. Changed to take char* argument, and test for
1245 explicitly specified sizes, instead of using sizeof() on host CPU
1247 (INVALID_FLOAT): Cast first argument.
1248 (opt_u, opt_U, opt_O, opt_C, opt_S, list_P532, list_M532,
1249 list_P032, list_M032): Now const.
1250 (optlist, list_search): Made appropriate arguments now point to
1252 (print_insn_arg): Changed static array of one-character-string
1253 pointers into a static const array of characters; fixed sprintf
1254 statement accordingly.
1258 * opcodes/ns32k-dis.c: Semi-new file. Had apparently been dropped
1259 from distribution. A ns32k-dis.c from a previous distribution has
1260 been brought up to date and supports the new interface.
1262 * disassemble.c: define ARCH_ns32k and add case bfd_arch_ns32k.
1264 * configure.in: add bfd_ns32k_arch target support.
1266 * Makefile.in: add ns32k-dis.o to ALL_MACHINES.
1267 Add ns32k-dis.c to CFILES. Add dependencies for ns32k-dis.o.
1271 * h8300-dis.c (bfd_h8_disassemble): Get 16bit branch
1276 * h8300-dis.c, mips-dis.c: Don't use true and false.
1280 * configure.in: Change --with-targets to --enable-targets.
1284 * mips-dis.c (_print_insn_mips): Build a static hash table mapping
1285 opcodes to the first instruction with that opcode, to speed
1291 * Makefile.in (mostlyclean): Fix typo (was mostyclean).
1295 * configure.bat: update to latest makefile.in
1299 * a29k-dis.c (print_insn): Print 'x' type operand in hex.
1300 * h8300-dis.c (bfd_h8_disassemble): Print 16bit rels correctly.
1301 * sh-dis.c (print_insn_sh): Don't recur endlessly if delay
1302 slot insn is in a delay slot.
1303 * z8k-opc.h: (resflg): Fix patterns.
1304 * h8500-opc.h Fix CR insn patterns.
1308 * ppc-opc.c (powerpc_opcodes): Put PowerPC versions of "cmp" and
1309 "cmpl" before POWER versions, so that gas -many uses them.
1313 * disassemble.c: New file.
1314 * Makefile.in (OFILES): Add disassemble.o.
1315 (disassemble.o): Provide dependencies; compile with $(ARCHDEFS).
1316 * configure.in: Define ARCHDEFS in Makefile. Code taken from
1317 binutils/configure.in.
1319 * m68k-dis.c (print_insn_m68k): If F_ALIAS flag is set, skip the
1320 opcode being examined.
1324 * ppc-opc.c (powerpc_operands): Added RAL, RAM and RAS.
1325 (insert_ral, insert_ram, insert_ras): New functions.
1326 (powerpc_opcodes): Use RAL for load with update, RAM for lmw, and
1327 RAS for store with update.
1331 * ppc-opc.c (powerpc_opcodes): Correct fcir. From David Edelsohn
1336 * mips-opc.c (mips_opcodes): Correct operands of "nor" with an
1341 * sparc-opc.c (sparc_opcodes): Fix "rd %fprs,%l0".
1345 * ppc-opc.c (powerpc_operands): The signedp field has been
1346 removed, so don't initialize it. Set the PPC_OPERAND_SIGNED flag
1347 instead. Add new operand SISIGNOPT.
1348 (powerpc_opcodes): For lis, liu, addis, and cau use SISIGNOPT.
1350 * ppc-dis.c (print_insn_powerpc): Check PPC_OPERAND_SIGNED rather
1355 * i386-dis.c (struct private): Renamed to dis_private. `private'
1356 is a reserved word for dynix cc.
1360 * configure.in: Change error message to refer to bfd/config.bfd
1361 rather than bfd/configure.in.
1365 * ppc-opc.c: Define POWER2 as short alias flag.
1366 (powerpc_opcodes): Add POWER/2 opcodes lfq*, stfq*, fcir[z], and
1371 * i960-dis.c (print_insn_i960): Don't read a second word for
1372 opcodes 0, 1, 2 and 3.
1376 * configure.in: Don't build m68881-ext.o for bfd_m68k_arch.
1380 * m68881-ext.c: Removed; no longer used.
1381 * Makefile.in: Changed accordingly.
1383 * m68k-dis.c (ext_format_68881): Don't declare.
1384 (print_insn_m68k): If an instruction uses place 'i', it uses at
1385 least four fixed bytes.
1386 (print_insn_arg): Don't bump p by 2 for case 'I', place 'i'. For
1387 extended float, convert to double using floatformat_to_double, not
1388 ieee_extended_to_double, and fetch the data before converting it.
1392 * mips-opc.c: It's sqrt.s, not sqrt.w. From
1397 * ppc-opc.c (powerpc_opcodes): The POWER uses bdn[l][a] where the
1398 PowerPC uses bdnz[l][a].
1402 * dis-buf.c, i386-dis.c: Include sysdep.h.
1406 * configure.in (bfd_powerpc_arch): Use ppc-dis.o and ppc-opc.o.
1408 * ppc-opc.c (powerpc_opcodes): Mark POWER instructions supported
1409 by Motorola PowerPC 601 with PPC_OPCODE_601.
1410 * ppc-dis.c (print_insn_big_powerpc, print_insn_little_powerpc):
1411 Disassemble Motorola PowerPC 601 instructions as well as normal
1412 PowerPC instructions.
1416 * i960-dis.c (reg, mem): Just use a static array instead of
1421 * hppa-dis.c (print_insn_hppa): For '?' and '@' only adjust the
1422 condition name index if this is for a negated condition.
1424 * hppa-dis.c (print_insn_hppa): No space before 'H' operand.
1425 Floating point format for 'H' operand is backwards from normal
1426 case (0 == double, 1 == single). For '4', '6', '7', '9', and '8'
1427 operands (fmpyadd and fmpysub), handle bizarre register
1428 translation correctly for single precision format.
1430 * hppa-dis.c (print_insn_hppa): Do not emit a space after 'F'
1431 or 'I' operands if the next format specifier is 'M' (fcmp
1432 condition completer).
1436 * ppc-opc.c (powerpc_operands): New operand type MBE to handle a
1437 single number giving a bitmask for the MB and ME fields of an M
1438 form instruction. Change NB to accept 32, and turn it into 0;
1439 also turn 0 into 32 when disassembling. Seperated SH from NB.
1440 (insert_mbe, extract_mbe): New functions.
1441 (insert_nb, extract_nb): New functions.
1442 (SC_MASK): Mask out SA and LK bits.
1443 (powerpc_opcodes): Change "cal" to use RT, D, RA rather than RT,
1444 RA, SI. Change "liu" and "cau" to use UI rather than SI. Mark
1445 "bctr" and "bctrl" as accepted by POWER. Change "rlwimi",
1446 "rlimi", "rlwimi.", "rlimi.", "rlwinm", "rlinm", "rlwinm.",
1447 "rlinm.", "rlmi", "rlmi.", "rlwnm", "rlnm", "rlwnm.", "rlnm." to
1448 use MBE rather than MB. Add "mfmq" and "mtmq" POWER instructions.
1449 (powerpc_macros): Define table of macro definitions.
1450 (powerpc_num_macros): Define.
1452 * ppc-dis.c (print_insn_powerpc): Don't skip optional operands
1453 if PPC_OPERAND_NEXT is set.
1457 * i960-dis.c (print_insn_i960): Make buffer bfd_byte instead of
1458 char. Retrieve contents using bfd_getl32 instead of shifting.
1462 * ppc-opc.c: New file. Opcode table for PowerPC, including
1463 opcodes for POWER (RS/6000).
1464 * ppc-dis.c: New file. PowerPC and Power (RS/6000) disassembler.
1465 * Makefile.in (ALL_MACHINES): Add ppc-dis.o and ppc-opc.o.
1466 (CFILES): Add ppc-dis.c.
1467 (ppc-dis.o, ppc-opc.o): New targets.
1468 * configure.in: Build ppc-dis.o and ppc-opc.o for bfd_rs6000_arch.
1472 * hppa-dis.c (print_insn_hppa): Handle 'N' in assembler template.
1473 No space before 'u', 'f', or 'N'.
1477 * i386-dis.c (print_insn_i386): Add FIXME comment regarding reading
1478 farther than we should.
1480 * i386-dis.c (dis386): Use Yb and Yv for scasb and scasS.
1484 * sparc-dis.c m68k-dis.c alpha-dis.c a29k-dis.c: Fix comments.
1488 * i960-dis.c (print_insn_i960): Only read word2 if the instruction
1489 needs it, to prevent reading past the end of a section.
1493 * mips-opc.h: Use macro for j instruction, to support SVR4 PIC.
1494 Removed t,A case for la; always use t,A(b) case.
1499 * mips-dis.c (print_insn_arg): Handle 'k'.
1500 * mips-opc.c: Make cache use k, not t.
1504 * alpha-opc.h, alpha-dis.c (print_insn_alpha): Add
1505 FLOAT_MEMORY_FORMAT_CODE, FLOAT_BRANCH_FORMAT_CODE, correct
1506 FLOAT_FORMAT_CODE to put out floating point register names.
1510 * mips-opc.c: Use macros for jal variants, to support SVR4 PIC.
1514 * a29k-dis.c (print_insn): Use 0x%08x, not 0x%8x.
1518 * mips-opc.c (dsll, dsra, dsrl): Added '>' cases for shift counts
1519 larger than 32. Moved dsxx32 variants first for disassembler.
1523 * z8kgen.c, z8k-opc.h: Add full lda information.
1527 * hppa-dis.c (print_insn_hppa): Do not emit a space after
1528 movb instructions. Any necessary space will be emitted by
1529 the code to handle nullification completers.
1533 * mips-opc.c: Moved l.d down so that it disassembles as ldc1.
1537 * alpha-opc.h: Add ldl_l, fix typo for ldq_u.
1538 * alpha-dis.c (print_insn_alpha): Add code for PAL_FORMAT_CODE.
1542 * mips-opc.c: Correct lwu opcode value (book had it wrong).
1546 * z8k-dis.c (FETCH_DATA): get just the right amount of data.
1547 (unpack_instr): Cope with ARG_IMM4M1 type instructions.
1551 * m88k-dis.c (m88kdis): comment change. Remove space after
1553 (printop): handle new arg types DEC and XREG for m88110.
1557 * hppa-dis.c (print_insn_hppa): Handle 'z' operand
1558 type for absolute branch addresses. Delete special
1559 "ble" and "be" code in 'W' operand code.
1563 * mips-opc.c: Set hazard information correctly for branch
1564 likely instructions.
1568 * alpha-dis.c (print_insn_alpha), alpha-opc.h: Fix bugs, use
1569 info->fprintf_func for printing and info->print_address_func for
1574 * mips-opc.c: Set INSN_TRAP for tXX instructions.
1579 Corrected second case of "b" for disassembler.
1583 * mips-dis.c, m88k-dis.c: Don't include libbfd.h. Changed calls
1584 to BFD swapping routines to correspond to BFD name changes.
1588 * mips-opc.c: Change div machine instruction to be z,s,t rather
1589 than s,t. Change div macro to be d,v,t rather than d,s,t.
1590 Likewise for divu, ddiv, ddivu. Added z,s,t case for drem, dremu,
1591 rem and remu which generates only the corresponding div
1592 instruction. This is for compatibility with the MIPS assembler,
1593 which only generates the simple machine instruction when an
1594 explicit destination of $0 is used.
1595 * mips-dis.c (print_insn_arg): Handle 'z' (always register zero).
1600 WR_31 hazard for bal, bgezal, bltzal.
1604 * hppa-dis.c (print_insn_hppa): Use print function
1605 from within the disassemble_info, not fprintf_filtered.
1609 * hppa-dis.c (print_insn_hppa): Handle '|' like '>'. (From Jeff
1614 * mips-opc.c ("absu"): Removed.
1619 * mips-opc.c: Added r6000 and r4000 instructions and macros.
1620 Changed hazard information to distinguish between memory load
1621 delays and coprocessor load delays.
1625 * mips-opc.c: li.d uses "T,L", not "S,F". Added li.s.
1629 * configure.in: Don't pass cpu to config.bfd.
1633 * m88k-dis.c (m88kdis): Make class unsigned.
1637 * alpha-dis.c (print_insn_alpha): One branch format case was
1638 missing the instruction name.
1642 * Makefile.in (ALL_MACHINES): Renamed from DIS_LIBS.
1643 Add the arch-specific auxiliary files.
1644 (OFILES): Remove the arch-specific auxiliary files
1645 and use BFD_MACHINES instead of DIS_LIBS.
1646 * configure.in: Set BFD_MACHINES based on --with-targets option.
1650 * mips-opc.c: Added lwc1 E,A(b) to go with lwc1 T,A(b). Similarly
1655 * sparc-opc.c: Change CONST to const to deal with gcc
1656 -Dconst=__const -traditional.
1661 coprocessor instructions out of #if 0, and made them use new
1666 * sparc-dis.c: Include ansidecl.h before opcodes/sparc.h.
1670 * sparc-opc.c: Add F_JSR, F_UNBR, or F_CONDBR flags to each branch
1671 instruction, for use by the disassembler.
1673 * sparc-dis.c (SEX): Add sign extension macro. Replace many
1674 hand-coded sign extensions that depended on 32-bit host ints.
1675 FIXME, we still depend on big-endian host bitfield ordering.
1676 (sparc_print_insn): Set the insn_info_valid field, and the
1677 other fields that describe the instruction being printed.
1681 * sparc-opc.c (call): Accept all 6 addressing modes valid for
1682 `jmp' instead of just one of them.
1686 * hppa-dis.c: Move floating registers from reg_names to fp_reg_names.
1687 (fput_fp_reg_r): Renamed from fput_reg_r.
1688 (fput_fp_reg): New function.
1689 (print_insn_hppa): Use fput_fp_reg{,_r} where appropriate.
1691 * hppa-dis.c (print_insn_hppa, cases 'a', 'd'): Print space afterwards.
1693 * hppa-dis.c (print_insn_hppa, case 'd'): Use GET_COND not GET_FIELD.
1697 * hppa-dis.c (print_insn_hppa): Use extract_5r_store for 'r'.
1699 * hppa-dis.c (print_insn_hppa, case '>'): If next character is 'n',
1700 don't output a space.
1702 * hppa-dis.c (float_format_names): 10 is undefined, and 11 is quad.
1706 * mips-opc.c: New file, containing opcode table from
1707 ../include/opcode/mips.h.
1708 * Makefile.in: Add it.
1712 * m88k-dis.c: New file, moved in from gdb and changed to use the
1713 new dis-asm.h disassembler interface.
1714 * Makefile.in (DIS_LIBS): Added m88k-dis.o.
1715 (m88k-dis.o): New target.
1719 * mips-dis.c (print_insn_arg, _print_insn_mips): Made pointer to
1720 argument string const char * to correspond to opcode/mips.h.
1724 * mips-dis.c: Updated to account for name changes in new version
1726 * Makefile.in: Added header file dependencies.
1730 * h8300-dis.c (bfd_h8_disassemble): Correct fetching of instruction.
1734 * m68k-dis.c (NEXTWORD, NEXTLONG): Use ((x) ^ 0x8000) - 0x8000 to sign
1735 extend, rather than shifts.
1739 * Makefile.in: Undo 15 June change.
1743 * m68k-dis.c (print_insn_arg): Change return value to byte count
1745 * m68k-dis.c: Re-write to detect invalid operands before
1746 printing anything, so we can handle this the same way we
1747 handle invalid opcodes.
1751 * sh-dis.c, sh-opc.h: Understand some more opcodes.
1755 * hppa-dis.c: Include <ansidecl.h> and sysdep.h before other
1760 * sparc-dis.c: Don't declare qsort, since sysdep.h might.
1762 * configure.in: Do make sysdep.h link.
1763 * Makefile.in: Search ../include. Don't search ../bfd.
1768 * hppa-dis.c: Fix typo. 'a' and 'd' were reversed.
1769 Do not print a space before the completers specified by
1774 * mips-dis.c: No longer need to bomb out if HOST_64_BIT is
1775 defined, since gdb has been fixed.
1778 * hppa-dis.c (print_insn_hppa): Last argument to fput_reg,
1779 fput_reg_r, fput_creg, fput_const, and fputs_filtered should
1780 be a *disassemble_info, not a *FILE.
1781 * hppa-dis.c: Support 'd', '!', and 'a'.
1782 * hppa-dis.c: Support 's' to extract a 2 bit space register.
1783 * hppa-dis.c: Delete cases which are no longer needed.
1787 * m68k-dis.c (print_insn_{m68k,arg}): Add MMU codes.
1791 * h8300-dis.c: New file, removed from bfd/cpu-h8300.c, with
1796 * Makefile.in (CSEARCH): Add -I../bfd for sysdep.h and bfd.h.
1797 * configure.in: No longer need to configure to get sysdep.h.
1802 * hppa-dis.c: Support 'I', 'J', and 'K' in output
1803 templates for 1.1 FP computational instructions.
1807 * h8500-dis.c (print_insn_h8500): Address argument is type
1809 * z8k-dis.c (print_insn_z8k, print_insn_z8001, print_insn_z8002):
1812 * h8500-opc.h (addr_class_type): No comma at end of enumerator.
1813 * sh-opc.h (sh_nibble_type, sh_arg_type): Ditto.
1815 * sparc-dis.c (compare_opcodes): Move static declaration to
1820 * sparc-dis.c (print_insn_sparc): Implement 'n' argument for unimp
1821 instruction, remove unimp hack from 'l' argument.
1825 * z8k-dis.c (fetch_data): Use unsigned char to make ancient gcc's
1831 * mips-dis.c (print_insn_arg): Handle 'C' for general coprocessor
1836 * hppa-dis.c: Include dis-asm.h before sysdep.h. Changed some
1837 arrays of string pointers to 2-d arrays of chars, to save
1842 * a29k-dis.c, alpha-dis.c, i960-dis.c, sparc-dis.c, z8k-dis.c:
1843 Cast second arg to read_memory_func to "bfd_byte *", as necessary.
1847 * hppa-dis.c: New file from Utah, adapted to new disassembler
1849 * Makefile.in: Include it.
1853 * sh-dis.c, sh-opc.h: New files.
1857 * alpha-dis.c, alpha-opc.h: New files.
1861 * mips-dis.c: Sign extend 'j' and 'b' arguments, delta is a signed
1866 * sparc-dis.c: Make "ta" the default trap instruction, "t" the alias.
1870 * a29k-dis.c, sparc-dis.c, sparc-opc.c: Use CONST rather than
1875 * sparc-dis.c: Use fprintf_func a few places where I forgot,
1876 and double percent signs a few places.
1878 * a29k-dis.c, i960-dis.c: New, merged from gdb and binutils.
1880 * i386-dis.c, m68k-dis.c, mips-dis.c, sparc-dis.c:
1881 Use info->print_address_func not print_address.
1883 * dis-buf.c (generic_print_address): New function.
1887 * Makefile.in: Add sparc-dis.c.
1888 sparc-dis.c: New file, merges binutils and gdb versions as follows:
1890 Add `add' instruction to the set that get checked
1891 for a preceding `sethi' in order to print an absolute address.
1892 * (print_insn): Disassembly prefers real instructions.
1893 (is_delayed_branch): Speed up.
1894 * sparc-opcode.h: Add ALIAS bit to aliases. Fix up opcode tables.
1895 Still missing some float ops, and needs testing.
1896 * sparc-pinsn.c (print_insn): Eliminate 'set' test, subsumed by
1897 F_ALIAS. Use printf, not fprintf, when not passing a file
1899 (compare_opcodes): Check that identical instructions have
1900 identical opcodes, complain otherwise.
1903 * Include reg_names.
1905 Use dis-asm.h/read_memory_func interface.
1909 * h8500-dis.c, i386-dis.c, m68k-dis.c, z8k-dis.c (fetch_data):
1910 deliberately return non-zero to setjmp from longjmp. Otherwise
1911 this code fails to compile.
1915 * m68k-dis.c: Fix prototype for fetch_arg().
1919 * dis-buf.c: New file, for new read_memory_func interface.
1920 Makefile.in (OFILES): Include it.
1921 m68k-dis.c, i386-dis.c, h8500-dis.c, mips-dis.c, z8k-dis.c:
1922 Use new read_memory_func interface.
1926 * h8500-dis.c (print_insn_h8500): Get sign of fp offsets right.
1927 * h8500-opc.h: Fix couple of opcodes.
1929 Wed Mar 24 02:03:36 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
1931 * Makefile.in: add dvi & installcheck targets
1935 * Makefile.in: Update for h8500-dis.c.
1939 * h8500-dis.c, h8500-opc.h: New files
1943 * mips-dis.c, z8k-dis.c: Converted to use interface defined in
1944 ../include/dis-asm.h.
1945 * m68k-dis.c: New file (merge of ../binutils/m68k-pinsn.c
1946 and ../gdb/m68k-pinsn.c).
1947 * i386-dis.c: New file (merge of ../binutils/i386-pinsn.c
1948 and ../gdb/i386-pinsn.c).
1949 * m68881-ext.c: New file. Moved definition of
1950 ext_format ext_format_68881 from ../gdb/m68k-tdep.c.
1951 * Makefile.in: Adjust for new files.
1953 * m68k-dis.c: Recognize '9' placement code, so (say) pflush
1954 can be dis-assembled.
1958 * mips-dis.c (print_insn_arg): Now returns void.
1962 * mips-dis.c (ansidecl.h): Include for benefit of sysdep.h
1963 files that use the macros.
1967 * mips-dis.c: New file, from gdb/mips-pinsn.c.
1968 * Makefile.in (DIS_LIBS): Added mips-dis.o.
1969 (CFILES): Added mips-dis.c.
1973 * z8k-dis.c (print_insn_z8001, print_insn_z8002): new routines
1974 * z8kgen.c, z8k-opc.h: fix sizes of some shifts.
1978 * Makefile.in: Improve *clean rules.
1979 * configure.in: Allow a default host.
1981 Tue Nov 17 19:53:54 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
1983 * Makefile.in: also use -I$(srcdir)/../bfd, since some sysdep
1984 files include other sysdep files
1988 * z8k-dis.c z8k-opc.h z8kgen.c: checkpoint
1992 * configure.in: For host support, use ../bfd/configure.host
1993 so it stays in sync with the ../bfd/hosts database.
1995 Thu Oct 1 23:38:54 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
1997 * configure.in: use cpu-vendor-os triple instead of nested cases
2001 * z8k-dis.c (unparse_instr): fix bug where opcode returned was
2002 *always* the wrong one.
2006 * z8kgen.c: added copyright info
2010 * z8k-dis.c (unparse_instr): prettier tabs
2011 * z8kgen.c -> z8k-opc.h: bug fixes in tables
2013 Fri Sep 25 12:50:32 1992 Stu Grossman (grossman at cygnus.com)
2015 * configure.in: Add ncr* configuration.
2016 * z8k-dis.c (struct instr_data_s): Make instr_asmsrc char to make
2017 picayune ANSI compilers happy.
2021 * configure.in (i386): Make i386 and i486 synonymous for now.
2022 * configure.in (i[34]86-*-sysv4): Add my_host definition.
2026 * Makefile.in (install): Fix typo.
2030 * Makefile.in (make): Remove obsolete crud.
2031 (sparc-opc.o): Avoid Sun Make VPATH bug.
2035 * Makefile.in: since there are no SUBDIRS, remove rule and
2036 references of subdir_do.
2040 * Makefile.in (install): Get the library name right here too.
2041 Don't install bfd.h, since it's unrelated to this library. No
2042 subdirs to recurse into, either.
2043 (CFILES): The source file has a .c suffix, not .o.
2045 * sparc-opc.c: New file, moved from BFD.
2046 * Makefile.in (OFILES): Build it.
2050 * z8k-dis.c: fixed forward refferences of some declarations.
2054 * Makefile.in: get the name of the library right
2058 * z8k-dis.c: knows how to disassemble z8k stuff
2059 * z8k-opc.h: new file full of z8000 opcodes
2063 version-control: never