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