Tue Sep 28 19:20:16 1993 Jeffrey A Law (law@snake.cs.utah.edu)
[external/binutils.git] / opcodes / ChangeLog
1 Tue Sep 28 19:20:16 1993  Jeffrey A Law (law@snake.cs.utah.edu)
2
3         * hppa-dis.c (print_insn_hppa): Handle 'z' operand
4         type for absolute branch addresses.  Delete special
5         "ble" and "be" code in 'W' operand code.
6
7 Fri Sep 24 14:08:33 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
8
9         * mips-opc.c: Set hazard information correctly for branch
10         likely instructions.
11
12 Fri Sep 17 04:41:17 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
13
14         * alpha-dis.c (print_insn_alpha), alpha-opc.h:  Fix bugs, use
15         info->fprintf_func for printing and info->print_address_func for
16         address output.
17
18 Wed Sep 15 12:12:07 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
19
20         * mips-opc.c: Set INSN_TRAP for tXX instructions.
21
22 Thu Sep  9 10:11:27 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
23
24         * mips-opc.c: From davidj@ICSI.Berkeley.EDU (David Johnson):
25         Corrected second case of "b" for disassembler.
26
27 Tue Sep  7 14:25:15 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
28
29         * mips-dis.c, m88k-dis.c: Don't include libbfd.h.  Changed calls
30         to BFD swapping routines to correspond to BFD name changes.
31
32 Thu Sep  2 10:35:25 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
33
34         * mips-opc.c: Change div machine instruction to be z,s,t rather
35         than s,t.  Change div macro to be d,v,t rather than d,s,t.
36         Likewise for divu, ddiv, ddivu.  Added z,s,t case for drem, dremu,
37         rem and remu which generates only the corresponding div
38         instruction.  This is for compatibility with the MIPS assembler,
39         which only generates the simple machine instruction when an
40         explicit destination of $0 is used.
41         * mips-dis.c (print_insn_arg): Handle 'z' (always register zero).
42
43 Thu Aug 26 17:41:44 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
44
45         * mips-opc.c: From davidj@ICSI.Berkeley.EDU (David Johnson): Set
46         WR_31 hazard for bal, bgezal, bltzal.
47
48 Thu Aug 26 17:20:02 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
49
50         * hppa-dis.c (print_insn_hppa): Use print function
51         from within the disassemble_info, not fprintf_filtered.
52
53 Wed Aug 25 13:51:40 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
54
55         * hppa-dis.c (print_insn_hppa): Handle '|' like '>'.  (From Jeff
56         Law, law@cs.utah.edu.)
57
58 Mon Aug 23 12:44:05 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
59
60         * mips-opc.c ("absu"): Removed.
61         ("dabs"): Added.
62
63 Fri Aug 20 10:52:52 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
64
65         * mips-opc.c: Added r6000 and r4000 instructions and macros.
66         Changed hazard information to distinguish between memory load
67         delays and coprocessor load delays.
68
69 Wed Aug 18 15:39:23 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
70
71         * mips-opc.c: li.d uses "T,L", not "S,F".  Added li.s.
72
73 Tue Aug 17 09:44:42 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
74
75         * configure.in: Don't pass cpu to config.bfd.
76
77 Tue Aug 17 12:23:52 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
78
79         * m88k-dis.c (m88kdis): Make class unsigned.
80
81 Thu Aug 12 15:08:18 1993  Ian Lance Taylor  (ian@cygnus.com)
82
83         * alpha-dis.c (print_insn_alpha): One branch format case was
84         missing the instruction name.
85
86 Wed Aug 11 19:29:39 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
87
88         * Makefile.in (ALL_MACHINES): Renamed from DIS_LIBS.
89         Add the arch-specific auxiliary files.
90         (OFILES): Remove the arch-specific auxiliary files
91         and use BFD_MACHINES instead of DIS_LIBS.
92         * configure.in: Set BFD_MACHINES based on --with-targets option.
93
94 Thu Aug 12 12:04:53 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
95
96         * mips-opc.c: Added lwc1 E,A(b) to go with lwc1 T,A(b).  Similarly
97         for swc1.
98
99 Sun Aug  8 15:09:30 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
100
101         * sparc-opc.c: Change CONST to const to deal with gcc
102         -Dconst=__const -traditional.
103
104 Fri Aug  6 10:58:55 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
105
106         * mips-opc.c: From davidj@ICSI.Berkeley.EDU (David Johnson): Took
107         coprocessor instructions out of #if 0, and made them use new
108         argument type "C".
109
110 Thu Aug  5 17:11:06 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
111
112         * sparc-dis.c: Include ansidecl.h before opcodes/sparc.h.
113
114 Fri Jul 30 18:48:15 1993  John Gilmore  (gnu@cygnus.com)
115
116         * sparc-opc.c:  Add F_JSR, F_UNBR, or F_CONDBR flags to each branch
117         instruction, for use by the disassembler.
118
119         * sparc-dis.c (SEX):  Add sign extension macro.  Replace many
120         hand-coded sign extensions that depended on 32-bit host ints.
121         FIXME, we still depend on big-endian host bitfield ordering.
122         (sparc_print_insn):  Set the insn_info_valid field, and the
123         other fields that describe the instruction being printed.
124
125 Tue Jul 27 17:04:58 1993  Jim Wilson  (wilson@sphagnum.cygnus.com)
126
127         * sparc-opc.c (call): Accept all 6 addressing modes valid for
128         `jmp' instead of just one of them.
129
130 Wed Jul 21 11:43:32 1993  Jim Kingdon  (kingdon@deneb.cygnus.com)
131
132         * hppa-dis.c: Move floating registers from reg_names to fp_reg_names.
133         (fput_fp_reg_r): Renamed from fput_reg_r.
134         (fput_fp_reg): New function.
135         (print_insn_hppa): Use fput_fp_reg{,_r} where appropriate.
136
137         * hppa-dis.c (print_insn_hppa, cases 'a', 'd'): Print space afterwards.
138
139         * hppa-dis.c (print_insn_hppa, case 'd'): Use GET_COND not GET_FIELD.
140
141 Mon Jul 19 13:52:21 1993  Jim Kingdon  (kingdon@deneb.cygnus.com)
142
143         * hppa-dis.c (print_insn_hppa): Use extract_5r_store for 'r'.
144
145         * hppa-dis.c (print_insn_hppa, case '>'): If next character is 'n',
146         don't output a space.
147
148         * hppa-dis.c (float_format_names): 10 is undefined, and 11 is quad.
149
150 Sun Jul 18 16:30:02 1993  Jim Kingdon  (kingdon@rtl.cygnus.com)
151
152         * mips-opc.c: New file, containing opcode table from
153         ../include/opcode/mips.h.
154         * Makefile.in: Add it.
155
156 Thu Jul 15 12:37:05 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
157
158         * m88k-dis.c: New file, moved in from gdb and changed to use the
159         new dis-asm.h disassembler interface.
160         * Makefile.in (DIS_LIBS): Added m88k-dis.o.
161         (m88k-dis.o): New target.
162
163 Tue Jul 13 10:04:16 1993  Ian Lance Taylor  (ian@cygnus.com)
164
165         * mips-dis.c (print_insn_arg, _print_insn_mips): Made pointer to
166         argument string const char * to correspond to opcode/mips.h.
167
168 Tue Jul  6 15:18:37 1993  Ian Lance Taylor  (ian@cygnus.com)
169
170         * mips-dis.c: Updated to account for name changes in new version
171         of opcode/mips.h.
172         * Makefile.in: Added header file dependencies.
173
174 Sat Jul  3 23:47:56 1993  Doug Evans  (dje@canuck.cygnus.com)
175
176         * h8300-dis.c (bfd_h8_disassemble): Correct fetching of instruction.
177
178 Thu Jul  1 12:23:38 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
179
180         * m68k-dis.c (NEXTWORD, NEXTLONG): Use ((x) ^ 0x8000) - 0x8000 to sign
181         extend, rather than shifts.
182
183 Sun Jun 20 20:56:56 1993  Ken Raeburn  (raeburn@poseidon.cygnus.com)
184
185         * Makefile.in: Undo 15 June change.
186
187 Fri Jun 18 14:15:15 1993  Per Bothner  (bothner@deneb.cygnus.com)
188
189         * m68k-dis.c (print_insn_arg):  Change return value to byte count
190         or error code.
191         * m68k-dis.c:  Re-write to detect invalid operands before
192         printing anything, so we can handle this the same way we
193         handle invalid opcodes.
194
195 Thu Jun 17 15:01:36 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
196
197         * sh-dis.c, sh-opc.h: Understand some more opcodes.
198
199 Wed Jun 16 13:48:05 1993  Ian Lance Taylor  (ian@cygnus.com)
200
201         * hppa-dis.c: Include <ansidecl.h> and sysdep.h before other
202         header files.
203
204 Tue Jun 15 21:45:26 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
205
206         * sparc-dis.c: Don't declare qsort, since sysdep.h might.
207
208         * configure.in: Do make sysdep.h link.
209         * Makefile.in: Search ../include.  Don't search ../bfd.
210
211 Tue Jun 15 13:36:10 1993  Stu Grossman  (grossman@cygnus.com)
212
213         Changes from Jeff Law, law@cs.utah.edu:
214         * hppa-dis.c: Fix typo.  'a' and 'd' were reversed.
215         Do not print a space before the completers specified by
216         'a' and 'd'.
217
218 Fri Jun 11 18:40:21 1993  Ken Raeburn  (raeburn@cygnus.com)
219
220         * mips-dis.c: No longer need to bomb out if HOST_64_BIT is
221         defined, since gdb has been fixed.
222
223         Changes from Jeff Law, law@cs.utah.edu:
224         * hppa-dis.c (print_insn_hppa): Last argument to fput_reg, 
225         fput_reg_r, fput_creg, fput_const, and fputs_filtered should
226         be a *disassemble_info, not a *FILE.
227         * hppa-dis.c: Support 'd', '!', and 'a'.
228         * hppa-dis.c: Support 's' to extract a 2 bit space register.
229         * hppa-dis.c: Delete cases which are no longer needed.
230
231 Fri Jun 11 07:53:48 1993  Jim Kingdon  (kingdon@cygnus.com)
232
233         * m68k-dis.c (print_insn_{m68k,arg}): Add MMU codes.
234
235 Tue Jun  8 12:25:01 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
236
237         * h8300-dis.c: New file, removed from bfd/cpu-h8300.c, with
238         H8/300-H opcodes.
239
240 Mon Jun  7 12:58:49 1993  Per Bothner  (bothner@rtl.cygnus.com)
241
242         * Makefile.in (CSEARCH): Add -I../bfd for sysdep.h and bfd.h.
243         * configure.in:  No longer need to configure to get sysdep.h.
244
245 Thu Jun  3 15:56:49 1993  Stu Grossman  (grossman@cygnus.com)
246
247         * Patches from Jeffrey Law <law@cs.utah.edu>.
248         * hppa-dis.c: Support 'I', 'J', and 'K' in output
249         templates for 1.1 FP computational instructions.
250
251 Tue May 25 13:05:48 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
252
253         * h8500-dis.c (print_insn_h8500): Address argument is type
254         bfd_vma.
255         * z8k-dis.c (print_insn_z8k, print_insn_z8001, print_insn_z8002):
256         Ditto.
257
258         * h8500-opc.h (addr_class_type): No comma at end of enumerator.
259         * sh-opc.h (sh_nibble_type, sh_arg_type): Ditto.
260
261         * sparc-dis.c (compare_opcodes): Move static declaration to
262         top-level.
263
264 Fri May 21 14:17:37 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
265
266         * sparc-dis.c (print_insn_sparc): Implement 'n' argument for unimp
267         instruction, remove unimp hack from 'l' argument.
268
269 Wed May 19 15:35:54 1993  Stu Grossman  (grossman@cygnus.com)
270
271         * z8k-dis.c (fetch_data):  Use unsigned char to make ancient gcc's
272         happy.
273
274 Fri May 14 15:22:46 1993  Ian Lance Taylor  (ian@cygnus.com)
275
276         * Based on patches from davidj@ICSI.Berkeley.EDU (David Johnson):
277         * mips-dis.c (print_insn_arg): Handle 'C' for general coprocessor
278         instructions.
279
280 Fri May 14 00:09:14 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
281
282         * hppa-dis.c: Include dis-asm.h before sysdep.h.  Changed some
283         arrays of string pointers to 2-d arrays of chars, to save
284         space.
285
286 Thu May  6 20:51:17 1993  Fred Fish  (fnf@cygnus.com)
287
288         * a29k-dis.c, alpha-dis.c, i960-dis.c, sparc-dis.c, z8k-dis.c:
289         Cast second arg to read_memory_func to "bfd_byte *", as necessary.
290
291 Tue May  4 20:31:10 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
292
293         * hppa-dis.c: New file from Utah, adapted to new disassembler
294         calling interface.
295         * Makefile.in: Include it.
296
297 Mon Apr 26 18:17:42 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
298
299         * sh-dis.c, sh-opc.h: New files.
300
301 Fri Apr 23 18:51:22 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
302
303         * alpha-dis.c, alpha-opc.h: New files.
304
305 Tue Apr  6 12:54:08 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
306
307         * mips-dis.c: Sign extend 'j' and 'b' arguments, delta is a signed
308         value.
309
310 Mon Apr  5 17:37:37 1993  John Gilmore  (gnu@cygnus.com)
311
312         * sparc-dis.c: Make "ta" the default trap instruction, "t" the alias.
313
314 Fri Apr  2 07:24:27 1993  Ian Lance Taylor  (ian@cygnus.com)
315
316         * a29k-dis.c, sparc-dis.c, sparc-opc.c: Use CONST rather than
317         const.
318
319 Thu Apr  1 11:20:43 1993  Jim Kingdon  (kingdon@cygnus.com)
320
321         * sparc-dis.c: Use fprintf_func a few places where I forgot,
322         and double percent signs a few places.
323
324         * a29k-dis.c, i960-dis.c: New, merged from gdb and binutils.
325
326         * i386-dis.c, m68k-dis.c, mips-dis.c, sparc-dis.c:
327         Use info->print_address_func not print_address.
328
329         * dis-buf.c (generic_print_address): New function.
330
331 Wed Mar 31 10:07:04 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
332
333         * Makefile.in: Add sparc-dis.c.
334         sparc-dis.c: New file, merges binutils and gdb versions as follows:
335         From GDB:
336             Add `add' instruction to the set that get checked
337             for a preceding `sethi' in order to print an absolute address.
338             * (print_insn):  Disassembly prefers real instructions.
339             (is_delayed_branch):  Speed up.
340             * sparc-opcode.h: Add ALIAS bit to aliases.  Fix up opcode tables.
341             Still missing some float ops, and needs testing.
342             * sparc-pinsn.c (print_insn): Eliminate 'set' test, subsumed by
343             F_ALIAS.  Use printf, not fprintf, when not passing a file
344             pointer...
345             (compare_opcodes): Check that identical instructions have
346             identical opcodes, complain otherwise.
347         From binutils:
348             * New 'm' arg.
349             * Include reg_names.
350         From neither:
351             Use dis-asm.h/read_memory_func interface.
352
353 Wed Mar 31 20:49:06 1993  K. Richard Pixley  (rich@rtl.cygnus.com)
354
355         * h8500-dis.c, i386-dis.c, m68k-dis.c, z8k-dis.c (fetch_data):
356           deliberately return non-zero to setjmp from longjmp.  Otherwise
357           this code fails to compile.
358
359 Wed Mar 31 17:04:31 1993  Stu Grossman  (grossman@cygnus.com)
360
361         * m68k-dis.c:  Fix prototype for fetch_arg().
362
363 Wed Mar 31 10:07:04 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
364
365         * dis-buf.c: New file, for new read_memory_func interface.
366         Makefile.in (OFILES): Include it.
367         m68k-dis.c, i386-dis.c, h8500-dis.c, mips-dis.c, z8k-dis.c:
368         Use new read_memory_func interface.
369
370 Mon Mar 29 14:02:17 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
371
372         * h8500-dis.c (print_insn_h8500): Get sign of fp offsets right.
373         * h8500-opc.h: Fix couple of opcodes.
374
375 Wed Mar 24 02:03:36 1993  david d `zoo' zuhn  (zoo at poseidon.cygnus.com)
376
377         * Makefile.in: add dvi & installcheck targets
378
379 Mon Mar 22 18:55:04 1993  John Gilmore  (gnu@cygnus.com)
380
381         * Makefile.in:  Update for h8500-dis.c.
382
383 Fri Mar 19 14:27:17 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
384
385         * h8500-dis.c, h8500-opc.h: New files
386
387 Thu Mar 18 14:12:37 1993  Per Bothner  (bothner@rtl.cygnus.com)
388
389         * mips-dis.c, z8k-dis.c:  Converted to use interface defined in
390         ../include/dis-asm.h.
391         * m68k-dis.c:  New file (merge of ../binutils/m68k-pinsn.c
392         and ../gdb/m68k-pinsn.c).
393         * i386-dis.c:  New file (merge of ../binutils/i386-pinsn.c
394         and ../gdb/i386-pinsn.c).
395         * m68881-ext.c:  New file.  Moved definition of
396         ext_format ext_format_68881 from ../gdb/m68k-tdep.c.
397         * Makefile.in:  Adjust for new files.
398         * i386-dis.c:  Patches from John Hassey (hassey@dg-rtp.dg.com).
399         * m68k-dis.c:  Recognize '9' placement code, so (say) pflush
400         can be dis-assembled.
401
402 Wed Feb 17 09:19:47 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
403
404         * mips-dis.c (print_insn_arg): Now returns void.
405
406 Mon Jan 11 16:09:16 1993  Fred Fish  (fnf@cygnus.com)
407
408         * mips-dis.c (ansidecl.h):  Include for benefit of sysdep.h
409         files that use the macros.
410
411 Thu Jan  7 13:15:17 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
412
413         * mips-dis.c: New file, from gdb/mips-pinsn.c.
414         * Makefile.in (DIS_LIBS): Added mips-dis.o.
415         (CFILES): Added mips-dis.c.
416
417 Thu Jan  7 07:36:33 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
418
419         * z8k-dis.c (print_insn_z8001, print_insn_z8002): new routines
420         * z8kgen.c, z8k-opc.h: fix sizes of some shifts.
421
422 Tue Dec 22 15:42:44 1992  Per Bothner  (bothner@rtl.cygnus.com)
423
424         * Makefile.in:  Improve *clean rules.
425         * configure.in:  Allow a default host.
426
427 Tue Nov 17 19:53:54 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
428
429         * Makefile.in: also use -I$(srcdir)/../bfd, since some sysdep
430         files include other sysdep files
431
432 Thu Nov 12 16:10:37 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
433
434         * z8k-dis.c z8k-opc.h z8kgen.c: checkpoint
435
436 Fri Oct  9 04:56:05 1992  John Gilmore  (gnu@cygnus.com)
437
438         * configure.in:  For host support, use ../bfd/configure.host
439         so it stays in sync with the ../bfd/hosts database.
440
441 Thu Oct  1 23:38:54 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
442
443         * configure.in: use cpu-vendor-os triple instead of nested cases
444
445 Wed Sep 30 16:09:20 1992  Michael Werner  (mtw@cygnus.com)
446
447         * z8k-dis.c (unparse_instr): fix bug where opcode returned was
448         *always* the wrong one.
449
450 Wed Sep 30 07:42:17 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
451
452         * z8kgen.c: added copyright info
453
454 Tue Sep 29 12:20:21 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
455
456         * z8k-dis.c (unparse_instr): prettier tabs
457         * z8kgen.c -> z8k-opc.h: bug fixes in tables
458
459 Fri Sep 25 12:50:32 1992  Stu Grossman  (grossman at cygnus.com)
460
461         * configure.in:  Add ncr* configuration.
462         * z8k-dis.c (struct instr_data_s):  Make instr_asmsrc char to make
463         picayune ANSI compilers happy.
464
465 Sep 20 08:50:55 1992  Fred Fish  (fnf@cygnus.com)
466
467         * configure.in (i386):  Make i386 and i486 synonymous for now.
468         * configure.in (i[34]86-*-sysv4):  Add my_host definition.
469
470 Fri Sep 18 17:01:23 1992  Ken Raeburn  (raeburn@cambridge.cygnus.com)
471
472         * Makefile.in (install): Fix typo.
473
474 Fri Sep 18 02:04:24 1992  John Gilmore  (gnu@cygnus.com)
475
476         * Makefile.in (make):  Remove obsolete crud.
477         (sparc-opc.o):  Avoid Sun Make VPATH bug.
478
479 Tue Sep  8 17:29:27 1992  K. Richard Pixley  (rich@sendai.cygnus.com)
480
481         * Makefile.in: since there are no SUBDIRS, remove rule and
482         references of subdir_do.
483
484 Tue Sep  8 17:02:58 1992  Ken Raeburn  (raeburn@cambridge.cygnus.com)
485
486         * Makefile.in (install): Get the library name right here too.
487         Don't install bfd.h, since it's unrelated to this library.  No
488         subdirs to recurse into, either.
489         (CFILES): The source file has a .c suffix, not .o.
490
491         * sparc-opc.c: New file, moved from BFD.
492         * Makefile.in (OFILES): Build it.
493
494 Thu Sep  3 16:59:20 1992  Michael Werner  (mtw@cygnus.com)
495
496         * z8k-dis.c: fixed forward refferences of some declarations.
497
498 Mon Aug 31 16:09:45 1992  Michael Werner  (mtw@cygnus.com)
499
500         * Makefile.in: get the name of the library right
501
502 Mon Aug 31 13:47:35 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
503
504         * z8k-dis.c: knows how to disassemble z8k stuff
505         * z8k-opc.h: new file full of z8000 opcodes
506
507
508