* mn10200-dis.c (disassemble): Mask off unwanted bits after
[binutils-gdb.git] / opcodes / ChangeLog
1 Mon Jan 6 15:06:55 1997 Jeffrey A Law (law@cygnus.com)
2
3 * mn10200-dis.c (disassemble): Mask off unwanted bits after
4 adding in current address for pc-relative operands.
5
6 start-sanitize-tic80
7 Mon Jan 6 10:56:25 1997 Fred Fish <fnf@cygnus.com>
8
9 * tic80-dis.c (R_SCALED): Add macro to test for ":s" modifier bit.
10 (print_insn_tic80): If R_SCALED then print ":s" modifier for operand.
11 * tic80-opc.c (REG0, REG22, REG27, SSOFF, LSOFF): Names
12 changed to REG_0, REG_22, REG_DEST, OFF_SS, OFF_SL respectively.
13 (SICR, LICR, REGM_SI, REGM_LI): Names changed to CR_SI, CR_LI,
14 REG_BASE_M_SI, REG_BASE_M_LI respectively.
15 (REG_SCALED, LSI_SCALED): New operand types.
16 (E): New macro for 'E' bit at bit 27.
17 (tic80_opcodes): Add and test dld, dld.u, dst, estop, and etrap
18 opcodes, including the various size flavors (b,h,w,d) for
19 the direct load and store instructions.
20
21 Sun Jan 5 12:18:14 1997 Fred Fish <fnf@cygnus.com>
22
23 * tic80-dis.c (M_SI, M_LI): Add macros to test for ":m" modifier bit
24 in an instruction.
25 * tic80-dis.c (print_insn_tic80): Change comma and paren handling.
26 Use M_SI and M_LI macros to check for ":m" modifier for GPR operands.
27 * tic80-opc.c (tic80_operands): Add REGM_SI and REGM_LI operands.
28 (F, M_REG, M_LI, M_SI, SZ_REG, SZ_LI, SZ_SI, D, S): New bit-twiddlers.
29 (MASK_LI_M, MASK_SI_M, MASK_REG_M): Remove and replace in opcode
30 masks with "MASK_* & ~M_*" to get the M bit reset.
31 (tic80_opcodes): Add bsr, bsr.a, cmnd, cmp, dcachec, and dcachef.
32
33 Sat Jan 4 19:05:05 1997 Fred Fish <fnf@cygnus.com>
34
35 * tic80-dis.c (print_insn_tic80): Print TIC80_OPERAND_RELATIVE
36 correctly. Add support for printing TIC80_OPERAND_BITNUM and
37 TIC80_OPERAND_CC, and TIC80_OPERAND_CR operands in symbolic
38 form.
39 * tic80-opc.c (tic80_operands): Add SSOFF, LSOFF, BITNUM,
40 CC, SICR, and LICR table entries.
41 (tic80_opcodes): Add and test "nop", "br", "bbo", "bbz",
42 "bcnd", and "brcr" opcodes.
43
44 end-sanitize-tic80
45 Fri Jan 3 18:32:11 1997 Fred Fish <fnf@cygnus.com>
46
47 * ppc-opc.c (powerpc_operands): Make comment match the
48 actual fields (no shift field).
49 * sparc-opc.c (sparc_opcodes): Document why this cannot be "const".
50 start-sanitize-tic80
51 * tic80-dis.c (print_insn_tic80): Replace abort stub with a
52 partial implementation, work in progress.
53 * tic80-opc.c (tic80_operands): Begin construction operands table.
54 (tic80_opcodes): Continue populating opcodes table and start
55 filling in the operand indices.
56 (tic80_num_opcodes): Add this.
57 end-sanitize-tic80
58
59 Fri Jan 3 12:13:52 1997 Ian Lance Taylor <ian@cygnus.com>
60
61 * m68k-opc.c: Add #B case for moveq.
62
63 Thu Jan 2 12:14:29 1997 Jeffrey A Law (law@cygnus.com)
64
65 * mn10300-dis.c (disassemble): Make sure all variables are initialized
66 before they are used.
67
68 start-sanitize-v850
69 Tue Dec 31 12:20:38 1996 Jeffrey A Law (law@cygnus.com)
70
71 * v850-opc.c (v850_opcodes): Put curly-braces around operands
72 for "breakpoint" instruction.
73
74 end-sanitize-v850
75 Tue Dec 31 15:38:13 1996 Ian Lance Taylor <ian@cygnus.com>
76
77 * Makefile.in (ALL_CFLAGS): Add -D_GNU_SOURCE.
78 (dep): Use ALL_CFLAGS rather than CFLAGS.
79
80 start-sanitize-v850
81 Tue Dec 31 15:09:16 1996 Michael Meissner <meissner@tiktok.cygnus.com>
82
83 * v850-opc.c (D8_{6,7}): Set V850_OPERAND_ADJUST_SHORT_MEMORY
84 flag.
85
86 end-sanitize-v850
87 Mon Dec 30 17:02:11 1996 Fred Fish <fnf@cygnus.com>
88
89 * Makefile.in (m68k-opc.o, alpha-opc.o): Remove dis-asm.h dependency.
90 start-sanitize-tic80
91 (tic80-dis.o, tic80-opc.o): Add rules per comment in Makefile.in.
92 end-sanitize-tic80
93
94 Mon Dec 30 11:38:01 1996 Ian Lance Taylor <ian@cygnus.com>
95
96 * mips16-opc.c: Add "abs".
97
98 start-sanitize-tic80
99 Sun Dec 29 10:58:22 1996 Fred Fish <fnf@cygnus.com>
100
101 * Makefile.in (ALL_MACHINES): Add tic80-dis.o and tic80-opc.o.
102 * disassemble.c (ARCH_tic80): Define if ARCH_all is defined.
103 (disassembler): Add bfd_arch_tic80 support to set disassemble
104 to print_insn_tic80.
105 * tic80-dis.c (print_insn_tic80): Add stub.
106
107 Fri Dec 27 22:30:57 1996 Fred Fish <fnf@cygnus.com>
108
109 * configure.in (arch in $selarchs): Add bfd_tic80_arch entry.
110 * configure: Regenerate with autoconf.
111 * tic80-dis.c: Add file.
112 * tic80-opc.c: Add file.
113
114 end-sanitize-tic80
115 start-sanitize-d10v
116 Fri Dec 20 14:30:19 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
117
118 * d10v-opc.c (pre_defined_registers): Add cr[0-15], dpc, dpsw, link.
119
120 end-sanitize-d10v
121 Mon Dec 16 13:00:15 1996 Jeffrey A Law (law@cygnus.com)
122
123 * mn10200-opc.c (mn10200_operands): Add SIMM16N.
124 (mn10200_opcodes): Use it for some logicals and btst insns.
125 Add "break" and "trap" instructions.
126
127 * mn10300-opc.c (mn10300_opcodes): Add "break" instruction.
128
129 * mn10200-opc.c: Add pseudo-ops for "mov (an),am" and "mov an,(am)".
130
131 Sat Dec 14 22:36:20 1996 Ian Lance Taylor <ian@cygnus.com>
132
133 * mips-dis.c (print_mips16_insn_arg): The base address of a PC
134 relative load or add now depends upon whether the instruction is
135 in a delay slot.
136
137 Wed Dec 11 09:23:46 1996 Jeffrey A Law (law@cygnus.com)
138
139 * mn10200-dis.c: Finish writing disassembler.
140 * mn10200-opc.c (mn10200_opcodes): Fix mask for "mov imm8,dn".
141 Fix mask for "jmp (an)".
142
143 * mn10300-dis.c (disassemble, print_insn_mn10300): Corrently
144 handle endianness issues for mn10300.
145
146 * mn10200-opc.c (mn10200_opcodes): Fix operands for "movb dm,(an)".
147
148 Tue Dec 10 12:08:05 1996 Jeffrey A Law (law@cygnus.com)
149
150 * mn10200-opc.c (mn10200_opcodes): "mov imm8,d0" is a format 2
151 instruction. Fix opcode field for "movb (imm24),dn".
152
153 * mn10200-opc.c (mn10200_operands): Fix insertion position
154 for DI operand.
155
156 Mon Dec 9 16:42:43 1996 Jeffrey A Law (law@cygnus.com)
157
158 * mn10200-opc.c: Create mn10200 opcode table.
159 * mn10200-dis.c: Flesh out mn10200 disassembler. Not ready,
160 but moving along nicely.
161
162 Sun Dec 8 04:28:31 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
163
164 * Makefile.in (ALL_MACHINES): Add mips16-opc.o.
165
166 Fri Dec 6 16:47:40 1996 J.T. Conklin <jtc@rhino.cygnus.com>
167
168 * m68k-opc.c (m68k_opcodes): Revert change to use < and >
169 specifiers for fmovem* instructions.
170
171 Fri Dec 6 14:48:09 1996 Jeffrey A Law (law@cygnus.com)
172
173 * mn10300-dis.c (disassemble): Remove '$' register prefixing.
174
175 Fri Dec 6 17:34:39 1996 Ian Lance Taylor <ian@cygnus.com>
176
177 * mips16-opc.c: Change opcode for entry/exit to avoid conflicting
178 with dsrl.
179
180 Fri Dec 6 14:48:09 1996 Jeffrey A Law (law@cygnus.com)
181
182 * mn10300-opc.c: Add some comments explaining the various
183 operands and such.
184
185 * mn10300-dis.c (disassemble): Fix minor gcc -Wall warnings.
186
187 Thu Dec 5 12:09:48 1996 J.T. Conklin <jtc@rtl.cygnus.com>
188
189 * m68k-dis.c (print_insn_arg): Handle new < and > operand
190 specifiers.
191
192 * m68k-opc.c (m68k_opcodes): Simplify table by using < and >
193 operand specifiers in fmovm* instructions.
194
195 Wed Dec 4 14:52:18 1996 Ian Lance Taylor <ian@cygnus.com>
196
197 * ppc-opc.c (insert_li): Give an error if the offset has the two
198 least significant bits set.
199
200 Wed Nov 27 13:09:01 1996 Ian Lance Taylor <ian@cygnus.com>
201
202 * mips-dis.c (print_insn_mips16): Separate the instruction from
203 the arguments with a tab, not a space.
204
205 Tue Nov 26 13:24:17 1996 Jeffrey A Law (law@cygnus.com)
206
207 * mn10300-dis.c (disasemble): Finish conversion to '$' as
208 register prefix.
209
210 * mn10300-opc.c (mn10300_opcodes): Fix mask field for
211 mov am,(imm32,sp).
212
213 Tue Nov 26 10:53:21 1996 Ian Lance Taylor <ian@cygnus.com>
214
215 * configure: Rebuild with autoconf 2.12.
216
217 Add support for mips16 (16 bit MIPS implementation):
218 * mips16-opc.c: New file.
219 * mips-dis.c: Include "elf-bfd.h" and "elf/mips.h".
220 (mips16_reg_names): New static array.
221 (print_insn_big_mips): Use print_insn_mips16 in 16 bit mode or
222 after seeing a 16 bit symbol.
223 (print_insn_little_mips): Likewise.
224 (print_insn_mips16): New static function.
225 (print_mips16_insn_arg): New static function.
226 * mips-opc.c: Add jalx instruction.
227 * Makefile.in (mips16-opc.o): New target.
228 * configure.in: Use mips16-opc.o for bfd_mips_arch.
229 * configure: Rebuild.
230
231 Mon Nov 25 16:15:17 1996 J.T. Conklin <jtc@cygnus.com>
232
233 * m68k-opc.c (m68k_opcodes): Simplify table by using < and >
234 operand specifiers in *save, *restore and movem* instructions.
235
236 * m68k-opc.c (m68k_opcodes): Fix move and movem instructions for
237 the coldfire.
238
239 * m68k-opc.c (m68k_opcodes): The coldfire (mcf5200) can only use
240 register operands for immediate arithmetic, not, neg, negx, and
241 set according to condition instructions.
242
243 * m68k-opc.c (m68k_opcodes): Consistantly Use "s" as the storage
244 specifier of the effective-address operand in immediate forms of
245 arithmetic instructions. The specifier for the immediate operand
246 notes how and where the constant will be stored.
247
248 Mon Nov 25 11:17:01 1996 Jeffrey A Law (law@cygnus.com)
249
250 * mn10300-opc.c (mn10300_opcodes): Remove redundant "lcc"
251 opcode.
252
253 * mn10300-dis.c (disassemble): Use '$' instead of '%' for
254 register prefix.
255
256 * mn10300-dis.c (disassemble): Prefix registers with '%'.
257
258 Wed Nov 20 10:37:13 1996 Jeffrey A Law (law@cygnus.com)
259
260 * mn10300-dis.c (disassemble): Handle register lists.
261
262 * mn10300-opc.c: Fix handling of register list operand for
263 "call", "ret", and "rets" instructions.
264
265 * mn10300-dis.c (disassemble): Print PC-relative and memory
266 addresses symbolically if possible.
267 * mn10300-opc.c: Distinguish between absolute memory addresses,
268 pc-relative offsets & random immediates.
269
270 * mn10300-dis.c (print_insn_mn10300): Fix fetch of last byte
271 in 7 byte insns.
272 (disassemble): Handle SPLIT and EXTENDED operands.
273
274 Tue Nov 19 13:33:01 1996 Jeffrey A Law (law@cygnus.com)
275
276 * mn10300-dis.c: Rough cut at printing some operands.
277
278 * mn10300-dis.c: Start working on disassembler support.
279 * mn10300-opc.c (mn10300_opcodes): Fix masks on several insns.
280
281 * mn10300-opc.c (mn10300_operands): Add "REGS" for a register
282 list.
283 (mn10300_opcodes): Use REGS for register list in "movm" instructions.
284
285 start-sanitize-d10v
286 Mon Nov 18 15:20:35 1996 Michael Meissner <meissner@tiktok.cygnus.com>
287
288 * d10v-opc.c (d10v_opcodes): Add3 sets the carry.
289
290 end-sanitize-d10v
291 Fri Nov 15 13:43:19 1996 Jeffrey A Law (law@cygnus.com)
292
293 * mn10300-opc.c (mn10300_opcodes): Demand parens around
294 register argument is calls and jmp instructions.
295
296 Thu Nov 7 00:26:05 1996 Jeffrey A Law (law@cygnus.com)
297
298 * mn10300-opc.c (mn10300_opcodes): Use DN01 for putx and
299 getx operand. Fix opcode for mulqu imm,dn.
300
301 Wed Nov 6 13:42:32 1996 Jeffrey A Law (law@cygnus.com)
302
303 * mn10300-opc.c (mn10300_operands): Hijack "bits" field
304 in MN10300_OPERAND_SPLIT operands for how many bits
305 appear in the basic insn word. Add IMM32_HIGH24,
306 IMM32_HIGH24_LOWSHIFT8, IMM8E_SHIFT8.
307 (mn10300_opcodes): Use new operands as needed.
308
309 * mn10300-opc.c (mn10300_operands): Add IMM32_LOWSHIFT8
310 for bset, bclr, btst instructions.
311 (mn10300_opcodes): Use new IMM32_LOWSHIFT8 as needed.
312
313 * mn10300-opc.c (mn10300_operands): Remove many redundant
314 operands. Update opcode table as appropriate.
315 (IMM32): Add MN10300_OPERAND_SPLIT flag.
316 (mn10300_opcodes): Fix single bit error in mov imm32,dn insn.
317
318 Tue Nov 5 13:26:58 1996 Jeffrey A Law (law@cygnus.com)
319
320 * mn10300-opc.c (mn10300_operands): Add DN2, DM2, AN2, AM2
321 operands (for indexed load/stores). Fix bitpos for DI
322 operand. Add SN8N_SHIFT8, IMM8_SHIFT8, and D16_SHIFT for the
323 few instructions that insert immediates/displacements in the
324 middle of the instruction. Add IMM8E for 8 bit immediate in
325 the extended part of an instruction.
326 (mn10300_operands): Use new opcodes as appropriate.
327
328 start-sanitize-d10v
329 Tue Nov 5 10:30:51 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
330
331 * d10v-opc.c (d10v_opcodes): Declare the trap instruction
332 sequential so the assembler never parallelizes it with
333 other instructions.
334
335 end-sanitize-d10v
336 Mon Nov 4 12:50:40 1996 Jeffrey A Law (law@cygnus.com)
337
338 * mn10300-opc.c (mn10300_operands): Add DN01 and AN01 for
339 a data/address register that appears in register field 0
340 and register field 1.
341 (mn10300_opcodes): Use DN01 and AN01 for mov/cmp imm8,DN/AN
342
343 Fri Nov 1 10:29:11 1996 Richard Henderson <rth@tamu.edu>
344
345 * alpha-dis.c (print_insn_alpha): Use new NOPAL mask for
346 standard disassembly.
347
348 * alpha-opc.c (alpha_operands): Rearrange flags slot.
349 (alpha_opcodes): Add new BWX, CIX, and MAX instructions.
350 Recategorize PALcode instructions.
351
352 start-sanitize-v850
353 Wed Oct 30 16:46:58 1996 Jeffrey A Law (law@cygnus.com)
354
355 * v850-opc.c (v850_opcodes): Add relaxing "jbr".
356
357 end-sanitize-v850
358 Tue Oct 29 16:30:28 1996 Ian Lance Taylor <ian@cygnus.com>
359
360 * mips-dis.c (_print_insn_mips): Don't print a trailing tab if
361 there are no operand types.
362
363 start-sanitize-v850
364 Tue Oct 29 12:22:21 1996 Jeffrey A Law (law@cygnus.com)
365
366 * v850-opc.c (D9_RELAX): Renamed from D9, all references
367 changed.
368 (v850_operands): Make sure D22 immediately follows D9_RELAX.
369
370 end-sanitize-v850
371 Fri Oct 25 12:12:53 1996 Ian Lance Taylor <ian@cygnus.com>
372
373 * i386-dis.c (print_insn_x86): Set info->bytes_per_line to 5.
374
375 start-sanitize-v850
376 Thu Oct 24 17:53:52 1996 Jeffrey A Law (law@cygnus.com)
377
378 * v850-opc.c (insert_d8_6): Fix operand insertion for sld.w
379 and sst.w instructions.
380
381 * v850-opc.c (v850_opcodes): Add "jCC" instructions (aliases for
382 "bCC"instructions).
383
384 end-sanitize-v850
385 Thu Oct 24 17:21:20 1996 Ian Lance Taylor <ian@cygnus.com>
386
387 * mips-dis.c (_print_insn_mips): Use a tab between the instruction
388 and the arguments.
389
390 Tue Oct 22 23:32:56 1996 Ian Lance Taylor <ian@cygnus.com>
391
392 * ppc-opc.c (PPCPWR2): Define.
393 (powerpc_opcodes): Use PPCPWR2 for fsqrt, rather than duplicating
394 it.
395
396 Fri Oct 11 16:03:49 1996 Jeffrey A Law (law@cygnus.com)
397
398 * mn10300-opc.c (mn10300_opcodes): Fix typo in opcode
399 field for movhu instruction.
400 start-sanitize-v850
401
402 * v850-dis.c (disassemble): For V850_OPERAND_SIGNED operands,
403 cast value to "long" not "signed long" to keep hpux10
404 compiler quiet.
405 end-sanitize-v850
406
407 Thu Oct 10 10:25:58 1996 Jeffrey A Law (law@cygnus.com)
408
409 * mn10300-opc.c (mn10300_opcodes): Fix typo in opcode field
410 for mov (abs16),DN.
411
412 * mn10300-opc.c (FMT*): Remove definitions.
413
414 * mn10300-opc.c (mn10300_opcodes): Fix destination register
415 for shift-by-register opcodes.
416
417 * mn10300-opc.c (mn10300_operands): Break DN, DM, AN, AM
418 into [AD][MN][01] for encoding the position of the register
419 in the opcode.
420
421 Wed Oct 9 11:19:26 1996 Jeffrey A Law (law@cygnus.com)
422
423 * mn10300-opc.c (mn10300_opcodes): Add "extended" instructions,
424 "putx", "getx", "mulq", "mulqu", "sat16", "sat24", "bsch".
425
426 Tue Oct 8 11:55:35 1996 Jeffrey A Law (law@cygnus.com)
427
428 * mn10300-opc.c (mn10300_operands): Remove "REGS" operand.
429 Fix various typos. Add "PAREN" operand.
430 (MEM, MEM2): Define.
431 (mn10300_opcodes): Surround all memory addresses with "PAREN"
432 operands. Fix several typos.
433
434 * mn10300-opc.c (mn10300_opcodes): Fix typos in yesterday's
435 changes.
436
437 Mon Oct 7 16:48:45 1996 Jeffrey A Law (law@cygnus.com)
438
439 * mn10300-opc.c (FMT_XX): Renumber starting at one.
440 (mn10300_operands): Rough cut. Enough to parse "mov" instructions
441 at this time.
442 (mn10300_opcodes): Break opcode format out into its own field.
443 Update many operand fields to deal with signed vs unsigned
444 issues. Fix one or two typos in the "mov" instruction
445 opcode, mask and/or operand fields.
446
447 Mon Oct 7 11:39:49 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
448
449 * m68k-opc.c (plusha): Prefer encoding for m68040up, in case
450 m68851 wasn't reset.
451
452 Thu Oct 3 17:17:02 1996 Ian Lance Taylor <ian@cygnus.com>
453
454 * mn10300-opc.c (mn10300_opcodes): Add opcode & masks for
455 all opcodes. Very rough cut at operands for all opcodes.
456
457 * mn10300-opc.c (mn10300_opcodes): Start fleshing out the
458 opcode table.
459
460 Thu Oct 3 10:06:07 1996 Jeffrey A Law (law@cygnus.com)
461
462 * mn10200-opc.c, mn10300-opc.c: New files.
463 * mn10200-dis.c, mn10300-dis.c: New files.
464 * mn10x00-opc.c, mn10x00-dis.c: Deleted.
465 * disassemble.c: Break mn10x00 support into 10200 and 10300
466 support.
467 * configure.in: Likewise.
468 * configure: Rebuilt.
469
470 Thu Oct 3 15:59:12 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
471
472 * Makefile.in (MOSTLYCLEAN): Move config.log to distclean.
473
474 Wed Oct 2 23:28:42 1996 Jeffrey A Law (law@cygnus.com)
475
476 * mn10x00-opc.c, mn10x00-dis.c: New files for Matsushita
477 MN10x00 processors.
478 * disassemble (ARCH_mn10x00): Define.
479 (disassembler): Handle bfd_arch_mn10x00.
480 * configure.in: Recognize bfd_mn10x00_arch.
481 * configure: Rebuilt.
482
483 Tue Oct 1 10:49:11 1996 Ian Lance Taylor <ian@cygnus.com>
484
485 * i386-dis.c (op_rtn): Change to be a pointer. Adjust uses
486 accordingly. Don't declare functions using op_rtn.
487
488 start-sanitize-v850
489 Fri Sep 27 18:28:59 1996 Stu Grossman (grossman@critters.cygnus.com)
490
491 * v850-dis.c (disassemble): Add memaddr argument. Re-arrange
492 params to be more standard.
493 * (disassemble): Print absolute addresses and symbolic names for
494 branch and jump targets.
495 * v850-opc.c (v850_operand): Add displacement flag to 9 and 22
496 bit operands.
497 * (v850_opcodes): Add breakpoint insn.
498
499 end-sanitize-v850
500 Mon Sep 23 12:32:26 1996 Ian Lance Taylor <ian@cygnus.com>
501
502 * m68k-opc.c: Move the fmovemx data register cases before the
503 other cases, so that they get recognized before the data register
504 does gets treated as a degenerate register list.
505
506 Tue Sep 17 12:06:51 1996 Ian Lance Taylor <ian@cygnus.com>
507
508 * mips-opc.c: Add a case for "div" and "divu" with two registers
509 and a destination of $0.
510
511 Tue Sep 10 16:12:39 1996 Fred Fish <fnf@rtl.cygnus.com>
512
513 * mips-dis.c (print_insn_arg): Add prototype.
514 (_print_insn_mips): Ditto.
515
516 Mon Sep 9 14:26:26 1996 Ian Lance Taylor <ian@cygnus.com>
517
518 * mips-dis.c (print_insn_arg): Print condition code registers as
519 $fccN.
520
521 Tue Sep 3 12:09:46 1996 Doug Evans <dje@canuck.cygnus.com>
522
523 * sparc-opc.c (sparc_opcodes): Add setuw, setsw, setx.
524
525 start-sanitize-v850
526 Tue Sep 3 12:05:25 1996 Jeffrey A Law (law@cygnus.com)
527
528 * v850-dis.c (disassemble): Make static. Provide prototype.
529
530 Sun Sep 1 22:30:40 1996 Jeffrey A Law (law@cygnus.com)
531
532 * v850-opc.c (insert_d9, insert_d22): Fix boundary case
533 in range checks.
534
535 Sat Aug 31 01:27:26 1996 Jeffrey A Law (law@cygnus.com)
536
537 * v850-dis.c (disassemble): Handle insertion of ',', '[' and
538 ']' characters into the output stream.
539 * v850-opc.c (v850_opcodes: Remove size field from all opcodes.
540 Add "memop" field to all opcodes (for the disassembler).
541 Reorder opcodes so that "nop" comes before "mov" and "jr"
542 comes before "jarl".
543
544 * v850-dis.c (print_insn_v850): Fix typo in last change.
545
546 * v850-dis.c (print_insn_v850): Properly handle disassembling
547 a two byte insn at the end of a memory region when the memory
548 region's size is only two byte aligned.
549
550 * v850-dis.c (v850_cc_names): Fix stupid thinkos.
551
552 * v850-dis.c (v850_reg_names): Define.
553 (v850_sreg_names, v850_cc_names): Likewise.
554 (disassemble): Very rough cut at printing operands (unformatted).
555
556 * v850-opc.c (BOP_MASK): Fix.
557 (v850_opcodes): Fix mask for jarl and jr.
558
559 * v850-dis.c: New file. Skeleton for disassembler support.
560 * Makefile.in Remove v850 references, they're not needed here
561 and they weren't being sanitized away.
562 * configure.in: Add v850-dis.o when building v850 toolchains.
563 * configure: Rebuilt.
564 * disassemble.c (disassembler): Call v850 disassembler.
565
566 * v850-opc.c (insert_d8_7, extract_d8_7): New functions.
567 (insert_d8_6, extract_d8_6): New functions.
568 (v850_operands): Rename D7S to D7; operand for D7 is unsigned.
569 Rename D8 to D8_7, use {insert,extract}_d8_7 routines.
570 Add D8_6.
571 (IF4A, IF4B): Use "D7" instead of "D7S".
572 (IF4C, IF4D): Use "D8_7" instead of "D8".
573 (IF4E, IF4F): New. Use "D8_6".
574 (v850_opcodes): Use IF4A/IF4B for sld.b/sst.b. Use IF4C/IF4D for
575 sld.h/sst.h. Use IF4E/IF4F for sld.w/sst.w.
576
577 * v850-opc.c (insert_d16_15, extract_d16_15): New functions.
578 (v850_operands): Change D16 to D16_15, use special insert/extract
579 routines. New new D16 that uses the generic insert/extract code.
580 (IF7A, IF7B): Use D16_15.
581 (IF7C, IF7D): New. Use D16.
582 (v850_opcodes): Use IF7C and IF7D for ld.b and st.b.
583
584 * v850-opc.c (insert_d9, insert_d22): Slightly improve error
585 message. Issue an error if the branch offset is odd.
586
587 * v850-opc.c: Add notes about needing special insert/extract
588 for all the load/store insns, except "ld.b" and "st.b".
589
590 * v850-opc.c (insert_d22, extract_d22): New functions.
591 (v850_operands): Use insert_d22 and extract_d22 for
592 D22 operands.
593 (insert_d9): Fix range check.
594
595 Fri Aug 30 18:01:02 1996 J.T. Conklin <jtc@hippo.cygnus.com>
596
597 * v850-opc.c (v850_operands): Add V850_OPERAND_SIGNED flag
598 and set bits field to D9 and D22 operands.
599
600 Thu Aug 29 11:10:46 1996 Jeffrey A Law (law@cygnus.com)
601
602 * v850-opc.c (v850_operands): Define SR2 operand.
603 (v850_opcodes): "ldsr" uses R1,SR2.
604
605 * v850-opc.c (v850_opcodes): Fix opcode specs for
606 sld.w, sst.b, sst.h, sst.w, and nop.
607
608 Wed Aug 28 15:55:43 1996 Jeffrey A Law (law@cygnus.com)
609
610 * v850-opc.c (v850_opcodes): Add null opcode to mark the
611 end of the opcode table.
612
613 end-sanitize-v850
614 start-sanitize-d10v
615 Mon Aug 26 13:35:53 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
616
617 * d10v-opc.c (pre_defined_registers): Added register pairs,
618 "r0-r1", "r2-r3", etc.
619
620 end-sanitize-d10v
621 start-sanitize-v850
622 Fri Aug 23 00:27:01 1996 Jeffrey A Law (law@cygnus.com)
623
624 * v850-opc.c (v850_operands): Make I16 be a signed operand.
625 Create I16U for an unsigned 16bit mmediate operand.
626 (v850_opcodes): Use I16U for "ori", "andi" and "xori".
627
628 * v850-opc.c (v850_operands): Define EP operand.
629 (IF4A, IF4B, IF4C, IF4D): Use EP.
630
631 * v850-opc.c (v850_opcodes): Fix opcode numbers for "mov"
632 with immediate operand, "movhi". Tweak "ldsr".
633
634 * v850-opc.c (v850_opcodes): Get ld.[bhw] and st.[bhw]
635 correct. Get sld.[bhw] and sst.[bhw] closer.
636
637 * v850-opc.c (v850_operands): "not" is a two byte insn
638
639 * v850-opc.c (v850_opcodes): Correct bit pattern for setf.
640
641 * v850-opc.c (v850_operands): D16 inserts at offset 16!
642
643 * v850-opc.c (two): Get order of words correct.
644
645 * v850-opc.c (v850_operands): I16 inserts at offset 16!
646
647 * v850-opc.c (v850_operands): Add "SR1" and "SR2" for system
648 register source and destination operands.
649 (v850_opcodes): Use SR1 and SR2 for "ldsr" and "stsr".
650
651 * v850-opc.c (v850_opcodes): Fix thinko in "jmp" opcode. Fix
652 same thinko in "trap" opcode.
653
654 * v850-opc.c (v850_opcodes): Add initializer for size field
655 on all opcodes.
656
657 * v850-opc.c (v850_operands): D6 -> DS7. References changed.
658 Add D8 for 8-bit unsigned field in short load/store insns.
659 (IF4A, IF4D): These both need two registers.
660 (IF4C, IF4D): Define. Use 8-bit unsigned field.
661 (v850_opcodes): For "sld.h", "sld.w", "sst.h", "sst.w", use
662 IF4C & IF4D. For "trap" use I5U, not I5. Add IF1 operand
663 for "ldsr" and "stsr".
664 * v850-opc.c (v850_operands): 3-bit immediate for bit insns
665 is unsigned.
666
667 * v850-opc.c (v850_opcodes): Correct short store half (sst.h) and
668 short store word (sst.w).
669
670 Thu Aug 22 16:57:27 1996 J.T. Conklin <jtc@rtl.cygnus.com>
671
672 * v850-opc.c (v850_operands): Added insert and extract fields,
673 pointers to functions that handle unusual operand encodings.
674
675 Thu Aug 22 01:05:24 1996 Jeffrey A Law (law@cygnus.com)
676
677 * v850-opc.c (v850_opcodes): Enable "trap".
678
679 * v850-opc.c (v850_opcodes): Fix order of displacement
680 and register for "set1", "clr1", "not1", and "tst1".
681
682 Wed Aug 21 18:46:26 1996 Jeffrey A Law (law@cygnus.com)
683
684 * v850-opc.c (v850_operands): Add "B3" support.
685 (v850_opcodes): Fix and enable "set1", "clr1", "not1"
686 and "tst1".
687
688 * v850-opc.c (v850_opcodes): "jmp" has only an R1 operand.
689
690 * v850-opc.c: Close unterminated comment.
691
692 Wed Aug 21 17:31:26 1996 J.T. Conklin <jtc@hippo.cygnus.com>
693
694 * v850-opc.c (v850_operands): Add flags field.
695 (v850_opcodes): add move opcodes.
696
697 Tue Aug 20 14:41:03 1996 J.T. Conklin <jtc@hippo.cygnus.com>
698
699 * Makefile.in (ALL_MACHINES): Add v850-opc.o.
700 * configure: (bfd_v850v_arch) Add new case.
701 * configure.in: (bfd_v850_arch) Add new case.
702 * v850-opc.c: New file.
703
704 end-sanitize-v850
705 Mon Aug 19 15:21:38 1996 Doug Evans <dje@canuck.cygnus.com>
706
707 * sparc-dis.c (print_insn_sparc): Handle little endian sparcs.
708
709 start-sanitize-d10v
710 Thu Aug 15 13:14:43 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
711
712 * d10v-opc.c: Add additional information to the opcode
713 table to help determinine which instructions can be done
714 in parallel.
715
716 end-sanitize-d10v
717 Thu Aug 15 13:11:13 1996 Stan Shebs <shebs@andros.cygnus.com>
718
719 * mpw-make.sed: Update editing of include pathnames to be
720 more general.
721
722 Thu Aug 15 16:28:41 1996 James G. Smith <jsmith@cygnus.co.uk>
723
724 * arm-opc.h: Added "bx" instruction definition.
725
726 Wed Aug 14 17:00:04 1996 Richard Henderson <rth@tamu.edu>
727
728 * alpha-opc.c (EV4EXTHWINDEX): Field width should be 8 not 5.
729
730 start-sanitize-d10v
731 Mon Aug 12 14:30:37 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
732
733 * d10v-opc.c (d10v_opcodes): Minor fixes to addi and bl.l.
734
735 Fri Aug 9 13:21:59 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
736
737 * d10v-opc.c (d10v_opcodes): Correct 'mv' unit entry to EITHER.
738
739 end-sanitize-d10v
740 Thu Aug 8 12:43:52 1996 Klaus Kaempf <kkaempf@progis.de>
741
742 * makefile.vms: Update for alpha-opc changes.
743
744 Wed Aug 7 11:55:10 1996 Ian Lance Taylor <ian@cygnus.com>
745
746 * i386-dis.c (print_insn_i386): Actually return the correct value.
747 (ONE, OP_ONE): #ifdef out; not used.
748
749 start-sanitize-d10v
750 Fri Aug 2 17:47:03 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
751
752 * d10v-opc.c (d10v_opcodes): Added 2 accumulator sub instructions.
753 Changed subi operand type to treat 0 as 16.
754
755 end-sanitize-d10v
756 Wed Jul 31 16:21:41 1996 Ian Lance Taylor <ian@cygnus.com>
757
758 * m68k-opc.c: Add cpushl for the mcf5200. From Ken Rose
759 <rose@netcom.com>.
760
761 Wed Jul 31 14:39:27 1996 James G. Smith <jsmith@cygnus.co.uk>
762
763 * arm-opc.h: (arm_opcodes): Added halfword and sign-extension
764 memory transfer instructions. Add new format string entries %h and %s.
765 * arm-dis.c: (print_insn_arm): Provide decoding of the new
766 formats %h and %s.
767
768 start-sanitize-d10v
769 Fri Jul 26 11:45:04 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
770
771 * d10v-opc.c (d10v_operands): Added UNUM4S; a 4-bit accumulator shift.
772 (d10v_opcodes): Modified accumulator shift instructions to use UNUM4S.
773
774 end-sanitize-d10v
775 Fri Jul 26 14:01:43 1996 Ian Lance Taylor <ian@cygnus.com>
776
777 * alpha-dis.c (print_insn_alpha_osf): Remove.
778 (print_insn_alpha_vms): Remove.
779 (print_insn_alpha): Make globally visible. Chose the register
780 names based on info->flavour.
781 * disassemble.c: Always return print_insn_alpha for the alpha.
782
783 start-sanitize-d10v
784 Thu Jul 25 15:24:17 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
785
786 * d10v-dis.c (dis_long): Handle unknown opcodes.
787
788 Thu Jul 25 12:08:09 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
789
790 * d10v-opc.c: Changes to support signed and unsigned numbers.
791 All instructions with the same name that have long and short forms
792 now end in ".l" or ".s". Divs added.
793 * d10v-dis.c: Changes to support signed and unsigned numbers.
794
795 Tue Jul 23 11:02:53 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
796
797 * d10v-dis.c: Change all functions to use info->print_address_func.
798
799 end-sanitize-d10v
800 Mon Jul 22 15:38:53 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
801
802 * m68k-opc.c (m68k_opcodes): Make opcode masks for the ColdFire
803 move ccr/sr insns more strict so that the disassembler only
804 selects them when the addressing mode is data register.
805
806 start-sanitize-d10v
807 Mon Jul 22 11:25:24 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
808 * d10v-opc.c (pre_defined_registers): Declare.
809 * d10v-dis.c (print_operand): Now uses pre_defined_registers
810 to pick a better name for the registers.
811
812 end-sanitize-d10v
813 Mon Jul 22 13:47:23 1996 Ian Lance Taylor <ian@cygnus.com>
814
815 * sparc-opc.c: Fix opcode values for fpack16, and fpackfix. Fix
816 operands for fexpand and fpmerge. From Christian Kuehnke
817 <Christian.Kuehnke@arbi.informatik.uni-oldenburg.de>.
818
819 Mon Jul 22 13:17:06 1996 Richard Henderson <rth@tamu.edu>
820
821 * alpha-dis.c (print_insn_alpha): No longer the user-visible
822 print routine. Take new regnames and cpumask arguments.
823 Kill the environment variable nonsense.
824 (print_insn_alpha_osf): New function. Do OSF/1 style regnames.
825 (print_insn_alpha_vms): New function. Do VMS style regnames.
826 * disassemble.c (disassembler): Test bfd flavour to pick
827 between OSF and VMS routines. Default to OSF.
828
829 Thu Jul 18 17:19:34 1996 Ian Lance Taylor <ian@cygnus.com>
830
831 * configure.in: Call AC_SUBST (INSTALL_SHLIB).
832 * configure: Rebuild.
833 * Makefile.in (install): Use @INSTALL_SHLIB@.
834
835 start-sanitize-d10v
836 Wed Jul 17 14:39:05 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
837
838 * configure: (bfd_d10v_arch) Add new case.
839 * configure.in: (bfd_d10v_arch) Add new case.
840 * d10v-dis.c: New file.
841 * d10v-opc.c: New file.
842 * disassemble.c (disassembler) Add entry for d10v.
843
844 end-sanitize-d10v
845 Wed Jul 17 10:12:05 1996 J.T. Conklin <jtc@rtl.cygnus.com>
846
847 * m68k-opc.c (m68k_opcodes): Fix bugs in coldfire insns relating
848 to bcc, trapfl, subxl, and wddata discovered by Andreas Schwab.
849
850 Mon Jul 15 16:59:55 1996 Stu Grossman (grossman@critters.cygnus.com)
851
852 * i386-dis.c: Get rid of print_insn_i8086. Use info.mach to
853 distinguish between variants of the instruction set.
854 * sparc-dis.c: Get rid of print_insn_sparclite. Use info.mach to
855 distinguish between variants of the instruction set.
856
857 Fri Jul 12 10:12:01 1996 Stu Grossman (grossman@critters.cygnus.com)
858
859 * i386-dis.c (print_insn_i8086): New routine to disassemble using
860 the 8086 instruction set.
861 * i386-dis.c: General cleanups. Make most things static. Add
862 prototypes. Get rid of static variables aflags and dflags. Pass
863 them as args (to almost everything).
864
865 Thu Jul 11 11:58:44 1996 Jeffrey A Law (law@cygnus.com)
866
867 * h8300-dis.c (bfd_h8_disassemble): Handle macregs in ldmac insns.
868
869 * h8300-dis.c (bfd_h8_disassemble): Handle "ldm.l" and "stm.l".
870
871 * h8300-dis.c (bfd_h8_disassemble): "abs" is implicitly two
872 if the next arg is marked with SRC_IN_DST. Gross.
873
874 * h8300-dis.c (bfd_h8_disassemble): Print "exr" when
875 we're looking for and find EXR.
876
877 * h8300-dis.c (bfd_h8_disassemble): We don't have a match
878 if we're looking for KBIT and we don't find it.
879
880 * h8300-dis.c (bfd_h8_disassemble): Mask off unwanted bits
881 for L_3 and L_2.
882
883 * h8300-dis.c (bfd_h8_disassemble): Don't set plen for
884 3bit immediate operands.
885
886 Tue Jul 9 10:55:20 1996 Ian Lance Taylor <ian@cygnus.com>
887
888 * Released binutils 2.7.
889
890 * alpha-opc.c: Add new case of "mov". From Klaus Kaempf
891 <kkaempf@progis.ac-net.de>.
892
893 Thu Jul 4 11:42:51 1996 Ian Lance Taylor <ian@cygnus.com>
894
895 * alpha-opc.c: Correct second case of "mov" to use OPRL.
896
897 Wed Jul 3 16:03:47 1996 Stu Grossman (grossman@critters.cygnus.com)
898
899 * sparc-dis.c (print_insn_sparclite): New routine to print
900 sparclite instructions.
901
902 Wed Jul 3 14:21:18 1996 J.T. Conklin <jtc@rtl.cygnus.com>
903
904 * m68k-opc.c (m68k_opcodes): Add coldfire support.
905
906 Fri Jun 28 15:53:51 1996 Doug Evans <dje@canuck.cygnus.com>
907
908 * sparc-opc.c (asi_table): Add #ASI_N, #ASI_N_L, #ASI_NUCLEUS,
909 #ASI_NUCLEUS_LITTLE. Rename #ASI_AS_IF_USER_{PRIMARY,SECONDARY}_L
910 to #ASI_AS_IF_USER_{PRIMARY,SECONDARY}_LITTLE.
911
912 Tue Jun 25 22:58:31 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
913
914 * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir):
915 Use autoconf-set values.
916 (docdir, oldincludedir): Removed.
917 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
918
919 Fri Jun 21 13:53:36 1996 Richard Henderson <rth@tamu.edu>
920
921 * alpha-opc.c: New file.
922 * alpha-opc.h: Remove.
923 * alpha-dis.c: Complete rewrite to use new opcode table.
924 * configure.in: For bfd_alpha_arch, use alpha-opc.o.
925 * configure: Rebuild with autoconf 2.10.
926 * Makefile.in (ALL_MACHINES): Add alpha-opc.o.
927 (alpha-dis.o): Depend upon $(INCDIR)/opcode/alpha.h, not
928 alpha-opc.h.
929 (alpha-opc.o): New target.
930
931 Wed Jun 19 15:55:12 1996 Ian Lance Taylor <ian@cygnus.com>
932
933 * sparc-dis.c (print_insn_sparc): Remove unused local variable i.
934 Set imm_added_to_rs1 even if the source and destination register
935 are not the same.
936
937 * sparc-opc.c: Add some two operand forms of the wr instruction.
938
939 Tue Jun 18 15:58:27 1996 Jeffrey A. Law <law@rtl.cygnus.com>
940
941 * h8300-dis.c (bfd_h8_disassemble): Rename "hmode" argument
942 to just "mode".
943
944 * disassemble.c (disassembler): Handle H8/S.
945 * h8300-dis.c (print_insn_h8300s): New function for H8/S.
946
947 Tue Jun 18 18:06:50 1996 Ian Lance Taylor <ian@cygnus.com>
948
949 * sparc-opc.c: Add beq/teq as aliases for be/te.
950
951 * ppc-opc.c: Fix fcmpo opcode. From Sergei Steshenko
952 <sergei@msil.sps.mot.com>.
953
954 Tue Jun 18 15:08:54 1996 Klaus Kaempf <kkaempf@progis.de>
955
956 * makefile.vms: New file.
957
958 * alpha-dis.c (print_insn_alpha): Print lda ra,lit(rz) as mov.
959
960 Mon Jun 10 18:50:38 1996 Ian Lance Taylor <ian@cygnus.com>
961
962 * h8300-dis.c (bfd_h8_disassemble): Always print ABS8MEM with :8,
963 regardless of plen.
964
965 Tue Jun 4 09:15:53 1996 Doug Evans <dje@canuck.cygnus.com>
966
967 * i386-dis.c (OP_OFF): Call append_prefix.
968
969 Thu May 23 15:18:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
970
971 * ppc-opc.c (instruction encoding macros): Add explicit casts to
972 unsigned long to silence a warning from the Solaris PowerPC
973 compiler.
974
975 Thu Apr 25 19:33:32 1996 Doug Evans <dje@canuck.cygnus.com>
976
977 * sparc-opc.c (sparc_opcodes): Add ultrasparc vis extensions.
978
979 Mon Apr 22 17:12:35 1996 Doug Evans <dje@blues.cygnus.com>
980
981 * sparc-dis.c (X_IMM,X_SIMM): New macros.
982 (X_IMM13): Delete.
983 (print_insn_sparc): Merge cases i,I,j together. New cases X,Y.
984 * sparc-opc.c (sparc_opcodes): Use X for 5 bit shift constants,
985 Y for 6 bit shift constants. Rewrite entries for crdcxt, cwrcxt,
986 cpush, cpusha, cpull sparclet insns.
987
988 Wed Apr 17 14:20:22 1996 Doug Evans <dje@canuck.cygnus.com>
989
990 * sparc-dis.c (compute_arch_mask): Replace ANSI style def with K&R.
991
992 Thu Apr 11 17:30:02 1996 Ian Lance Taylor <ian@cygnus.com>
993
994 * sparc-opc.c: Set F_FBR on floating point branch instructions.
995 Set F_FLOAT on other floating point instructions.
996
997 Mon Apr 8 17:02:48 1996 Michael Meissner <meissner@tiktok.cygnus.com>
998
999 * ppc-opc.c (PPC860): Macro for 860/821 specific instructions and
1000 registers.
1001 (powerpc_opcodes): Add 860/821 specific SPRs.
1002
1003 Mon Apr 8 14:00:44 1996 Ian Lance Taylor <ian@cygnus.com>
1004
1005 * configure.in: Permit --enable-shared to specify a list of
1006 directories. Set and substitute BFD_PICLIST.
1007 * configure: Rebuild.
1008 * Makefile.in (BFD_PICLIST): Rename from BFD_LIST. Change all
1009 uses. Set to @BFD_PICLIST@.
1010
1011 Fri Apr 5 17:12:27 1996 Jeffrey A Law (law@cygnus.com)
1012
1013 * h8300-dis.c (bfd_h8_disassemble): Use "bit" for L_3 immediates,
1014 not "abs", which may be needed for the absolute in something
1015 like btst #0,@10:8. Print L_3 immediates separately from other
1016 immediates. Change ABSMOV reference to ABS8MEM.
1017
1018 Wed Apr 3 10:40:45 1996 Doug Evans <dje@canuck.cygnus.com>
1019
1020 * sparc-dis.c (opcodes_initialized): Move inside print_insn_sparc.
1021 (current_arch_mask): New static global.
1022 (compute_arch_mask): New static function.
1023 (print_insn_sparc): Delete sparc_v9_p. New static local
1024 current_mach. Resort opcode table if current_mach changes.
1025 Generalize "insn not supported" test.
1026 (compare_opcodes): Prefer supported opcodes to nonsupported ones.
1027 Delete test for v9/!v9.
1028 * sparc-opc.c (MASK_*): Use SPARC_OPCODE_ARCH_MASK.
1029 (v6notlet): Define.
1030 (brfc): Split into CBR and FBR for coprocessor/fp branches.
1031 (brfcx): Renamed to FBRX.
1032 (condfc): Renamed to CONDFC. Pass v6notlet to CBR (standard
1033 coprocessor mnemonics are not supported on the sparclet).
1034 (condf): Renamed to CONDF.
1035 (SLCBCC2): Delete F_ALIAS flag.
1036
1037 Sat Mar 30 21:45:59 1996 Doug Evans <dje@canuck.cygnus.com>
1038
1039 * sparc-opc.c (sparc_opcodes): rd must be 0 for
1040 mov foo,{%y,%psr,%wim,%tbr}. Support mov foo,%asrX.
1041
1042 Fri Mar 29 13:02:40 1996 Ian Lance Taylor <ian@cygnus.com>
1043
1044 * Makefile.in (config.status): Depend upon BFD VERSION file, so
1045 that the shared library version number is set correctly.
1046
1047 Tue Mar 26 15:47:14 1996 Ian Lance Taylor <ian@cygnus.com>
1048
1049 * configure.in: Use AC_CHECK_TOOL to find ar and ranlib. From
1050 Miles Bader <miles@gnu.ai.mit.edu>.
1051 * configure: Rebuild.
1052
1053 Sat Mar 16 13:04:07 1996 Fred Fish <fnf@cygnus.com>
1054
1055 * z8kgen.c (internal, gas): Call xmalloc rather than unchecked
1056 malloc.
1057
1058 Tue Mar 12 12:14:10 1996 Ian Lance Taylor <ian@cygnus.com>
1059
1060 * configure: Rebuild with autoconf 2.8.
1061
1062 Thu Mar 7 15:11:10 1996 Doug Evans <dje@charmed.cygnus.com>
1063
1064 * sparc-dis.c (print_insn_sparc): Handle 'O' operand char like 'r'.
1065 * sparc-opc.c (sparc_opcodes): Use 'O' operand char for `neg reg'.
1066
1067 Tue Mar 5 15:51:57 1996 Ian Lance Taylor <ian@cygnus.com>
1068
1069 * configure.in: Don't set SHLIB or SHLINK to an empty string,
1070 since they appear as targets in Makefile.in.
1071 * configure: Rebuild.
1072
1073 Mon Feb 26 13:03:40 1996 Stan Shebs <shebs@andros.cygnus.com>
1074
1075 * mpw-make.sed: Edit out shared library support bits.
1076
1077 Tue Feb 20 20:48:28 1996 Doug Evans <dje@charmed.cygnus.com>
1078
1079 * sparc-opc.c (v8,v6notv9): Add MASK_SPARCLET.
1080 (sparc_opcode_archs): Add MASK_V8 to sparclet entry.
1081 (sparc_opcodes): Add sparclet insns.
1082 (sparclet_cpreg_table): New static local.
1083 (sparc_{encode,decode}_sparclet_cpreg): New functions.
1084 * sparc-dis.c (print_insn_sparc): Handle sparclet cpregs.
1085
1086 Tue Feb 20 11:02:44 1996 Alan Modra <alan@mullet.Levels.UniSA.Edu.Au>
1087
1088 * i386-dis.c (index16): New static variable.
1089 (putop): Print jecxz for 32 bit case, jcxz for 16 bit, not the
1090 other way around.
1091 (OP_indirE): Return result of OP_E.
1092 (OP_E): Check for 16 bit addressing mode, and disassemble
1093 correctly. Optimised 32 bit case a little. Don't print
1094 "(base,index,scale)" when sib specifies only an offset.
1095
1096 Mon Feb 19 12:32:17 1996 Ian Lance Taylor <ian@cygnus.com>
1097
1098 * configure.in: Set and substitute SHLIB_DEP.
1099 * configure: Rebuild.
1100 * Makefile.in (SHLIB_DEP): New variable.
1101 (LIBIBERTY_LISTS, BFD_LIST): New variables.
1102 (stamp-piclist): Depend upon LIBIBERTY_LISTS and BFD_LIST. If
1103 COMMON_SHLIB, add them to piclist with appropriate modifications.
1104 ($(SHLIB)): Depend upon $(SHLIB_DEP). Don't check COMMON_SHLIB
1105 here: just use piclist.
1106
1107 Mon Feb 19 02:03:50 1996 Doug Evans <dje@charmed.cygnus.com>
1108
1109 * sparc-dis.c (MASK_V9,V9_ONLY_P,V9_P): Define.
1110 (print_insn_sparc): Rewrite v9/not-v9 tests.
1111 (compare_opcodes): Likewise.
1112 * sparc-opc.c (MASK_<ARCH>): Define.
1113 (v6,v7,v8,sparclite,v9,v9a): Redefine.
1114 (sparclet,v6notv9): Define.
1115 (sparc_opcode_archs): Delete member `conflicts'. Add `supported'.
1116 (sparc_opcodes): Delete F_NOTV9, use v6notv9 instead.
1117
1118 Thu Feb 15 14:45:05 1996 Ian Lance Taylor <ian@cygnus.com>
1119
1120 * configure.in: Call AC_PROG_CC before configure.host.
1121 * configure: Rebuild.
1122
1123 * Makefile.in (SONAME): Remove leading ../bfd/ from $(SHLIB).
1124
1125 Wed Feb 14 19:01:27 1996 Alan Modra <alan@spri.levels.unisa.edu.au>
1126
1127 * i386-dis.c (onebyte_has_modrm): New static array.
1128 (twobyte_has_modrm): New static array.
1129 (print_insn_i386): Only fetch the mod/reg/rm byte if it is needed.
1130
1131 Tue Feb 13 15:15:01 1996 Ian Lance Taylor <ian@cygnus.com>
1132
1133 * Makefile.in ($(SHLINK)): Check ts against $(SHLIB), not
1134 $(SHLINK).
1135
1136 Mon Feb 12 16:26:06 1996 Michael Meissner <meissner@tiktok.cygnus.com>
1137
1138 * ppc-opc.c (PPC): Undef, so default defination on Windows NT
1139 doesn't conflict.
1140
1141 Wed Feb 7 13:59:54 1996 Ian Lance Taylor <ian@cygnus.com>
1142
1143 * m68k-opc.c (m68k_opcodes): The bkpt instruction is supported on
1144 m68010up, not just m68020up | cpu32.
1145
1146 * Makefile.in (SONAME): New variable.
1147 ($(SHLINK)): Make a link to the transformed name, as well.
1148 (stamp-tshlink): New target.
1149 (install): Skip stamp-tshlink during install.
1150
1151 Tue Feb 6 12:28:54 1996 Ian Lance Taylor <ian@cygnus.com>
1152
1153 * configure.in: Call AC_ARG_PROGRAM.
1154 * configure: Rebuild.
1155 * Makefile.in (program_transform_name): New variable.
1156 (install): Transform library name before installing it.
1157
1158 Mon Feb 5 16:14:42 1996 Ian Lance Taylor <ian@cygnus.com>
1159
1160 * i960-dis.c (mem): Add HX dcinva instruction.
1161
1162 Support for building as a shared library, based on patches from
1163 Alan Modra <alan@spri.levels.unisa.edu.au>:
1164 * configure.in: Add AC_ARG_ENABLE for shared and commonbfdlib.
1165 New substitutions: ALLLIBS, PICFLAG, SHLIB, SHLIB_CC,
1166 SHLIB_CFLAGS, COMMON_SHLIB, SHLINK.
1167 * configure: Rebuild.
1168 * Makefile.in (ALLLIBS): New variable.
1169 (PICFLAG, SHLIB, SHLIB_CC, SHLIB_CFLAGS): New variables.
1170 (COMMON_SHLIB, SHLINK): New variables.
1171 (.c.o): If PICFLAG is set, compile twice, once PIC, once normal.
1172 (STAGESTUFF): Remove variable.
1173 (all): Depend upon $(ALLLIBS) rather than $(TARGETLIB).
1174 (stamp-piclist, piclist): New targets.
1175 ($(SHLIB), $(SHLINK)): New targets.
1176 ($(OFILES)): Depend upon stamp-picdir.
1177 (disassemble.o): Build twice if PICFLAG is set.
1178 (MOSTLYCLEAN): Add pic/*.o.
1179 (clean): Remove $(SHLIB), $(SHLINK), piclist, and stamp-piclist.
1180 (distclean): Remove pic and stamp-picdir.
1181 (install): Install shared libraries.
1182 (stamp-picdir): New target.
1183
1184 Fri Feb 2 17:15:25 1996 Doug Evans <dje@charmed.cygnus.com>
1185
1186 * sparc-dis.c (print_insn_sparc): Delete DISASM_RAW_INSN support.
1187 Print unknown instruction as "unknown", rather than in hex.
1188
1189 Tue Jan 30 14:06:08 1996 Ian Lance Taylor <ian@cygnus.com>
1190
1191 * dis-buf.c: Include "sysdep.h" before "dis-asm.h".
1192
1193 Thu Jan 25 20:24:07 1996 Doug Evans <dje@charmed.cygnus.com>
1194
1195 * sparc-opc.c (sparc_opcode_archs): Mark v8/sparclite as conflicting.
1196
1197 Thu Jan 25 11:56:49 1996 Ian Lance Taylor <ian@cygnus.com>
1198
1199 * i386-dis.c (print_insn_i386): Only fetch the mod/reg/rm byte
1200 when necessary. From Ulrich Drepper
1201 <drepper@myware.rz.uni-karlsruhe.de>.
1202
1203 Thu Jan 25 03:39:10 1996 Doug Evans <dje@charmed.cygnus.com>
1204
1205 * sparc-dis.c (print_insn_sparc): NUMOPCODES replaced with
1206 sparc_num_opcodes. Update architecture enum values.
1207 * sparc-opc.c (sparc_opcode_archs): Replaces architecture_pname.
1208 (sparc_opcode_lookup_arch): New function.
1209 (sparc_num_opcodes): Renamed from bfd_sparc_num_opcodes.
1210 (sparc_opcodes): Add v9a shutdown insn.
1211
1212 Mon Jan 22 08:29:59 1996 Doug Evans <dje@charmed.cygnus.com>
1213
1214 * sparc-dis.c (print_insn_sparc): Renamed from print_insn.
1215 If DISASM_RAW_INSN, print insn in hex. Handle v9a as opcode
1216 architecture.
1217 (print_insn_sparc64): Deleted.
1218 * disassemble.c (disassembler, case bfd_arch_sparc): Always use
1219 print_insn_sparc.
1220
1221 * sparc-opc.c (architecture_pname): Add v9a.
1222
1223 Fri Jan 12 14:35:58 1996 David Mosberger-Tang <davidm@AZStarNet.com>
1224
1225 * alpha-opc.h (alpha_insn_set): VAX floating point opcode was
1226 incorrectly defined as 0x16 when it should be 0x15.
1227 (FLOAT_FORMAT_MASK): function code is 11 bits, not just 7 bits!
1228 (alpha_insn_set): added cvtst and cvttq float ops. Also added
1229 excb (exception barrier) which is defined in the Alpha
1230 Architecture Handbook version 2.
1231 * alpha-dis.c (print_insn_alpha): Fixed special-case decoding for
1232 OPERATE_FORMAT_CODE type instructions. The bug caused mulq to be
1233 disassembled as or, for example.
1234
1235 Wed Jan 10 12:37:22 1996 Ian Lance Taylor <ian@cygnus.com>
1236
1237 * mips-dis.c (print_insn_arg): Print cases 'i' and 'u' in hex.
1238 (_print_insn_mips): Change i from int to unsigned int.
1239
1240 Thu Jan 4 17:21:10 1996 David Edelsohn <edelsohn@mhpcc.edu>
1241
1242 * ppc-opc.c (powerpc_opcodes): tlbi POWER opcode form different
1243 from tlbie PowerPC opcode. Add PPC603 tlbld and tlbli.
1244
1245 Thu Dec 28 13:29:19 1995 John Hassey <hassey@rtp.dg.com>
1246
1247 * i386-dis.c: Added Pentium Pro instructions.
1248
1249 Tue Dec 19 22:56:35 1995 Michael Meissner <meissner@tiktok.cygnus.com>
1250
1251 * ppc-opc.c (fsqrt{,.}): Duplicate for PowerPC in addition to
1252 being for Power2.
1253
1254 Fri Dec 15 14:14:15 1995 J.T. Conklin <jtc@rtl.cygnus.com>
1255
1256 * sh-opc.h (sh_nibble_type): Added REG_B.
1257 (sh_arg_type): Added A_REG_B.
1258 (sh_table): Added pref and bank reg versions of ldc, ldc.l, stc
1259 and stc.l opcodes.
1260 * sh-dis.c (print_insn_shx): Added cases for REG_B and A_REG_B.
1261
1262 Fri Dec 15 16:44:31 1995 Ian Lance Taylor <ian@cygnus.com>
1263
1264 * disassemble.c (disassembler): Use new bfd_big_endian macro.
1265
1266 Tue Dec 12 12:22:24 1995 Ian Lance Taylor <ian@cygnus.com>
1267
1268 * Makefile.in (distclean): Remove stamp-h. From Ronald
1269 F. Guilmette <rfg@monkeys.com>.
1270
1271 Tue Dec 5 13:42:44 1995 Stan Shebs <shebs@andros.cygnus.com>
1272
1273 From David Mosberger-Tang <davidm@azstarnet.com>:
1274 * alpha-dis.c (print_insn_alpha): fixed decoding of cpys
1275 instruction.
1276
1277 Mon Dec 4 12:29:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
1278
1279 * sh-opc.h (sh_arg_type): Added A_SSR and A_SPC.
1280 (sh_table): Added many SH3 opcodes.
1281 * sh-dis.c (print_insn_shx): Added cases for A_SSR and A_SPC.
1282
1283 Fri Dec 1 07:42:18 1995 Michael Meissner <meissner@tiktok.cygnus.com>
1284
1285 * ppc-opc.c (subfc., subfco): Mark this PPCCOM, not PPC.
1286 (subco,subco.): Mark this PPC, not PPCCOM.
1287
1288 Mon Nov 27 13:09:52 1995 Ian Lance Taylor <ian@cygnus.com>
1289
1290 * configure: Rebuild with autoconf 2.7.
1291
1292 Tue Nov 21 18:28:06 1995 Ian Lance Taylor <ian@cygnus.com>
1293
1294 * configure: Rebuild with autoconf 2.6.
1295
1296 Wed Nov 15 19:02:53 1995 Ken Raeburn <raeburn@cygnus.com>
1297
1298 * configure.in: Sort list of architectures. Accept but do nothing
1299 for alliant, convex, pyramid, romp, and tahoe.
1300
1301 Wed Nov 8 20:18:59 1995 Ian Lance Taylor <ian@cygnus.com>
1302
1303 * a29k-dis.c (print_special): Change num to unsigned int.
1304
1305 Wed Nov 8 20:10:35 1995 Eric Freudenthal <freudenthal@nyu.edu>
1306
1307 * a29k-dis.c (print_insn): Cast insn24 to unsigned long when
1308 shifting it.
1309
1310 Tue Nov 7 15:21:06 1995 Ian Lance Taylor <ian@cygnus.com>
1311
1312 * configure.in: Call AC_CHECK_PROG to find and cache AR.
1313 * configure: Rebuilt.
1314
1315 Mon Nov 6 17:39:47 1995 Harry Dolan <dolan@ssd.intel.com>
1316
1317 * configure.in: Add case for bfd_i860_arch.
1318 * configure: Rebuild.
1319
1320 Fri Nov 3 12:45:31 1995 Ian Lance Taylor <ian@cygnus.com>
1321
1322 * m68k-opc.c (m68k_opcodes): Correct fmoveml operands.
1323 * m68k-dis.c (NEXTSINGLE): Change i to unsigned int.
1324 (NEXTDOUBLE): Likewise.
1325 (print_insn_m68k): Don't match fmoveml if there is more than one
1326 register in the list.
1327 (print_insn_arg): Handle a place of '8' for a type of 'L'.
1328
1329 Thu Nov 2 23:06:33 1995 Ian Lance Taylor <ian@cygnus.com>
1330
1331 * m68k-opc.c: Use #W rather than #w.
1332 * m68k-dis.c (print_insn_arg): Handle new 'W' place.
1333
1334 Wed Nov 1 13:30:24 1995 Ian Lance Taylor <ian@cygnus.com>
1335
1336 * m68k-opc.c (m68k_opcode_aliases): Add dbfw as an alias for dbf,
1337 and likewise for all the dbxx opcodes.
1338
1339 Mon Oct 30 20:50:40 1995 Fred Fish <fnf@cygnus.com>
1340
1341 * arc-dis.c: Include elf-bfd.h rather than libelf.h.
1342
1343 Mon Oct 23 11:11:34 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
1344
1345 * mips-opc.c: Added shorthand (V1) for INSN_4100 manifest. Added
1346 the VR4100 specific instructions to the mips_opcodes structure.
1347
1348 Thu Oct 19 11:05:23 1995 Stan Shebs <shebs@andros.cygnus.com>
1349
1350 * mpw-config.in, mpw-make.sed: Remove ugly workaround for
1351 ugly Metrowerks bug in CW6, is fixed in CW7.
1352
1353 Mon Oct 16 12:59:01 1995 Michael Meissner <meissner@tiktok.cygnus.com>
1354
1355 * ppc-opc.c (whole file): Add flags for common/any support.
1356
1357 Tue Oct 10 11:06:07 1995 Fred Fish <fnf@cygnus.com>
1358
1359 * Makefile.in (BISON): Remove macro.
1360 (FLAGS_TO_PASS): Remove BISON.
1361
1362 Fri Oct 6 16:26:45 1995 Ken Raeburn <raeburn@cygnus.com>
1363
1364 Mon Sep 25 22:49:32 1995 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1365
1366 * m68k-dis.c (print_insn_m68k): Recognize all two-word
1367 instructions that take no args by looking at the match mask.
1368 (print_insn_arg): Always print "%" before register names.
1369 [case 'c']: Use "nc" for the no-cache case, as recognized by gas.
1370 [case '_']: Don't print "@#" before address.
1371 [case 'J']: Use "%s" as format string, not register name.
1372 [case 'B']: Treat place == 'C' like 'l' and 'L'.
1373
1374 Thu Oct 5 22:16:20 1995 Ken Raeburn <raeburn@cygnus.com>
1375
1376 * i386-dis.c: Describe cmpxchg8b operand, and spell the opcode
1377 name correctly.
1378
1379 Tue Oct 3 08:30:20 1995 steve chamberlain <sac@slash.cygnus.com>
1380
1381 From David Mosberger-Tang <davidm@azstarnet.com>
1382
1383 * alpha-opc.h (MEMORY_FUNCTION_FORMAT_MASK): added.
1384 (alpha_insn_set): added definitions for VAX floating point
1385 instructions (Unix compilers don't generate these, but handcoded
1386 assembly might still use them).
1387
1388 * alpha-dis.c (print_insn_alpha): added support for disassembling
1389 the miscellaneous instructions in the Alpha instruction set.
1390
1391 Tue Sep 26 18:47:20 1995 Stan Shebs <shebs@andros.cygnus.com>
1392
1393 * mpw-config.in: Add m68k-opc.c.o to BFD_MACHINES for m68k,
1394 no longer create sysdep.h, sed ppc-opc.c to work around a
1395 serious Metrowerks C bug.
1396 * mpw-make.in: Remove.
1397 * mpw-make.sed: New file, used by mpw-configure to edit
1398 Makefile.in into an MPW makefile.
1399
1400 Wed Sep 20 12:55:28 1995 Ian Lance Taylor <ian@cygnus.com>
1401
1402 * Makefile.in (maintainer-clean): New synonym for realclean.
1403
1404 Tue Sep 19 15:28:36 1995 Ian Lance Taylor <ian@cygnus.com>
1405
1406 * m68k-opc.c: Split pmove patterns which use 'P' into patterns
1407 which use '0', '1', and '2' instead. Specify the proper size for
1408 a pmove immediate operand. Correct the pmovefd patterns to be
1409 moves to a register, not from a register.
1410 * m68k-dis.c (print_insn_arg): Replace 'P' with '0', '1', '2'.
1411
1412 Thu Sep 14 11:58:22 1995 Doug Evans <dje@canuck.cygnus.com>
1413
1414 * sparc-opc.c (sparc_opcodes): Mark all insns that reference
1415 %psr, %wim, %tbr as F_NOTV9.
1416
1417 Fri Sep 8 01:07:38 1995 Ian Lance Taylor <ian@cygnus.com>
1418
1419 * Makefile.in (Makefile): Just rebuild Makefile when running
1420 config.status.
1421 (config.h, stamp-h): New targets.
1422 * configure.in: Call AC_CONFIG_HEADER and AC_CANONICAL_SYSTEM
1423 earlier. Don't bother to call AC_ARG_PROGRAM. Touch stamp-h when
1424 rebuilding config.h.
1425 * configure: Rebuild.
1426
1427 * mips-opc.c: Change unaligned loads and stores with "t,A"
1428 operands to use "t,A(b)".
1429
1430 Thu Sep 7 19:02:46 1995 Jim Wilson <wilson@chestnut.cygnus.com>
1431
1432 * sh-dis.c (print_insn_shx): Add F_FR0 support.
1433
1434 Thu Sep 7 19:02:46 1995 Jim Wilson <wilson@chestnut.cygnus.com>
1435
1436 * sh-dis.c (print_insn_shx): Change loop over op->arg[n] to iterate
1437 until 3 instead of until 2.
1438
1439 Wed Sep 6 21:21:33 1995 Ian Lance Taylor <ian@cygnus.com>
1440
1441 * Makefile.in (ALL_CFLAGS): Define.
1442 (.c.o, disassemble.o): Use $(ALL_CFLAGS).
1443 (MOSTLYCLEAN): Add config.log.
1444 (distclean): Don't remove config.log.
1445 * configure.in: Substitute HDEFINES.
1446 * configure: Rebuild.
1447
1448 Wed Sep 6 15:08:09 1995 Jim Wilson <wilson@chestnut.cygnus.com>
1449
1450 * sh-opc.h (sh_arg_type): Add F_FR0.
1451 (sh_table, case fmac): Add F_FR0 as first argument.
1452
1453 Wed Sep 6 15:08:09 1995 Jim Wilson <wilson@chestnut.cygnus.com>
1454
1455 * sh-opc.h (sh_opcode_info): Increase arg array size to 4.
1456
1457 Tue Sep 5 18:28:10 1995 Doug Evans <dje@canuck.cygnus.com>
1458
1459 * sparc-dis.c: Remove all references to NO_V9.
1460
1461 Tue Sep 5 20:03:26 1995 Ian Lance Taylor <ian@cygnus.com>
1462
1463 * aclocal.m4: Just include ../bfd/aclocal.m4.
1464 * configure: Rebuild.
1465
1466 Tue Sep 5 16:09:59 1995 Doug Evans <dje@canuck.cygnus.com>
1467
1468 * sparc-dis.c (X_DISP19): Define.
1469 (print_insn, case 'G'): Use it.
1470 (print_insn, case 'L'): Sign extend displacement.
1471
1472 Mon Sep 4 14:28:46 1995 Ian Lance Taylor <ian@cygnus.com>
1473
1474 * configure.in: Run ../bfd/configure.host before AC_PROG_CC.
1475 Subsitute CFLAGS and AR. Call AC_PROG_INSTALL. Don't substitute
1476 host_makefile_frag or frags.
1477 * aclocal.m4: New file.
1478 * configure: Rebuild.
1479 * Makefile.in (INSTALL): Set to @INSTALL@.
1480 (INSTALL_PROGRAM): Set to @INSTALL_PROGRAM@.
1481 (INSTALL_DATA): Set to @INSTALL_DATA@.
1482 (AR): Set to @AR@.
1483 (AR_FLAGS): Set to rc rather than qc.
1484 (CC): Define as @CC@.
1485 (CFLAGS): Set to @CFLAGS@.
1486 (@host_makefile_frag@): Remove.
1487 (config.status): Remove dependency upon @frags@.
1488
1489 * configure.in: ../bfd/config.bfd now just sets shell variables.
1490 Use them rather than looking through target Makefile fragments.
1491 * configure: Rebuild.
1492
1493 Thu Aug 31 12:35:32 1995 Jim Wilson <wilson@chestnut.cygnus.com>
1494
1495 * sh-opc.h (ftrc): Change FPUL_N to FPUL_M.
1496
1497 Wed Aug 30 13:52:28 1995 Doug Evans <dje@canuck.cygnus.com>
1498
1499 * sparc-opc.c (sparc_opcodes): Delete duplicate wr %y insn.
1500 Add clrx, iprefetch, signx, clruw, cas, casl, casx, casxl synthetic
1501 sparc64 insns.
1502
1503 * sparc-opc.c (sparc_opcodes): Fix prefetcha insn.
1504 (lookup_{name,value}): New functions.
1505 (prefetch_table): New static local.
1506 (sparc_{encode,decode}_prefetch): New functions.
1507 * sparc-dis.c (print_insn): Handle '*' arg (prefetch function).
1508
1509 Wed Aug 30 11:11:58 1995 Jim Wilson <wilson@chestnut.cygnus.com>
1510
1511 * sh-opc.h: Add blank lines to improve readabililty of sh3e
1512 instructions.
1513
1514 Wed Aug 30 11:09:38 1995 Jim Wilson <wilson@chestnut.cygnus.com>
1515
1516 * sh-dis.c: Correct comment on first line of file.
1517
1518 Tue Aug 29 15:37:18 1995 Doug Evans <dje@canuck.cygnus.com>
1519
1520 * disassemble.c (disassembler): Handle bfd_mach_sparc64.
1521
1522 * sparc-opc.c (asi, membar): New static locals.
1523 (sparc_{encode,decode}_{asi,membar}): New functions.
1524 (sparc_opcodes, membar insn): Fix.
1525 * sparc-dis.c (print_insn): Call sparc_decode_asi.
1526 Support decoding of membar masks.
1527 (X_MEMBAR): Define.
1528
1529 Sat Aug 26 21:22:48 1995 Ian Lance Taylor <ian@cygnus.com>
1530
1531 * m68k-opc.c (m68k_opcode_aliases): Add br, brs, brb, brw, brl.
1532
1533 Mon Aug 21 17:33:36 1995 Ian Lance Taylor <ian@cygnus.com>
1534
1535 * m68k-opc.c (m68k_opcode_aliases): Add bhib as an alias for bhis,
1536 and likewise for the other branches. Add bhs as an alias for bcc,
1537 and likewise for the size variants. Add dbhs as an alias for
1538 dbcc.
1539
1540 Fri Aug 11 13:40:24 1995 Jeff Law (law@snake.cs.utah.edu)
1541
1542 * sh-opc.h (FP sts instructions): Update to match reality.
1543
1544 Mon Aug 7 16:12:58 1995 Ian Lance Taylor <ian@cygnus.com>
1545
1546 * m68k-dis.c: (fpcr_names): Add % before all register names.
1547 (reg_names): Likewise.
1548 (print_insn_arg): Don't explicitly print % before register names.
1549 Add % before register names in static array names. In case 'r',
1550 print data registers as `@(Dn)', not `Dn@'. When printing a
1551 memory address, don't print @# before it.
1552 (print_indexed): Change base_disp and outer_disp from int to
1553 bfd_vma. Print using MIT syntax, not mutant invalid Motorola
1554 syntax. Sign extend 8 byte displacement correctly.
1555 (print_base): Print using MIT syntax. Print zpc when appropriate.
1556 Change parameter disp from int to bfd_vma.
1557
1558 * m68k-opc.c (m68k_opcode_aliases): Add jsrl and jsrs as aliases
1559 for jsr.
1560
1561 Mon Aug 7 02:21:40 1995 Jeff Law (law@snake.cs.utah.edu)
1562
1563 * sh-dis.c (print_insn_shx): Handle new operand types F_REG_N,
1564 F_REG_M, FPSCR_M, FPSCR_N, FPUL_M and FPUL_N.
1565 * sh-opc.h (sh_arg_type): Add new operand types.
1566 (sh_table): Add new opcodes from SH3E Floating Point ISA.
1567
1568 Sat Aug 5 16:50:14 1995 Fred Fish <fnf@cygnus.com>
1569
1570 * Makefile.in (distclean): Remove generated file config.h.
1571
1572 Sat Aug 5 16:50:14 1995 Fred Fish <fnf@cygnus.com>
1573
1574 * Makefile.in (distclean): Remove generated file config.h.
1575
1576 Wed Aug 2 18:33:40 1995 Ian Lance Taylor <ian@cygnus.com>
1577
1578 * m68k-opc.c: New file, holding tables from include/opcode/m68k.h.
1579 Clean up tables.
1580 * m68k-dis.c: Remove BREAK_UP_BIG_DECL stuff.
1581 (opcode): Remove.
1582 (print_insn_m68k): Change d to be const. Use m68k_numopcodes
1583 rather than numopcodes. Use m68k_opcodes rather than removed
1584 opcode function. Don't check F_ALIAS.
1585 (print_insn_arg): Change first parameter to be const char *.
1586 * Makefile.in (ALL_MACHINES): Add m68k-opc.o.
1587 (m68k-opc.o): New target.
1588 * configure.in: Build m68k-opc.o for bfd_m68k_arch.
1589 * configure: Rebuild.
1590
1591 Wed Aug 2 08:23:38 1995 Doug Evans <dje@canuck.cygnus.com>
1592
1593 * sparc-dis.c (HASH_SIZE, HASH_INSN): Define.
1594 (opcode_bits, opcode_hash_table): New variables.
1595 (opcodes_initialized): Renamed from opcodes_sorted.
1596 (build_hash_table): New function.
1597 (is_delayed_branch): Use hash table.
1598 (print_insn): Renamed from print_insn_sparc, made static.
1599 Build and use hash table. If !sparc64, ignore sparc64 insns,
1600 and vice-versa if sparc64.
1601 (print_insn_sparc, print_insn_sparc64): New functions.
1602 (compare_opcodes): Move sparc64 opcodes to end.
1603 Print commutative insns with constant second.
1604 * sparc-opc.c (all non-v9 insns): Use flag F_NOTV9 instead of F_ALIAS.
1605
1606 Tue Aug 1 00:12:49 1995 Ian Lance Taylor <ian@cygnus.com>
1607
1608 * sh-dis.c (print_insn_shx): Remove unused local dslot. Use
1609 print_address_func for A_BDISP12 and A_BDISP8. Correct test which
1610 avoids printing a delay slot in a delay slot.
1611 * sh-opc.h (sh_table): Fully bracket last entry.
1612
1613 Mon Jul 31 12:04:47 1995 Doug Evans <dje@canuck.cygnus.com>
1614
1615 * sparc-opc.c (sllx, srax, srlx): Fix disassembly.
1616
1617 Wed Jul 12 00:59:34 1995 Ken Raeburn <raeburn@kr-pc.cygnus.com>
1618
1619 * configure.in: Get host_makefile_frag from ${srcdir}.
1620
1621 * configure.in: Autoconfiscated. Check for string[s].h. Create
1622 config.h from config.in. Don't set up sysdep.h link.
1623 * sysdep.h: New file.
1624 * configure, config.in: New files, generated from configure.in.
1625 * Makefile.in: Updated to be processed autoconf-style.
1626 (distclean): Keep sysdep.h. Remove config.log and config.cache.
1627 (Makefile): Depend on config.status.
1628 (config.status): New rule.
1629 * configure.bat: Update Makefile substitutions.
1630
1631 Tue Jul 11 14:23:37 1995 Jeff Spiegel <jeffs@lsil.com>
1632
1633 * mips-opc.c (L1): Define.
1634 (mips_opcodes): Add R4010 instructions: flushi, flushd, flushid,
1635 addciu, madd, maddu, ffc, ffs, msub, msubu, selsi, selsr, waiti,
1636 and wb.
1637
1638 Tue Jul 11 11:49:49 1995 Ian Lance Taylor <ian@cygnus.com>
1639
1640 * mips-opc.c (mips_opcodes): For the move pseudo-op, prefer daddu
1641 if ISA 3 and addu otherwise, replacing or, since some MIPS chips
1642 have multiple add units but only a single logical unit.
1643
1644 * ppc-opc.c (powerpc_operands): Change CR to use a bitsize of 3,
1645 shifted by 18, without any insertion or extraction function.
1646 (insert_cr, extract_cr): Remove.
1647
1648 start-sanitize-arc
1649 Mon Jul 3 11:54:31 1995 Ian Lance Taylor <ian@cygnus.com>
1650
1651 * Makefile.in (ALL_MACHINES): Add arc-dis.o and arc-opc.o.
1652
1653 end-sanitize-arc
1654 Wed Jun 21 20:05:39 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
1655
1656 * m68k-dis.c (print_insn_arg, print_indexed): Print "%" before
1657 register names.
1658
1659 Thu Jun 15 17:23:31 1995 Stan Shebs <shebs@andros.cygnus.com>
1660
1661 * mpw-config.in: Add sh and i386 configs, remove sparc config.
1662 * sh-opc.h: Add copyright.
1663
1664 Mon Jun 5 03:30:43 1995 Ken Raeburn <raeburn@kr-laptop.cygnus.com>
1665
1666 * Makefile.in (crunch-m68k): Delete extra target accidentally
1667 checked in a while ago.
1668
1669 Wed May 24 16:22:13 1995 Jim Wilson <wilson@chestnut.cygnus.com>
1670
1671 * sh-opc.h (sh_table): Add SH3 support.
1672
1673 Wed May 24 14:16:08 1995 Steve Chamberlain <sac@slash.cygnus.com>
1674
1675 * sh-opc.h: Added bsrf and braf.
1676
1677 Wed May 10 14:28:16 1995 Richard Earnshaw (rearnsha@armltd.co.uk)
1678
1679 * arm-opc.h (arm_opcodes): Add 64-bit multiply patterns. Delete
1680 bogus [ls]fm{ea,fd} patterns.
1681
1682 * arm-opc.h (arm_opcodes): Correct typos in stm, ldm, std, and ldc.
1683 * arm-dis.c (print_insn_arm): Make GIVEN a parameter, don't try and
1684 initialize it from memory. Make function static.
1685 (print_insn_{big,little}_arm): New functions.
1686 * disassemble.c (disassembler, case bfd_arch_arm): Disassemble for
1687 the correct endianness.
1688
1689 start-sanitize-arc
1690 Sat Apr 29 23:20:05 1995 Doug Evans <dje@chestnut.cygnus.com>
1691
1692 * arc-opc.c (arc_opcodes): Add ARC_OPCODE_CONDITIONAL_BRANCH flag.
1693 (arc_suffixes): Use ARC_DELAY_{NONE,NORMAL,JUMP}.
1694 end-sanitize-arc
1695
1696 Mon Apr 24 14:18:05 1995 Jason Molenda (crash@phydeaux.cygnus.com>
1697
1698 * sh-opc.h (sh_nibble_type, sh_arg_type): remove trailing , from
1699 enum list.
1700
1701 Wed Apr 19 14:07:03 1995 Michael Meissner <meissner@tiktok.cygnus.com>
1702
1703 * m68k-dis.c (opcode): Finish change made by Kung Hsu on April
1704 17th, so that it builds again using GCC as the compiler.
1705
1706 Tue Apr 18 12:14:51 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
1707
1708 * mips-dis.c (print_insn_little_mips): Cast return value from
1709 bfd_getl32 from bfd_vma to unsigned long, because _print_insn_mips
1710 expects an unsigned long, and that might be fewer words of
1711 argument storage (e.g., if bfd_vma is long long on a 32-bit
1712 machine).
1713 (print_insn_big_mips): Likewise with bfd_getb32 value.
1714 (_print_insn_mips): Now static.
1715
1716 Mon Apr 17 12:23:28 1995 Kung Hsu <kung@rtl.cygnus.com>
1717
1718 * m68k-dis.c: Take out #define BREAK_UP_BIG_DECL kludge, because
1719 gcc memory hog problem with initializer is fixed.
1720
1721 start-sanitize-arc
1722 Wed Apr 12 09:04:12 1995 Doug Evans <dje@canuck.cygnus.com>
1723
1724 * arc-opc.c (NULL): Define.
1725 (arc_operands, insn fields u,s): Delete.
1726 (arc_operands, insn fields a,b,c): Mark as signed.
1727 (arc_opcodes): No longer const, links computed at run-time.
1728 (arc_opcodes, mac/mul insns): Breakout suffixes as we don't handle
1729 suffixes that affect the insn code.
1730 (arc_opcodes): Resort table to macros are first.
1731 (arc_opcodes, ld [b,c] entry): Add %Q to prevent shimms.
1732 (arc_opcodes, st [b] entry): Likewise.
1733 (arc_opcodes, st [b,d] entry): Fix mask, value.
1734 (arc_reg_names): Add entries for r29, r30, r31, r60.
1735 (opcode_map, icode_map): New static globals.
1736 (arc_opcode_init_tables): Initialize them.
1737 (arc_opcode_lookup_asm, arc_opcode_lookup_dis): New functions.
1738 (insert_shimmoffset): Signal error if register present.
1739 Validate constant.
1740 * arc-dis.c (print_insn): Call arc_opcode_lookup_dis.
1741 end-sanitize-arc
1742
1743 Mon Apr 10 15:55:01 1995 Stan Shebs <shebs@andros.cygnus.com>
1744
1745 Merge in support for Mac MPW as a host.
1746 (Old change descriptions retained for informational value.)
1747
1748 * mpw-config.in (archname): Compute from the config.
1749 (BFD_MACHINES, ARCHDEFS): Put into mk.tmp.
1750
1751 * mpw-config.in (target_arch): Compute from canonical target.
1752 (m68k, mips, powerpc, sparc): Add architectures.
1753 * mpw-make.in (disassemble.c.o): Add.
1754 (ALL_CFLAGS): Remove special flags (-mc68020 -mc68881 -model far).
1755
1756 * mpw-config.in (BFD_MACHINES): Set to a default value.
1757 * mpw-make.in (BFD_MACHINES): Remove wired-in value.
1758
1759 * mpw-make.in (CSEARCH): Add extra-include to search path.
1760
1761 * mpw-config.in (varargs.h): Don't create.
1762 (sysdep.h): Create using forward-include.
1763 * mpw-make.in (CSEARCH): Add include/mpw to search path.
1764
1765 * mpw-config.in: New file, MPW version of configure.in.
1766 * mpw-make.in: New file, MPW version of Makefile.in.
1767
1768 start-sanitize-arc
1769 Thu Apr 6 20:36:08 1995 Doug Evans <dje@chestnut.cygnus.com>
1770
1771 * arc-dis.c (print_insn): New parameter `big_p'. Callers updated.
1772 Call arc_get_opcode_mach to map bfd mach number to opcode value.
1773 (print_insn_*): Pass bfd mach number, not opcode version.
1774 * arc-opc.c (arc_get_opcode_mach): New function.
1775 end-sanitize-arc
1776
1777 Fri Mar 31 14:23:38 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
1778
1779 * alpha-dis.c (print_insn_alpha): Put empty statement after
1780 default label.
1781
1782 Tue Mar 21 10:51:40 1995 Jeff Law (law@snake.cs.utah.edu)
1783
1784 * hppa-dis.c (sign_extend): Delete, redundant with libhppa.h version.
1785 (low_sign_extend): Likewise.
1786 (get_field): Delete unused function.
1787 (set_field, deposit_14, deposit_21): Likewise.
1788
1789 Fri Mar 17 15:55:53 1995 J.T. Conklin <jtc@rtl.cygnus.com>
1790
1791 * i386-dis.c: Support for more pentium opcodes. From Guy Harris
1792 (guy@netapp.com).
1793
1794 Tue Mar 14 00:52:57 1995 Ken Raeburn (raeburn@kr-pc.cygnus.com)
1795
1796 Sat Feb 11 17:22:41 1995 Klaus Kaempf (kkaempf@didymus.rmi.de)
1797
1798 * alpha-opc.h (OSF_ASMCODE): define
1799 print pal-code names as defined in App C of the
1800 Alpha Architecture Reference Manual
1801
1802 * alpha-dis.c: cleaned up output
1803 print stylized code forms as defined in App A.4.3 of the
1804 Alpha Architecture Reference Manual
1805
1806 Wed Mar 8 15:21:14 1995 Ian Lance Taylor <ian@cygnus.com>
1807
1808 * mips-opc.c: Add new mips4 instructions. Don't set INSN_RFE for
1809 `rfe'.
1810 * mips-dis.c (print_insn_arg): Handle new argument types 'h', 'R',
1811 'N', and 'M'.
1812
1813 Wed Mar 8 02:54:05 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
1814
1815 * m68k-dis.c (opcode): New function. Returns address of opcode
1816 table entry given index, even if the opcode table was split to
1817 work around gcc bugs.
1818 (print_insn_m68k): Call opcode instead of referencing m68k_opcodes
1819 directly.
1820 (BREAK_UP_BIG_DECL): Make secondary array static and const.
1821 (reg_names): Now const.
1822 (print_insn_arg): Arrays cacheFieldName and names now const.
1823 (print_indexed): Array scales now const.
1824
1825 start-sanitize-arc
1826 Tue Mar 7 21:14:14 1995 Doug Evans <dje@chestnut.cygnus.com>
1827
1828 * arc-dis.c (print_insn_arc_base): Split into big and little fns.
1829 (print_insn_arc_{host,graphics,audio}): Likewise.
1830 (print_insn): Add prototype.
1831 (arc_get_disassembler): New arg `big_p'. Return little or big
1832 print fn accordingly.
1833 * arc-opc.c (arc_opcode_init_tables): Init arc_operand_map once.
1834 (arc_opcode_supported): Use ARC_OPCODE_CPU to ignore byte order.
1835 (arc_opval_supported): Likewise.
1836 * disassemble.c (disassembler): Pass big endian flag to
1837 arc_get_disassembler.
1838 end-sanitize-arc
1839
1840 Tue Mar 7 16:41:21 1995 Ian Lance Taylor <ian@cygnus.com>
1841
1842 * ppc-opc.c: Sort recently added instructions by minor opcode
1843 number within major opcode number.
1844
1845 Mon Mar 6 10:04:36 1995 Jeff Law (law@snake.cs.utah.edu)
1846
1847 * hppa-dis.c: Include libhppa.h.
1848
1849 Fri Feb 24 19:15:36 1995 Ian Lance Taylor <ian@cygnus.com>
1850
1851 * mips-opc.c: Change dli to use M_DLI, and add dla.
1852
1853 Mon Feb 20 23:54:38 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1854
1855 * Makefile.in (ALL_MACHINES): Add w65-dis.o.
1856
1857 start-sanitize-arc
1858 Fri Feb 17 12:42:25 1995 Doug Evans <dje@chestnut.cygnus.com>
1859
1860 * arc-dis.c (arc_get_disassembler): Change argument to int,
1861 one of bfd_mach_arc_xxx. All callers updated.
1862 end-sanitize-arc
1863
1864 Thu Feb 16 17:34:41 1995 Ian Lance Taylor <ian@cygnus.com>
1865
1866 * mips-opc.c: Add r4650 mul instruction.
1867
1868 Wed Feb 15 15:45:20 1995 Ian Lance Taylor <ian@cygnus.com>
1869
1870 * mips-opc.c: Add uld and usd macros for unaligned double load and
1871 store.
1872
1873 Tue Feb 14 13:17:37 1995 Michael Meissner <meissner@tiktok.cygnus.com>
1874
1875 * ppc-opc.c (powerpc_opcodes): Add 403GA opcodes rfci, dccci,
1876 mfdcr, mtdcr, icbt, iccci.
1877
1878 start-sanitize-arc
1879 Mon Feb 13 11:09:17 1995 Doug Evans <dje@canuck.cygnus.com>
1880
1881 * arc-dis.c (print_insn): Handle ARC_OPERAND_ADDRESS.
1882 * arc-opc.c (arc_operands): New operand 'J' for jump addresses.
1883 ('L' operand): Mark as ARC_OPERAND_ADDRESS.
1884 (arc_opcodes, j insn): Use 'J' operand type, not 'L'.
1885 (arc_opcodes, ld/st insns): Fix address writeback operand letter.
1886 (insert_absaddr): New function.
1887
1888 Thu Feb 9 19:19:23 1995 Doug Evans <dje@canuck.cygnus.com>
1889
1890 * arc-dis.c (print_insn_arc): Rename to print_insn and make static.
1891 New argument `cpu', pass it to arc_opcode_init_tables.
1892 Document byte order dependencies. Ignore unsupported insns.
1893 (arc_get_disassembler): New function.
1894 (print_insn_arc_base, print_insn_arc_host, print_insn_arc_graphics,
1895 print_insn_arc_audio): New functions.
1896 * arc-opc.c (MULTSHIFT operand): Delete.
1897 (UNSIGNED, SATURATION): New operands.
1898 (mac, mul, mul64, mulu64): New insns.
1899 (ext. asl, asr, lsr, ror): Only available on host and graphics cpus.
1900 (padc, padd, pmov, pand, psbc, psub, swap): New insns.
1901 (host,graphics,audio extended and auxiliary regs): Define.
1902 (ss, sc, mh, ml): New suffixes.
1903 (arc_opcode_supported, arc_opval_supported): New functions.
1904 (insert_multshift, extract_multshift): Deleted.
1905 * disassemble.c (disassembler, case bfd_arch_arc): Call
1906 arc_get_disassembler to get disassembler routine.
1907 end-sanitize-arc
1908
1909 Thu Feb 9 12:28:13 1995 Stan Shebs <shebs@andros.cygnus.com>
1910
1911 * i960-dis.c (struct tabent, struct sparse_tabent): Change the
1912 signed char fields to shorts, more portable.
1913
1914 Wed Feb 8 17:29:29 1995 Stan Shebs <shebs@andros.cygnus.com>
1915
1916 * i960-dis.c (struct tabent, struct sparse_tabent): Declare the
1917 char fields as signed chars, since they may have negative values.
1918
1919 Mon Feb 6 10:52:06 1995 J.T. Conklin <jtc@rtl.cygnus.com>
1920
1921 * i386-dis.c (dis386_twobyte): Add cpuid, From Charles Hannum
1922 (mycroft@netbsd.org).
1923
1924 Mon Jan 30 12:38:00 1995 Ian Lance Taylor <ian@cygnus.com>
1925
1926 From "Logg, Ed" <elogg@ea.com>:
1927 * ppc-opc.c (extract_bdm): Correct parenthezisation.
1928 * ppc-dis.c (print_insn_powerpc): Print .long before unrecognized
1929 value.
1930
1931 Thu Jan 26 18:32:08 1995 Ian Lance Taylor <ian@cygnus.com>
1932
1933 * ppc-opc.c: Changes based on patch from David Edelsohn
1934 <edelsohn@mhpcc.edu>.
1935 (powerpc_operands): Add operands SPRBAT and SPRG. Split TBR out of
1936 SPR.
1937 (FXM_MASK): Define.
1938 (insert_tbr): New static function.
1939 (extract_tbr): New static function.
1940 (XFXFXM_MASK, XFXM): Define.
1941 (XSPRBAT_MASK, XSPRG_MASK): Define.
1942 (powerpc_opcodes): Add instructions to access special registers by
1943 name. Add mtcr and mftbu.
1944
1945 Tue Jan 17 10:56:43 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
1946
1947 * mips-opc.c (P3): Define.
1948 (mips_opcodes): Add mad and madu.
1949
1950 Sun Jan 15 16:32:59 1995 Steve Chamberlain <sac@splat>
1951
1952 * configure.in: Add W65 support.
1953 * disassemble.c: Likewise.
1954 * w65-opc.h, w65-dis.c: New files.
1955
1956 Wed Dec 28 22:15:33 1994 Steve Chamberlain (sac@jonny.cygnus.com)
1957
1958 * h8300-dis.c (bfd_h8_disassemble): Add support for 2 bit
1959 immediates.
1960
1961 start-sanitize-arc
1962 Tue Dec 20 10:36:55 1994 Doug Evans <dje@canuck.cygnus.com>
1963
1964 * arc-dis.c (print_insn_arc): Branch offsets are relative to delay
1965 slot.
1966 * arc-opc.c (extract_reladdr): New function.
1967 (insert_reladdr): Store address right-shifted by 2.
1968 end-sanitize-arc
1969
1970 Tue Dec 20 11:25:12 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
1971
1972 * mips-opc.c: Add dli as a synonym for li.
1973
1974 start-sanitize-arc
1975 Mon Dec 19 12:35:51 1994 Doug Evans <dje@canuck.cygnus.com>
1976
1977 * arc-opc.c (insertion fns): Pass pointer to value's table entry.
1978 All uses changed.
1979 (extraction fns): Insn argument now array of two words. Return pointer
1980 to value's table entry. All uses changed.
1981 (arc_opcode_lookup_suffix): Exported for arc-dis.c.
1982 (insert_multshift, extract_multshift): New fns.
1983 (arc_operands): Add support for cache bypass suffix. Add support for
1984 predefined aux regs. Modifier bits moved to flags field.
1985 (arc_opcodes): Likewise.
1986 Add mul/mulu/shift insns. Syntax of zero/sign extension insns changed.
1987 New insn rlc. Update to syntax in programmer's manual.
1988 (arc_reg_names): Fix typo in lp_count. Add predefined aux regs.
1989 (arc_suffixes): New synonyms lo,hs for cs,cc. New suffix for cache
1990 bypass.
1991 (arc_opcode_init_tables): New argument to indicate cpu type.
1992 (insert_reg): Handle predefined aux regs.
1993 (extract_reg): Likewise.
1994 (lookup_register): New fn.
1995 * arc-dis.c (arc_condition_codes): Deleted.
1996 (print_insn_arc): Handle insns with 32 bit immediate constants better.
1997 Clean up modifier handling. Handle predefined aux regs.
1998 end-sanitize-arc
1999
2000 Thu Dec 8 18:23:31 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
2001
2002 * alpha-dis.c (print_insn_alpha): Handle call_pal instruction, and
2003 print something for reserved opcode values, even if it won't
2004 assemble again.
2005
2006 * mips-dis.c (_print_insn_mips): When initializing, shift right
2007 and mask, to avoid sign extension problems on the Alpha.
2008
2009 * m68k-dis.c (print_insn_arg, case 'J'): Handle buscr and pcr
2010 control registers.
2011
2012 start-sanitize-arc
2013 Tue Nov 29 18:02:43 1994 Doug Evans <dje@canuck.cygnus.com>
2014
2015 * configure.in: Add ARC support.
2016 * disassemble.c: Likewise.
2017 * arc-dis.c, arc-opc.c: New files.
2018 end-sanitize-arc
2019
2020 Wed Nov 23 22:34:51 1994 Steve Chamberlain (sac@jonny.cygnus.com)
2021
2022 * sh-opc.h (mov.l gbr): Get direction right.
2023 * sh-dis.c (print_insn_shx): New function.
2024 (print_insn_shl, print_insn_sh): Call print_insn_shx to
2025 print opcodes with right byte order.
2026
2027 Thu Nov 3 19:32:22 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
2028
2029 * ns32k-dis.c (struct ns32k_option): Renamed from struct option,
2030 to avoid conflicts with getopt.
2031
2032 Mon Oct 31 18:48:10 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
2033
2034 * hppa-dis.c (print_insn_hppa): Read the instruction using
2035 bfd_getb32, so that it works on a little endian or 64 bit host.
2036 Remove unused local variable op.
2037
2038 Tue Oct 25 17:07:57 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
2039
2040 * mips-opc.c: Use or instead of addu for pseudo-op move, since
2041 addu does not work correctly if -mips3.
2042
2043 Wed Oct 19 13:40:16 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
2044
2045 * a29k-dis.c (print_special): Add special register names defined
2046 on 29030, 29040 and 29050.
2047 (print_insn): Handle new operand type 'I'.
2048
2049 Wed Oct 12 11:59:55 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
2050
2051 * Makefile.in (INSTALL): Use top level install.sh script.
2052
2053 Wed Oct 5 19:16:29 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
2054
2055 * sparc-dis.c: Rewrite to use bitfields, rather than a union, so
2056 that it works on a little endian host.
2057
2058 Tue Oct 4 12:14:21 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
2059
2060 * configure.in: Use ${config_shell} when running config.bfd.
2061
2062 Wed Sep 21 18:49:12 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
2063
2064 * mips-opc.c (mips_opcodes): "dabs" is only available with -mips3.
2065
2066 Thu Sep 15 16:30:22 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
2067
2068 * a29k-dis.c (print_insn): Print the opcode.
2069
2070 Wed Sep 14 17:52:14 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
2071
2072 * mips-opc.c (mips_opcodes): Set WR_t for sc and scd.
2073
2074 Sun Sep 11 22:32:17 1994 Jeff Law (law@snake.cs.utah.edu)
2075
2076 * hppa-dis.c (reg_names): Use r26-r23 for arg0-arg3.
2077
2078 Tue Sep 6 11:37:12 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
2079
2080 * mips-opc.c: Set INSN_STORE_MEMORY flag for all instructions
2081 which store a value into memory.
2082
2083 Sun Sep 04 17:58:10 1994 Richard Earnshaw (rwe@pegasus.esprit.ec.org)
2084
2085 * configure.in, Makefile.in, disassemble.c: Add support for the ARM.
2086 * arm-dis.c, arm-opc.h: New files.
2087
2088 Fri Aug 5 14:00:05 1994 Stan Shebs (shebs@andros.cygnus.com)
2089
2090 * Makefile.in (ns32k-dis.o): Add dependency.
2091 * ns32k-dis.c (print_insn_arg): Declare initialized local as
2092 string, not as array of chars.
2093
2094 Thu Jul 28 18:14:16 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
2095
2096 * sparc-dis.c (print_insn_sparc): Handle new operand type 'x'.
2097
2098 * sparc-opc.c: Added sparclite extended FP operations, and
2099 versions of v9 impdep* instructions permitting specification of
2100 the OPF field.
2101
2102 Tue Jul 26 16:36:03 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
2103
2104 * i960-dis.c (reg_names): Now const.
2105 (struct sparse_tabent): New type, copied from array type in mem
2106 function.
2107 (ctrl): Local static array ctrl_tab now const.
2108 (cobr): Local static array cobr_tab now const.
2109 (mem): Local variables reg1, reg2, reg3 now point to const. Local
2110 static variable mem_tab no longer explicitly initialized. Changed
2111 mem_init to const array of struct sparse_tabent.
2112 (reg): Local static variable reg_tab no longer explicitly
2113 initialized. Changed reg_init to const array of struct
2114 sparse_tabent.
2115 (ea): Local static array scale_tab now const.
2116
2117 * i960-dis.c (reg): Added i960JX instructions to reg_init table.
2118 (REG_MAX): Updated.
2119
2120 Tue Jul 19 21:00:00 1994 DJ Delorie (dj@ctron.com)
2121
2122 * configure.bat: the disassember needs to be enabled for
2123 "objdump -d" to work in djgpp.
2124
2125 Wed Jul 13 18:01:58 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
2126
2127 * ns32k-dis.c: Deleted all code in "#ifdef GDB".
2128 (invalid_float): Enabled general version, doesn't require running
2129 on ns32k host. Changed to take char* argument, and test for
2130 explicitly specified sizes, instead of using sizeof() on host CPU
2131 types.
2132 (INVALID_FLOAT): Cast first argument.
2133 (opt_u, opt_U, opt_O, opt_C, opt_S, list_P532, list_M532,
2134 list_P032, list_M032): Now const.
2135 (optlist, list_search): Made appropriate arguments now point to
2136 const.
2137 (print_insn_arg): Changed static array of one-character-string
2138 pointers into a static const array of characters; fixed sprintf
2139 statement accordingly.
2140
2141 Sun Jul 10 00:27:47 1994 Ian Dall (dall@hfrd.dsto.gov.au)
2142
2143 * opcodes/ns32k-dis.c: Semi-new file. Had apparently been dropped
2144 from distribution. A ns32k-dis.c from a previous distribution has
2145 been brought up to date and supports the new interface.
2146
2147 * disassemble.c: define ARCH_ns32k and add case bfd_arch_ns32k.
2148
2149 * configure.in: add bfd_ns32k_arch target support.
2150
2151 * Makefile.in: add ns32k-dis.o to ALL_MACHINES.
2152 Add ns32k-dis.c to CFILES. Add dependencies for ns32k-dis.o.
2153
2154 Wed Jun 29 22:10:37 1994 Steve Chamberlain (sac@cygnus.com)
2155
2156 * h8300-dis.c (bfd_h8_disassemble): Get 16bit branch
2157 disassembly right.
2158
2159 Tue Jun 28 13:22:06 1994 Stan Shebs (shebs@andros.cygnus.com)
2160
2161 * h8300-dis.c, mips-dis.c: Don't use true and false.
2162
2163 Thu Jun 23 12:53:19 1994 David J. Mackenzie (djm@rtl.cygnus.com)
2164
2165 * configure.in: Change --with-targets to --enable-targets.
2166
2167 Wed Jun 22 13:38:32 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
2168
2169 * mips-dis.c (_print_insn_mips): Build a static hash table mapping
2170 opcodes to the first instruction with that opcode, to speed
2171 disassembly of large files. From ralphc@pyramid.com (Ralph
2172 Campbell).
2173
2174 Tue Jun 7 12:49:44 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2175
2176 * Makefile.in (mostlyclean): Fix typo (was mostyclean).
2177
2178 Wed May 11 22:32:00 1994 DJ Delorie (dj@ctron.com)
2179
2180 * configure.bat: update to latest makefile.in
2181
2182 Sat May 7 17:13:21 1994 Steve Chamberlain (sac@cygnus.com)
2183
2184 * a29k-dis.c (print_insn): Print 'x' type operand in hex.
2185 * h8300-dis.c (bfd_h8_disassemble): Print 16bit rels correctly.
2186 * sh-dis.c (print_insn_sh): Don't recur endlessly if delay
2187 slot insn is in a delay slot.
2188 * z8k-opc.h: (resflg): Fix patterns.
2189 * h8500-opc.h Fix CR insn patterns.
2190
2191 Fri May 6 14:34:46 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2192
2193 * ppc-opc.c (powerpc_opcodes): Put PowerPC versions of "cmp" and
2194 "cmpl" before POWER versions, so that gas -many uses them.
2195
2196 Thu Apr 28 18:32:36 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
2197
2198 * disassemble.c: New file.
2199 * Makefile.in (OFILES): Add disassemble.o.
2200 (disassemble.o): Provide dependencies; compile with $(ARCHDEFS).
2201 * configure.in: Define ARCHDEFS in Makefile. Code taken from
2202 binutils/configure.in.
2203
2204 * m68k-dis.c (print_insn_m68k): If F_ALIAS flag is set, skip the
2205 opcode being examined.
2206
2207 Thu Apr 21 17:08:40 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2208
2209 * ppc-opc.c (powerpc_operands): Added RAL, RAM and RAS.
2210 (insert_ral, insert_ram, insert_ras): New functions.
2211 (powerpc_opcodes): Use RAL for load with update, RAM for lmw, and
2212 RAS for store with update.
2213
2214 Sat Apr 16 23:41:44 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2215
2216 * ppc-opc.c (powerpc_opcodes): Correct fcir. From David Edelsohn
2217 (edelsohn@npac.syr.edu).
2218
2219 Wed Apr 6 17:11:45 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2220
2221 * mips-opc.c (mips_opcodes): Correct operands of "nor" with an
2222 immediate argument.
2223
2224 Mon Apr 4 16:30:46 1994 Doug Evans (dje@canuck.cygnus.com)
2225
2226 * sparc-opc.c (sparc_opcodes): Fix "rd %fprs,%l0".
2227
2228 Mon Apr 4 13:22:00 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2229
2230 * ppc-opc.c (powerpc_operands): The signedp field has been
2231 removed, so don't initialize it. Set the PPC_OPERAND_SIGNED flag
2232 instead. Add new operand SISIGNOPT.
2233 (powerpc_opcodes): For lis, liu, addis, and cau use SISIGNOPT.
2234 Based on patch from David Edelsohn (edelsohn@npac.syr.edu).
2235 * ppc-dis.c (print_insn_powerpc): Check PPC_OPERAND_SIGNED rather
2236 than signedp field.
2237
2238 Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2239
2240 * i386-dis.c (struct private): Renamed to dis_private. `private'
2241 is a reserved word for dynix cc.
2242
2243 Mon Mar 28 13:00:15 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2244
2245 * configure.in: Change error message to refer to bfd/config.bfd
2246 rather than bfd/configure.in.
2247
2248 Mon Mar 28 12:28:30 1994 David Edelsohn (edelsohn@npac.syr.edu)
2249
2250 * ppc-opc.c: Define POWER2 as short alias flag.
2251 (powerpc_opcodes): Add POWER/2 opcodes lfq*, stfq*, fcir[z], and
2252 fsqrt.
2253
2254 Wed Mar 23 12:23:05 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2255
2256 * i960-dis.c (print_insn_i960): Don't read a second word for
2257 opcodes 0, 1, 2 and 3.
2258
2259 Wed Mar 16 15:37:58 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2260
2261 * configure.in: Don't build m68881-ext.o for bfd_m68k_arch.
2262
2263 Mon Mar 14 14:53:50 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2264
2265 * m68881-ext.c: Removed; no longer used.
2266 * Makefile.in: Changed accordingly.
2267
2268 * m68k-dis.c (ext_format_68881): Don't declare.
2269 (print_insn_m68k): If an instruction uses place 'i', it uses at
2270 least four fixed bytes.
2271 (print_insn_arg): Don't bump p by 2 for case 'I', place 'i'. For
2272 extended float, convert to double using floatformat_to_double, not
2273 ieee_extended_to_double, and fetch the data before converting it.
2274
2275 Tue Mar 8 18:12:25 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2276
2277 * mips-opc.c: It's sqrt.s, not sqrt.w. From
2278 davidj@ICSI.Berkeley.EDU (David Johnson).
2279
2280 Tue Feb 8 16:55:27 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2281
2282 * ppc-opc.c (powerpc_opcodes): The POWER uses bdn[l][a] where the
2283 PowerPC uses bdnz[l][a].
2284
2285 Tue Feb 8 00:32:28 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2286
2287 * dis-buf.c, i386-dis.c: Include sysdep.h.
2288
2289 Mon Feb 7 19:22:23 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2290
2291 * configure.in (bfd_powerpc_arch): Use ppc-dis.o and ppc-opc.o.
2292
2293 * ppc-opc.c (powerpc_opcodes): Mark POWER instructions supported
2294 by Motorola PowerPC 601 with PPC_OPCODE_601.
2295 * ppc-dis.c (print_insn_big_powerpc, print_insn_little_powerpc):
2296 Disassemble Motorola PowerPC 601 instructions as well as normal
2297 PowerPC instructions.
2298
2299 Sun Feb 6 07:45:17 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2300
2301 * i960-dis.c (reg, mem): Just use a static array instead of
2302 calling xmalloc.
2303
2304 Sat Feb 5 00:04:02 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
2305
2306 * hppa-dis.c (print_insn_hppa): For '?' and '@' only adjust the
2307 condition name index if this is for a negated condition.
2308
2309 * hppa-dis.c (print_insn_hppa): No space before 'H' operand.
2310 Floating point format for 'H' operand is backwards from normal
2311 case (0 == double, 1 == single). For '4', '6', '7', '9', and '8'
2312 operands (fmpyadd and fmpysub), handle bizarre register
2313 translation correctly for single precision format.
2314
2315 * hppa-dis.c (print_insn_hppa): Do not emit a space after 'F'
2316 or 'I' operands if the next format specifier is 'M' (fcmp
2317 condition completer).
2318
2319 Feb 4 23:38:03 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2320
2321 * ppc-opc.c (powerpc_operands): New operand type MBE to handle a
2322 single number giving a bitmask for the MB and ME fields of an M
2323 form instruction. Change NB to accept 32, and turn it into 0;
2324 also turn 0 into 32 when disassembling. Seperated SH from NB.
2325 (insert_mbe, extract_mbe): New functions.
2326 (insert_nb, extract_nb): New functions.
2327 (SC_MASK): Mask out SA and LK bits.
2328 (powerpc_opcodes): Change "cal" to use RT, D, RA rather than RT,
2329 RA, SI. Change "liu" and "cau" to use UI rather than SI. Mark
2330 "bctr" and "bctrl" as accepted by POWER. Change "rlwimi",
2331 "rlimi", "rlwimi.", "rlimi.", "rlwinm", "rlinm", "rlwinm.",
2332 "rlinm.", "rlmi", "rlmi.", "rlwnm", "rlnm", "rlwnm.", "rlnm." to
2333 use MBE rather than MB. Add "mfmq" and "mtmq" POWER instructions.
2334 (powerpc_macros): Define table of macro definitions.
2335 (powerpc_num_macros): Define.
2336
2337 * ppc-dis.c (print_insn_powerpc): Don't skip optional operands
2338 if PPC_OPERAND_NEXT is set.
2339
2340 Sat Jan 22 23:10:07 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2341
2342 * i960-dis.c (print_insn_i960): Make buffer bfd_byte instead of
2343 char. Retrieve contents using bfd_getl32 instead of shifting.
2344
2345 Fri Jan 21 19:01:39 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2346
2347 * ppc-opc.c: New file. Opcode table for PowerPC, including
2348 opcodes for POWER (RS/6000).
2349 * ppc-dis.c: New file. PowerPC and Power (RS/6000) disassembler.
2350 * Makefile.in (ALL_MACHINES): Add ppc-dis.o and ppc-opc.o.
2351 (CFILES): Add ppc-dis.c.
2352 (ppc-dis.o, ppc-opc.o): New targets.
2353 * configure.in: Build ppc-dis.o and ppc-opc.o for bfd_rs6000_arch.
2354
2355 Mon Jan 17 20:05:49 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
2356
2357 * hppa-dis.c (print_insn_hppa): Handle 'N' in assembler template.
2358 No space before 'u', 'f', or 'N'.
2359
2360 Sun Jan 16 14:20:16 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
2361
2362 * i386-dis.c (print_insn_i386): Add FIXME comment regarding reading
2363 farther than we should.
2364
2365 * i386-dis.c (dis386): Use Yb and Yv for scasb and scasS.
2366
2367 Thu Jan 6 12:38:05 1994 David J. Mackenzie (djm@thepub.cygnus.com)
2368
2369 * sparc-dis.c m68k-dis.c alpha-dis.c a29k-dis.c: Fix comments.
2370
2371 Wed Jan 5 11:56:21 1994 David J. Mackenzie (djm@thepub.cygnus.com)
2372
2373 * i960-dis.c (print_insn_i960): Only read word2 if the instruction
2374 needs it, to prevent reading past the end of a section.
2375
2376 Wed Nov 17 17:20:12 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2377
2378 * mips-opc.h: Use macro for j instruction, to support SVR4 PIC.
2379 Removed t,A case for la; always use t,A(b) case.
2380
2381 Mon Nov 8 12:37:36 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2382
2383 From Ted Lemen <mellon@pepper.ncd.com>
2384 * mips-dis.c (print_insn_arg): Handle 'k'.
2385 * mips-opc.c: Make cache use k, not t.
2386
2387 Sun Nov 7 23:52:34 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2388
2389 * alpha-opc.h, alpha-dis.c (print_insn_alpha): Add
2390 FLOAT_MEMORY_FORMAT_CODE, FLOAT_BRANCH_FORMAT_CODE, correct
2391 FLOAT_FORMAT_CODE to put out floating point register names.
2392
2393 Mon Nov 1 18:17:51 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2394
2395 * mips-opc.c: Use macros for jal variants, to support SVR4 PIC.
2396
2397 Thu Oct 28 17:42:23 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2398
2399 * a29k-dis.c (print_insn): Use 0x%08x, not 0x%8x.
2400
2401 Wed Oct 27 11:48:01 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2402
2403 * mips-opc.c (dsll, dsra, dsrl): Added '>' cases for shift counts
2404 larger than 32. Moved dsxx32 variants first for disassembler.
2405
2406 Mon Oct 25 11:33:14 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
2407
2408 * z8kgen.c, z8k-opc.h: Add full lda information.
2409
2410 Tue Oct 19 12:39:25 1993 Jeffrey A Law (law@cs.utah.edu)
2411
2412 * hppa-dis.c (print_insn_hppa): Do not emit a space after
2413 movb instructions. Any necessary space will be emitted by
2414 the code to handle nullification completers.
2415
2416 Wed Oct 13 16:19:07 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2417
2418 * mips-opc.c: Moved l.d down so that it disassembles as ldc1.
2419
2420 Fri Oct 8 02:34:21 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2421
2422 * alpha-opc.h: Add ldl_l, fix typo for ldq_u.
2423 * alpha-dis.c (print_insn_alpha): Add code for PAL_FORMAT_CODE.
2424
2425 Tue Oct 5 17:47:53 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2426
2427 * mips-opc.c: Correct lwu opcode value (book had it wrong).
2428
2429 Thu Sep 30 11:26:18 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
2430
2431 * z8k-dis.c (FETCH_DATA): get just the right amount of data.
2432 (unpack_instr): Cope with ARG_IMM4M1 type instructions.
2433
2434 Wed Sep 29 16:24:49 1993 K. Richard Pixley (rich@sendai.cygnus.com)
2435
2436 * m88k-dis.c (m88kdis): comment change. Remove space after
2437 printing mnemonic.
2438 (printop): handle new arg types DEC and XREG for m88110.
2439
2440 Tue Sep 28 19:20:16 1993 Jeffrey A Law (law@snake.cs.utah.edu)
2441
2442 * hppa-dis.c (print_insn_hppa): Handle 'z' operand
2443 type for absolute branch addresses. Delete special
2444 "ble" and "be" code in 'W' operand code.
2445
2446 Fri Sep 24 14:08:33 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2447
2448 * mips-opc.c: Set hazard information correctly for branch
2449 likely instructions.
2450
2451 Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2452
2453 * alpha-dis.c (print_insn_alpha), alpha-opc.h: Fix bugs, use
2454 info->fprintf_func for printing and info->print_address_func for
2455 address output.
2456
2457 Wed Sep 15 12:12:07 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2458
2459 * mips-opc.c: Set INSN_TRAP for tXX instructions.
2460
2461 Thu Sep 9 10:11:27 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2462
2463 * mips-opc.c: From davidj@ICSI.Berkeley.EDU (David Johnson):
2464 Corrected second case of "b" for disassembler.
2465
2466 Tue Sep 7 14:25:15 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2467
2468 * mips-dis.c, m88k-dis.c: Don't include libbfd.h. Changed calls
2469 to BFD swapping routines to correspond to BFD name changes.
2470
2471 Thu Sep 2 10:35:25 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2472
2473 * mips-opc.c: Change div machine instruction to be z,s,t rather
2474 than s,t. Change div macro to be d,v,t rather than d,s,t.
2475 Likewise for divu, ddiv, ddivu. Added z,s,t case for drem, dremu,
2476 rem and remu which generates only the corresponding div
2477 instruction. This is for compatibility with the MIPS assembler,
2478 which only generates the simple machine instruction when an
2479 explicit destination of $0 is used.
2480 * mips-dis.c (print_insn_arg): Handle 'z' (always register zero).
2481
2482 Thu Aug 26 17:41:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2483
2484 * mips-opc.c: From davidj@ICSI.Berkeley.EDU (David Johnson): Set
2485 WR_31 hazard for bal, bgezal, bltzal.
2486
2487 Thu Aug 26 17:20:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2488
2489 * hppa-dis.c (print_insn_hppa): Use print function
2490 from within the disassemble_info, not fprintf_filtered.
2491
2492 Wed Aug 25 13:51:40 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
2493
2494 * hppa-dis.c (print_insn_hppa): Handle '|' like '>'. (From Jeff
2495 Law, law@cs.utah.edu.)
2496
2497 Mon Aug 23 12:44:05 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2498
2499 * mips-opc.c ("absu"): Removed.
2500 ("dabs"): Added.
2501
2502 Fri Aug 20 10:52:52 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2503
2504 * mips-opc.c: Added r6000 and r4000 instructions and macros.
2505 Changed hazard information to distinguish between memory load
2506 delays and coprocessor load delays.
2507
2508 Wed Aug 18 15:39:23 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2509
2510 * mips-opc.c: li.d uses "T,L", not "S,F". Added li.s.
2511
2512 Tue Aug 17 09:44:42 1993 David J. Mackenzie (djm@thepub.cygnus.com)
2513
2514 * configure.in: Don't pass cpu to config.bfd.
2515
2516 Tue Aug 17 12:23:52 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2517
2518 * m88k-dis.c (m88kdis): Make class unsigned.
2519
2520 Thu Aug 12 15:08:18 1993 Ian Lance Taylor (ian@cygnus.com)
2521
2522 * alpha-dis.c (print_insn_alpha): One branch format case was
2523 missing the instruction name.
2524
2525 Wed Aug 11 19:29:39 1993 David J. Mackenzie (djm@thepub.cygnus.com)
2526
2527 * Makefile.in (ALL_MACHINES): Renamed from DIS_LIBS.
2528 Add the arch-specific auxiliary files.
2529 (OFILES): Remove the arch-specific auxiliary files
2530 and use BFD_MACHINES instead of DIS_LIBS.
2531 * configure.in: Set BFD_MACHINES based on --with-targets option.
2532
2533 Thu Aug 12 12:04:53 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2534
2535 * mips-opc.c: Added lwc1 E,A(b) to go with lwc1 T,A(b). Similarly
2536 for swc1.
2537
2538 Sun Aug 8 15:09:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2539
2540 * sparc-opc.c: Change CONST to const to deal with gcc
2541 -Dconst=__const -traditional.
2542
2543 Fri Aug 6 10:58:55 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2544
2545 * mips-opc.c: From davidj@ICSI.Berkeley.EDU (David Johnson): Took
2546 coprocessor instructions out of #if 0, and made them use new
2547 argument type "C".
2548
2549 Thu Aug 5 17:11:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2550
2551 * sparc-dis.c: Include ansidecl.h before opcodes/sparc.h.
2552
2553 Fri Jul 30 18:48:15 1993 John Gilmore (gnu@cygnus.com)
2554
2555 * sparc-opc.c: Add F_JSR, F_UNBR, or F_CONDBR flags to each branch
2556 instruction, for use by the disassembler.
2557
2558 * sparc-dis.c (SEX): Add sign extension macro. Replace many
2559 hand-coded sign extensions that depended on 32-bit host ints.
2560 FIXME, we still depend on big-endian host bitfield ordering.
2561 (sparc_print_insn): Set the insn_info_valid field, and the
2562 other fields that describe the instruction being printed.
2563
2564 Tue Jul 27 17:04:58 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
2565
2566 * sparc-opc.c (call): Accept all 6 addressing modes valid for
2567 `jmp' instead of just one of them.
2568
2569 Wed Jul 21 11:43:32 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
2570
2571 * hppa-dis.c: Move floating registers from reg_names to fp_reg_names.
2572 (fput_fp_reg_r): Renamed from fput_reg_r.
2573 (fput_fp_reg): New function.
2574 (print_insn_hppa): Use fput_fp_reg{,_r} where appropriate.
2575
2576 * hppa-dis.c (print_insn_hppa, cases 'a', 'd'): Print space afterwards.
2577
2578 * hppa-dis.c (print_insn_hppa, case 'd'): Use GET_COND not GET_FIELD.
2579
2580 Mon Jul 19 13:52:21 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
2581
2582 * hppa-dis.c (print_insn_hppa): Use extract_5r_store for 'r'.
2583
2584 * hppa-dis.c (print_insn_hppa, case '>'): If next character is 'n',
2585 don't output a space.
2586
2587 * hppa-dis.c (float_format_names): 10 is undefined, and 11 is quad.
2588
2589 Sun Jul 18 16:30:02 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
2590
2591 * mips-opc.c: New file, containing opcode table from
2592 ../include/opcode/mips.h.
2593 * Makefile.in: Add it.
2594
2595 Thu Jul 15 12:37:05 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2596
2597 * m88k-dis.c: New file, moved in from gdb and changed to use the
2598 new dis-asm.h disassembler interface.
2599 * Makefile.in (DIS_LIBS): Added m88k-dis.o.
2600 (m88k-dis.o): New target.
2601
2602 Tue Jul 13 10:04:16 1993 Ian Lance Taylor (ian@cygnus.com)
2603
2604 * mips-dis.c (print_insn_arg, _print_insn_mips): Made pointer to
2605 argument string const char * to correspond to opcode/mips.h.
2606
2607 Tue Jul 6 15:18:37 1993 Ian Lance Taylor (ian@cygnus.com)
2608
2609 * mips-dis.c: Updated to account for name changes in new version
2610 of opcode/mips.h.
2611 * Makefile.in: Added header file dependencies.
2612
2613 Sat Jul 3 23:47:56 1993 Doug Evans (dje@canuck.cygnus.com)
2614
2615 * h8300-dis.c (bfd_h8_disassemble): Correct fetching of instruction.
2616
2617 Thu Jul 1 12:23:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2618
2619 * m68k-dis.c (NEXTWORD, NEXTLONG): Use ((x) ^ 0x8000) - 0x8000 to sign
2620 extend, rather than shifts.
2621
2622 Sun Jun 20 20:56:56 1993 Ken Raeburn (raeburn@poseidon.cygnus.com)
2623
2624 * Makefile.in: Undo 15 June change.
2625
2626 Fri Jun 18 14:15:15 1993 Per Bothner (bothner@deneb.cygnus.com)
2627
2628 * m68k-dis.c (print_insn_arg): Change return value to byte count
2629 or error code.
2630 * m68k-dis.c: Re-write to detect invalid operands before
2631 printing anything, so we can handle this the same way we
2632 handle invalid opcodes.
2633
2634 Thu Jun 17 15:01:36 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
2635
2636 * sh-dis.c, sh-opc.h: Understand some more opcodes.
2637
2638 Wed Jun 16 13:48:05 1993 Ian Lance Taylor (ian@cygnus.com)
2639
2640 * hppa-dis.c: Include <ansidecl.h> and sysdep.h before other
2641 header files.
2642
2643 Tue Jun 15 21:45:26 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
2644
2645 * sparc-dis.c: Don't declare qsort, since sysdep.h might.
2646
2647 * configure.in: Do make sysdep.h link.
2648 * Makefile.in: Search ../include. Don't search ../bfd.
2649
2650 Tue Jun 15 13:36:10 1993 Stu Grossman (grossman@cygnus.com)
2651
2652 Changes from Jeff Law, law@cs.utah.edu:
2653 * hppa-dis.c: Fix typo. 'a' and 'd' were reversed.
2654 Do not print a space before the completers specified by
2655 'a' and 'd'.
2656
2657 Fri Jun 11 18:40:21 1993 Ken Raeburn (raeburn@cygnus.com)
2658
2659 * mips-dis.c: No longer need to bomb out if HOST_64_BIT is
2660 defined, since gdb has been fixed.
2661
2662 Changes from Jeff Law, law@cs.utah.edu:
2663 * hppa-dis.c (print_insn_hppa): Last argument to fput_reg,
2664 fput_reg_r, fput_creg, fput_const, and fputs_filtered should
2665 be a *disassemble_info, not a *FILE.
2666 * hppa-dis.c: Support 'd', '!', and 'a'.
2667 * hppa-dis.c: Support 's' to extract a 2 bit space register.
2668 * hppa-dis.c: Delete cases which are no longer needed.
2669
2670 Fri Jun 11 07:53:48 1993 Jim Kingdon (kingdon@cygnus.com)
2671
2672 * m68k-dis.c (print_insn_{m68k,arg}): Add MMU codes.
2673
2674 Tue Jun 8 12:25:01 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
2675
2676 * h8300-dis.c: New file, removed from bfd/cpu-h8300.c, with
2677 H8/300-H opcodes.
2678
2679 Mon Jun 7 12:58:49 1993 Per Bothner (bothner@rtl.cygnus.com)
2680
2681 * Makefile.in (CSEARCH): Add -I../bfd for sysdep.h and bfd.h.
2682 * configure.in: No longer need to configure to get sysdep.h.
2683
2684 Thu Jun 3 15:56:49 1993 Stu Grossman (grossman@cygnus.com)
2685
2686 * Patches from Jeffrey Law <law@cs.utah.edu>.
2687 * hppa-dis.c: Support 'I', 'J', and 'K' in output
2688 templates for 1.1 FP computational instructions.
2689
2690 Tue May 25 13:05:48 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
2691
2692 * h8500-dis.c (print_insn_h8500): Address argument is type
2693 bfd_vma.
2694 * z8k-dis.c (print_insn_z8k, print_insn_z8001, print_insn_z8002):
2695 Ditto.
2696
2697 * h8500-opc.h (addr_class_type): No comma at end of enumerator.
2698 * sh-opc.h (sh_nibble_type, sh_arg_type): Ditto.
2699
2700 * sparc-dis.c (compare_opcodes): Move static declaration to
2701 top-level.
2702
2703 Fri May 21 14:17:37 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2704
2705 * sparc-dis.c (print_insn_sparc): Implement 'n' argument for unimp
2706 instruction, remove unimp hack from 'l' argument.
2707
2708 Wed May 19 15:35:54 1993 Stu Grossman (grossman@cygnus.com)
2709
2710 * z8k-dis.c (fetch_data): Use unsigned char to make ancient gcc's
2711 happy.
2712
2713 Fri May 14 15:22:46 1993 Ian Lance Taylor (ian@cygnus.com)
2714
2715 * Based on patches from davidj@ICSI.Berkeley.EDU (David Johnson):
2716 * mips-dis.c (print_insn_arg): Handle 'C' for general coprocessor
2717 instructions.
2718
2719 Fri May 14 00:09:14 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
2720
2721 * hppa-dis.c: Include dis-asm.h before sysdep.h. Changed some
2722 arrays of string pointers to 2-d arrays of chars, to save
2723 space.
2724
2725 Thu May 6 20:51:17 1993 Fred Fish (fnf@cygnus.com)
2726
2727 * a29k-dis.c, alpha-dis.c, i960-dis.c, sparc-dis.c, z8k-dis.c:
2728 Cast second arg to read_memory_func to "bfd_byte *", as necessary.
2729
2730 Tue May 4 20:31:10 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
2731
2732 * hppa-dis.c: New file from Utah, adapted to new disassembler
2733 calling interface.
2734 * Makefile.in: Include it.
2735
2736 Mon Apr 26 18:17:42 1993 Steve Chamberlain (sac@thepub.cygnus.com)
2737
2738 * sh-dis.c, sh-opc.h: New files.
2739
2740 Fri Apr 23 18:51:22 1993 Steve Chamberlain (sac@thepub.cygnus.com)
2741
2742 * alpha-dis.c, alpha-opc.h: New files.
2743
2744 Tue Apr 6 12:54:08 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2745
2746 * mips-dis.c: Sign extend 'j' and 'b' arguments, delta is a signed
2747 value.
2748
2749 Mon Apr 5 17:37:37 1993 John Gilmore (gnu@cygnus.com)
2750
2751 * sparc-dis.c: Make "ta" the default trap instruction, "t" the alias.
2752
2753 Fri Apr 2 07:24:27 1993 Ian Lance Taylor (ian@cygnus.com)
2754
2755 * a29k-dis.c, sparc-dis.c, sparc-opc.c: Use CONST rather than
2756 const.
2757
2758 Thu Apr 1 11:20:43 1993 Jim Kingdon (kingdon@cygnus.com)
2759
2760 * sparc-dis.c: Use fprintf_func a few places where I forgot,
2761 and double percent signs a few places.
2762
2763 * a29k-dis.c, i960-dis.c: New, merged from gdb and binutils.
2764
2765 * i386-dis.c, m68k-dis.c, mips-dis.c, sparc-dis.c:
2766 Use info->print_address_func not print_address.
2767
2768 * dis-buf.c (generic_print_address): New function.
2769
2770 Wed Mar 31 10:07:04 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2771
2772 * Makefile.in: Add sparc-dis.c.
2773 sparc-dis.c: New file, merges binutils and gdb versions as follows:
2774 From GDB:
2775 Add `add' instruction to the set that get checked
2776 for a preceding `sethi' in order to print an absolute address.
2777 * (print_insn): Disassembly prefers real instructions.
2778 (is_delayed_branch): Speed up.
2779 * sparc-opcode.h: Add ALIAS bit to aliases. Fix up opcode tables.
2780 Still missing some float ops, and needs testing.
2781 * sparc-pinsn.c (print_insn): Eliminate 'set' test, subsumed by
2782 F_ALIAS. Use printf, not fprintf, when not passing a file
2783 pointer...
2784 (compare_opcodes): Check that identical instructions have
2785 identical opcodes, complain otherwise.
2786 From binutils:
2787 * New 'm' arg.
2788 * Include reg_names.
2789 From neither:
2790 Use dis-asm.h/read_memory_func interface.
2791
2792 Wed Mar 31 20:49:06 1993 K. Richard Pixley (rich@rtl.cygnus.com)
2793
2794 * h8500-dis.c, i386-dis.c, m68k-dis.c, z8k-dis.c (fetch_data):
2795 deliberately return non-zero to setjmp from longjmp. Otherwise
2796 this code fails to compile.
2797
2798 Wed Mar 31 17:04:31 1993 Stu Grossman (grossman@cygnus.com)
2799
2800 * m68k-dis.c: Fix prototype for fetch_arg().
2801
2802 Wed Mar 31 10:07:04 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2803
2804 * dis-buf.c: New file, for new read_memory_func interface.
2805 Makefile.in (OFILES): Include it.
2806 m68k-dis.c, i386-dis.c, h8500-dis.c, mips-dis.c, z8k-dis.c:
2807 Use new read_memory_func interface.
2808
2809 Mon Mar 29 14:02:17 1993 Steve Chamberlain (sac@thepub.cygnus.com)
2810
2811 * h8500-dis.c (print_insn_h8500): Get sign of fp offsets right.
2812 * h8500-opc.h: Fix couple of opcodes.
2813
2814 Wed Mar 24 02:03:36 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
2815
2816 * Makefile.in: add dvi & installcheck targets
2817
2818 Mon Mar 22 18:55:04 1993 John Gilmore (gnu@cygnus.com)
2819
2820 * Makefile.in: Update for h8500-dis.c.
2821
2822 Fri Mar 19 14:27:17 1993 Steve Chamberlain (sac@thepub.cygnus.com)
2823
2824 * h8500-dis.c, h8500-opc.h: New files
2825
2826 Thu Mar 18 14:12:37 1993 Per Bothner (bothner@rtl.cygnus.com)
2827
2828 * mips-dis.c, z8k-dis.c: Converted to use interface defined in
2829 ../include/dis-asm.h.
2830 * m68k-dis.c: New file (merge of ../binutils/m68k-pinsn.c
2831 and ../gdb/m68k-pinsn.c).
2832 * i386-dis.c: New file (merge of ../binutils/i386-pinsn.c
2833 and ../gdb/i386-pinsn.c).
2834 * m68881-ext.c: New file. Moved definition of
2835 ext_format ext_format_68881 from ../gdb/m68k-tdep.c.
2836 * Makefile.in: Adjust for new files.
2837 * i386-dis.c: Patches from John Hassey (hassey@dg-rtp.dg.com).
2838 * m68k-dis.c: Recognize '9' placement code, so (say) pflush
2839 can be dis-assembled.
2840
2841 Wed Feb 17 09:19:47 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
2842
2843 * mips-dis.c (print_insn_arg): Now returns void.
2844
2845 Mon Jan 11 16:09:16 1993 Fred Fish (fnf@cygnus.com)
2846
2847 * mips-dis.c (ansidecl.h): Include for benefit of sysdep.h
2848 files that use the macros.
2849
2850 Thu Jan 7 13:15:17 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2851
2852 * mips-dis.c: New file, from gdb/mips-pinsn.c.
2853 * Makefile.in (DIS_LIBS): Added mips-dis.o.
2854 (CFILES): Added mips-dis.c.
2855
2856 Thu Jan 7 07:36:33 1993 Steve Chamberlain (sac@thepub.cygnus.com)
2857
2858 * z8k-dis.c (print_insn_z8001, print_insn_z8002): new routines
2859 * z8kgen.c, z8k-opc.h: fix sizes of some shifts.
2860
2861 Tue Dec 22 15:42:44 1992 Per Bothner (bothner@rtl.cygnus.com)
2862
2863 * Makefile.in: Improve *clean rules.
2864 * configure.in: Allow a default host.
2865
2866 Tue Nov 17 19:53:54 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
2867
2868 * Makefile.in: also use -I$(srcdir)/../bfd, since some sysdep
2869 files include other sysdep files
2870
2871 Thu Nov 12 16:10:37 1992 Steve Chamberlain (sac@thepub.cygnus.com)
2872
2873 * z8k-dis.c z8k-opc.h z8kgen.c: checkpoint
2874
2875 Fri Oct 9 04:56:05 1992 John Gilmore (gnu@cygnus.com)
2876
2877 * configure.in: For host support, use ../bfd/configure.host
2878 so it stays in sync with the ../bfd/hosts database.
2879
2880 Thu Oct 1 23:38:54 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
2881
2882 * configure.in: use cpu-vendor-os triple instead of nested cases
2883
2884 Wed Sep 30 16:09:20 1992 Michael Werner (mtw@cygnus.com)
2885
2886 * z8k-dis.c (unparse_instr): fix bug where opcode returned was
2887 *always* the wrong one.
2888
2889 Wed Sep 30 07:42:17 1992 Steve Chamberlain (sac@thepub.cygnus.com)
2890
2891 * z8kgen.c: added copyright info
2892
2893 Tue Sep 29 12:20:21 1992 Steve Chamberlain (sac@thepub.cygnus.com)
2894
2895 * z8k-dis.c (unparse_instr): prettier tabs
2896 * z8kgen.c -> z8k-opc.h: bug fixes in tables
2897
2898 Fri Sep 25 12:50:32 1992 Stu Grossman (grossman at cygnus.com)
2899
2900 * configure.in: Add ncr* configuration.
2901 * z8k-dis.c (struct instr_data_s): Make instr_asmsrc char to make
2902 picayune ANSI compilers happy.
2903
2904 Sep 20 08:50:55 1992 Fred Fish (fnf@cygnus.com)
2905
2906 * configure.in (i386): Make i386 and i486 synonymous for now.
2907 * configure.in (i[34]86-*-sysv4): Add my_host definition.
2908
2909 Fri Sep 18 17:01:23 1992 Ken Raeburn (raeburn@cambridge.cygnus.com)
2910
2911 * Makefile.in (install): Fix typo.
2912
2913 Fri Sep 18 02:04:24 1992 John Gilmore (gnu@cygnus.com)
2914
2915 * Makefile.in (make): Remove obsolete crud.
2916 (sparc-opc.o): Avoid Sun Make VPATH bug.
2917
2918 Tue Sep 8 17:29:27 1992 K. Richard Pixley (rich@sendai.cygnus.com)
2919
2920 * Makefile.in: since there are no SUBDIRS, remove rule and
2921 references of subdir_do.
2922
2923 Tue Sep 8 17:02:58 1992 Ken Raeburn (raeburn@cambridge.cygnus.com)
2924
2925 * Makefile.in (install): Get the library name right here too.
2926 Don't install bfd.h, since it's unrelated to this library. No
2927 subdirs to recurse into, either.
2928 (CFILES): The source file has a .c suffix, not .o.
2929
2930 * sparc-opc.c: New file, moved from BFD.
2931 * Makefile.in (OFILES): Build it.
2932
2933 Thu Sep 3 16:59:20 1992 Michael Werner (mtw@cygnus.com)
2934
2935 * z8k-dis.c: fixed forward refferences of some declarations.
2936
2937 Mon Aug 31 16:09:45 1992 Michael Werner (mtw@cygnus.com)
2938
2939 * Makefile.in: get the name of the library right
2940
2941 Mon Aug 31 13:47:35 1992 Steve Chamberlain (sac@thepub.cygnus.com)
2942
2943 * z8k-dis.c: knows how to disassemble z8k stuff
2944 * z8k-opc.h: new file full of z8000 opcodes
2945
2946 \f
2947 Local Variables:
2948 version-control: never
2949 End: