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