ChangeLog revision 107492
12002-10-30 Daniel Jacobowitz <drow@mvista.com> 2 3 * po/opcodes.pot: Regenerated. 4 52002-10-28 Daniel Jacobowitz <drow@mvista.com> 6 7 Merge from mainline: 8 2002-10-07 Nathan Tallent <eraxxon@alumni.rice.edu> 9 * sparc-opc.c (sparc_opcodes) <fb, fba, fbe, fbz, fbg, fbge, 10 fbl, fble, fblg, fbn, fbne, fbnz, fbo, fbu, fbue, fbug, fbuge, 11 fbul, fbule>: Add conditional/unconditional branch 12 classification. 13 14 2002-09-24 Nick Clifton <nickc@redhat.com> 15 * po/de.po: Updated Danish translation file. 16 172002-09-04 Nick Clifton <nickc@redhat.com> 18 Daniel Jacobowitz <drow@mvista.com> 19 20 * disassemble.c (disassembler_usage): Add invocation of 21 print_ppc_disassembler_options. 22 * ppc-dis.c (print_ppc_disassembler_options): New function. 23 242002-09-23 Daniel Jacobowitz <drow@mvista.com> 25 26 Merge from mainline: 27 2002-09-11 Nick Clifton <nickc@redhat.com> 28 * po/da.po: Updated Danish translation file. 29 30 2002-09-04 Nick Clifton <nickc@redhat.com> 31 * ppc-opc.c: The BookE implementations of the TLBWE and TLBRE 32 instructions do not take any arguments. 33 34 2002-09-04 Nick Clifton <nickc@redhat.com> 35 * ppc-opc.c (extsw, extsw.): Do not allow for the BookE32. 36 37 2002-08-09 Nick Clifton <nickc@redhat.com> 38 * po/sv.po: Updated Swedish translation. 39 402002-08-20 Maciej W. Rozycki <macro@ds2.pg.gda.pl> 41 42 * mips-opc.c (mips_builtin_opcodes): Remove "dla" and "la" as 43 aliases to "daddiu" and "addiu". 44 452002-07-30 Daniel Jacobowitz <drow@mvista.com> 46 47 Merge from mainline: 48 2002-07-30 Nick Clifton <nickc@redhat.com> 49 * po/sv.po: Updated Swedish translation. 50 512002-07-25 Nick Clifton <nickc@redhat.com> 52 53 * po/sv.po: Updated Swedish translation. 54 * po/es.po: Updated Spanish translation. 55 * po/pr_BR.po: Updated Brazilian Portuguese translation. 56 * po/tr.po: Updated Turkish translation. 57 * po/fr.po: Updated French translation. 58 592002-07-24 Nick Clifton <nickc@redhat.com> 60 61 * po/sv.po: Updated Swedish translation. 62 * po/es.po: Updated Spanish translation. 63 * po/pr_BR.po: Updated Brazilian Portuguese translation. 64 652002-07-23 Daniel Jacobowitz <drow@mvista.com> 66 67 * po/opcodes.pot: Regenerated. 68 692002-07-23 Nick Clifton <nickc@redhat.com> 70 71 * po/fr.po: Updated French translation. 72 * po/pr_BR.po: New Brazilian Portuguese translation. 73 * po/id.po: Updated Indonesian translation. 74 * configure.in (LINGUAS): Add pr_BR. 75 * configure: Regenerate. 76 772002-07-17 David Mosberger <davidm@hpl.hp.com> 78 79 * ia64-opc-b.c (bWhc): New macro. 80 (mWhc): Ditto. 81 (OpPaWhcD): Ditto. 82 (ia64_opcodes_b): Correct patterns for indirect call 83 instructions to use 3-bit "wh" field. 84 * ia64-asmtab.c: Regnerate. 85 862002-07-09 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> 87 88 * mips-dis.c (mips_isa_type): Add MIPS16 insn handling. 89 * mips-opc.c (I16): New define. 90 (mips_builtin_opcodes): Make jalx an I16 insn. 91 922002-06-18 Dave Brolley <brolley@redhat.com> 93 94 * po/POTFILES.in: Add frv-*.[ch]. 95 * disassemble.c (ARCH_frv): New macro. 96 (disassembler): Handle bfd_arch_frv. 97 * configure.in: Support frv_bfd_arch. 98 * Makefile.am (HFILES): Add frv-*.h. 99 (CFILES): Add frv-*.c 100 (ALL_MACHINES): Add frv-*.lo. 101 (CLEANFILES): Add stamp-frv. 102 (FRV_DEPS): New variable. 103 (stamp-frv): New target. 104 (frv-asm.lo): New target. 105 (frv-desc.lo): New target. 106 (frv-dis.lo): New target. 107 (frv-ibld.lo): New target. 108 (frv-opc.lo): New target. 109 (frv-*.[ch]): New files. 110 1112002-06-18 Ben Elliston <bje@redhat.com> 112 113 * Makefile.am (CGENDEPS): Remove unnecessary stamp-cgen. 114 * Makefile.in: Regenerate. 115 1162002-06-08 Alan Modra <amodra@bigpond.net.au> 117 118 * a29k-dis.c: Replace CONST with const. 119 * h8300-dis.c: Likewise. 120 * m68k-dis.c: Likewise. 121 * or32-dis.c: Likewise. 122 * sparc-dis.c: Likewise. 123 1242002-06-04 Jason Thorpe <thorpej@wasabisystems.com> 125 126 * configure.in: Add "sh5*-*" to list of targets which include 127 sh64 support. 128 * configure: Regenerate. 129 1302002-05-31 Chris G. Demetriou <cgd@broadcom.com> 131 132 * mips-opc.c: Clean up a few whitespace issues, and sort a 133 few entries understanding that 'x' follows 'w' in the alphabet. 134 1352002-05-31 Chris G. Demetriou <cgd@broadcom.com> 136 Ed Satterthwaite <ehs@broadcom.com> 137 138 * mips-opc.c: Add support for SB-1 MDMX subset and extensions. 139 1402002-05-31 Alan Modra <amodra@bigpond.net.au> 141 142 * Makefile.am: Run "make dep-am". 143 * Makefile.in: Regenerate. 144 * po/POTFILES.in: Regenerate. 145 1462002-05-30 Chris G. Demetriou <cgd@broadcom.com> 147 Ed Satterthwaite <ehs@broadcom.com> 148 149 * mips-dis.c (print_insn_arg): Add support for 'O', 'Q', 'X', 'Y', 150 and 'Z' formats, for MDMX. 151 (mips_isa_type): Add MDMX instructions to the ISA 152 bit mask for bfd_mach_mipsisa64. 153 * mips-opc.c: Add support for MDMX instructions. 154 (MX): New definition. 155 156 * mips-dis.c: Update copyright years to include 2002. 157 1582002-05-30 Diego Novillo <dnovillo@redhat.com> 159 160 * d10v-opc.c (d10v_opcodes): `btsti' does not modify its 161 arguments. 162 1632002-05-28 Kuang Hwa Lin <kuang@sbcglobal.net> 164 165 * configure.in: Add DLX configuraton support. 166 * configure: Regenerate. 167 * Makefile.am: Add DLX configuraton support. 168 * Makefile.in: Regenerate. 169 * disassemble.c: Add DLX support. 170 * dlx-dis.c: New file. 171 1722002-05-25 Alan Modra <amodra@bigpond.net.au> 173 174 * Makefile.am (sh-dis.lo): Don't put make commands in deps. 175 * Makefile.in: Regenerate. 176 * arc-dis.c: Use #include "" instead of <> for local header files. 177 * m68k-dis.c: Likewise. 178 179Wed May 22 20:11:51 2002 J"orn Rennecke <joern.rennecke@superh.com> 180 181 * Makefile.am (sh-dis.lo): Compile with @archdefs@. 182 * Makefile.in: regenerate. 183 184 * sh-dis.c (print_insn_sh): If coff and bfd_mach_sh, use arch_sh4 185 for disassembly. 186 1872002-05-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> 188 189 * mips-opc.c (mips_builtin_opcodes): Add drol, dror macros. 190 191Fri May 17 14:26:44 2002 J"orn Rennecke <joern.rennecke@superh.com> 192 193 * disassemble.c (disassembler): Just use print_insn_sh for bfd_arch_sh. 194 * sh-dis.c (LITTLE_BIT): Delete. 195 (print_insn_sh, print_insn_shl): Deleted. 196 (print_insn_shx): Renamed to 197 (print_insn_sh). No longer static. Handle SHmedia instructions. 198 Use info->endian to determine endianness. 199 * sh64-dis.c (print_insn_sh64, print_insn_sh64l): Delete. 200 (print_insn_sh64x): No longer static. Renamed to 201 (print_insn_sh64). Removed pfun_compact and endian arguments. 202 If we got an uneven address to indicate SHmedia, adjust it. 203 Return -2 for SHcompact instructions. 204 2052002-05-17 Alan Modra <amodra@bigpond.net.au> 206 207 * acinclude.m4 (AM_INSTALL_LIBBFD): Fake to fool autotools. 208 * configure.in: Invoke AM_INSTALL_LIBBFD. 209 * Makefile.am (install-data-local): Move to.. 210 (install_libopcodes): .. New target. 211 (uninstall_libopcodes): Likewise. 212 (install-bfdlibLTLIBRARIES): Likewise. 213 (uninstall-bfdlibLTLIBRARIES): Likewise. 214 (bfdlibdir): New. 215 (bfdincludedir): New. 216 (lib_LTLIBRARIES): Rename to bfdlib_LTLIBRARIES. 217 * aclocal.m4: Regenerate. 218 * configure: Regenerate. 219 * Makefile.in: Regenerate. 220 2212002-05-15 Nick Clifton <nickc@cambridge.redhat.com> 222 223 * fr30-asm.c: Regenerate. 224 * fr30-desc.c: Regenerate. 225 * fr30-dis.c: Regenerate. 226 * m32r-asm.c: Regenerate. 227 * m32r-desc.c: Regenerate. 228 * m32r-dis.c: Regenerate. 229 * openrisc-asm.c: Regenerate. 230 * openrisc-desc.c: Regenerate. 231 * openrisc-dis.c: Regenerate. 232 * xstormy16-asm.c: Regenerate. 233 * xstormy16-desc.c: Regenerate. 234 * xstormy16-dis.c: Regenerate. 235 2362002-05-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> 237 238 * mips-dis.c (is_newabi): EABI is not a NewABI. 239 2402002-05-13 Jason Thorpe <thorpej@wasabisystems.com> 241 242 * configure.in (shle-*-*elf*): Include sh64 support. 243 * configure: Regenerate. 244 2452002-04-28 Jason Thorpe <thorpej@wasabisystems.com> 246 247 * vax-dis.c (print_insn_arg): Pass the insn info to print_insn_mode. 248 (print_insn_mode): Print some basic info about floating point values. 249 2502002-05-09 Anton Blanchard <anton@samba.org> 251 252 * ppc-opc.c: Add "tlbiel" for POWER4. 253 2542002-05-07 Graydon Hoare <graydon@redhat.com> 255 256 * cgen-dis.in: (print_insn_@arch@): Cache list of opened CPUs rather 257 than just most-recently-opened. 258 2592002-05-01 Alan Modra <amodra@bigpond.net.au> 260 261 * ppc-opc.c: Add "tlbsx." and "tlbsxe." for booke. 262 2632002-04-24 Christian Groessler <chris@groessler.org> 264 265 * z8k-dis.c (print_insn_z8k): Set disassemble_info to 2 266 bytes_per_chunk, 6 bytes_per_line for nicer display of the hex 267 codes. 268 (z8k_lookup_instr): CLASS_IGNORE case added. 269 (output_instr): Don't print hex codes, they are already 270 printed. 271 (unpack_instr): ARG_NIM4 case added. ARG_NIM8 case 272 fixed. Support CLASS_BIT_1OR2 and CLASS_IGNORE cases. 273 (unparse_instr): Fix base and indexed addressing disassembly: 274 The index is inside the brackets. 275 * z8kgen.c (gas): Add ARG_NIM4 and CLASS_IGNORE defines. 276 (opt): Fix shift left/right arithmetic/logical byte defines: 277 The high byte of the immediate word is ignored by the 278 processor. 279 Fix n parameter of ldm opcodes: The opcode contains (n-1). 280 (args): Fix "n" entry. 281 (toks): Add "nim4" and "iiii" entries. 282 * z8k-opc.h: Regenerated with new z8kgen.c. 283 2842002-04-24 Nick Clifton <nickc@cambridge.redhat.com> 285 286 * po/id.po: New Indonesian translation. 287 * configure.in (ALL_LIGUAS): Add id.po 288 * configure: Regenerate. 289 2902002-04-17 matthew green <mrg@redhat.com> 291 292 * ppc-opc.c (powerpc_opcode): Fix dssall operand list. 293 2942002-04-04 Alan Modra <amodra@bigpond.net.au> 295 296 * dep-in.sed: Cope with absolute paths. 297 * Makefile.am (dep.sed): Subst TOPDIR. 298 Run "make dep-am". 299 * Makefile.in: Regenerate. 300 * ppc-opc.c: Whitespace. 301 * s390-dis.c: Fix copyright date. 302 3032002-03-23 matthew green <mrg@redhat.com> 304 305 * ppc-opc.c (vmaddfp): Fix operand order. 306 3072002-03-21 Alan Modra <amodra@bigpond.net.au> 308 309 * Makefile.am: Run "make dep-am". 310 * Makefile.in: Regenerate. 311 3122002-03-21 Anton Blanchard <anton@samba.org> 313 314 * ppc-opc.c: Add optional field to mtmsrd. 315 (MTMSRD_L, XRLARB_MASK): Define. 316 317Mon Mar 18 21:10:43 CET 2002 Jan Hubicka <jh@suse.cz> 318 319 * i386-dis.c (prefix_name): Fix handling of 32bit address prefix 320 in 64bit mode. 321 (print_insn) Likewise. 322 (putop): Fix handling of 'E' 323 (OP_E, OP_OFF): handle 32bit addressing mode in 64bit. 324 (ptr_reg): Likewise. 325 3262002-03-18 Nick Clifton <nickc@cambridge.redhat.com> 327 328 * po/fr.po: Updated version. 329 3302002-03-16 Chris Demetriou <cgd@broadcom.com> 331 332 * mips-opc.c (M3D): Tweak comment. 333 (mips_builtin_op): Add comment indicating that opcodes of the 334 same name must be placed together in the table, and sort 335 the "recip.fmt", "recip1.fmt", "recip2.fmt", "rsqrt.fmt", 336 "rsqrt1.fmt", and "rsqrt2.fmt" opcodes by name. 337 3382002-03-16 Nick Clifton <nickc@cambridge.redhat.com> 339 340 * Makefile.am: Tidy up sh64 rules. 341 * Makefile.in: Regenerate. 342 3432002-03-15 Chris G. Demetriou <cgd@broadcom.com> 344 345 * mips-dis.c: Update copyright years. 346 3472002-03-15 Chris G. Demetriou <cgd@broadcom.com> 348 349 * mips-dis.c (mips_isa_type): Add MIPS3D instructions to the ISA 350 bit masks for bfd_mach_mips_sb1 and bfd_mach_mipsisa64. Add 351 comments for bfd_mach_mipsisa32 and bfd_mach_mipsisa64 that 352 indicate that they should dissassemble all applicable 353 MIPS-specified ASEs. 354 * mips-opc.c: Add support for MIPS-3D instructions. 355 (M3D): New definition. 356 357 * mips-opc.c: Update copyright years. 358 3592002-03-15 Chris G. Demetriou <cgd@broadcom.com> 360 361 * mips-opc.c (mips_builtin_opcodes): Sort bc<N> opcodes by name. 362 3632002-03-15 Chris Demetriou <cgd@broadcom.com> 364 365 * mips-dis.c (is_newabi): Fix ABI decoding. 366 3672002-03-14 Chris G. Demetriou <cgd@broadcom.com> 368 369 * mips-dis.c (mips_isa_type): Fix formatting of bfd_mach_mipsisa32 370 and bfd_mach_mipsisa64 cases to match the rest. 371 3722002-03-13 Nick Clifton <nickc@cambridge.redhat.com> 373 374 * po/fr.po: Updated version. 375 3762002-03-13 Alan Modra <amodra@bigpond.net.au> 377 378 * ppc-opc.c: Add optional `L' field to tlbie. 379 (XRTLRA_MASK): Define. 380 3812002-03-06 Chris Demetriou <cgd@broadcom.com> 382 383 * mips-opc.c (mips_builtin_opcodes): Mark "pref" as being 384 present on I4. 385 386 * mips-opc.c (mips_builtin_opcodes): Add "movn.ps" and "movz.ps". 387 3882002-03-05 Paul Koning <pkoning@equallogic.com> 389 390 * pdp11-opc.c: Fix "mark" operand type. Fix operand types 391 for float opcodes that take float operands. Add alternate 392 names (xxxD vs. xxxF) for float opcodes. 393 * pdp11-dis.c (print_operand): Clean up formatting for mode 67. 394 (print_foperand): New function to handle float opcode operands. 395 (print_insn_pdp11): Use print_foperand to disassemble float ops. 396 3972002-02-27 Nick Clifton <nickc@cambridge.redhat.com> 398 399 * po/de.po: Updated. 400 4012002-02-26 Brian Gaeke <brg@dgate.org> 402 403 * Makefile.am (install-data-local): Install dis-asm.h. 404 4052002-02-26 Nick Clifton <nickc@cambridge.redhat.com> 406 407 * configure.in (LINGUAS): Add de.po. 408 * configure: Regenerate. 409 * po/de.po: New file. 410 4112002-02-25 Alan Modra <amodra@bigpond.net.au> 412 413 * ppc-dis.c (powerpc_dialect): Handle power4 option. 414 * ppc-opc.c (insert_bdm): Correct description of "at" branch 415 hints. Test PPC_OPCODE_POWER4 to determine branch hint flavour. 416 (extract_bdm, insert_bdp, extract_bdp, valid_bo): Likewise. 417 (BOFM64, BOFP64, BOTM64, BOFP64): Rename to BOFM4, BOFP4 etc. 418 (BODNZM64, BODNZP64, BODZM64, BODZP64): Likewise. 419 (PPCCOM32, PPCCOM64): Delete. 420 (NOPOWER4, POWER4): Define. 421 (powerpc_opcodes): Replace occurences of PPCCOM32 with NOPOWER4, 422 and PPCCOM4 with POWER4 so that "at" style branch hint opcodes 423 are enabled for power4 rather than ppc64. 424 4252002-02-20 Tom Rix <trix@redhat.com> 426 427 * ppc-opc.c (powerpc_operands): Add WS field. Use for tlbre, tlbwe. 428 4292002-02-19 Martin Schwidefsky <schwidefsky@de.ibm.com> 430 431 * s390-dis.c (init_disasm): Use renamed architecture defines. 432 4332002-02-19 matthew green <mrg@redhat.com> 434 435 * ppc-opc.c (powerpc_dialect): Fix comment; BookE is not Motorola 436 specific. 437 4382002-02-18 Nick Clifton <nickc@cambridge.redhat.com> 439 440 * po/tr.po: Updated translation. 441 4422002-02-15 Richard Henderson <rth@redhat.com> 443 444 * alpha-opc.c (alpha_opcodes): Fix thinko in ret pseudo 445 disassembly mask. 446 4472002-02-15 Richard Henderson <rth@redhat.com> 448 449 * alpha-opc.c (alpha_opcodes): Add simple pseudos for 450 lda, ldah, jmp, ret. 451 4522002-02-14 Nick Clifton <nickc@cambridge.redhat.com> 453 454 * po/da.po: Updated translation. 455 4562002-02-12 Graydon Hoare <graydon@redhat.com> 457 458 * cgen-asm.in (parse_insn_normal): Change call from 459 @arch@_cgen_parse_operand to cd->parse_operand, to 460 facilitate CGEN_ASM_INIT_HOOK doing useful work. 461 4622002-02-11 Alexandre Oliva <aoliva@redhat.com> 463 464 * sparc-dis.c (print_insn_sparc): Make sure 0xFFFFFFFF is not 465 sign-extended. 466 4672002-02-11 Alan Modra <amodra@bigpond.net.au> 468 469 * Makefile.am: "make dep-am". 470 * Makefile.in: Regenerate. 471 * aclocal.m4: Regenerate. 472 * config.in: Regenerate. 473 * configure: Regenerate. 474 4752002-02-10 Hans-Peter Nilsson <hp@bitrange.com> 476 477 * configure.in <bfd_sh_arc>: For sh-* and shl-*, enable sh64 478 support only for sh-*-*elf*, shl-*-*elf*, sh-*-linux* and 479 shl-*-linux*. 480 * configure: Regenerate. 481 4822002-02-10 Daniel Jacobowitz <drow@mvista.com> 483 484 * cgen-dis.c: Add prototypes for count_decodable_bits 485 and add_insn_to_hash_chain. 486 4872002-02-08 Alexandre Oliva <aoliva@redhat.com> 488 489 * configure.in <bfd_sh_arc>: Enable sh64 support on sh-*. 490 * configure: Rebuilt. 491 4922002-02-08 Ivan Guzvinec <ivang@opencores.org> 493 494 * or32-opc.c: Fix compile time warning messages. 495 * or32-dis.c: Fix compile time warning messages. 496 4972002-02-08 Alexandre Oliva <aoliva@redhat.com> 498 499 Contribute sh64-elf. 500 2001-10-08 Nick Clifton <nickc@cambridge.redhat.com> 501 * sh64-opc.c: Regenerate. 502 2001-03-13 DJ Delorie <dj@redhat.com> 503 * sh64-opc.h: Rename A_RESV_Fx to A_REUSE_PREV so that its 504 purpose is more obvious. 505 * sh64-opc.c (shmedia_table): Ditto. 506 * sh64-dis.c (initialize_shmedia_opcode_mask_table): Ditto. 507 (print_insn_shmedia): Ditto. 508 2001-03-12 DJ Delorie <dj@redhat.com> 509 * sh64-opc.c: Adjust comments to reflect reality: replace bits 510 3:0 with zeros (not "reserved"), replace "rrrrrr" with 511 "gggggg" for two-operand floating point opcodes. Remove 512 "fsina". 513 2001-01-08 Hans-Peter Nilsson <hpn@cygnus.com> 514 * sh64-dis.c (print_insn_shmedia) <failing read_memory_func>: 515 Correct printing of .byte:s. Return number of printed bytes or 516 -1; never 0. 517 (print_insn_sh64x) <not CRT_SH5_ISA16>: Ditto. Print as .byte:s 518 to next four-byte-alignment if insn or data is not aligned. 519 2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com> 520 * sh64-dis.c: Update comments and fix comment formatting. 521 (initialize_shmedia_opcode_mask_table) <case A_IMMM>: 522 Abort instead of setting length to 0. 523 (crange_qsort_cmpb, crange_qsort_cmpl, crange_bsearch_cmpb, 524 crange_bsearch_cmpl, sh64_get_contents_type, 525 sh64_address_in_cranges): Move to bfd/elf32-sh64.c. 526 2001-01-05 Hans-Peter Nilsson <hpn@cygnus.com> 527 * sh64-opc.c: Remove #if 0:d entries for instructions not found in 528 SH-5/ST50-023-04: fcosa.s, fsrra.s and prefo. 529 2000-12-30 Hans-Peter Nilsson <hpn@cygnus.com> 530 * sh64-dis.c (print_insn_shmedia): Display MOVI/SHORI-formed 531 address with same prefix as SHcompact. 532 In the disassembler, use a .cranges section for linked executables. 533 * sh64-dis.c (SAVED_MOVI_R, SAVED_MOVI_IMM): Move to head of file 534 and update for using structure in info->private_data. 535 (struct sh64_disassemble_info): New. 536 (is_shmedia_p): Delete. 537 (crange_qsort_cmpb): New function. 538 (crange_qsort_cmpl, crange_bsearch_cmpb): New functions. 539 (crange_bsearch_cmpl, sh64_address_in_cranges): New functions. 540 (init_sh64_disasm_info, sh64_get_contents_type_disasm): New functions. 541 (sh64_get_contents_type, sh64_address_is_shmedia): New functions. 542 (print_insn_shmedia): Correct displaying of address after MOVI/SHORI 543 pair. Display addresses for linked executables only. 544 (print_insn_sh64x_media): Initialize info->private_data by calling 545 init_sh64_disasm_info. 546 (print_insn_sh64x): Ditto. Find out type of contents by calling 547 sh64_contents_type_disasm. Display data regions using ".long" and 548 ".byte" similar to unrecognized opcodes. 549 2000-12-19 Hans-Peter Nilsson <hpn@cygnus.com> 550 * sh64-dis.c (is_shmedia_p): Check info->section and look for ISA 551 information in section flags before considering symbols. Don't 552 assume an info->mach setting of bfd_mach_sh5 means SHmedia code. 553 * configure.in (bfd_sh_arch): Check presence of sh64 insns by 554 matching $target $canon_targets instead of looking at the 555 now-removed -DINCLUDE_SHMEDIA in $targ_cflags. 556 * configure: Regenerate. 557 2000-11-25 Hans-Peter Nilsson <hpn@cygnus.com> 558 * sh64-opc.c (shmedia_creg_table): New. 559 * sh64-opc.h (shmedia_creg_info): New type. 560 (shmedia_creg_table): Declare. 561 * sh64-dis.c (creg_name): New function. 562 (print_insn_shmedia): Use it. 563 * disassemble.c (disassembler) [ARCH_sh, INCLUDE_SHMEDIA]: Map 564 bfd_mach_sh5 to print_insn_sh64 if big-endian and to 565 print_insn_sh64l if little-endian. 566 * sh64-dis.c (print_insn_shmedia): Make r unsigned. 567 (print_insn_sh64l): New. 568 (print_insn_sh64x): New. 569 (print_insn_sh64x_media): New. 570 (print_insn_sh64): Break out code to print_insn_sh64x and 571 print_insn_sh64x_media. 572 2000-11-24 Hans-Peter Nilsson <hpn@cygnus.com> 573 * sh64-opc.h: New file 574 * sh64-opc.c: New file 575 * sh64-dis.c: New file 576 * Makefile.am: Add sh64 targets. 577 (HFILES): Add sh64-opc.h. 578 (CFILES): Add sh64-opc.c and sh64-dis.c. 579 (ALL_MACHINES): Add sh64 files. 580 * Makefile.in: Regenerate. 581 * configure.in: Add support for sh64 to bfd_sh_arch. 582 * configure: Regenerate. 583 * disassemble.c [ARCH_all] (INCLUDE_SHMEDIA): Define. 584 (disassembler) [ARCH_sh, INCLUDE_SHMEDIA]: Map bfd_mach_sh5 to 585 print_insn_sh64. 586 * sh-dis.c (print_insn_shx): Handle bfd_mach_sh5 as arch_sh4. 587 * po/POTFILES.in: Regenerate. 588 * po/opcodes.pot: Regenerate. 589 5902002-02-04 Frank Ch. Eigler <fche@redhat.com> 591 592 * cgen-dis.in (print_insn_@arch@): Support disassemble_info.insn_sets. 593 5942002-02-04 Alexandre Oliva <aoliva@redhat.com> 595 596 * sh-opc.h (sh_arg_type): Added A_DISP_PC_ABS. 597 5982002-02-01 Alan Modra <amodra@bigpond.net.au> 599 600 * Makefile.am: Run "make dep-am" 601 * Makefile.in: Regenerate. 602 6032002-01-31 Ivan Guzvinec <ivang@opencores.org> 604 605 * or32-dis.c: New file. 606 * or32-opc.c: New file. 607 * configure.in: Add support for or32. 608 * configure: Regenerate. 609 * Makefile.am: Add support for or32. 610 * Makefile.in: Regenerate. 611 * disassemble.c: Add support for or32. 612 * po/POTFILES.in: Regenerate. 613 * po/opcodes.pot: Regenerate. 614 6152002-01-27 Daniel Jacobowitz <drow@mvista.com> 616 617 * configure: Regenerated. 618 6192002-01-26 Nick Clifton <nickc@cambridge.redhat.com> 620 621 * po/fr.po: Updated version. 622 6232002-01-25 Nick Clifton <nickc@cambridge.redhat.com> 624 625 * po/es.po: Updated version. 626 6272002-01-24 Nick Clifton <nickc@cambridge.redhat.com> 628 629 * po/da.po: New version. 630 6312002-01-23 Nick Clifton <nickc@cambridge.redhat.com> 632 633 * po/da.po: New file: Spanish translation. 634 * configure.in (ALL_LINGUAS): Add da. 635 * configure: Regenerate. 636 6372002-01-22 Graydon Hoare <graydon@redhat.com> 638 639 * fr30-asm.c: Regenerate. 640 * fr30-desc.c: Likewise. 641 * fr30-desc.h: Likewise. 642 * fr30-dis.c: Likewise. 643 * fr30-ibld.c: Likewise. 644 * fr30-opc.c: Likewise. 645 * fr30-opc.h: Likewise. 646 * m32r-asm.c: Likewise. 647 * m32r-desc.c: Likewise. 648 * m32r-desc.h: Likewise. 649 * m32r-dis.c: Likewise. 650 * m32r-ibld.c: Likewise. 651 * m32r-opc.c: Likewise. 652 * m32r-opc.h: Likewise. 653 * m32r-opinst.c: Likewise. 654 * openrisc-asm.c: Likewise. 655 * openrisc-desc.c: Likewise. 656 * openrisc-desc.h: Likewise. 657 * openrisc-dis.c: Likewise. 658 * openrisc-ibld.c: Likewise. 659 * openrisc-opc.c: Likewise. 660 * openrisc-opc.h: Likewise. 661 * xstormy16-desc.c: Likewise. 662 6632002-01-22 Richard Henderson <rth@redhat.com> 664 665 * alpha-dis.c (print_insn_alpha): Also mask the base opcode for 666 comparison. 667 6682002-01-22 Alan Modra <amodra@bigpond.net.au> 669 670 * Makefile.am: Run "make dep-am". 671 * Makefile.in: Regenerate. 672 * opcodes/po/POTFILES.in: Regenerate. 673 6742002-01-19 Richard Earnshaw <rearnsha@arm.com> 675 676 * arm-opc.h (arm_opcodes): Use generic rule %5?hb instead of %h. 677 * arm-dis.c (print_insn_arm): Don't handle 'h' case. 678 6792002-01-18 Keith Walker <keith.walker@arm.com> 680 681 * arm-opc.h (arm_opcodes): Add bxj instruction. 682 6832002-01-17 Nick Clifton <nickc@cambridge.redhat.com> 684 685 * po/opcodes.pot: Regenerate. 686 * po/fr.po: Regenerate. 687 * po/sv.po: Regenerate. 688 * po/tr.po: Regenerate. 689 6902002-01-16 Nick Clifton <nickc@cambridge.redhat.com> 691 692 * po/tr.po: Import new version. 693 6942002-01-15 Richard Earnshaw <rearnsha@arm.com> 695 696 * arm-opc.h (arm_opcodes): Add patterns for VFP instructions. 697 * arm-dis.c (print_insn_arm): Support new disassembly qualifiers for 698 VFP bitfields. 699 7002002-01-10 matthew green <mrg@redhat.com> 701 702 * xstormy16-asm.c: Regenerate. 703 * xstormy16-desc.c: Likewise. 704 * xstormy16-desc.h: Likewise. 705 * xstormy16-dis.c: Likewise. 706 * xstormy16-opc.c: Likewise. 707 * xstormy16-opc.h: Likewise. 708 7092002-01-07 Nick Clifton <nickc@cambridge.redhat.com> 710 711 * po/es.po: New file: Spanish translation. 712 * configure.in (ALL_LINGUAS): Add es. 713 * configure: Regenerate. 714 7152001-12-31 Jeffrey A Law (law@redhat.com) 716 717 * hppa-dis.c (print_insn_hppa): Handle new 'c' mode completers, 718 'X', 'M', and 'A'. No longer emit a space after 'x' or 's'. 719 Always emit a space after 'H'. 720 7212001-12-18 matthew green <mrg@redhat.com> 722 723 * ppc-opc.c (PPCVEC): Include PPC_OPCODE_ANY. 724 7252001-12-17 Richard Henderson <rth@redhat.com> 726 727 * alpha-opc.c (unop): Encode with RB as $sp. 728 7292001-12-07 Geoffrey Keating <geoffk@redhat.com> 730 731 * Makefile.am: Add support for xstormy16. 732 * Makefile.in: Regenerate. 733 * configure.in: Add support for xstormy16. 734 * configure: Regenerate. 735 * disassemble.c: Add support for xstormy16. 736 * xstormy16-asm.c: New generated file. 737 * xstormy16-desc.c: New generated file. 738 * xstormy16-desc.h: New generated file. 739 * xstormy16-dis.c: New generated file. 740 * xstormy16-ibld.c: New generated file. 741 * xstormy16-opc.c: New generated file. 742 * xstormy16-opc.h: New generated file. 743 7442001-12-06 Richard Henderson <rth@redhat.com> 745 746 * alpha-opc.c (alpha_opcodes): Add wh64en. 747 7482001-12-04 Alexandre Oliva <aoliva@redhat.com> 749 750 * d10v-opc.c (d10v_predefined_registers): Remove warnings 751 introduced in Nov 29's patch. 752 753 * d10v-dis.c (print_operand): Apply REGISTER_MASK to `num' of 754 unmatched register. 755 756 * d10v-dis.c (print_operand): Disregard OPERAND_SP in register 757 predefined value. 758 759 * d10v-opc.c (RSRC_NOSP): New macro. 760 (d10v_operands): Add it. 761 (d10v_opcodes): Use RSRC_NOSP in post-decrement "st" and "st2w". 762 7632001-11-29 Alexandre Oliva <aoliva@redhat.com> 764 765 * d10v-opc.c (d10v_predefined_registers): Mark `sp' as OPERAND_SP. 766 (RSRC_SP): New macro. 767 (d10v_operands): Add it. 768 (d10v_opcodes): Adjust "st" and "st2w" to use RSRC_SP. 769 7702001-11-23 Lars Brinkhoff <lars@nocrew.org> 771 772 * pdp11-dis.c (print_insn_pdp11): Handle illegal instructions. 773 Also, break out of the loop as soon as an instruction has been 774 printed. 775 7762001-11-17 matthew green <mrg@redhat.com> 777 778 * ppc-opc.c (mfvrsave, mtvrsave): New instructions. 779 7802001-11-15 Alan Modra <amodra@bigpond.net.au> 781 782 * po/POTFILES.in: Regenerate. 783 784 * ppc-opc.c (PPC64): Revert 2001-10-12. Do include PPC_OPCODE_PPC. 785 (insert_bat, extract_bat, insert_bba, extract_bba, 786 insert_bd, extract_bd, insert_bdm, extract_bdm, 787 insert_bdp, extract_bdp, valid_bo, 788 insert_bo, extract_bo, insert_boe, extract_boe, 789 insert_ds, extract_ds, insert_de, extract_de, 790 insert_des, extract_des, insert_li, extract_li, 791 insert_mbe, extract_mbe, insert_mb6, extract_mb6, 792 insert_nb, extract_nb, insert_nsi, extract_nsi, 793 insert_ral, insert_ram, insert_ras, 794 insert_rbs, extract_rbs, insert_sh6, extract_sh6, 795 insert_spr, extract_spr, insert_tbr, extract_tbr): Add dialect param. 796 (extract_bd, extract_bdm, extract_bdp, 797 extract_ds, extract_des, 798 extract_li, extract_nsi): Implement sign extension without conditional. 799 (insert_bdm, extract_bdm, 800 insert_bdp, extract_bdp, valid_bo): Handle 64 bit branch hints. 801 (extract_bdm, extract_bdp): Correct 32 bit validation. 802 (AT1_MASK, AT2_MASK): Define. 803 (BBOAT_MASK): Define. 804 (BBOATCB_MASK, BBOAT2CB_MASK, BBOATBI_MASK): Define. 805 (BOFM64, BOFP64, BOTM64, BOTP64): Define. 806 (BODNZM64, BODNZP64, BODZM64, BODZP64): Define. 807 (PPCCOM32, PPCCOM64): Define. 808 (powerpc_opcodes): Modify existing 32 bit insns with branch hints 809 and add new patterns to implement 64 bit branches with hints. Move 810 booke instructions so they match before ppc64. 811 812 * ppc-dis.c (powerpc_dialect): Set PPC_OPCODE_64 in dialect for 813 64 bit default targets, and parse "32" and "64" in options. 814 Formatting fixes. 815 (print_insn_powerpc): Pass dialect to operand->extract. 816 8172001-11-14 Dave Brolley <brolley@redhat.com> 818 819 * cgen-dis.c (count_decodable_bits): New function. 820 (add_insn_to_hash_chain): New function. 821 (hash_insn_array): Call add_insn_to_hash_chain. 822 (hash_insn_list): Call add_insn_to_hash_chain. 823 * m32r-dis.c: Regenerated. 824 * fr30-dis.c: Regenerated. 825 8262001-11-14 Andreas Jaeger <aj@suse.de> 827 828 * i386-dis.c (print_insn): Use x86-64 as option. 829 8302001-11-14 Alan Modra <amodra@bigpond.net.au> 831 832 * disassemble.c (disassembler): Call print_insn_i386. 833 * i386-dis.c (SUFFIX_ALWAYS): Define. 834 (struct dis_private): Add orig_sizeflag. 835 (print_insn_i386): Make it a wrapper, calling.. 836 (print_insn): ..The old body of print_insn_i386. Avoid longjmp 837 warning without using volatile by moving orig_sizeflag to priv, 838 and removing inbuf. Parse disassembler_options. 839 (print_insn_i386_att, print_insn_i386_intel): Move initialisation 840 code to print_insn. 841 (putop): Remove #ifdef SUFFIX_ALWAYS. 842 8432001-11-11 Timothy Wall <twall@alum.mit.edu> 844 845 * tic54x-dis.c: Use revised opcode structure. Export opcode 846 template lookup. 847 (has_lkaddr): Don't forget about Lmem insns. 848 * tic54x-opc.c: Add emulation trap. Parallel table now uses 849 standard opcode templates. 850 8512001-11-13 Zack Weinberg <zack@codesourcery.com> 852 853 * i386-dis.c (grps): Change "sldt", "str", and "smsw" entries 854 to "sldtQ", "strQ", "smswQ" respectively; all with Ev operand 855 category instead of Ew. 856 8572001-11-12 Niraj Gupta <ngupta@zumanetworks.com> 858 859 * m68k-opc.c: Fix definitions of wddata[bwl]. 860 8612001-11-09 Richard Sandiford <rsandifo@redhat.com> 862 863 * cgen-asm.c (cgen_parse_keyword): If the keyword is too big to 864 fit in the buffer, try to match the empty keyword. 865 8662001-11-09 Nick Clifton <nickc@cambridge.redhat.com> 867 868 * cgen-ibld.in (extract_1): Fix badly placed #if 0. 869 * fr30-ibld.c: Regenerate. 870 * m32r-ibld.c: Regenerate. 871 * openrisc-ibld.c: Regenerate. 872 8732001-11-04 Chris Demetriou <cgd@broadcom.com> 874 875 * mips-dis.c (print_insn_mips): Remove spaces at end of line. 876 8772001-11-02 Nick Clifton <nickc@cambridge.redhat.com> 878 879 * configure.in (ALL_LINGUAS): Add "fr", "sv" and "tr". 880 * configure: Regernate. 881 * po/fr.po: New file. 882 * po/sv.po: New file. 883 * po/tr.po: New file. 884 8852001-11-01 Stephane Carrez <Stephane.Carrez@worldnet.fr> 886 887 * m68hc11-dis.c (print_insn): Fix disassembly of movb with a 888 constant as source. 889 8902001-10-30 Hans-Peter Nilsson <hp@bitrange.com> 891 892 * Makefile.am (CFILES): Add mmix-dis.c and mmix-opc.c. Regenerate 893 dependencies. 894 * Makefile.in: Regenerate. 895 * mmix-dis.c, mmix-opc.c: New files. 896 8972001-10-29 Kazu Hirata <kazu@hxi.com> 898 899 * d30v-dis.c: Fix a comment typo. 900 9012001-10-23 Chris Demetriou <cgd@broadcom.com> 902 903 * mips-opc.c (mips_builtin_opcodes): Mark "bgezall" and 904 "bltzall" as writing GPR 31 (since they do). 905 906 * mips-dis.c (print_insn_arg): Calculate info->target 907 where appropriate. 908 (print_insn_mips): Fill in instruction info. 909 (print_mips16_insn_arg): Remove unneded variable 'val'. 910 Removed duplicated instruction target calculations, 911 calculate once and print that result. Use same idiom for 912 masking the jump segment bits as is used in print_insn_arg. 913 9142001-10-20 Alan Modra <amodra@bigpond.net.au> 915 916 * ppc-opc.c (CT): Make it an optional operand. 917 9182001-10-17 Chris Demetriou <cgd@broadcom.com> 919 920 * mips-dis.c (mips_isa_type): Make the ISA used to disassemble 921 SB-1 binaries include instructions specific to the SB-1. 922 * mips-opc.c (SB1): New definition. 923 (mips_builtin_opcodes): Add SB-1 extension opcodes "div.ps", 924 "recip.ps", "rsqrt.ps", and "sqrt.ps". 925 9262001-10-17 matthew green <mrg@redhat.com> 927 928 * ppc-opc.c (STRM): New AltiVec operand. 929 (XDSS): New AltiVec instruction form. 930 (mtvscr): Correct operand list. 931 (dst, dstt, dstst, dststt, dss, dssall): AltiVec instructions. 932 9332001-10-17 Alan Modra <amodra@bigpond.net.au> 934 935 * po/POTFILES.in: Regenerate. 936 9372001-10-13 matthew green <mrg@redhat.com> 938 939 * ppc-opc.c (MO): New macro for MO field of mbar instruction. 940 (powerpc_opcodes): Add rfci, wrtee, wrteei, mfdcrx, mfdcr, 941 mtdcrx, mtdcr, msync, dcba and mbar as BookE instructions. 942 9432001-10-13 Nick Clifton <nickc@cambridge.redhat.com> 944 945 * cgen-ibld.in: Include safe-ctype.h in preference to 946 ctype.h. 947 * cgen-asm.in: Include safe-ctype.h in preference to 948 ctype.h. Fix formatting. Use ISSPACE instead of isspace and 949 TOLOWER instead of tolower. 950 (@arch@_cgen_build_insn_regex): Remove duplication of syntax 951 string elements in constructed regular expression. 952 * fr30-asm.c: Regenerate. 953 * fr30-desc.c: Regenerate. 954 * fr30-ibld.c: Regenerate. 955 * m32r-asm.c: Regenerate. 956 * m32r-desc.c: Regenerate. 957 * m32r-ibld.c: Regenerate. 958 * openrisc-asm.c: Regenerate. 959 * openrisc-desc.c: Regenerate. 960 * openrisc-ibld.c: Regenerate. 961 * po/opcodes.pot: Regenerate. 962 9632001-10-12 matthew green <mrg@redhat.com> 964 965 * ppc-opc.c (insert_de, extract_de, insert_des, extract_des): New 966 instruction field instruction/extraction functions for new BookE 967 DE form instructions. 968 (CT): New macro for CT field in an X form instruction. 969 (DE, DES, DEO, DE_MASK): New macros for DE/DES fields in DE form 970 instructions. 971 (PPC64): Don't include PPC_OPCODE_PPC. 972 (403): New opcode macro for PPC403 processors. 973 (BOOKE): New opcode macro for BookE processors. 974 (bce, bcel, bcea, bcela, bclre, bclrel: New BookE instructions. 975 (bcctre, bcctrel, be, bel, bea, bela, icbt, icbte, lwzxe): Likewise. 976 (dcbste, lwzuxe, luxe, dcbfe, lbzxe, lwarxe, lbzuxe): Likewise. 977 (stwcxe, stwxe, stxe, stwuxe, stuxe, stbxe, dcbtste, stbuxe): Likewise. 978 (mfapidi, dcbte, lhzxe, lhzuxe, lhaxe, lhauxe, subfe64): Likewise. 979 (subfeo64, adde64, addeo64, sthxe, sthuxe, subfze64): Likewise. 980 (subfzeo64, addze64, addzeo64, dcbie, subfme64, subfmeo64): Likewise. 981 (addme64, addmeo64, stdcxe., mcrxr64, lwbrxe, lfsxe, lfsuxe): Likewise. 982 (lfdxe, lfduxe, stwbrxe, stfsxe, stfsuxe, stfdxe, dcbae): Likewise. 983 (stfduxe, tlbivax, tlbivaxe, lhbrxe, ldxe, lduxe, tlbsx): Likewise. 984 (tlbsxe, sthbrxe, stdxe, stduxe, icbie, stfiwxe, dcbze, lbze): Likewise. 985 (lbzue, ldue, lhze, lhzue, lhae, lhaue, lwze, lwzue): Likewise. 986 (stbe, stbue, sthe, sthue, stwe, stwue, lfse, lfsue, lfde): Likewise. 987 (lfdue, stde, stdue, stfse, stfsue, stfde, stfdue): Likewise. 988 989 * ppc-dis.c (print_insn_big_powerpc, print_insn_little_powerpc): Look 990 for a disassembler option of `booke', `booke32' or `booke64' to enable 991 BookE support in the disassembler. 992 9932001-10-12 John Healy <jhealy@redhat.com> 994 995 * cgen-dis.in (print_insn): Use min (cd->base_insn_bitsize, buflen*8) 996 for the length when extracting the base part of the insn. 997 9982001-10-09 Bruno Haible <haible@clisp.cons.org> 999 1000 * cgen-asm.in (*_cgen_build_insn_regex): Generate a case sensitive 1001 regular expression. Fix some formatting problems. 1002 * fr30-asm.c: Regenerate. 1003 * openrisc-asm.c: Regenerate. 1004 * m32r-asm.c: Regenerate. 1005 10062001-10-09 Christian Groessler <cpg@aladdin.de> 1007 1008 * z8k-dis.c (unparse_instr): Fixed formatting. Change disassembly 1009 of indirect register memory accesses to be same format the 1010 assembler accepts. 1011 10122001-10-09 Nick Clifton <nickc@cambridge.redhat.com> 1013 1014 * sh-opc.h: Fix encoding of least significant nibble of the 1015 DSP single data transfer instructions. 1016 1017 * sh-dis.c (print_insn_shx): Fix decoding of As opcode in DSP 1018 instructions. 1019 10202001-10-08 Nick Clifton <nickc@cambridge.redhat.com> 1021 1022 * cgen-asm.in: Fix compile time warning messages in generated 1023 C files. 1024 * cgen-dis.in: The same. 1025 * cgen-ibld.in: The same. 1026 * fr30-asm.c: Regenerate. 1027 * fr30-desc.c: Regenerate. 1028 * fr30-dis.c: Regenerate. 1029 * fr30-ibld.c: Regenerate. 1030 * fr30-opc.c: Regenerate. 1031 * m32r-asm.c: Regenerate. 1032 * m32r-desc.c: Regenerate. 1033 * m32r-dis.c: Regenerate. 1034 * m32r-ibld.c: Regenerate. 1035 * m32r-opc.c: Regenerate. 1036 * m32r-opinst.c Regenerate. 1037 * openrisc-asm.c: Regenerate. 1038 * openrisc-desc.c: Regenerate. 1039 * openrisc-dis.c: Regenerate. 1040 * openrisc-ibld.c: Regenerate. 1041 * openrisc-opc.c: Regenerate. 1042 * openrisc-opc.h: Regenerate. 1043 * Makefile.in: Regenerate. 1044 * po/POTFILES.in: Regenerate. 1045 * po/opcodes.pot: Regenerate. 1046 10472001-10-08 Aldy Hernandez <aldyh@redhat.com> 1048 1049 * arm-opc.h (arm_opcodes): Add cirrus insns. 1050 1051 * arm-dis.c (print_insn_arm): Add 'I' case. 1052 10532001-10-03 Alan Modra <amodra@bigpond.net.au> 1054 1055 * po/POTFILES.in: Regenerate. 1056 * configure: Regenerate. 1057 10582001-10-02 Alan Modra <amodra@bigpond.net.au> 1059 1060 * Makefile.am (Makefile): Depend on bfd/configure.in. 1061 Run "make dep-am". 1062 * Makefile.in: Regenerate. 1063 10642001-09-30 John Healy <jhealy@redhat.com> 1065 1066 * cgen-ibld.in (insert_1): Switched bfd_get_bits and bfd_set_bits 1067 calls to cgen_get_insn_value and cgen_put_insn_value calls. 1068 (extract_1): Switched bfd_get_bits call to cgen_get_insn_value call. 1069 10702001-09-30 Hans-Peter Nilsson <hp@bitrange.com> 1071 1072 * Makefile.am: Update dependencies with "make dep-am". 1073 * Makefile.in: Regenerate. 1074 10752001-09-26 Alan Modra <amodra@bigpond.net.au> 1076 1077 * arc-dis.c: Formatting fixes. 1078 (my_sprintf): Define using VPARAMS, VA_OPEN, VA_FIXEDARG, VA_CLOSE. 1079 10802001-09-21 Bruno Haible <haible@clisp.cons.org> 1081 1082 * arc-dis.c: Don't include <ctype.h>. 1083 * openrisc-desc.c: Likewise. 1084 * openrisc-ibld.c: Likewise. 1085 10862001-09-20 Nick Clifton <nickc@cambridge.redhat.com> 1087 1088 * fr30-opc.c: Fix compile time warning messages. 1089 * i370-opc.c: Fix compile time warning messages. 1090 * i960-dis.c: Fix compile time warning messages. 1091 * m32r-asm.c: Fix compile time warning messages. 1092 * m32r-desc.c: Fix compile time warning messages. 1093 * m32r-dis.c: Fix compile time warning messages. 1094 * m32r-ibld.c: Fix compile time warning messages. 1095 * m32r-opc.c: Fix compile time warning messages. 1096 * m32r-opinst.c: Fix compile time warning messages. 1097 * ns32k-dis.c: Fix compile time warning messages. 1098 * openrisc-asm.c: Fix compile time warning messages. 1099 * openrisc-desc.c: Fix compile time warning messages. 1100 * openrisc-dis.c: Fix compile time warning messages. 1101 * openrisc-ibld.c: Fix compile time warning messages. 1102 * openrisc-opc.c: Fix compile time warning messages. 1103 * pdp11-dis.c: Fix compile time warning messages. 1104 * tic54x-dis.c: Fix compile time warning messages. 1105 * v850-opc.c: Fix compile time warning messages. 1106 * vax-dis.c: Fix compile time warning messages. 1107 * w65-opc.h: Fix compile time warning messages. 1108 * z8k-opc.h: Fix compile time warning messages. 1109 * z8kgen.c: Fix compile time warning messages. 1110 11112001-09-19 Nick Clifton <nickc@cambridge.redhat.com> 1112 1113 * arm-dis.c: Fix compile time warning messages. 1114 * cgen-asm.c: Fix compile time warning messages. 1115 * cgen-dis.c: Fix compile time warning messages. 1116 * cris-dis.c: Fix compile time warning messages. 1117 * d10v-dis.c: Fix compile time warning messages. 1118 * fr30-asm.c: Fix compile time warning messages. 1119 * fr30-desc.c: Fix compile time warning messages. 1120 * fr30-dis.c: Fix compile time warning messages. 1121 * fr30-ibld.c: Fix compile time warning messages. 1122 11232001-09-18 Bruno Haible <haible@clisp.cons.org> 1124 1125 * cgen-asm.c: Include "safe-ctype.h" instead of <ctype.h>. 1126 (cgen_parse_keyword): Use ISALNUM instead of isalnum. 1127 * cgen-opc.c: Include "safe-ctype.h" instead of <ctype.h>. 1128 (cgen_keyword_lookup_name): Use ISALPHA/TOLOWER instead of 1129 isalpha/tolower. 1130 (cgen_keyword_add): Use ISALNUM instead of isalnum. 1131 (hash_keyword_name): Use TOLOWER instead of tolower. 1132 * fr30-asm.c: Include "safe-ctype.h" instead of <ctype.h>. 1133 (parse_insn_normal): Use TOLOWER/ISSPACE instead of 1134 tolower/isspace. 1135 (fr30_cgen_assemble_insn): Use ISSPACE instead of isspace. 1136 * fr30-desc.c: Don't include <ctype.h>. 1137 * fr30-ibld.c: Likewise. 1138 * ia64-gen.c: Include "safe-ctype.h" instead of <ctype.h>. 1139 (load_insn_classes, parse_resource_users, load_depfile): Use 1140 ISSPACE instead of isspace. 1141 * m32r-asm.c: Include "safe-ctype.h" instead of <ctype.h>. 1142 (parse_insn_normal): Use TOLOWER/ISSPACE instead of 1143 tolower/isspace. 1144 (m32r_cgen_assemble_insn): Use ISSPACE instead of isspace. 1145 * m32r-desc.c: Don't include <ctype.h>. 1146 * m32r-ibld.c: Likewise. 1147 * openrisc-asm.c: Include "safe-ctype.h" instead of <ctype.h>. 1148 (parse_insn_normal): Use TOLOWER/ISSPACE instead of 1149 tolower/isspace. 1150 (openrisc_cgen_assemble_insn): Use ISSPACE instead of isspace. 1151 11522001-09-18 Martin Schwidefsky <schwidefsky@de.ibm.com> 1153 1154 * Makefile.am: Add rules and dependencies to create the s/390 opcode 1155 table out of s390-opc.txt automatically. 1156 * configure.in: Add BFD_CC_FOR_BUILD to allow CC_FOR_BUILD to be used. 1157 * s390-mkopc.c (dumpTable): Change output to create a complete file. 1158 * s390-opc.c: New improved opcode format macros and remove the 1159 pregenerated opcode table. 1160 * s390-opc.txt: Adapt to new improved opcode format macros. 1161 11622001-09-14 David Schleef <ds@schleef.org> 1163 1164 * ppc-opc.c (VXA, VXA_MASK): Fix mask bits. 1165 11662001-09-04 Alan Modra <amodra@bigpond.net.au> 1167 1168 * i386-dis.c (grps): Don't print the implicit al/ax/eax register 1169 for opcode 0xf6 or 0xf7 forms of mul, imul, div, idiv insns. 1170 11712001-08-31 Eric Christopher <echristo@redhat.com> 1172 Jason Eckhardt <jle@redhat.com> 1173 1174 * mips-dis.c: Add support for bfd_mach_mipsisa32 and 1175 bfd_mach_mipsisa64. Remove bfd_mach_mips32, bfd_mach_mips32_4k, 1176 bfd_mach_mips64. 1177 11782001-08-31 Andreas Jaeger <aj@suse.de> 1179 1180 * tic54x-opc.c: Add default initializers to avoid warnings. 1181 1182 * arc-opc.c: Include "sysdep.h" to get stdio.h as include file. 1183 * arc-ext.c: Likewise. 1184 11852001-08-28 matthew green <mrg@redhat.com> 1186 1187 * ppc-opc.c (icbt): Order correctly. 1188 11892001-08-27 David Edelsohn <dje@watson.ibm.com> 1190 Torbjorn Granlund <tege@swox.com> 1191 1192 * ppc-opc.c (DS): Add PPC_OPERAND_DS flag. 1193 (LS): Define. 1194 (insert_ds): Complain if not a multiple of 4. 1195 (XSYNC): Define. 1196 (XSYNC_MASK): Define. 1197 (powerpc_opcodes): Add "slbmte", "lwsync", "ptesync", "slbmfev", 1198 "slbmfee". Modify "sync" to use XSYNC_MASK and LS. 1199 12002001-08-26 Andreas Jaeger <aj@suse.de> 1201 1202 * h8500-opc.h: Add default initializers to h8500_table to shut up 1203 GCC warnings. 1204 12052001-08-25 Andreas Jaeger <aj@suse.de> 1206 1207 * tic54x-dis.c: Add unused attributes where needed. 1208 1209 * z8k-dis.c (output_instr): Add unused attribute. 1210 1211 * h8300-dis.c: Add missing prototypes. 1212 (bfd_h8_disassemble): Make static. 1213 1214 * cris-dis.c: Add missing prototype. 1215 * h8500-dis.c: Likewise. 1216 * m68hc11-dis.c: Likewise. 1217 * pj-dis.c: Likewise. 1218 * tic54x-dis.c: Likewise. 1219 * v850-dis.c: Likewise. 1220 * vax-dis.c: Likewise. 1221 * w65-dis.c: Likewise. 1222 * z8k-dis.c: Likewise. 1223 1224 * d10v-dis.c: Add missing prototype. 1225 (dis_long): Remove unused variable. 1226 (dis_2_short): Likewise. 1227 1228 * sh-dis.c: Add missing prototypes. 1229 * v850-opc.c: Likewise. 1230 Add unused attributes where needed. 1231 1232 * ns32k-dis.c: Add missing prototypes. 1233 (bit_extract_simple): Remove unused variable. 1234 12352001-08-23 Martin Schwidefsky <schwidefsky@de.ibm.com> 1236 1237 * opcodes/s390-opc.c: Add "low or high" and "not low or high" 1238 branch instructions for gcc 3.0. 1239 * opcodes/s390-opc.txt: Likewise. 1240 12412001-08-21 Andreas Jaeger <aj@suse.de> 1242 1243 * i960-dis.c: Add parameters for prototypes 1244 (ctrl): Add unused attributes. 1245 (cobr): Likewise. 1246 (put_abs): Likewise. 1247 1248 * mips-dis.c: Add missing prototypes. 1249 * a29k-dis.c: Likewise. 1250 * arc-dis.c: Likewise. 1251 * ia64-opc.c: Likewise. 1252 1253 * s390-dis.c: Add missing prototypes. 1254 (init_disasm): Remove unused attribute since the parameter is 1255 used. 1256 12572001-08-16 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> 1258 1259 * mips-opc.c (M1): Define. Reformatted Code. 1260 (mips_builtin_opcodes): Added performance counter opcodes mfpc, mfps, 1261 mtps, mtps. Typo. 1262 12632001-08-16 Jonathan Larmour <jlarmour@redhat.com> 1264 1265 * mips-opc.c: R3900s can support all branch likely INSN_MACROs where 1266 the corresponding non-likely insn is in MIPS I. 1267 12682001-08-13 Kazu Hirata <kazu@hxi.com> 1269 1270 * mcore-dis.c: Fix formatting. 1271 * mips-dis.c: Likewise. 1272 * pj-dis.c: Likewise. 1273 * z8k-dis.c: Likewise. 1274 12752001-08-12 Richard Henderson <rth@redhat.com> 1276 1277 * cgen-ibld.in (extract_normal): Match type of VALUE and MASK 1278 to *VALUEP. Regenerate all cgen files. 1279 12802001-08-10 Richard Sandiford <rsandifo@redhat.com> 1281 1282 * mips-dis.c (print_insn_mips): Remove OPCODE_IS_MEMBER's gp32 1283 argument. 1284 * mips-opc.c (G6): Undefine. 1285 (mips_builtin_opcodes): Remove gp32 entry for "move". Add macro 1286 as the first "move" alternative. 1287 12882001-08-10 Andreas Jaeger <aj@suse.de> 1289 1290 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes 1291 to build warnings. 1292 * configure: Regenerate. 1293 12942001-08-10 Alan Modra <amodra@bigpond.net.au> 1295 1296 * ppc-opc.c: Revert 2001-08-08. 1297 12982001-08-09 Alan Modra <amodra@bigpond.net.au> 1299 1300 * dis-buf.c (generic_strcat_address): Add missing prototype. 1301 #if 0 the functions as it is unused. 1302 13032001-08-08 Alan Modra <amodra@bigpond.net.au> 1304 1305 1999-10-25 Torbjorn Granlund <tege@swox.com> 1306 * ppc-opc.c: Include "bfd.h". 1307 (powerpc_operands): Add new field for reloc type. 1308 13092001-07-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> 1310 1311 * mips-dis.c (print_insn_arg): Don't use software integer registers 1312 for coprocessor registers. 1313 (get_mips_isa): Removed. 1314 (is_newabi): New function, checks if NewABI is used. 1315 (_print_insn_mips): Get distinction between old ABI and new ABI right. 1316 13172001-08-01 Christian Groessler <cpg@aladdin.de> 1318 1319 * z8kgen.c: Fixed indentation of opt[] array. Include stdio.h to 1320 get stderr definition. 1321 (internal, gas): Removed warnings. 1322 (gas): Create a correct final entry for created array. 1323 * z8k-opc.h: Recreated with new z8kgen. 1324 13252001-07-28 Kazu Hirata <kazu@hxi.com> 1326 1327 * i386-dis.c: Fix formatting. 1328 13292001-07-28 Matthias Kramm <kramm@quiss.org> 1330 1331 * i386-dis.c: Change formatting conventions for architecture 1332 i386:intel to better match the format of various intel i386 1333 assemblers, like nasm, tasm or masm. 1334 13352001-07-24 Alan Modra <amodra@bigpond.net.au> 1336 1337 * Makefile.am: Update dependencies with "make dep-am". 1338 * Makefile.in: Regenerate 1339 13402001-07-24 Kazu Hirata <kazu@hxi.com> 1341 1342 * alpha-dis.c: Fix formatting. 1343 * cris-dis.c: Likewise. 1344 * d10v-dis.c: Likewise. 1345 * d30v-dis.c: Likewise. 1346 * m10300-dis.c: Likewise. 1347 * tic54x-dis.c: Likewise. 1348 13492001-07-23 Kazu Hirata <kazu@hxi.com> 1350 1351 * m68k-dis.c: Fix formatting. 1352 * pj-dis.c: Likewise. 1353 * s390-dis.c: Likewise. 1354 * z8k-dis.c: Likewise. 1355 13562001-07-21 Chris Demetriou <cgd@broadcom.com> 1357 1358 * mips-opc.c (mips_builtin_opcodes): Sort c.le.s and c.lt.s 1359 into the rest of the surrounding definitions. 1360 13612001-07-18 Alan Modra <amodra@bigpond.net.au> 1362 1363 * i386-dis.c (grps): Print l or w suffix, and require mem modrm 1364 for lgdt, lidt, sgdt, sidt. 1365 13662001-07-13 Philip Blundell <philb@gnu.org> 1367 1368 * arm-dis.c (print_insn_arm): Use decimal for offsets in LDR/STR. 1369 13702001-07-12 Jeff Johnston <jjohnstn@redhat.com> 1371 1372 * cgen-asm.in: Include "xregex.h" always to enable the libiberty 1373 regex support. 1374 (@arch@_cgen_build_insn_regex): New routine from Graydon. 1375 (@arch@_cgen_assemble_insn): Add Graydon's code to use regex 1376 to verify if it is worth parsing the insn as insn "x". Also update 1377 error message when insn is not a recognized format of the insn vs 1378 when the insn is completely unrecognized. 1379 13802001-07-11 Frank Ch. Eigler <fche@redhat.com> 1381 1382 * cgen-dis.in (print_insn): Use cgen_get_insn_value instead of 1383 bfd_get_bits. 1384 * cgen-opc.c (cgen_get_insn_value, cgen_put_insn_value): Respect 1385 non-zero CGEN_CPU_DESC->insn_chunk_bitsize. 1386 13872001-07-09 Andreas Jaeger <aj@suse.de>, Karsten Keil <kkeil@suse.de> 1388 1389 * i386-dis.c (set_op): Handle 64 bit and 32 bit mode. 1390 (OP_J): Use bfd_vma for mask to work properly with 64 bits. 1391 (op_address,op_riprel): Use bfd_vma to handle 64 bits. 1392 13932001-07-05 Ben Elliston <bje@redhat.com> 1394 1395 * Makefile.am (CPUDIR): Define. 1396 (stamp-m32r): Update dependencies. 1397 (stamp-fr30): Ditto. 1398 (stamp-openrisc): Ditto. 1399 * Makefile.in: Regenerate. 1400 14012001-07-03 Zoltan Hidvegi <hzoli@hzoli.2y.net> 1402 1403 * ppc-opc.c: Fix encoding of 'clf' instruction. 1404 14052001-06-30 Geoffrey Keating <geoffk@redhat.com> 1406 1407 * cgen-ibld.in (insert_normal): Support CGEN_IFLD_SIGN_OPT. 1408 14092001-06-28 Geoffrey Keating <geoffk@redhat.com> 1410 1411 * cgen-asm.c (cgen_parse_keyword): Allow any first character. 1412 * cgen-opc.c (cgen_keyword_add): Ignore special first 1413 character when building nonalpha_chars field. 1414 14152001-06-24 Ben Elliston <bje@redhat.com> 1416 1417 * m88k-dis.c: Format to conform to GNU coding standards. 1418 14192001-06-23 Andreas Jaeger <aj@suse.de> 1420 1421 * disassemble.c (disassembler_usage): Add unused attribute. 1422 14232001-06-22 Eric Christopher <echristo@redhat.com> 1424 1425 * mips-opc.c: Move prefx to start of the table. 1426 14272001-06-22 Stacey Sheldon <ssheldon@Catena.com> 1428 1429 * arc-opc.c (insert_st_syntax): Fix over-optimisation of ST 1430 instruction. 1431 14322001-06-22 Pauli <pauli@moreton.com.au> 1433 1434 * m68k-opc.c: Add wdebug instruction. 1435 14362001-06-15 Aldy Hernandez <aldyh@redhat.com> 1437 1438 * m10300-opc.c (mn10300_opcodes): Change opcode for AM33 subc. 1439 14402001-06-14 Geoffrey Keating <geoffk@redhat.com> 1441 1442 * cgen-asm.c (cgen_parse_keyword): When looking for the 1443 boundaries of a keyword, allow any special characters 1444 that are actually in one of the allowed keyword. 1445 * cgen-opc.c (cgen_keyword_add): Add any special characters 1446 to the nonalpha_chars field. 1447 14482001-06-12 Martin Schwidefsky <schwidefsky@de.ibm.com> 1449 1450 * s390-opc.c: Add lgh instruction. 1451 * s390-opc.txt: Likewise. 1452 14532001-06-11 Alan Modra <amodra@bigpond.net.au> 1454 1455 * i386-dis.c: Group function prototypes in one place. 1456 (FLOATCODE): Redefine as 1. 1457 (USE_GROUPS): Redefine as 2. 1458 (USE_PREFIX_USER_TABLE): Redefine as 3. 1459 (X86_64_SPECIAL): Define as 4. 1460 (GRP1b..GRPAMD): Move USE_GROUPS to bytecode1, index to bytecode2. 1461 (PREGRP0..PREGRP26): Similarly with USE_PREFIX_USER_TABLE. 1462 (dis386_att, dis386_intel, disx86_64_att, disx86_64_intel): Delete. 1463 (dis386): New table combining above four tables. 1464 (dis386_twobyte_att, dis386_twobyte_intel): Delete. 1465 (dis386_twobyte): New table combining above two tables. 1466 (x86_64_table): New table to handle x86_64. 1467 (X86_64_0): Define. 1468 (float_mem_att, float_mem_intel): Delet. 1469 (float_mem): New table combining above two tables. 1470 (print_insn_i386): Modify for above. 1471 (dofloat): Likewise. 1472 (putop): Handle '{', '|' and '}' to select alternative mnemonics. 1473 Return 0 on success, 1 if no valid alternative. 1474 (putop <case 'F'>, <case 'H'>): Print nothing for intel_syntax. 1475 (putop <case 'T'>): Move to case 'U', and share case 'Q' code. 1476 (putop <case 'I'>): Move to case 'T', and share case 'P' code. 1477 (OP_REG <case rAX_reg .. rDI_reg>): Handle as for eAX_reg .. eDI_reg 1478 if not 64-bit mode. 1479 (OP_I <case q_mode>): Handle as for v_mode if not 64-bit mode. 1480 (OP_I64): If not 64-bit mode, call OP_I. 1481 OP_OFF64): If not 64-bit mode, call OP_OFF. 1482 (OP_ST, OP_STi, OP_SEG, OP_DIR, OP_OFF, OP_OFF64, OP_MMX): Rename 1483 'ignore'/'ignored' to 'bytemode'. 1484 14852001-06-10 Alan Modra <amodra@bigpond.net.au> 1486 1487 * configure.in: Sort 'ta' case statement. 1488 * configure: Regenerate. 1489 1490 * i386-dis.c (dis386_att): Add 'H' to conditional branch and 1491 loop,jcxz insns. 1492 (disx86_64_att): Likewise. 1493 (dis386_twobyte_att): Likewise. 1494 (print_insn_i386): Don't print branch hints as a prefix. 1495 (putop): 'H' macro prints branch hints. 1496 (get64): Kill compile warnings. 1497 14982001-06-09 Alexandre Oliva <aoliva@redhat.com> 1499 1500 * sh-opc.h (sh_table): Don't use empty initializers. 1501 15022001-06-06 Christian Groessler <cpg@aladdin.de> 1503 1504 * z8k-dis.c: Fix formatting. 1505 (unpack_instr): Remove unused cases in switch statement. Add 1506 safety abort() in default case. 1507 (unparse_instr): Add safety abort() in default case. 1508 15092001-06-06 Peter Jakubek <pjak@snafu.de> 1510 1511 * m68k-dis.c (print_insn_m68k): Fix typo. 1512 * m68k-opc.c (m68k_opcodes): Correct allowed operands for 1513 mcf (ColdFire) div, rem and moveb instructions. 1514 15152001-06-06 Alan Modra <amodra@bigpond.net.au> 1516 1517 * i386-dis.c (cond_jump_flag, loop_jcxz_flag): Define. 1518 (cond_jump_mode, loop_jcxz_mode): Define. 1519 (dis386_att): Add cond_jump_flag and loop_jcxz_flag as 1520 appropriate, and 'F' suffix to loop insns. 1521 (disx86_64_att): Likewise. 1522 (dis386_twobyte_att): Likewise. 1523 (print_insn_i386): Don't output addr prefix for loop, jcxz insns. 1524 Output data size prefix for long conditional jumps. Output cs and 1525 ds branch hints. 1526 (putop): Handle 'F', and mark PREFIX_ADDR used for case 'E'. 1527 (OP_J): Don't make PREFIX_DATA used. 1528 15292001-06-04 Alexandre Oliva <aoliva@redhat.com> 1530 1531 * sh-opc.h (sh_table): Complete last element entry to avoid 1532 compiler warning. 1533 15342001-05-16 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> 1535 1536 * mips-dis.c (mips_isa_type): Add MIPS r12k support. 1537 15382001-05-23 Alan Modra <amodra@one.net.au> 1539 1540 * arc-opc.c: Whitespace changes. 1541 15422001-05-18 Hans-Peter Nilsson <hp@axis.com> 1543 1544 * cris-opc.c (cris_spec_regs): Add missing initializer field for 1545 last element. 1546 15472001-05-15 Frank Ch. Eigler <fche@redhat.com> 1548 1549 * cgen-dis.in (extract_normal): Complete support for min<base case. 1550 15512001-05-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> 1552 1553 * mips-dis.c (INSNLEN): Rename MAXLEN. 1554 (std_reg_names): Replace by mips32_reg_names and mips64_reg_names. 1555 (print_insn_arg): Remove $ prefix of register names. 1556 (set_mips_isa_type): Remove. 1557 (mips_isa_type): New function. 1558 (get_mips_isa): New Function. 1559 (print_insn_mips): Rename _print_insn_mips. 1560 (_print_insn_mips): New function, contains code which was 1561 duplicated in print_insn_big_mips and print_insn_little_mips. 1562 (print_insn_big_mips): Moved code to _print_insn_mips. 1563 (print_insn_little_mips): Likewise. 1564 (print_mips16_insn_arg): Remove $ prefix of register names. 1565 Print error message before abort. 1566 15672001-05-14 J.T. Conklin <jtc@redback.com> 1568 1569 * ppc-opc.c (powerpc_opcodes): Fixed extended opcode field of 1570 simplified mnemonics used for setting PPC750-specific special 1571 purpose registers. 1572 15732001-05-12 H.J. Lu <hjl@gnu.org> 1574 1575 * i386-dis.c (print_insn_i386): Always set `mod', `reg' and 1576 `rm'. 1577 15782001-05-12 Peter Targett <peter.targett@arccores.com> 1579 1580 * arc-opc.c (arc_reg_names): Correct attribute for lp_count 1581 register to r/w. Formatting fixes throughout file. 1582 15832001-05-12 Alan Modra <amodra@one.net.au> 1584 1585 * i386-dis.c (prefix_user_table): Correct movq2dq, movdq2q, and 1586 movq operands. 1587 (twobyte_has_modrm): Update table. 1588 (need_modrm): Give it file scope. 1589 (MODRM_CHECK): Define. 1590 (dofloat): Use MODRM_CHECK. 1591 (OP_E): Likewise. 1592 (OP_EM): Likewise. 1593 (OP_EX): Likewise. 1594 15952001-05-07 Frank Ch. Eigler <fche@redhat.com> 1596 1597 * cgen-dis.in (default_print_insn): Tolerate min<base instructions 1598 even at end of a section. 1599 * cgen-ibld.in (extract_normal): Tolerate min!=base!=max instructions 1600 by ignoring precariously-unpacked insn_value in favor of raw buffer. 1601 16022001-05-03 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> 1603 1604 * disassemble.c (disassembler_usage): Remove unused attribute. 1605 16062001-05-04 Frank Ch. Eigler <fche@redhat.com> 1607 1608 * m32r-dis.c, -asm.c, -ibld.c: Regenerated with disassembler fixes. 1609 16102001-05-04 Frank Ch. Eigler <fche@redhat.com> 1611 1612 * cgen-dis.in (print_insn): Remove call to read_insn. Instead, 1613 assume incoming buffer already has the base insn loaded. Handle 1614 smaller-than-base instructions for variable-length case. 1615 16162001-05-04 Alan Modra <amodra@one.net.au> 1617 1618 * i386-dis.c (Ev, Ed): Remove duplicate define. 1619 (Gd): Define. 1620 (XS): Define. 1621 (OP_XS): New function. 1622 (dis386_twobyte_att): Correct pinsrw, pextrw, pmovmskb, and 1623 movmskp operands. 1624 (dis386_twobyte_intel): Likewise. 1625 (prefix_user_table): Use MS for maskmovq operand. 1626 16272001-04-27 Johan Rydberg <jrydberg@opencores.org> 1628 1629 * Makefile.am: Add OpenRISC target. 1630 * Makefile.in: Regenerated. 1631 1632 * disassemble.c (disassembler): Recognize the OpenRISC disassembly. 1633 1634 * configure.in (bfd_openrisc_arch): Add target. 1635 * configure: Regenerated. 1636 1637 * openrisc-asm.c: New file. 1638 * openrisc-desc.c: Likewise. 1639 * openrisc-desc.h: Likewise. 1640 * openrisc-dis.c: Likewise. 1641 * openrisc-ibld.c: Likewise. 1642 * openrisc-opc.c: Likewise. 1643 * openrisc-opc.h: Likewise. 1644 16452001-04-24 Christian Groessler <cpg@aladdin.de> 1646 1647 * z8k-dis.c: add names of control registers (ctrl_names); 1648 (seg_length): provides instruction length fixup for segmented 1649 mode; (unpack_instr): correctly handle ARG_DISP16, ARG_DISP12, 1650 CLASS_0DISP7, CLASS_1DISP7, CLASS_DISP8 and CLASS_PR cases; 1651 (unparse_intr): handle CLASS_PR, print addresses without '#' 1652 * z8k-opc.h: re-created with new z8kgen 1653 * z8kgen.c: merged in fixes which were in existing z8k-opc.h; new 1654 entries for ldctl/ldctlb instruction 1655 16562001-04-06 Andreas Jaeger <aj@suse.de> 1657 1658 * i386-dis.c: Add ffreep instruction. 1659 16602001-03-30 Alexandre Oliva <aoliva@redhat.com> 1661 1662 * ppc-opc.c (insert_mbe): Shift mask initializer as long. 1663 16642001-03-24 Alan Modra <alan@linuxcare.com.au> 1665 1666 * i386-dis.c (PREGRP25): Define. 1667 (dis386_twobyte_att): Use here in place of "movntq" entry. 1668 (dis386_twobyte_intel): Likewise. 1669 (prefix_user_table): Add PREGRP25 entry for "movntq" and "movntdq". 1670 (PREGRP26): Define. 1671 (dis386_twobyte_att): Use here. 1672 (dis386_twobyte_intel): Likewise. 1673 (prefix_user_table): Add PREGRP26 entry for "punpcklqdq". 1674 (prefix_user_table <maskmovdqu>): XM operand, not MX. 1675 (prefix_user_table): Cosmetic changes to "bad" entries. 1676 16772001-03-23 Nick Clifton <nickc@redhat.com> 1678 1679 * mips-opc.c: Remove extraneous whitespace. 1680 * mips-dis.c: Remove extraneous whitespace. 1681 16822001-03-22 Ben Elliston <bje@redhat.com> 1683 1684 * cgen-asm.in (@arch@_cgen_assemble_insn): Move tmp_errmsg 1685 declaration inside CGEN_VERBOSE_ASSEMBLER_ERRORS conditional. 1686 * cgen-ibld.in (put_insn_int_value): Mark cd parameter as unused 1687 to allay a compiler warning. 1688 16892001-03-22 Alan Modra <alan@linuxcare.com.au> 1690 1691 * i386-dis.c (dis386_twobyte_att): Add entries for paddq, psubq. 1692 (dis386_twobyte_intel): Likewise. 1693 (twobyte_has_modrm): Set entry for paddq, psubq. 1694 16952001-03-20 Patrick Macdonald <patrickm@redhat.com> 1696 1697 * cgen-dis.in (print_insn_@arch@): Add support for target machine 1698 determination via CGEN_COMPUTE_MACH. 1699 * fr30-desc.c: Regenerate. 1700 * fr30-dis.c: Regenerate. 1701 * fr30-opc.h: Regenerate. 1702 * m32r-desc.c: Regenerate. 1703 * m32r-dis.c: Regenerate. 1704 * m32r-opc.h: Regenerate. 1705 * m32r-opinst.c: Regenerate. 1706 17072001-03-20 H.J. Lu <hjl@gnu.org> 1708 1709 * configure.in: Remove the redundent AC_ARG_PROGRAM. 1710 * configure: Rebuild. 1711 17122001-03-19 Jim Wilson <wilson@redhat.com> 1713 1714 * ia64-gen.c (fetch_insn_class): If xsect, then ignore comment and 1715 notestr if larger than xsect. 1716 (in_class): Handle format M5. 1717 * ia64-asmtab.c: Regnerate. 1718 17192001-03-19 John David Anglin <dave@hiauly1.hia.nrc.ca> 1720 1721 * vax-dis.c (print_insn_vax): Only fetch two bytes if the info buffer 1722 has more than one byte left to read. 1723 17242001-03-16 Martin Schwidefsky <schwidefsky@de.ibm.com> 1725 1726 * s390-opc.c: Add new opcodes. Smooth out formatting. 1727 * s390-opc.txt: Add new opcodes. 1728 17292001-03-06 Nick Clifton <nickc@redhat.com> 1730 1731 * arm-dis.c (print_insn_thumb): Compute destination address 1732 of BLX(1) instruction by taking bit 1 from PC and not from bit 1733 0 of the offset. 1734 17352001-03-06 Igor Shevlyakov <igor@windriver.com> 1736 1737 * m68k-dis.c (print_insn_m68k): Recognize Coldfire CPUs 1738 so command line switches will work. 1739 17402001-03-05 Dave Brolley <brolley@redhat.com> 1741 1742 * fr30-asm.c: Regenerate. 1743 * fr30-desc.c: Regenerate. 1744 * fr30-desc.h: Regenerate. 1745 * fr30-dis.c: Regenerate. 1746 * fr30-ibld.c: Regenerate. 1747 * fr30-opc.c: Regenerate. 1748 * fr30-opc.h: Regenerate. 1749 * m32r-asm.c: Regenerate. 1750 * m32r-desc.c: Regenerate. 1751 * m32r-desc.h: Regenerate. 1752 * m32r-dis.c: Regenerate. 1753 * m32r-ibld.c: Regenerate. 1754 * m32r-opc.c: Regenerate. 1755 * m32r-opc.h: Regenerate. 1756 * m32r-opinst.c: Regenerate. 1757 17582001-02-28 Igor Shevlyakov <igor@windriver.com> 1759 1760 * m68k-opc.c: fix cpushl according to Motorola. Enable 1761 bunch of instructions for Coldfire 5407 and add all new. 1762 17632001-02-27 Alan Modra <alan@linuxcare.com.au> 1764 1765 * configure.in (BFD_VERSION): Do without grep. 1766 * configure: Regenerate. 1767 * Makefile.am: Run "make dep-am". 1768 * Makefile.in: Regenerate. 1769 17702001-02-23 David Mosberger <davidm@hpl.hp.com> 1771 1772 * ia64-opc-a.c: Add missing pseudo-ops for "cmp" and "cmp4". 1773 * ia64-asmtab.c: Regenerate. 1774 17752001-02-21 David Mosberger <davidm@hpl.hp.com> 1776 1777 * ia64-opc-d.c (ia64_opcodes_d): Break the "add" pattern into two 1778 separate variants: one for IMM22 and the other for IMM14. 1779 * ia64-asmtab.c: Regenerate. 1780 17812001-02-21 Greg McGary <greg@mcgary.org> 1782 1783 * cgen-opc.c (cgen_get_insn_value): Add missing `return'. 1784 17852001-02-20 H.J. Lu <hjl@gnu.org> 1786 1787 * Makefile.am (ia64-ic.tbl): Remove the target. 1788 (ia64-raw.tbl): Likewise. 1789 (ia64-waw.tbl): Likewise. 1790 (ia64-war.tbl): Likewise. 1791 (ia64-asmtab.c): Generate it in the source directory. 1792 * Makefile.in: Regenerated. 1793 17942001-02-18 lars brinkhoff <lars@nocrew.org> 1795 1796 * Makefile.am: Add PDP-11 target. 1797 * configure.in: Likewise. 1798 * disassemble.c: Likewise. 1799 * pdp11-dis.c: New file. 1800 * pdp11-opc.c: New file. 1801 18022001-02-14 Jim Wilson <wilson@redhat.com> 1803 1804 * ia64-ic.tbl: Update from Intel. Add setf to fr-writers. 1805 * ia64-asmtab.c: Regenerate. 1806 1807Mon Feb 12 17:41:26 CET 2001 Jan Hubicka <jh@suse.cz> 1808 1809 * i386-dis.c (prefix_user_t): Add 'Y' to SSE ineger converison 1810 instructions. 1811 (putop): Handle 'Y' 1812 18132001-02-11 Maciej W. Rozycki <macro@ds2.pg.gda.pl> 1814 1815 * mips-dis.c (print_insn_arg): Use top four bits of the address of 1816 the following instruction not of the jump itself for the jump 1817 target. 1818 (print_mips16_insn_arg): Likewise. 1819 18202001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG> 1821 1822 * Makefile.am (stamp-lib): ranlib the libopcodes.a in the build 1823 directory. 1824 * Makefile.in: Regenerate. 1825 18262001-02-09 Schwidefsky <schwidefsky@de.ibm.com> 1827 1828 * Makefile.am: Add linux target for S/390. 1829 * Makefile.in: Likewise. 1830 * configure.in: Likewise. 1831 * disassemble.c: Likewise. 1832 * s390-dis.c: New file. 1833 * s390-mkopc.c: New file. 1834 * s390-opc.c: New file. 1835 * s390-opc.txt: New file. 1836 18372001-02-05 Jim Wilson <wilson@redhat.com> 1838 1839 * ia64-asmtab.c: Revert 2000-12-16 change. 1840 18412001-02-02 Patrick Macdonald <patrickm@redhat.com> 1842 1843 * fr30-desc.h: Regenerate with CGEN_MAX_SYNTAX_ELEMENTS. 1844 * m32r-desc.h: Regenerate. 1845 1846Thu Feb 1 16:29:06 MET 2001 Jan Hubicka <jh@suse.cz> 1847 1848 * i386-dis.c (dis386_att, grps): Use 'T' for push/pop 1849 (putop): Handle 'T', alphabetize order, fix 'I' handling in Intel syntax 1850 18512001-01-14 Alan Modra <alan@linuxcare.com.au> 1852 1853 * hppa-dis.c (print_insn_hppa): Handle '>' and '<' arg types. 1854 18552001-01-13 Nick Clifton <nickc@redhat.com> 1856 1857 * disassemble.c: Remove spurious white space. 1858 1859Sat Jan 13 01:48:24 MET 2001 Jan Hubicka <jh@suse.cz> 1860 1861 * i386-dis.c (dis386_att, disx86_64_att): Fix ret, lret and iret 1862 templates. 1863 18642001-01-11 Peter Targett <peter.targett@arccores.com> 1865 1866 * configure.in: Add arc-ext.lo for bfd_arc_arch selection. 1867 * Makefile.am (C_FILES): Add arc-ext.c. 1868 (ALL_MACHINES) Add arc-ext.lo. 1869 (INCLUDES) Add opcode directory to list. 1870 New dependency entry for arc-ext.lo. 1871 * disassemble.c (disassembler): Correct call to 1872 arc_get_disassembler. 1873 * arc-opc.c: New update for ARC, including full base 1874 instructions for ARC variants. 1875 * arc-dis.h, arc-dis.c: New update for ARC, including 1876 extensibility functionality. 1877 * arc-ext.h, arc-ext.c: New files for handling extensibility. 1878 18792001-01-10 Jan Hubicka <jh@suse.cz> 1880 1881 * i386-dis.c (PREGRP15 - PREGRP24): New. 1882 (dis386_twobyt): Add SSE2 instructions. 1883 (twobyte_uses_SSE_prefix: Rename from ... ; add new SSE instructions. 1884 (twobyte_uses_f3_prefix): ... this one. 1885 (grps): Add SSE instructions. 1886 (prefix_user_table): Add two new slots; add SSE2 instructions. 1887 (print_insn_i386): Rename uses_f3_prefix to uses_SSE_prefix; 1888 Handle the REPNZ and Data16 prefixes as well; do proper lookup 1889 to prefix_user_table. 1890 (OP_E): Accept mfence and lfence as well. 1891 (OP_MMX): Data16 prefix turns MMX to SSE; support REX extensions. 1892 (OP_XMM): Support REX extensions. 1893 (OP_EM): Likewise. 1894 (OP_EX): Likewise. 1895 18962001-01-09 Nick Clifton <nickc@redhat.com> 1897 1898 * arm-dis.c (print_insn): Set pc to zero for instructions with 1899 a reloc associated with them. 1900 19012001-01-09 Jeff Johnston <jjohnstn@redhat.com> 1902 1903 * cgen-asm.in (parse_insn_normal): Changed syn to be 1904 CGEN_SYNTAX_CHAR_TYPE. Changed all references to *syn 1905 as character to use CGEN_SYNTAX_CHAR macro and all comparisons 1906 to '\0' to use 0 instead. 1907 * cgen-dis.in (print_insn_normal): Ditto. 1908 * cgen-ibld.in (insert_insn_normal, extract_insn_normal): Ditto. 1909 19102001-01-05 Jan Hubicka <jh@suse.cz> 1911 1912 * i386-dis.c: Add x86_64 support. 1913 (rex): New static variable. 1914 (REX_MODE64, REX_EXTX, REX_EXTY, REX_EXTZ): New constants. 1915 (USED_REX): New macro. 1916 (Ev, Ed, Rm, Iq, Iv64, Cm, Dm, Rm*, Ob64, Ov64): New macros. 1917 (OP_I64, OP_OFF64, OP_IMREG): New functions. 1918 (OP_REG, OP_OFF): Declare. 1919 (get64, get32, get32s): New functions. 1920 (r??_reg): New constants. 1921 (dis386_att): Change templates of instruction implicitly promoted 1922 to 64bit; change e?? to RMe?? for unwind RM byte instructions. 1923 (grps): Likewise. 1924 (dis386_intel): Likewise. 1925 (dixx86_64_att): New table based on dis386_att. 1926 (dixx86_64_intel): New table based on dis386_intel. 1927 (names64, names8rex): New global variable. 1928 (names32, names16): Add extended registers. 1929 (prefix_user_t): Recognize rex prefixes. 1930 (prefix_name): Print REX prefixes nicely. 1931 (op_riprel): New global variable. 1932 (start_pc): Set type to bfd_vma. 1933 (print_insn_i386): Detect the 64bit mode and use proper table; 1934 move ckprefix after initializing the buffer; output unused rex prefixes; 1935 output information about target of RIP relative addresses. 1936 (putop): Support 'O' and 'I'. Update handling of "P', 'Q', 'R' and 'S'; 1937 (print_operand_value): New function. 1938 (OP_E, OP_G, OP_REG, OP_I, OP_J, OP_DIR, OP_OFF, OP_D): Add support for 1939 REX prefix and new modes. 1940 (get64, get32s): New. 1941 (get32): Return bfd_signed_vma type. 1942 (set_op): Initialize the op_riprel. 1943 * disassemble.c (disassembler): Recognize the x86-64 disassembly. 1944 19452001-01-03 Richard Sandiford <r.sandiford@redhat.com> 1946 1947 cgen-dis.in (read_insn): Use bfd_get_bits() 1948 19492001-01-02 Richard Sandiford <rsandifo@redhat.com> 1950 1951 * cgen-dis.c (hash_insn_array): Use bfd_put_bits(). 1952 (hash_insn_list): Likewise 1953 * cgen-ibld.in (insert_1): Use bfd_put_bits() and bfd_get_bits(). 1954 (extract_1): Use bfd_get_bits(). 1955 (extract_normal): Apply sign extension to both extraction 1956 methods. 1957 * cgen-opc.c (cgen_get_insn_value): Use bfd_get_bits() 1958 (cgen_put_insn_value): Use bfd_put_bits() 1959 19602000-12-28 Frank Ch. Eigler <fche@redhat.com> 1961 1962 * cgen-asm.in (parse_insn_normal): Print better error message for 1963 instructions with missing operands. 1964 19652000-12-21 Santeri Paavolainen <santtu@ssh.com> 1966 1967 * cgen-opc.c: Include alloca.h if HAVE_ALLOCA_H is defined. 1968 19692000-12-16 Nick Clifton <nickc@redhat.com> 1970 1971 * Makefile.in: Regenerate. 1972 * aclocal.m4: Regenerate. 1973 * config.in: Regenerate. 1974 * configure.in: Add spacing. 1975 * configure: Regenerate. 1976 * ia64-asmtab.c: Regenerate. 1977 * po/opcodes.pot: Regenerate. 1978 19792000-12-12 Frank Ch. Eigler <fche@redhat.com> 1980 1981 * cgen-asm.in (@arch@_cgen_assemble_insn): Prefer printing insert-time 1982 error messages over later parse-time ones. 1983 19842000-12-12 Jim Wilson <wilson@redhat.com> 1985 1986 * ia64-dis.c (print_insn_ia64): Cast away const on ia64_free_opcode 1987 argument. 1988 * ia64-gen.c (insert_deplist): Cast sizeof result to int. 1989 (print_dependency_table): Print NULL if semantics field not set. 1990 (insert_opcode_dependencies): Mark cmp parameter as unused. 1991 (print_main_table): Use fprintf_vma to print long long fields. 1992 (main): Mark argv paramter as unused. Convert to old style definition. 1993 * ia64-opc.c (ia64_find_dependency): Cast sizeof result to int. 1994 * ia64-asmtab.c: Regnerate. 1995 19962000-12-09 Nick Clifton <nickc@redhat.com> 1997 1998 * m32r-dis.c (print_insn): Prevent re-read of instruction from 1999 wrong address. 2000 2001 * fr30-dis.c: Regenerate. 2002 20032000-12-08 Peter Targett <peter.targett@arccores.com> 2004 2005 * configure.in: Add arc-ext.lo for bfd_arc_arch selection. 2006 * Makefile.am (C_FILES): Add arc-ext.c. 2007 (ALL_MACHINES) Add arc-ext.lo. 2008 (INCLUDES) Add opcode directory to list. 2009 New dependency entry for arc-ext.lo. 2010 * disassemble.c (disassembler): Correct call to 2011 arc_get_disassembler. 2012 * arc-opc.c: New update for ARC, including full base 2013 instructions for ARC variants. 2014 * arc-dis.h, arc-dis.c: New update for ARC, including 2015 extensibility functionality. 2016 * arc-ext.h, arc-ext.c: New files for handling extensibility. 2017 20182000-12-03 Chris Demetriou cgd@sibyte.com 2019 2020 * mips-opc.c (mips_builtin_opcodes): Use the WR_HILO, RD_HILO, 2021 MOD_HILO, and MOD_LO macros. 2022 2023 * mips-opc.c (M1, M2): Delete. 2024 (mips_builtin_opcodes): Remove all uses of M1. 2025 2026 * mips-opc.c (mips_builtin_opcodes): Make the dmfc2 and dmtc2 2027 instructions take "G" format second operands and use the 2028 correct flags. 2029 There are mfc3 and mtc3 opcodes, so add dmfc3 and dmtc3 opcodes to 2030 match. 2031 Delete "sel" code operands from mfc1 and mtc1. 2032 Add MIPS64 opcode changes (dclo, dclz), and "sel" code variants 2033 for dm[ft]c[023]. 2034 20352000-12-03 Ed Satterthwaite ehs@sibyte.com and 2036 Chris Demetriou cgd@sibyte.com 2037 2038 * mips-opc.c (mips_builtin_opcodes): Finish additions 2039 for MIPS32 support, and clean up existing entries for 2040 aesthetics, consistency with the MIPS32 ISA, and 2041 with consistency the rest of the table. 2042 20432000-12-01 Nick Clifton <nickc@redhat.com> 2044 2045 * mips16-opc.c (mips16_opcodes): Add initialiser for membership 2046 field. 2047 20482000-12-01 Chris Demetriou <cgd@sibyte.com> 2049 2050 mips-dis.c (print_insn_arg): Handle new 'U' and 'J' argument 2051 specifiers. Update 'B' for new constant names, and remove 2052 'm'. 2053 mips-opc.c (mips_builtin_opcodes): Place "pref" and "ssnop" 2054 near the top of the array, so they are disassembled properly. 2055 Enable "ssnop" for MIPS32. Add "break" variant with 20 bit 2056 code for MIPS32. Update "clo" and "clz" to use 'U' operand 2057 specifier. Add 'H' format specifier variants for "mfc1," 2058 "mfc2," "mfc3," "mtc1," "mtc2," and "mtc3" for MIPS32. Update 2059 MIPS32 "sdbbp" to use 'B' operand specifier. Add MIPS32 2060 "wait" variant which uses 'J' operand specifier. 2061 2062 * mips-dis.c (set_mips_isa_type): Update to use 2063 CPU_UNKNOWN and ISA_* constants. Add bfd_mach_mips32 case. 2064 Replace bfd_mach_mips4K with bfd_mach_mips32_4k case. 2065 * mips-opc.c (I32): New constant for instructions added in 2066 MIPS32. 2067 (P4): Delete. 2068 (mips_builtin_opcodes) Replace all uses of P4 with I32. 2069 2070 * mips-dis.c (set_mips_isa_type): Add cases for 2071 bfd_mach_mips5 and bfd_mach_mips64. 2072 * mips-opc.c (I64): New definitions. 2073 2074 * mips-dis.c (set_mips_isa_type): Add case for 2075 bfd_mach_mips_sb1. 2076 20772000-11-28 Hans-Peter Nilsson <hp@bitrange.com> 2078 2079 * sh-dis.c (print_insn_ddt): Make insn_x, insn_y unsigned. 2080 (print_insn_ppi): Make nib1, nib2, nib3 unsigned. 2081 Initialize variable dc to NULL. 2082 (print_insn_shx): Remove unused label d_reg_n. 2083 20842000-11-24 Nick Clifton <nickc@redhat.com> 2085 2086 * arm-opc.h: Add new opcode formatting parameter 'B'. 2087 (arm_opcodes): Add XScale, v5, and v5te instructions. 2088 (thumb_opcodes): Add v5t instructions. 2089 2090 * arm-dis.c (print_insn_arm): Handle new 'B' format 2091 parameter. 2092 (print_insn_thumb): Decode BLX(1) instruction. 2093 20942000-11-21 Chris Demetriou <cgd@sibyte.com> 2095 2096 * mips-opc.c: Fix file header comment. 2097 20982000-11-14 Hans-Peter Nilsson <hp@axis.com> 2099 2100 * cris-dis.c (cris_get_disassembler): If abfd is NULL, return 2101 print_insn_cris_with_register_prefix. 2102 21032000-11-11 Alexandre Oliva <aoliva@redhat.com> 2104 2105 * sh-opc.h: The operand of `mov.w r0, (<disp>,GBR)' is IMM1, not 0. 2106 21072000-11-07 Matthew Green <mrg@redhat.com> 2108 2109 * cgen-dis.in (print_insn): All insns which can fit into insn_value 2110 must be loaded there in their entirety. 2111 21122000-10-20 Jakub Jelinek <jakub@redhat.com> 2113 2114 * sparc-dis.c (v9a_asr_reg_names): Add v9b ASRs. 2115 (compute_arch_mask): Add v8plusb and v9b machines. 2116 (print_insn_sparc): siam mode decoding, accept ASRs up to 25. 2117 * sparc-opc.c: Support for Cheetah instruction set. 2118 (prefetch_table): Add #invalidate. 2119 21202000-10-16 Nick Clifton <nickc@redhat.com> 2121 2122 * mcore-dis.c (imsk): Change mask for OC to 0xFE00. 2123 21242000-10-06 Dave Brolley <brolley@redhat.com> 2125 2126 * fr30-desc.h: Regenerate. 2127 * m32r-desc.h: Regenerate. 2128 * m32r-ibld.c: Regenerate. 2129 21302000-10-05 Jim Wilson <wilson@redhat.com> 2131 2132 * ia64-ic.tbl: Update from Intel. 2133 * ia64-asmtab.c: Regenerate. 2134 21352000-10-04 Kazu Hirata <kazu@hxi.com> 2136 2137 * ia64-gen.c: Convert C++-style comments to C-style comments. 2138 * tic54x-dis.c: Likewise. 2139 21402000-09-29 Hans-Peter Nilsson <hp@axis.com> 2141 2142 Changes to add dollar prefix to registers for files where user symbols 2143 don't have a leading underscore. Fix formatting. 2144 * cris-dis.c (REGISTER_PREFIX_CHAR): New. 2145 (format_reg): Add parameter with_reg_prefix. All callers changed. 2146 (print_with_operands): Ditto. 2147 (print_insn_cris_generic): Renamed from print_insn_cris, add 2148 parameter with_reg_prefix. 2149 (print_insn_cris_with_register_prefix, 2150 print_insn_cris_without_register_prefix, cris_get_disassembler): 2151 New. 2152 * disassemble.c (disassembler) [ARCH_cris]: Call cris_get_disassembler. 2153 21542000-09-22 Jim Wilson <wilson@redhat.com> 2155 2156 * ia64-opc-f.c (ia64_opcodes_f): Add fpcmp pseudo-ops for 2157 gt, ge, ngt, and nge. 2158 * ia64-asmtab.c: Regenerate. 2159 2160 * ia64-dis.c (print_insn_ia64): Revert Aug 7 byte skip count change. 2161 * ia64-gen.c (parse_semantics): Handle IA64_DVS_STOP. 2162 (lookup_specifier): Handle "PR%, 1 to 15" and "PR%, 16 to 62". 2163 * ia64-ic.tbl, ia64-raw.tbl, ia64-war.tbl, ia64-waw.tbl: Update. 2164 * ia64-asmtab.c: Regnerate. 2165 21662000-09-13 Anders Norlander <anorland@acc.umu.se> 2167 2168 * mips-opc.c (mips_builtin_opcodes): Support cache instruction on 4K cores. 2169 Add mfc0 and mtc0 with sub-selection values. 2170 Add clo and clz opcodes. 2171 Add msub and msubu instructions for MIPS32. 2172 Add madd/maddu aliases for mad/madu for MIPS32. 2173 Support wait, deret, eret, movn, pref for MIPS32. 2174 Support tlbp, tlbr, tlbwi, tlbwr. 2175 (P4): New define. 2176 2177 * mips-dis.c (print_insn_arg): Print sdbbp 'm' args. 2178 (print_insn_arg): Handle 'H' args. 2179 (set_mips_isa_type): Recognize 4K. 2180 Use CPU_* defines instead of hardcoded numbers. 2181 21822000-09-11 Catherine Moore <clm@redhat.com> 2183 2184 * d30v-opc.c (d30v_operand_t): New operand type Rb2. 2185 (d30v_format_tab): Use Rb2 for modinc and moddec. 2186 21872000-09-07 Catherine Moore <clm@redhat.com> 2188 2189 * d30v-opc.c (d30v_format_tab): Use format Ra for 2190 modinc and moddec. 2191 21922000-09-06 Alexandre Oliva <aoliva@redhat.com> 2193 2194 * configure: Rebuilt with new libtool.m4. 2195 21962000-09-05 Nick Clifton <nickc@redhat.com> 2197 2198 * configure: Regenerate. 2199 * po/opcodes.pot: Regenerate. 2200 22012000-08-31 Alexandre Oliva <aoliva@redhat.com> 2202 2203 * acinclude.m4: Include libtool and gettext macros from the 2204 top level. 2205 * aclocal.m4, configure: Rebuilt. 2206 22072000-08-30 Kazu Hirata <kazu@hxi.com> 2208 2209 * tic80-dis.c: Fix formatting. 2210 22112000-08-29 Kazu Hirata <kazu@hxi.com> 2212 2213 * w65-dis.c: Fix formatting. 2214 22152000-08-28 Mark Hatle <mhatle@mvista.com> 2216 2217 * ppc-opc.c: Add XTLB macro for a few PPC 4xx extended mnemonics. 2218 (powerpc_opcodes): Add table entries for PPC 405 instructions. 2219 Changed rfci, icbt, mfdcr, dccci, mtdcr, iccci from PPC to PPC403 2220 instructions. Added extended mnemonic mftbl as defined in the 2221 405GP manual for all PPCs. 2222 22232000-08-28 Jim Wilson <wilson@redhat.com> 2224 2225 * ia64-dis.c (print_insn_ia64): Add failed label after ia64_free_opcode 2226 call. Change last goto to use failed instead of done. 2227 22282000-08-28 Dave Brolley <brolley@redhat.com> 2229 2230 * cgen-ibld.in (cgen_put_insn_int_value): New function. 2231 (insert_normal): Allow for non-zero word_offset with CGEN_INT_INSN_P. 2232 (insert_insn_normal): Use cgen_put_insn_int_value with CGEN_INT_INSN_P. 2233 (extract_normal): Allow for non-zero word_offset with CGEN_INT_INSN_P. 2234 * cgen-dis.in (read_insn): New static function. 2235 (print_insn): Use read_insn to read the insn into the buffer and set 2236 up for disassembly. 2237 (print_insn): in CGEN_INT_INSN_P, make sure that the entire insn is 2238 in the buffer. 2239 * fr30-asm.c: Regenerated. 2240 * fr30-desc.c: Regenerated. 2241 * fr30-desc.h: Regenerated. 2242 * fr30-dis.c: Regenerated. 2243 * fr30-ibld.c: Regenerated. 2244 * fr30-opc.c: Regenerated. 2245 * fr30-opc.h: Regenerated. 2246 * m32r-asm.c: Regenerated. 2247 * m32r-desc.c: Regenerated. 2248 * m32r-desc.h: Regenerated. 2249 * m32r-dis.c: Regenerated. 2250 * m32r-ibld.c: Regenerated. 2251 * m32r-opc.c: Regenerated. 2252 22532000-08-28 Kazu Hirata <kazu@hxi.com> 2254 2255 * tic30-dis.c: Fix formatting. 2256 22572000-08-27 Kazu Hirata <kazu@hxi.com> 2258 2259 * sh-dis.c: Fix formatting. 2260 22612000-08-24 David Edelsohn <dje@watson.ibm.com> 2262 2263 * ppc-opc.c (powerpc_opcodes): Add rfid, mtsrd, mtsrdin, mtmsrd. 2264 22652000-08-24 Kazu Hirata <kazu@hxi.com> 2266 2267 * z8k-dis.c: Fix formatting. 2268 22692000-08-16 Jim Wilson <wilson@redhat.com> 2270 2271 * ia64-ic.tbl (pr-readers-nobr-nomovpr): Add addl, adds. Delete 2272 break, mov-immediate, nop. 2273 * ia64-opc-f.c: Delete fpsub instructions. 2274 * ia64-opc-m.c: Add POSTINC to all instructions with postincrement 2275 address operand. Rewrite using macros to avoid long lines. 2276 * ia64-opc.h (POSTINC): Define. 2277 * ia64-asmtab.c: Regenerate. 2278 22792000-08-15 Jim Wilson <wilson@redhat.com> 2280 2281 * ia64-ic.tbl: Add missing entries. 2282 22832000-08-08 Jason Eckhardt <jle@redhat.com> 2284 2285 * i860-dis.c (print_br_address): Change third argument from int 2286 to long. 2287 22882000-08-07 Richard Henderson <rth@redhat.com> 2289 2290 * ia64-dis.c (print_insn_ia64): Get byte skip count correct 2291 for MLI templates. Handle IA64_OPND_TGT64. 2292 22932000-08-04 Ben Elliston <bje@redhat.com> 2294 2295 * cgen-dis.in, cgen-asm.in, cgen-ibld.in: New files. 2296 * cgen.sh: Likewise. 2297 22982000-08-02 Jim Wilson <wilson@redhat.com> 2299 2300 * ia64-dis.c (print_insn_ia64): Call ia64_free_opcode at end. 2301 23022000-07-29 Marek Michalkiewicz <marekm@linux.org.pl> 2303 2304 * avr-dis.c (avr_operand): Use PARAMS macro in declaration. 2305 Change return type from void to int. Check the combination 2306 of operands, return 1 if valid. Fix to avoid BUF overflow. 2307 Report undefined combinations of operands in COMMENT. 2308 Report internal errors to stderr. Output the adiw/sbiw 2309 constant operand in both decimal and hex. 2310 (print_insn_avr): Disassemble ldd/std with displacement of 0 2311 as ld/st. Check avr_operand () return value, handle invalid 2312 combinations of operands like unknown opcodes. 2313 23142000-07-28 Ben Elliston <bje@redhat.com> 2315 2316 * Makefile.am (CGEN, CGENDEPS, CGENDIR, CGENFLAGS): New. 2317 (run-cgen, stamp-m32r, stamp-fr30): New targets. 2318 * Makefile.in: Regenerate. 2319 * configure.in: Add --enable-cgen-maint option. 2320 * configure: Regenerate. 2321 23222000-07-26 Dave Brolley <brolley@redhat.com> 2323 2324 * cgen-opc.c (cgen_hw_lookup_by_name): 'i' is now unsigned. 2325 (cgen_hw_lookup_by_num): Ditto. 2326 (cgen_operand_lookup_by_name): Ditto. 2327 (print_address): Ditto. 2328 (print_keyword): Ditto. 2329 * cgen-dis.c (hash_insn_array): Mark unused parameters with 2330 ATTRIBUTE_UNUSED. 2331 * cgen-asm.c (hash_insn_array): Mark unused parameters with 2332 ATTRIBUTE_UNUSED. 2333 (cgen_parse_keyword): Ditto. 2334 23352000-07-22 Jason Eckhardt <jle@redhat.com> 2336 2337 * i860-dis.c: New file. 2338 (print_insn_i860): New function. 2339 (print_br_address): New function. 2340 (sign_extend): New function. 2341 (BITWISE_OP): New macro. 2342 (I860_REG_PREFIX): New macro. 2343 (grnames, frnames, crnames): New structures. 2344 2345 * disassemble.c (ARCH_i860): Define. 2346 (disassembler): Add check for bfd_arch_i860 to set disassemble 2347 function to print_insn_i860. 2348 2349 * Makefile.in (CFILES): Added i860-dis.c. 2350 (ALL_MACHINES): Added i860-dis.lo. 2351 (i860-dis.lo): New dependences. 2352 2353 * configure.in: New bits for bfd_i860_arch. 2354 2355 * configure: Regenerated. 2356 23572000-07-20 Hans-Peter Nilsson <hp@axis.com> 2358 2359 * Makefile.am (CFILES): Add cris-dis.c and cris-opc.c. 2360 (ALL_MACHINES): Add cris-dis.lo and cris-opc.lo. 2361 (cris-dis.lo, cris-opc.lo): New rules. 2362 * Makefile.in: Rebuild. 2363 * configure.in (bfd_cris_arch): New target. 2364 * configure: Rebuild. 2365 * disassemble.c (ARCH_cris): Define. 2366 (disassembler): Support ARCH_cris. 2367 * cris-dis.c, cris-opc.c: New files. 2368 * po/POTFILES.in, po/opcodes.pot: Regenerate. 2369 23702000-07-11 Jakub Jelinek <jakub@redhat.com> 2371 2372 * sparc-opc.c (sparc_opcodes): popc has 0 in rs1, not rs2. 2373 Reported by Bill Clarke <llib@computer.org>. 2374 23752000-07-09 Geoffrey Keating <geoffk@redhat.com> 2376 2377 * ppc-opc.c (powerpc_opcodes): Correct suffix for vslw. 2378 Patch by Randall J Fisher <rfisher@ecn.purdue.edu>. 2379 23802000-07-09 Alan Modra <alan@linuxcare.com.au> 2381 2382 * hppa-dis.c (fput_reg, fput_fp_reg, fput_fp_reg_r, fput_creg, 2383 fput_const, extract_3, extract_5_load, extract_5_store, 2384 extract_5r_store, extract_5R_store, extract_10U_store, 2385 extract_5Q_store, extract_11, extract_14, extract_16, extract_21, 2386 extract_12, extract_17, extract_22): Prototype. 2387 (print_insn_hppa): Rename inner block opcode -> opc to avoid 2388 shadowing outer block. 2389 (GET_BIT): Define. 2390 23912000-07-05 DJ Delorie <dj@redhat.com> 2392 2393 * MAINTAINERS: new 2394 23952000-07-04 Alexandre Oliva <aoliva@redhat.com> 2396 2397 * arm-dis.c (print_insn_arm): Output combinations of PSR flags. 2398 23992000-07-03 Marek Michalkiewicz <marekm@linux.org.pl> 2400 2401 * avr-dis.c (avr_operand): Change _ () to _() around all strings 2402 marked for translation (exception from the usual coding style). 2403 (print_insn_avr): Initialize insn2 to avoid warnings. 2404 24052000-07-03 Kazu Hirata <kazu@hxi.com> 2406 2407 * h8300-dis.c (bfd_h8_disassemble): Improve readability. 2408 * h8500-dis.c: Fix formatting. 2409 24102000-07-01 Alan Modra <alan@linuxcare.com.au> 2411 2412 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed 2413 (CLEANFILES): Add DEPA. 2414 * Makefile.in: Regenerate. 2415 24162000-06-26 Scott Bambrough <scottb@netwinder.org> 2417 2418 * arm-dis.c (regnames): Add an additional register set to match 2419 the set used by GCC. Make it the default. 2420 24212000-06-22 Alan Modra <alan@linuxcare.com.au> 2422 2423 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we 2424 find one. 2425 * Makefile.in: Regenerate. 2426 24272000-06-20 H.J. Lu <hjl@gnu.org> 2428 2429 * Makefile.am: Rebuild dependency. 2430 * Makefile.in: Rebuild. 2431 24322000-06-18 Stephane Carrez <stcarrez@worldnet.fr> 2433 2434 * Makefile.in, configure: regenerate 2435 * disassemble.c (disassembler): Recognize ARCH_m68hc12, 2436 ARCH_m68hc11. 2437 * m68hc11-dis.c (read_memory, print_insn, print_insn_m68hc12): 2438 New functions. 2439 * configure.in: Recognize m68hc12 and m68hc11. 2440 * m68hc11-dis.c, m68hc11-opc.c: New files for support of m68hc1x 2441 * Makefile.am (CFILES, ALL_MACHINES): New files for disassembly 2442 and opcode generation for m68hc11 and m68hc12. 2443 24442000-06-16 Nick Duffek <nsd@redhat.com> 2445 2446 * disassemble.c (disassembler): Refer to the PowerPC 620 using 2447 bfd_mach_ppc_620 instead of 620. 2448 24492000-06-12 Kazu Hirata <kazu@hxi.com> 2450 2451 * h8300-dis.c: Fix formatting. 2452 (bfd_h8_disassemble): Distinguish adds/subs, inc/dec.[wl] 2453 correctly. 2454 24552000-06-09 Denis Chertykov <denisc@overta.ru> 2456 2457 * avr-dis.c (avr_operand): Bugfix for jmp/call address. 2458 24592000-06-07 Denis Chertykov <denisc@overta.ru> 2460 2461 * avr-dis.c: completely rewritten. 2462 24632000-06-02 Kazu Hirata <kazu@hxi.com> 2464 2465 * h8300-dis.c: Follow the GNU coding style. 2466 (bfd_h8_disassemble) Fix a typo. 2467 24682000-06-01 Kazu Hirata <kazu@hxi.com> 2469 2470 * h8300-dis.c (bfd_h8_disassemble_init): Fix a typo. 2471 (bfd_h8_disassemble): Distinguish the operand size of inc/dev.[wl] 2472 correctly. Fix a typo. 2473 24742000-05-31 Nick Clifton <nickc@redhat.com> 2475 2476 * opintl.h (_(String)): Explain why dgettext is used instead of 2477 gettext. 2478 24792000-05-30 Nick Clifton <nickc@redhat.com> 2480 2481 * opintl.h (gettext, dgettext, dcgettext, textdomain, 2482 bindtextdomain): Replace defines with those from intl/libgettext.h 2483 to quieten gcc warnings. 2484 24852000-05-26 Alan Modra <alan@linuxcare.com.au> 2486 2487 * Makefile.am: Update dependencies with "make dep-am" 2488 * Makefile.in: Regenerate. 2489 24902000-05-25 Alexandre Oliva <aoliva@redhat.com> 2491 2492 * m10300-dis.c (disassemble): Don't assume 32-bit longs when 2493 sign-extending operands. 2494 24952000-05-15 Donald Lindsay <dlindsay@redhat.com> 2496 2497 * d10v-opc.c (d10v_opcodes): add ALONE tag to all short branches 2498 except brf's. 2499 25002000-05-21 Nick Clifton <nickc@redhat.com> 2501 2502 * Makefile.am (LIBIBERTY): Define. 2503 25042000-05-19 Diego Novillo <dnovillo@redhat.com> 2505 2506 * mips-dis.c (REGISTER_NAMES): Rename to STD_REGISTER_NAMES. 2507 (STD_REGISTER_NAMES): New name for REGISTER_NAMES. 2508 (reg_names): Rename to std_reg_names. Change it to a char ** 2509 static variable. 2510 (std_reg_names): New name for reg_names. 2511 (set_mips_isa_type): Set reg_names to point to std_reg_names by 2512 default. 2513 25142000-05-16 Frank Ch. Eigler <fche@redhat.com> 2515 2516 * fr30-desc.h: Partially regenerated to account for changed 2517 CGEN_MAX_* -> CGEN_ACTUAL_MAX_* macros. 2518 * m32r-desc.h: Ditto. 2519 25202000-05-15 Nick Clifton <nickc@redhat.com> 2521 2522 * arm-opc.h: Use upper case for flasg in MSR and MRS 2523 instructions. Allow any bit to be set in the field_mask of 2524 the MSR instruction. 2525 2526 * arm-dis.c (print_insn_arm): Decode _x and _s bits of the 2527 field_mask of an MSR instruction. 2528 25292000-05-11 Thomas de Lellis <tdel@windriver.com> 2530 2531 * arm-opc.h: Disassembly of thumb ldsb/ldsh 2532 instructions changed to ldrsb/ldrsh. 2533 25342000-05-11 Ulf Carlsson <ulfc@engr.sgi.com> 2535 2536 * mips-dis.c (print_insn_arg): Don't mask top 32 bits of 64-bit 2537 target addresses for 'jal' and 'j'. 2538 25392000-05-10 Geoff Keating <geoffk@redhat.com> 2540 2541 * ppc-opc.c (powerpc_opcodes): Make the predicted-branch opcodes 2542 also available in common mode when powerpc syntax is being used. 2543 25442000-05-08 Alan Modra <alan@linuxcare.com.au> 2545 2546 * m68k-dis.c (dummy_printer): Add ATTRIBUTE_UNUSED to args. 2547 (dummy_print_address): Ditto. 2548 25492000-05-04 Timothy Wall <twall@redhat.com> 2550 2551 * tic54x-opc.c: New. 2552 * tic54x-dis.c: New. 2553 * disassemble.c (disassembler): Add ARCH_tic54x. 2554 * configure.in: Added tic54x target. 2555 * configure: Ditto. 2556 * Makefile.am: Add tic54x dependencies. 2557 * Makefile.in: Ditto. 2558 25592000-05-03 J.T. Conklin <jtc@redback.com> 2560 2561 * ppc-opc.c (VA, VB, VC, VD, VS, SIMM, UIMM, SHB): New macros, for 2562 vector unit operands. 2563 (VX, VX_MASK, VXA, VXA_MASK, VXR, VXR_MASK): New macros, for vector 2564 unit instruction formats. 2565 (PPCVEC): New macro, mask for vector instructions. 2566 (powerpc_operands): Add table entries for above operand types. 2567 (powerpc_opcodes): Add table entries for vector instructions. 2568 2569 * ppc-dis.c (print_insn_big_powerpc): Add PPC_OPCODE_ALTIVEC to mask. 2570 (print_insn_little_powerpc): Likewise. 2571 (print_insn_powerpc): Prepend 'v' when printing vector registers. 2572 25732000-04-24 Clinton Popetz <cpopetz@redhat.com> 2574 2575 * configure.in: Add bfd_powerpc_64_arch. 2576 * disassemble.c (disassembler): Use print_insn_big_powerpc for 2577 64 bit code. 2578 25792000-04-24 Nick Clifton <nickc@redhat.com> 2580 2581 * fr30-desc.c (fr30_cgen_cpu_open): Initialise signed_overflow 2582 field. 2583 25842000-04-23 Denis Chertykov <denisc@overta.ru> 2585 2586 * avr-dis.c (reg_fmul_d): New. Extract destination register from 2587 FMUL instruction. 2588 (reg_fmul_r): New. Extract source register from FMUL instruction. 2589 (reg_muls_d): New. Extract destination register from MULS instruction. 2590 (reg_muls_r): New. Extract source register from MULS instruction. 2591 (reg_movw_d): New. Extract destination register from MOVW instruction. 2592 (reg_movw_r): New. Extract source register from MOVW instruction. 2593 (print_insn_avr): Handle MOVW, MULS, MULSU, FMUL, FMULS, FMULSU, 2594 EICALL, EIJMP, LPM r,Z, ELPM r,Z, SPM, ESPM instructions. 2595 25962000-04-22 Timothy Wall <twall@redhat.com> 2597 2598 * ia64-gen.c (general): Add an ordered table of primary 2599 opcode names, as well as priority fields to disassembly data 2600 structures to enforce a preferred disassembly format based on the 2601 ordering of the opcode tables. 2602 (load_insn_classes): Show a useful message if IC tables are missing. 2603 (load_depfile): Ditto. 2604 * ia64-asmtab.h (struct ia64_dis_names ): Add priority flag to 2605 distinguish preferred disassembly. 2606 * ia64-opc-f.c: Reorder some insn for preferred disassembly 2607 format. Fix incorrect flag on fma.s/fma.s.s0. 2608 * ia64-opc.c: Scan *all* disassembly matches and use the one with 2609 the highest priority. 2610 * ia64-opc-b.c: Use more abbreviations. 2611 * ia64-asmtab.c: Regenerate. 2612 26132000-04-21 Jason Eckhardt <jle@redhat.com> 2614 2615 * hppa-dis.c (extract_16): New function. 2616 (print_insn_hppa): Fix incorrect handling of 'fe'. Added handling of 2617 new operand types l,y,&,fe,fE,fx. 2618 26192000-04-21 Richard Henderson <rth@redhat.com> 2620 David Mosberger <davidm@hpl.hp.com> 2621 Timothy Wall <twall@redhat.com> 2622 Bob Manson <manson@charmed.cygnus.com> 2623 Jim Wilson <wilson@redhat.com> 2624 2625 * Makefile.am (HFILES): Add ia64-asmtab.h, ia64-opc.h. 2626 (CFILES): Add ia64-dis.c, ia64-opc-a.c, ia64-opc-b.c, ia64-opc-f.c, 2627 ia64-opc-i.c, ia64-opc-m.c, ia64-opc-d.c, ia64-opc.c, ia64-gen.c, 2628 ia64-asmtab.c. 2629 (ALL_MACHINES): Add ia64-dis.lo, ia64-opc.lo. 2630 (ia64-ic.tbl, ia64-raw.tbl, ia64-waw.tbl, ia64-war.tbl, ia64-gen, 2631 ia64-gen.o, ia64-asmtab.c, ia64-dis.lo, ia64-opc.lo): New rules. 2632 * Makefile.in: Rebuild. 2633 * configure Rebuild. 2634 * configure.in (bfd_ia64_arch): New target. 2635 * disassemble.c (ARCH_ia64): Define. 2636 (disassembler): Support ARCH_ia64. 2637 * ia64-asmtab.c, ia64-asmtab.h, ia64-dis.c, ia64-gen.c ia64-ic.tbl, 2638 ia64-opc-a.c, ia64-opc-b.c, ia64-opc-d.c ia64-opc-f.c, ia64-opc-i.c, 2639 ia64-opc-m.c, ia64-opc-x.c, ia64-opc.c, ia64-opc.h, ia64-raw.tbl, 2640 ia64-war.tbl, ia64-waw.tbl: New files. 2641 26422000-04-20 Alexandre Oliva <aoliva@redhat.com> 2643 2644 * m10300-dis.c (HAVE_AM30, HAVE_AM33): Define. 2645 (disassemble): Use them. 2646 26472000-04-14 Alan Modra <alan@linuxcare.com.au> 2648 2649 * sysdep.h: Include "ansidecl.h" not <ansidecl.h> 2650 * Makefile.am: Update dependencies. 2651 * Makefile.in: Regenerate. 2652 26532000-04-14 Michael Sokolov <msokolov@ivan.Harhan.ORG> 2654 2655 * a29k-dis.c, alpha-dis.c, alpha-opc.c, arc-dis.c, arc-opc.c, 2656 avr-dis.c, d10v-dis.c, d10v-opc.c, d30v-dis.c, d30v-opc.c, 2657 disassemble.c, h8300-dis.c, h8500-dis.c, hppa-dis.c, i370-dis.c, 2658 i370-opc.c, i960-dis.c, m10200-dis.c, m10200-opc.c, m10300-dis.c, 2659 m10300-opc.c, m68k-dis.c, m68k-opc.c, m88k-dis.c, mcore-dis.c, 2660 mips-dis.c, mips-opc.c, mips16-opc.c, pj-dis.c, pj-opc.c, 2661 ppc-dis.c, ppc-opc.c, sh-dis.c, sparc-dis.c, sparc-opc.c, 2662 tic80-dis.c, tic80-opc.c, v850-dis.c, v850-opc.c, vax-dis.c, 2663 w65-dis.c, z8k-dis.c, z8kgen.c: Include sysdep.h. Remove 2664 ansidecl.h as sysdep.h includes it. 2665 26662000-04-7 Andrew Cagney <cagney@b1.redhat.com> 2667 2668 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add 2669 --enable-build-warnings option. 2670 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions. 2671 * Makefile.in, configure: Re-generate. 2672 26732000-04-05 J"orn Rennecke <amylaar@redhat.com> 2674 2675 * sh-opc.h (sh_table): Use A_DISP_PC / PCRELIMM_8BY2 for ldre & ldrs. 2676 stc GBR,@-<REG_N> is available for arch_sh1_up. 2677 Group parallel processing insn with identical mnemonics together. 2678 Make three-operand psha / pshl come first. 2679 26802000-04-05 J"orn Rennecke <amylaar@redhat.co.uk> 2681 2682 * sh-opc.h (sh_nibble_type): Remove DISP_8 and DISP_4. 2683 Split IMM_[48]{,BY[24]} into IMM[01]_[48]{,BY[24]}. Add REPEAT. 2684 (sh_arg_type): Add A_PC. 2685 (sh_table): Update entries using immediates. Add repeat. 2686 * sh-dis.c (print_insn_shx): Remove DISP_8 and DISP_4. 2687 Split IMM_[48]{,BY[24]} into IMM[01]_[48]{,BY[24]}. Add REPEAT. 2688 26892000-04-04 Alan Modra <alan@linuxcare.com.au> 2690 2691 * po/opcodes.pot: Regenerate. 2692 2693 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep. 2694 (DEP): Quote when passing vars to sub-make. Add warning message 2695 to end. 2696 (DEP1): Rewrite for "gcc -MM". 2697 (CLEANFILES): Add DEP2. 2698 Update dependencies. 2699 * Makefile.in: Regenerate. 2700 27012000-04-03 Denis Chertykov <denisc@overta.ru> 2702 2703 * avr-dis.c: Syntax cleanup. 2704 (add0fff): Print the pc relative address as a signed number. 2705 (add03f8): Likewise. 2706 27072000-04-01 Ian Lance Taylor <ian@zembu.com> 2708 2709 * disassemble.c (disassembler_usage): Don't use a prototype. Mark 2710 the parameter ATTRIBUTE_UNUSED. 2711 * ppc-opc.c: Add ATTRIBUTE_UNUSED as needed. 2712 27132000-04-01 Alexandre Oliva <aoliva@redhat.com> 2714 2715 * m10300-opc.c: SP-based offsets are always unsigned. 2716 27172000-03-29 Thomas de Lellis <tdel@windriver.com> 2718 2719 * arm-opc.h (thumb_opcodes): Disassemble 0xde.. to "bal" 2720 [branch always] instead of "undefined". 2721 27222000-03-27 Nick Clifton <nickc@redhat.com> 2723 2724 * d30v-opc.c (d30v_format_table): Move SHORT_AR to end of list of 2725 short instructions, from end of list of long instructions. 2726 27272000-03-27 Ian Lance Taylor <ian@zembu.com> 2728 2729 * Makefile.am (CFILES): Add avr-dis.c. 2730 (ALL_MACHINES): Add avr-dis.lo. 2731 27322000-03-27 Alan Modra <alan@linuxcare.com> 2733 2734 * avr-dis.c (add0fff, add03f8): Don't use structure bitfields to 2735 truncate integers. 2736 (print_insn_avr): Call function via pointer in K&R compatible way. 2737 (dispLDD, regPP, reg50, reg104, reg40, reg20w, lit404, lit204, 2738 add0fff, add03f8): Convert to old style function declaration and 2739 add prototype. 2740 (avrdis_opcode): Add prototype. 2741 27422000-03-27 Denis Chertykov <denisc@overta.ru> 2743 2744 * avr-dis.c: New file. AVR disassembler. 2745 * configure.in (bfd_avr_arch): New architecture support. 2746 * disassemble.c: Likewise. 2747 * configure: Regenerate. 2748 27492000-03-06 J"oern Rennecke <amylaar@redhat.com> 2750 2751 * sh-opc.h (sh_table): ldre and ldrs have a *signed* displacement. 2752 27532000-03-02 J"orn Rennecke <amylaar@redhat.co.uk> 2754 2755 * d30v-dis.c (print_insn): Remove d*i hacks. Use per-operand 2756 flag to determine if operand is pc-relative. 2757 * d30v-opc.c: 2758 (d30v_format_table): 2759 (REL6S3): Renamed from IMM6S3. 2760 Added flag OPERAND_PCREL. 2761 (REL12S3, REL18S3, REL32): Split from IMM12S3, IMM18S3, REL32, with 2762 added flag OPERAND_PCREL. 2763 (IMM12S3U): Replaced with REL12S3. 2764 (SHORT_D2, LONG_D): Delay target is pc-relative. 2765 (SHORT_B2r, SHORT_B3r, SHORT_B3br, SHORT_D2r, LONG_Ur, LONG_2r): 2766 Split from SHORT_B2, SHORT_D2, SHORT_B3b, SHORT_D2, LONG_U, LONG_2r, 2767 using the REL* operands. 2768 (LONG_2br, LONG_Dr): Likewise, from LONG_2b, LONG_D. 2769 (SHORT_D1r, SHORT_D2Br, LONG_Dbr): Renamed from SHORT_D1, SHORT_D2B, 2770 LONG_Db, using REL* operands. 2771 (SHORT_U, SHORT_A5S): Removed stray alternatives. 2772 (d30v_opcode_table): Use new *r formats. 2773 27742000-02-28 Nick Clifton <nickc@redhat.com> 2775 2776 * m32r-desc.c (m32r_cgen_cpu_open): Replace 'flags' with 2777 'signed_overflow_ok_p'. 2778 27792000-02-27 Eli Zaretskii <eliz@is.elta.co.il> 2780 2781 * Makefile.am (stamp-lib): Use $(LIBTOOL) --config to get the 2782 name of the libtool directory. 2783 * Makefile.in: Rebuild. 2784 27852000-02-24 Nick Clifton <nickc@redhat.com> 2786 2787 * cgen-opc.c (cgen_set_signed_overflow_ok): New function. 2788 (cgen_clear_signed_overflow_ok): New function. 2789 (cgen_signed_overflow_ok_p): New function. 2790 27912000-02-23 Andrew Haley <aph@redhat.com> 2792 2793 * m32r-asm.c, m32r-desc.c, m32r-desc.h, m32r-dis.c, 2794 m32r-ibld.c, m32r-opc.h: Rebuild. 2795 27962000-02-23 Linas Vepstas <linas@linas.org> 2797 2798 * i370-dis.c, i370-opc.c: New. 2799 2800 * disassemble.c (ARCH_i370): Define. 2801 (disassembler): Handle it. 2802 2803 * Makefile.am: Add support for Linux/IBM 370. 2804 * configure.in: Likewise. 2805 2806 * Makefile.in: Regenerate. 2807 * configure: Likewise. 2808 28092000-02-22 Chandra Chavva <cchavva@redhat.com> 2810 2811 * d30v-opc.c (d30v_opcode_tab) : Added FLAG_NOT_WITH_ADDSUBppp to 2812 ST2H, STB, STH, STHH, STW and ST2H opcodes to prohibit parallel 2813 procedure. 2814 28152000-02-22 Andrew Haley <aph@redhat.com> 2816 2817 * mips-dis.c (_print_insn_mips): New arg for OPCODE_IS_MEMBER: 2818 force gp32 to zero. 2819 * mips-opc.c (G6): New define. 2820 (mips_builtin_op): Add "move" definition for -gp32. 2821 28222000-02-22 Ian Lance Taylor <ian@zembu.com> 2823 2824 From Grant Erickson <gerickso@Brocade.COM>: 2825 * ppc-opc.c: Correct dcread--it takes 3 arguments, not 2. 2826 28272000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au> 2828 2829 * dis-buf.c (buffer_read_memory): Change `length' param and all int 2830 vars to unsigned. 2831 28322000-02-17 J"orn Rennecke <amylaar@redhat.co.uk> 2833 2834 * sh-dis.c (print_movxy, print_insn_ddt, print_dsp_reg): New functions. 2835 (print_insn_ppi): Likewise. 2836 (print_insn_shx): Use info->mach to select appropriate insn set. 2837 Add support for sh-dsp. Remove FD_REG_N support. 2838 * sh-opc.h (sh_nibble_type): Add new values for sh-dsp support. 2839 (sh_arg_type): Likewise. Remove FD_REG_N. 2840 (sh_dsp_reg_nums): New enum. 2841 (arch_sh1, arch_sh2, arch_sh3, arch_sh3e, arch_sh4): New macros. 2842 (arch_sh_dsp, arch_sh3_dsp, arch_sh1_up, arch_sh2_up): Likewise. 2843 (arch_sh3_up, arch_sh3e_up, arch_sh4_up, arch_sh_dsp_up): Likewise. 2844 (arch_sh3_dsp_up): Likewise. 2845 (sh_opcode_info): New field: arch. 2846 (sh_table): Split up insn with FD_REG_N into ones with F_REG_N and 2847 D_REG_N. Fill in arch field. Add sh-dsp insns. 2848 28492000-02-14 Fernando Nasser <fnasser@totem.to.redhat.com> 2850 2851 * arm-dis.c: Change flavor name from atpcs-special to 2852 special-atpcs to prevent name conflict in gdb. 2853 (get_arm_regname_num_options, set_arm_regname_option, 2854 get_arm_regnames): New functions. API to access the several 2855 flavor of register names. Note: Used by gdb. 2856 (print_insn_thumb): Use the register name entry from the currently 2857 selected flavor for LR and PC. 2858 28592000-02-10 Nick Clifton <nickc@redhat.com> 2860 2861 * mcore-opc.h (enum mcore_opclass): Add MULSH and OPSR 2862 classes. 2863 (mcore_table): Add "idly4", "psrclr", "psrset", "mulsh" and 2864 "mulsh.h" instructions. 2865 * mcore-dis.c (imsk array): Add masks for MULSH and OPSR 2866 classes. 2867 (print_insn_mcore): Add support for little endian targets. 2868 Add support for MULSH and OPSR classes. 2869 28702000-02-07 Nick Clifton <nickc@redhat.com> 2871 2872 * arm-dis.c (parse_arm_diassembler_option): Rename again. 2873 Previous delat did not take. 2874 28752000-02-03 Timothy Wall <twall@redhat.com> 2876 2877 * dis-buf.c (buffer_read_memory): Use octets_per_byte field 2878 to adjust target address bounds checking and calculate the 2879 appropriate octet offset into data. 2880 28812000-01-27 Nick Clifton <nickc@redhat.com> 2882 2883 * arm-dis.c: (parse_disassembler_option): Rename to 2884 parse_arm_disassembler_option and allow to be exported. 2885 2886 * disassemble.c (disassembler_usage): New function: Print out any 2887 target specific disassembler options. 2888 Call arm_disassembler_options() if the ARM architecture is being 2889 supported. 2890 2891 * arm-dis.c (NUM_ELEM): Define this macro if not already 2892 defined. 2893 (arm_regname): New struct type for ARM register names. 2894 (arm_toggle_regnames): Delete. 2895 (parse_disassembler_option): Use register name structure. 2896 (print_insn): New function: Combines duplicate code found in 2897 print_insn_big_arm and print_insn_little_arm. 2898 (print_insn_big_arm): Call print_insn. 2899 (print_insn_little_arm): Call print_insn. 2900 (print_arm_disassembler_options): Display list of supported, 2901 ARM specific disassembler options. 2902 29032000-01-27 Thomas de Lellis <tdel@windriver.com> 2904 2905 * arm-dis.c (printf_insn_big_arm): Treat ELF symbols with the 2906 ARM_STT_16BIT flag as Thumb code symbols. 2907 2908 * arm-dis.c (printf_insn_little_arm): Ditto. 2909 29102000-01-25 Thomas de Lellis <tdel@windriver.com> 2911 2912 * arm-dis.c (printf_insn_thumb): Prevent double dumping 2913 of raw thumb instructions. 2914 29152000-01-20 Nick Clifton <nickc@redhat.com> 2916 2917 * mcore-opc.h (mcore_table): Add "add" as an alias for "addu". 2918 29192000-01-03 Nick Clifton <nickc@cygnus.com> 2920 2921 * arm-dis.c (streq): New macro. 2922 (strneq): New macro. 2923 (force_thumb): ew local variable. 2924 (parse_disassembler_option): New function: Parse a single, ARM 2925 specific disassembler command line switch. 2926 (parse_disassembler_option): Call parse_disassembler_option to 2927 parse individual command line switches. 2928 (print_insn_big_arm): Check force_thumb. 2929 (print_insn_little_arm): Check force_thumb. 2930 2931For older changes see ChangeLog-9899 2932 2933Local Variables: 2934mode: change-log 2935left-margin: 8 2936fill-column: 74 2937version-control: never 2938End: 2939