Don't try to read past end of info buffer, and correct test results.
[deliverable/binutils-gdb.git] / opcodes / ChangeLog
CommitLineData
bbe6d95f
AM
12001-03-19 John David Anglin <dave@hiauly1.hia.nrc.ca>
2
3 * vax-dis.c (print_insn_vax): Only fetch two bytes if the info buffer
4 has more than one byte left to read.
5
82b66b23
NC
62001-03-16 Martin Schwidefsky <schwidefsky@de.ibm.com>
7
8 * s390-opc.c: Add new opcodes. Smooth out formatting.
9 * s390-opc.txt: Add new opcodes.
10
4f3c3dbb
NC
112001-03-06 Nick Clifton <nickc@redhat.com>
12
13 * arm-dis.c (print_insn_thumb): Compute destination address
14 of BLX(1) instruction by taking bit 1 from PC and not from bit
15 0 of the offset.
16
9d29e1b3
NC
172001-03-06 Igor Shevlyakov <igor@windriver.com>
18
19 * m68k-dis.c (print_insn_m68k): Recognize Coldfire CPUs
20 so command line switches will work.
21
b3466c39
DB
222001-03-05 Dave Brolley <brolley@redhat.com>
23
2edda1bf
DB
24 * fr30-asm.c: Regenerate.
25 * fr30-desc.c: Regenerate.
26 * fr30-desc.h: Regenerate.
27 * fr30-dis.c: Regenerate.
28 * fr30-ibld.c: Regenerate.
29 * fr30-opc.c: Regenerate.
30 * fr30-opc.h: Regenerate.
31 * m32r-asm.c: Regenerate.
32 * m32r-desc.c: Regenerate.
33 * m32r-desc.h: Regenerate.
34 * m32r-dis.c: Regenerate.
35 * m32r-ibld.c: Regenerate.
36 * m32r-opc.c: Regenerate.
37 * m32r-opc.h: Regenerate.
38 * m32r-opinst.c: Regenerate.
b3466c39 39
80a523c2
NC
402001-02-28 Igor Shevlyakov <igor@windriver.com>
41
42 * m68k-opc.c: fix cpushl according to Motorola. Enable
43 bunch of instructions for Coldfire 5407 and add all new.
44
27b7e12d
AM
452001-02-27 Alan Modra <alan@linuxcare.com.au>
46
47 * configure.in (BFD_VERSION): Do without grep.
48 * configure: Regenerate.
49 * Makefile.am: Run "make dep-am".
50 * Makefile.in: Regenerate.
51
b8e0eda2
L
522001-02-23 David Mosberger <davidm@hpl.hp.com>
53
54 * ia64-opc-a.c: Add missing pseudo-ops for "cmp" and "cmp4".
55 * ia64-asmtab.c: Regenerate.
56
87f8eb97
JW
572001-02-21 David Mosberger <davidm@hpl.hp.com>
58
59 * ia64-opc-d.c (ia64_opcodes_d): Break the "add" pattern into two
60 separate variants: one for IMM22 and the other for IMM14.
61 * ia64-asmtab.c: Regenerate.
62
dd425ada
GM
632001-02-21 Greg McGary <greg@mcgary.org>
64
65 * cgen-opc.c (cgen_get_insn_value): Add missing `return'.
66
b34fb0b4
L
672001-02-20 H.J. Lu <hjl@gnu.org>
68
69 * Makefile.am (ia64-ic.tbl): Remove the target.
70 (ia64-raw.tbl): Likewise.
71 (ia64-waw.tbl): Likewise.
72 (ia64-war.tbl): Likewise.
73 (ia64-asmtab.c): Generate it in the source directory.
74 * Makefile.in: Regenerated.
75
e135f41b
NC
762001-02-18 lars brinkhoff <lars@nocrew.org>
77
78 * Makefile.am: Add PDP-11 target.
79 * configure.in: Likewise.
80 * disassemble.c: Likewise.
81 * pdp11-dis.c: New file.
82 * pdp11-opc.c: New file.
83
42dc96ca
JW
842001-02-14 Jim Wilson <wilson@redhat.com>
85
86 * ia64-ic.tbl: Update from Intel. Add setf to fr-writers.
87 * ia64-asmtab.c: Regenerate.
88
76f227a5
JH
89Mon Feb 12 17:41:26 CET 2001 Jan Hubicka <jh@suse.cz>
90
91 * i386-dis.c (prefix_user_t): Add 'Y' to SSE ineger converison
92 instructions.
93 (putop): Handle 'Y'
94
9117d219
NC
952001-02-11 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
96
97 * mips-dis.c (print_insn_arg): Use top four bits of the address of
98 the following instruction not of the jump itself for the jump
99 target.
100 (print_mips16_insn_arg): Likewise.
101
847ee773
MS
1022001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
103
104 * Makefile.am (stamp-lib): ranlib the libopcodes.a in the build
105 directory.
106 * Makefile.in: Regenerate.
107
a85d7ed0
NC
1082001-02-09 Schwidefsky <schwidefsky@de.ibm.com>
109
110 * Makefile.am: Add linux target for S/390.
111 * Makefile.in: Likewise.
112 * configure.in: Likewise.
113 * disassemble.c: Likewise.
114 * s390-dis.c: New file.
115 * s390-mkopc.c: New file.
116 * s390-opc.c: New file.
117 * s390-opc.txt: New file.
118
e5943035
JW
1192001-02-05 Jim Wilson <wilson@redhat.com>
120
121 * ia64-asmtab.c: Revert 2000-12-16 change.
122
0715dc88
PM
1232001-02-02 Patrick Macdonald <patrickm@redhat.com>
124
125 * fr30-desc.h: Regenerate with CGEN_MAX_SYNTAX_ELEMENTS.
126 * m32r-desc.h: Regenerate.
127
90530880
JH
128Thu Feb 1 16:29:06 MET 2001 Jan Hubicka <jh@suse.cz>
129
76f227a5 130 * i386-dis.c (dis386_att, grps): Use 'T' for push/pop
90530880
JH
131 (putop): Handle 'T', alphabetize order, fix 'I' handling in Intel syntax
132
1328dc98
AM
1332001-01-14 Alan Modra <alan@linuxcare.com.au>
134
135 * hppa-dis.c (print_insn_hppa): Handle '>' and '<' arg types.
136
b7ed8fad
NC
1372001-01-13 Nick Clifton <nickc@redhat.com>
138
139 * disassemble.c: Remove spurious white space.
140
e2914f48
JH
141Sat Jan 13 01:48:24 MET 2001 Jan Hubicka <jh@suse.cz>
142
143 * i386-dis.c (dis386_att, disx86_64_att): Fix ret, lret and iret
144 templates.
145
0d2bcfaf
NC
1462001-01-11 Peter Targett <peter.targett@arccores.com>
147
148 * configure.in: Add arc-ext.lo for bfd_arc_arch selection.
149 * Makefile.am (C_FILES): Add arc-ext.c.
150 (ALL_MACHINES) Add arc-ext.lo.
151 (INCLUDES) Add opcode directory to list.
152 New dependency entry for arc-ext.lo.
153 * disassemble.c (disassembler): Correct call to
154 arc_get_disassembler.
155 * arc-opc.c: New update for ARC, including full base
156 instructions for ARC variants.
157 * arc-dis.h, arc-dis.c: New update for ARC, including
158 extensibility functionality.
159 * arc-ext.h, arc-ext.c: New files for handling extensibility.
160
1612001-01-10 Jan Hubicka <jh@suse.cz>
041bd2e0
JH
162
163 * i386-dis.c (PREGRP15 - PREGRP24): New.
164 (dis386_twobyt): Add SSE2 instructions.
165 (twobyte_uses_SSE_prefix: Rename from ... ; add new SSE instructions.
166 (twobyte_uses_f3_prefix): ... this one.
167 (grps): Add SSE instructions.
168 (prefix_user_table): Add two new slots; add SSE2 instructions.
169 (print_insn_i386): Rename uses_f3_prefix to uses_SSE_prefix;
170 Handle the REPNZ and Data16 prefixes as well; do proper lookup
171 to prefix_user_table.
172 (OP_E): Accept mfence and lfence as well.
173 (OP_MMX): Data16 prefix turns MMX to SSE; support REX extensions.
174 (OP_XMM): Support REX extensions.
175 (OP_EM): Likewise.
176 (OP_EX): Likewise.
177
6a56ec7e
NC
1782001-01-09 Nick Clifton <nickc@redhat.com>
179
180 * arm-dis.c (print_insn): Set pc to zero for instructions with
181 a reloc associated with them.
182
4a9f416d
JJ
1832001-01-09 Jeff Johnston <jjohnstn@redhat.com>
184
185 * cgen-asm.in (parse_insn_normal): Changed syn to be
186 CGEN_SYNTAX_CHAR_TYPE. Changed all references to *syn
187 as character to use CGEN_SYNTAX_CHAR macro and all comparisons
188 to '\0' to use 0 instead.
189 * cgen-dis.in (print_insn_normal): Ditto.
190 * cgen-ibld.in (insert_insn_normal, extract_insn_normal): Ditto.
191
0d2bcfaf 1922001-01-05 Jan Hubicka <jh@suse.cz>
52b15da3
JH
193
194 * i386-dis.c: Add x86_64 support.
195 (rex): New static variable.
196 (REX_MODE64, REX_EXTX, REX_EXTY, REX_EXTZ): New constants.
197 (USED_REX): New macro.
198 (Ev, Ed, Rm, Iq, Iv64, Cm, Dm, Rm*, Ob64, Ov64): New macros.
199 (OP_I64, OP_OFF64, OP_IMREG): New functions.
200 (OP_REG, OP_OFF): Declare.
201 (get64, get32, get32s): New functions.
202 (r??_reg): New constants.
203 (dis386_att): Change templates of instruction implicitly promoted
204 to 64bit; change e?? to RMe?? for unwind RM byte instructions.
205 (grps): Likewise.
206 (dis386_intel): Likewise.
207 (dixx86_64_att): New table based on dis386_att.
208 (dixx86_64_intel): New table based on dis386_intel.
209 (names64, names8rex): New global variable.
210 (names32, names16): Add extended registers.
211 (prefix_user_t): Recognize rex prefixes.
212 (prefix_name): Print REX prefixes nicely.
213 (op_riprel): New global variable.
214 (start_pc): Set type to bfd_vma.
215 (print_insn_i386): Detect the 64bit mode and use proper table;
216 move ckprefix after initializing the buffer; output unused rex prefixes;
217 output information about target of RIP relative addresses.
218 (putop): Support 'O' and 'I'. Update handling of "P', 'Q', 'R' and 'S';
219 (print_operand_value): New function.
220 (OP_E, OP_G, OP_REG, OP_I, OP_J, OP_DIR, OP_OFF, OP_D): Add support for
221 REX prefix and new modes.
222 (get64, get32s): New.
223 (get32): Return bfd_signed_vma type.
224 (set_op): Initialize the op_riprel.
225 * disassemble.c (disassembler): Recognize the x86-64 disassembly.
226
7e30bc36
FCE
2272001-01-03 Richard Sandiford <r.sandiford@redhat.com>
228
229 cgen-dis.in (read_insn): Use bfd_get_bits()
230
aed80dae
FCE
2312001-01-02 Richard Sandiford <rsandifo@redhat.com>
232
233 * cgen-dis.c (hash_insn_array): Use bfd_put_bits().
234 (hash_insn_list): Likewise
235 * cgen-ibld.in (insert_1): Use bfd_put_bits() and bfd_get_bits().
236 (extract_1): Use bfd_get_bits().
237 (extract_normal): Apply sign extension to both extraction
238 methods.
239 * cgen-opc.c (cgen_get_insn_value): Use bfd_get_bits()
240 (cgen_put_insn_value): Use bfd_put_bits()
241
149fe25e
FCE
2422000-12-28 Frank Ch. Eigler <fche@redhat.com>
243
244 * cgen-asm.in (parse_insn_normal): Print better error message for
245 instructions with missing operands.
246
a6cff3e3
NC
2472000-12-21 Santeri Paavolainen <santtu@ssh.com>
248
249 * cgen-opc.c: Include alloca.h if HAVE_ALLOCA_H is defined.
250
09919455
NC
2512000-12-16 Nick Clifton <nickc@redhat.com>
252
253 * Makefile.in: Regenerate.
254 * aclocal.m4: Regenerate.
255 * config.in: Regenerate.
256 * configure.in: Add spacing.
257 * configure: Regenerate.
258 * ia64-asmtab.c: Regenerate.
259 * po/opcodes.pot: Regenerate.
260
606d55bc
FCE
2612000-12-12 Frank Ch. Eigler <fche@redhat.com>
262
263 * cgen-asm.in (@arch@_cgen_assemble_insn): Prefer printing insert-time
264 error messages over later parse-time ones.
265
514829c3
JW
2662000-12-12 Jim Wilson <wilson@redhat.com>
267
268 * ia64-dis.c (print_insn_ia64): Cast away const on ia64_free_opcode
269 argument.
060d22b0 270 * ia64-gen.c (insert_deplist): Cast sizeof result to int.
514829c3
JW
271 (print_dependency_table): Print NULL if semantics field not set.
272 (insert_opcode_dependencies): Mark cmp parameter as unused.
273 (print_main_table): Use fprintf_vma to print long long fields.
274 (main): Mark argv paramter as unused. Convert to old style definition.
275 * ia64-opc.c (ia64_find_dependency): Cast sizeof result to int.
276 * ia64-asmtab.c: Regnerate.
277
708b8a71
NC
2782000-12-09 Nick Clifton <nickc@redhat.com>
279
54faae25
NC
280 * m32r-dis.c (print_insn): Prevent re-read of instruction from
281 wrong address.
282
708b8a71
NC
283 * fr30-dis.c: Regenerate.
284
54faae25
NC
2852000-12-08 Peter Targett <peter.targett@arccores.com>
286
287 * configure.in: Add arc-ext.lo for bfd_arc_arch selection.
288 * Makefile.am (C_FILES): Add arc-ext.c.
289 (ALL_MACHINES) Add arc-ext.lo.
290 (INCLUDES) Add opcode directory to list.
291 New dependency entry for arc-ext.lo.
292 * disassemble.c (disassembler): Correct call to
293 arc_get_disassembler.
294 * arc-opc.c: New update for ARC, including full base
295 instructions for ARC variants.
296 * arc-dis.h, arc-dis.c: New update for ARC, including
297 extensibility functionality.
298 * arc-ext.h, arc-ext.c: New files for handling extensibility.
299
08fe7a7e
NC
3002000-12-03 Chris Demetriou cgd@sibyte.com
301
302 * mips-opc.c (mips_builtin_opcodes): Use the WR_HILO, RD_HILO,
303 MOD_HILO, and MOD_LO macros.
304
15305553
NC
305 * mips-opc.c (M1, M2): Delete.
306 (mips_builtin_opcodes): Remove all uses of M1.
307
0808b8a9
NC
308 * mips-opc.c (mips_builtin_opcodes): Make the dmfc2 and dmtc2
309 instructions take "G" format second operands and use the
310 correct flags.
311 There are mfc3 and mtc3 opcodes, so add dmfc3 and dmtc3 opcodes to
312 match.
313 Delete "sel" code operands from mfc1 and mtc1.
314 Add MIPS64 opcode changes (dclo, dclz), and "sel" code variants
315 for dm[ft]c[023].
316
e70f2590
NC
3172000-12-03 Ed Satterthwaite ehs@sibyte.com and
318 Chris Demetriou cgd@sibyte.com
319
320 * mips-opc.c (mips_builtin_opcodes): Finish additions
321 for MIPS32 support, and clean up existing entries for
322 aesthetics, consistency with the MIPS32 ISA, and
323 with consistency the rest of the table.
324
b23da31b
NC
3252000-12-01 Nick Clifton <nickc@redhat.com>
326
327 * mips16-opc.c (mips16_opcodes): Add initialiser for membership
328 field.
329
4372b673
NC
3302000-12-01 Chris Demetriou <cgd@sibyte.com>
331
332 mips-dis.c (print_insn_arg): Handle new 'U' and 'J' argument
333 specifiers. Update 'B' for new constant names, and remove
334 'm'.
335 mips-opc.c (mips_builtin_opcodes): Place "pref" and "ssnop"
336 near the top of the array, so they are disassembled properly.
337 Enable "ssnop" for MIPS32. Add "break" variant with 20 bit
338 code for MIPS32. Update "clo" and "clz" to use 'U' operand
339 specifier. Add 'H' format specifier variants for "mfc1,"
340 "mfc2," "mfc3," "mtc1," "mtc2," and "mtc3" for MIPS32. Update
341 MIPS32 "sdbbp" to use 'B' operand specifier. Add MIPS32
342 "wait" variant which uses 'J' operand specifier.
343
e7af610e
NC
344 * mips-dis.c (set_mips_isa_type): Update to use
345 CPU_UNKNOWN and ISA_* constants. Add bfd_mach_mips32 case.
346 Replace bfd_mach_mips4K with bfd_mach_mips32_4k case.
347 * mips-opc.c (I32): New constant for instructions added in
348 MIPS32.
349 (P4): Delete.
350 (mips_builtin_opcodes) Replace all uses of P4 with I32.
351
84ea6cf2
NC
352 * mips-dis.c (set_mips_isa_type): Add cases for
353 bfd_mach_mips5 and bfd_mach_mips64.
354 * mips-opc.c (I64): New definitions.
355
c6c98b38
NC
356 * mips-dis.c (set_mips_isa_type): Add case for
357 bfd_mach_mips_sb1.
358
caaaf822
HPN
3592000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
360
361 * sh-dis.c (print_insn_ddt): Make insn_x, insn_y unsigned.
362 (print_insn_ppi): Make nib1, nib2, nib3 unsigned.
363 Initialize variable dc to NULL.
364 (print_insn_shx): Remove unused label d_reg_n.
365
077b8428
NC
3662000-11-24 Nick Clifton <nickc@redhat.com>
367
368 * arm-opc.h: Add new opcode formatting parameter 'B'.
369 (arm_opcodes): Add XScale, v5, and v5te instructions.
370 (thumb_opcodes): Add v5t instructions.
371
372 * arm-dis.c (print_insn_arm): Handle new 'B' format
373 parameter.
374 (print_insn_thumb): Decode BLX(1) instruction.
375
657e7cec
CD
3762000-11-21 Chris Demetriou <cgd@sibyte.com>
377
378 * mips-opc.c: Fix file header comment.
379
b6b0b32c
HPN
3802000-11-14 Hans-Peter Nilsson <hp@axis.com>
381
382 * cris-dis.c (cris_get_disassembler): If abfd is NULL, return
383 print_insn_cris_with_register_prefix.
384
54a4ca2e
AO
3852000-11-11 Alexandre Oliva <aoliva@redhat.com>
386
387 * sh-opc.h: The operand of `mov.w r0, (<disp>,GBR)' is IMM1, not 0.
388
025d2eab 3892000-11-07 Matthew Green <mrg@redhat.com>
1ffd7d02
DB
390
391 * cgen-dis.in (print_insn): All insns which can fit into insn_value
392 must be loaded there in their entirety.
393
19f7b010
JJ
3942000-10-20 Jakub Jelinek <jakub@redhat.com>
395
396 * sparc-dis.c (v9a_asr_reg_names): Add v9b ASRs.
397 (compute_arch_mask): Add v8plusb and v9b machines.
398 (print_insn_sparc): siam mode decoding, accept ASRs up to 25.
060d22b0 399 * sparc-opc.c: Support for Cheetah instruction set.
19f7b010
JJ
400 (prefetch_table): Add #invalidate.
401
710c2d97
NC
4022000-10-16 Nick Clifton <nickc@redhat.com>
403
404 * mcore-dis.c (imsk): Change mask for OC to 0xFE00.
405
f40c3ea3
DB
4062000-10-06 Dave Brolley <brolley@redhat.com>
407
408 * fr30-desc.h: Regenerate.
409 * m32r-desc.h: Regenerate.
410 * m32r-ibld.c: Regenerate.
411
0d2bcfaf 4122000-10-05 Jim Wilson <wilson@redhat.com>
afa680f8
JW
413
414 * ia64-ic.tbl: Update from Intel.
415 * ia64-asmtab.c: Regenerate.
416
d1e28e24
KH
4172000-10-04 Kazu Hirata <kazu@hxi.com>
418
419 * ia64-gen.c: Convert C++-style comments to C-style comments.
420 * tic54x-dis.c: Likewise.
421
b4db717d 4222000-09-29 Hans-Peter Nilsson <hp@axis.com>
78966507
HPN
423
424 Changes to add dollar prefix to registers for files where user symbols
425 don't have a leading underscore. Fix formatting.
426 * cris-dis.c (REGISTER_PREFIX_CHAR): New.
427 (format_reg): Add parameter with_reg_prefix. All callers changed.
428 (print_with_operands): Ditto.
429 (print_insn_cris_generic): Renamed from print_insn_cris, add
430 parameter with_reg_prefix.
431 (print_insn_cris_with_register_prefix,
432 print_insn_cris_without_register_prefix, cris_get_disassembler):
433 New.
434 * disassemble.c (disassembler) [ARCH_cris]: Call cris_get_disassembler.
435
0d2bcfaf 4362000-09-22 Jim Wilson <wilson@redhat.com>
139368c9 437
d48ad4f3
JW
438 * ia64-opc-f.c (ia64_opcodes_f): Add fpcmp pseudo-ops for
439 gt, ge, ngt, and nge.
440 * ia64-asmtab.c: Regenerate.
441
139368c9
JW
442 * ia64-dis.c (print_insn_ia64): Revert Aug 7 byte skip count change.
443 * ia64-gen.c (parse_semantics): Handle IA64_DVS_STOP.
444 (lookup_specifier): Handle "PR%, 1 to 15" and "PR%, 16 to 62".
445 * ia64-ic.tbl, ia64-raw.tbl, ia64-war.tbl, ia64-waw.tbl: Update.
446 * ia64-asmtab.c: Regnerate.
447
156c2f8b
NC
4482000-09-13 Anders Norlander <anorland@acc.umu.se>
449
450 * mips-opc.c (mips_builtin_opcodes): Support cache instruction on 4K cores.
451 Add mfc0 and mtc0 with sub-selection values.
452 Add clo and clz opcodes.
453 Add msub and msubu instructions for MIPS32.
454 Add madd/maddu aliases for mad/madu for MIPS32.
455 Support wait, deret, eret, movn, pref for MIPS32.
456 Support tlbp, tlbr, tlbwi, tlbwr.
457 (P4): New define.
458
459 * mips-dis.c (print_insn_arg): Print sdbbp 'm' args.
460 (print_insn_arg): Handle 'H' args.
461 (set_mips_isa_type): Recognize 4K.
462 Use CPU_* defines instead of hardcoded numbers.
463
de827f51
CM
4642000-09-11 Catherine Moore <clm@redhat.com>
465
466 * d30v-opc.c (d30v_operand_t): New operand type Rb2.
467 (d30v_format_tab): Use Rb2 for modinc and moddec.
468
ea2aae66
CM
4692000-09-07 Catherine Moore <clm@redhat.com>
470
471 * d30v-opc.c (d30v_format_tab): Use format Ra for
472 modinc and moddec.
473
90f2472a
AO
4742000-09-06 Alexandre Oliva <aoliva@redhat.com>
475
476 * configure: Rebuilt with new libtool.m4.
477
5b343f5a
NC
4782000-09-05 Nick Clifton <nickc@redhat.com>
479
480 * configure: Regenerate.
481 * po/opcodes.pot: Regenerate.
482
ac48eca1
AO
4832000-08-31 Alexandre Oliva <aoliva@redhat.com>
484
485 * acinclude.m4: Include libtool and gettext macros from the
486 top level.
487 * aclocal.m4, configure: Rebuilt.
488
c6d805e0
KH
4892000-08-30 Kazu Hirata <kazu@hxi.com>
490
491 * tic80-dis.c: Fix formatting.
492
7d352fc8
KH
4932000-08-29 Kazu Hirata <kazu@hxi.com>
494
495 * w65-dis.c: Fix formatting.
496
a47cf567
NC
4972000-08-28 Mark Hatle <mhatle@mvista.com>
498
499 * ppc-opc.c: Add XTLB macro for a few PPC 4xx extended mnemonics.
500 (powerpc_opcodes): Add table entries for PPC 405 instructions.
501 Changed rfci, icbt, mfdcr, dccci, mtdcr, iccci from PPC to PPC403
502 instructions. Added extended mnemonic mftbl as defined in the
503 405GP manual for all PPCs.
504
0d2bcfaf 5052000-08-28 Jim Wilson <wilson@redhat.com>
f9365b11
JW
506
507 * ia64-dis.c (print_insn_ia64): Add failed label after ia64_free_opcode
508 call. Change last goto to use failed instead of done.
509
6bb95a0f
DB
5102000-08-28 Dave Brolley <brolley@redhat.com>
511
512 * cgen-ibld.in (cgen_put_insn_int_value): New function.
513 (insert_normal): Allow for non-zero word_offset with CGEN_INT_INSN_P.
514 (insert_insn_normal): Use cgen_put_insn_int_value with CGEN_INT_INSN_P.
515 (extract_normal): Allow for non-zero word_offset with CGEN_INT_INSN_P.
516 * cgen-dis.in (read_insn): New static function.
517 (print_insn): Use read_insn to read the insn into the buffer and set
518 up for disassembly.
519 (print_insn): in CGEN_INT_INSN_P, make sure that the entire insn is
520 in the buffer.
521 * fr30-asm.c: Regenerated.
522 * fr30-desc.c: Regenerated.
060d22b0 523 * fr30-desc.h: Regenerated.
6bb95a0f
DB
524 * fr30-dis.c: Regenerated.
525 * fr30-ibld.c: Regenerated.
526 * fr30-opc.c: Regenerated.
060d22b0 527 * fr30-opc.h: Regenerated.
6bb95a0f
DB
528 * m32r-asm.c: Regenerated.
529 * m32r-desc.c: Regenerated.
060d22b0 530 * m32r-desc.h: Regenerated.
6bb95a0f
DB
531 * m32r-dis.c: Regenerated.
532 * m32r-ibld.c: Regenerated.
533 * m32r-opc.c: Regenerated.
534
bf830eae
KH
5352000-08-28 Kazu Hirata <kazu@hxi.com>
536
537 * tic30-dis.c: Fix formatting.
538
69eb4bbf
KH
5392000-08-27 Kazu Hirata <kazu@hxi.com>
540
541 * sh-dis.c: Fix formatting.
542
f509565f
GK
5432000-08-24 David Edelsohn <dje@watson.ibm.com>
544
545 * ppc-opc.c (powerpc_opcodes): Add rfid, mtsrd, mtsrdin, mtmsrd.
546
5c90f90d
KH
5472000-08-24 Kazu Hirata <kazu@hxi.com>
548
549 * z8k-dis.c: Fix formatting.
550
0d2bcfaf 5512000-08-16 Jim Wilson <wilson@redhat.com>
50b81f19
JW
552
553 * ia64-ic.tbl (pr-readers-nobr-nomovpr): Add addl, adds. Delete
554 break, mov-immediate, nop.
555 * ia64-opc-f.c: Delete fpsub instructions.
556 * ia64-opc-m.c: Add POSTINC to all instructions with postincrement
557 address operand. Rewrite using macros to avoid long lines.
558 * ia64-opc.h (POSTINC): Define.
559 * ia64-asmtab.c: Regenerate.
560
0d2bcfaf 5612000-08-15 Jim Wilson <wilson@redhat.com>
19ba6717
JW
562
563 * ia64-ic.tbl: Add missing entries.
564
0d2bcfaf 5652000-08-08 Jason Eckhardt <jle@redhat.com>
a5bc3299
JE
566
567 * i860-dis.c (print_br_address): Change third argument from int
568 to long.
569
0d2bcfaf 5702000-08-07 Richard Henderson <rth@redhat.com>
0228082a
RH
571
572 * ia64-dis.c (print_insn_ia64): Get byte skip count correct
573 for MLI templates. Handle IA64_OPND_TGT64.
574
a47cf567
NC
5752000-08-04 Ben Elliston <bje@redhat.com>
576
577 * cgen-dis.in, cgen-asm.in, cgen-ibld.in: New files.
578 * cgen.sh: Likewise.
579
0d2bcfaf 5802000-08-02 Jim Wilson <wilson@redhat.com>
a47cf567
NC
581
582 * ia64-dis.c (print_insn_ia64): Call ia64_free_opcode at end.
583
463f102c
DC
5842000-07-29 Marek Michalkiewicz <marekm@linux.org.pl>
585
586 * avr-dis.c (avr_operand): Use PARAMS macro in declaration.
587 Change return type from void to int. Check the combination
588 of operands, return 1 if valid. Fix to avoid BUF overflow.
589 Report undefined combinations of operands in COMMENT.
590 Report internal errors to stderr. Output the adiw/sbiw
591 constant operand in both decimal and hex.
592 (print_insn_avr): Disassemble ldd/std with displacement of 0
593 as ld/st. Check avr_operand () return value, handle invalid
594 combinations of operands like unknown opcodes.
595
6e31aea3
BE
5962000-07-28 Ben Elliston <bje@redhat.com>
597
598 * Makefile.am (CGEN, CGENDEPS, CGENDIR, CGENFLAGS): New.
599 (run-cgen, stamp-m32r, stamp-fr30): New targets.
600 * Makefile.in: Regenerate.
601 * configure.in: Add --enable-cgen-maint option.
602 * configure: Regenerate.
603
dc62a253
NC
6042000-07-26 Dave Brolley <brolley@redhat.com>
605
606 * cgen-opc.c (cgen_hw_lookup_by_name): 'i' is now unsigned.
607 (cgen_hw_lookup_by_num): Ditto.
608 (cgen_operand_lookup_by_name): Ditto.
609 (print_address): Ditto.
610 (print_keyword): Ditto.
611 * cgen-dis.c (hash_insn_array): Mark unused parameters with
612 ATTRIBUTE_UNUSED.
613 * cgen-asm.c (hash_insn_array): Mark unused parameters with
614 ATTRIBUTE_UNUSED.
615 (cgen_parse_keyword): Ditto.
616
0d2bcfaf 6172000-07-22 Jason Eckhardt <jle@redhat.com>
cdac37f6
JE
618
619 * i860-dis.c: New file.
620 (print_insn_i860): New function.
621 (print_br_address): New function.
622 (sign_extend): New function.
623 (BITWISE_OP): New macro.
624 (I860_REG_PREFIX): New macro.
625 (grnames, frnames, crnames): New structures.
626
627 * disassemble.c (ARCH_i860): Define.
628 (disassembler): Add check for bfd_arch_i860 to set disassemble
629 function to print_insn_i860.
630
631 * Makefile.in (CFILES): Added i860-dis.c.
632 (ALL_MACHINES): Added i860-dis.lo.
633 (i860-dis.lo): New dependences.
634
635 * configure.in: New bits for bfd_i860_arch.
636
637 * configure: Regenerated.
638
6c95a37f
HPN
6392000-07-20 Hans-Peter Nilsson <hp@axis.com>
640
641 * Makefile.am (CFILES): Add cris-dis.c and cris-opc.c.
642 (ALL_MACHINES): Add cris-dis.lo and cris-opc.lo.
643 (cris-dis.lo, cris-opc.lo): New rules.
644 * Makefile.in: Rebuild.
645 * configure.in (bfd_cris_arch): New target.
646 * configure: Rebuild.
647 * disassemble.c (ARCH_cris): Define.
648 (disassembler): Support ARCH_cris.
649 * cris-dis.c, cris-opc.c: New files.
650 * po/POTFILES.in, po/opcodes.pot: Regenerate.
651
09ab35c7
JJ
6522000-07-11 Jakub Jelinek <jakub@redhat.com>
653
654 * sparc-opc.c (sparc_opcodes): popc has 0 in rs1, not rs2.
655 Reported by Bill Clarke <llib@computer.org>.
656
0d2bcfaf 6572000-07-09 Geoffrey Keating <geoffk@redhat.com>
1da5001c
GK
658
659 * ppc-opc.c (powerpc_opcodes): Correct suffix for vslw.
660 Patch by Randall J Fisher <rfisher@ecn.purdue.edu>.
661
6e09abd4
AM
6622000-07-09 Alan Modra <alan@linuxcare.com.au>
663
664 * hppa-dis.c (fput_reg, fput_fp_reg, fput_fp_reg_r, fput_creg,
665 fput_const, extract_3, extract_5_load, extract_5_store,
666 extract_5r_store, extract_5R_store, extract_10U_store,
667 extract_5Q_store, extract_11, extract_14, extract_16, extract_21,
668 extract_12, extract_17, extract_22): Prototype.
669 (print_insn_hppa): Rename inner block opcode -> opc to avoid
670 shadowing outer block.
671 (GET_BIT): Define.
672
90821790 6732000-07-05 DJ Delorie <dj@redhat.com>
302ab118
DD
674
675 * MAINTAINERS: new
676
6eeeb4b4
AO
6772000-07-04 Alexandre Oliva <aoliva@redhat.com>
678
679 * arm-dis.c (print_insn_arm): Output combinations of PSR flags.
680
00d2865b
NC
6812000-07-03 Marek Michalkiewicz <marekm@linux.org.pl>
682
683 * avr-dis.c (avr_operand): Change _ () to _() around all strings
684 marked for translation (exception from the usual coding style).
685 (print_insn_avr): Initialize insn2 to avoid warnings.
686
c07ab2ec
NC
6872000-07-03 Kazu Hirata <kazu@hxi.com>
688
689 * h8300-dis.c (bfd_h8_disassemble): Improve readability.
690 * h8500-dis.c: Fix formatting.
691
0bdaf48b
AM
6922000-07-01 Alan Modra <alan@linuxcare.com.au>
693
694 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
695 (CLEANFILES): Add DEPA.
696 * Makefile.in: Regenerate.
697
7c03c75e
SB
6982000-06-26 Scott Bambrough <scottb@netwinder.org>
699
700 * arm-dis.c (regnames): Add an additional register set to match
701 the set used by GCC. Make it the default.
702
1581f8c9
AM
7032000-06-22 Alan Modra <alan@linuxcare.com.au>
704
705 * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
706 find one.
707 * Makefile.in: Regenerate.
708
bbeb2e03
L
7092000-06-20 H.J. Lu <hjl@gnu.org>
710
711 * Makefile.am: Rebuild dependency.
712 * Makefile.in: Rebuild.
9b443040
NC
713
7142000-06-18 Stephane Carrez <stcarrez@worldnet.fr>
715
716 * Makefile.in, configure: regenerate
717 * disassemble.c (disassembler): Recognize ARCH_m68hc12,
718 ARCH_m68hc11.
719 * m68hc11-dis.c (read_memory, print_insn, print_insn_m68hc12):
720 New functions.
721 * configure.in: Recognize m68hc12 and m68hc11.
722 * m68hc11-dis.c, m68hc11-opc.c: New files for support of m68hc1x
723 * Makefile.am (CFILES, ALL_MACHINES): New files for disassembly
724 and opcode generation for m68hc11 and m68hc12.
bbeb2e03 725
39c20e8f
ND
7262000-06-16 Nick Duffek <nsd@redhat.com>
727
728 * disassemble.c (disassembler): Refer to the PowerPC 620 using
729 bfd_mach_ppc_620 instead of 620.
730
53d388d1
JL
7312000-06-12 Kazu Hirata <kazu@hxi.com>
732
733 * h8300-dis.c: Fix formatting.
734 (bfd_h8_disassemble): Distinguish adds/subs, inc/dec.[wl]
735 correctly.
736
0d2bcfaf 7372000-06-09 Denis Chertykov <denisc@overta.ru>
8776c5fe
DC
738
739 * avr-dis.c (avr_operand): Bugfix for jmp/call address.
740
0d2bcfaf 7412000-06-07 Denis Chertykov <denisc@overta.ru>
bab84c47
DC
742
743 * avr-dis.c: completely rewritten.
744
79540e26 7452000-06-02 Kazu Hirata <kazu@hxi.com>
5fec0fc5
NC
746
747 * h8300-dis.c: Follow the GNU coding style.
748 (bfd_h8_disassemble) Fix a typo.
5fec0fc5 749
3903e627
NC
7502000-06-01 Kazu Hirata <kazu@hxi.com>
751
752 * h8300-dis.c (bfd_h8_disassemble_init): Fix a typo.
753 (bfd_h8_disassemble): Distinguish the operand size of inc/dev.[wl]
754 correctly. Fix a typo.
755
0d2bcfaf 7562000-05-31 Nick Clifton <nickc@redhat.com>
c0ae4ccc
NC
757
758 * opintl.h (_(String)): Explain why dgettext is used instead of
759 gettext.
760
0d2bcfaf 7612000-05-30 Nick Clifton <nickc@redhat.com>
c1485d85
NC
762
763 * opintl.h (gettext, dgettext, dcgettext, textdomain,
764 bindtextdomain): Replace defines with those from intl/libgettext.h
765 to quieten gcc warnings.
766
2114f57b
AM
7672000-05-26 Alan Modra <alan@linuxcare.com.au>
768
769 * Makefile.am: Update dependencies with "make dep-am"
770 * Makefile.in: Regenerate.
771
0d2bcfaf 7722000-05-25 Alexandre Oliva <aoliva@redhat.com>
d6062282
AO
773
774 * m10300-dis.c (disassemble): Don't assume 32-bit longs when
775 sign-extending operands.
776
0d2bcfaf 7772000-05-15 Donald Lindsay <dlindsay@redhat.com>
344fc69a
DL
778
779 * d10v-opc.c (d10v_opcodes): add ALONE tag to all short branches
780 except brf's.
781
0d2bcfaf 7822000-05-21 Nick Clifton <nickc@redhat.com>
6c298591
NC
783
784 * Makefile.am (LIBIBERTY): Define.
785
0d2bcfaf 7862000-05-19 Diego Novillo <dnovillo@redhat.com>
fb48caed
DN
787
788 * mips-dis.c (REGISTER_NAMES): Rename to STD_REGISTER_NAMES.
789 (STD_REGISTER_NAMES): New name for REGISTER_NAMES.
790 (reg_names): Rename to std_reg_names. Change it to a char **
791 static variable.
792 (std_reg_names): New name for reg_names.
793 (set_mips_isa_type): Set reg_names to point to std_reg_names by
794 default.
795
f660ee8b
FCE
7962000-05-16 Frank Ch. Eigler <fche@redhat.com>
797
798 * fr30-desc.h: Partially regenerated to account for changed
799 CGEN_MAX_* -> CGEN_ACTUAL_MAX_* macros.
800 * m32r-desc.h: Ditto.
801
0d2bcfaf 8022000-05-15 Nick Clifton <nickc@redhat.com>
322f2c45
NC
803
804 * arm-opc.h: Use upper case for flasg in MSR and MRS
805 instructions. Allow any bit to be set in the field_mask of
806 the MSR instruction.
807
808 * arm-dis.c (print_insn_arm): Decode _x and _s bits of the
809 field_mask of an MSR instruction.
810
60fc8cba
NC
8112000-05-11 Thomas de Lellis <tdel@windriver.com>
812
060d22b0 813 * arm-opc.h: Disassembly of thumb ldsb/ldsh
79540e26
AM
814 instructions changed to ldrsb/ldrsh.
815
73da6b6b
AM
8162000-05-11 Ulf Carlsson <ulfc@engr.sgi.com>
817
818 * mips-dis.c (print_insn_arg): Don't mask top 32 bits of 64-bit
819 target addresses for 'jal' and 'j'.
820
0d2bcfaf 8212000-05-10 Geoff Keating <geoffk@redhat.com>
d2f75a6f
GK
822
823 * ppc-opc.c (powerpc_opcodes): Make the predicted-branch opcodes
824 also available in common mode when powerpc syntax is being used.
825
821011cc
AM
8262000-05-08 Alan Modra <alan@linuxcare.com.au>
827
828 * m68k-dis.c (dummy_printer): Add ATTRIBUTE_UNUSED to args.
829 (dummy_print_address): Ditto.
830
0d2bcfaf 8312000-05-04 Timothy Wall <twall@redhat.com>
5c84d377
TW
832
833 * tic54x-opc.c: New.
834 * tic54x-dis.c: New.
835 * disassemble.c (disassembler): Add ARCH_tic54x.
836 * configure.in: Added tic54x target.
837 * configure: Ditto.
838 * Makefile.am: Add tic54x dependencies.
79540e26 839 * Makefile.in: Ditto.
5c84d377 840
786e2c0f
C
8412000-05-03 J.T. Conklin <jtc@redback.com>
842
843 * ppc-opc.c (VA, VB, VC, VD, VS, SIMM, UIMM, SHB): New macros, for
79540e26 844 vector unit operands.
786e2c0f
C
845 (VX, VX_MASK, VXA, VXA_MASK, VXR, VXR_MASK): New macros, for vector
846 unit instruction formats.
847 (PPCVEC): New macro, mask for vector instructions.
848 (powerpc_operands): Add table entries for above operand types.
849 (powerpc_opcodes): Add table entries for vector instructions.
850
851 * ppc-dis.c (print_insn_big_powerpc): Add PPC_OPCODE_ALTIVEC to mask.
852 (print_insn_little_powerpc): Likewise.
853 (print_insn_powerpc): Prepend 'v' when printing vector registers.
854
0d2bcfaf 8552000-04-24 Clinton Popetz <cpopetz@redhat.com>
a47cf567
NC
856
857 * configure.in: Add bfd_powerpc_64_arch.
858 * disassemble.c (disassembler): Use print_insn_big_powerpc for
859 64 bit code.
860
0d2bcfaf 8612000-04-24 Nick Clifton <nickc@redhat.com>
a47cf567
NC
862
863 * fr30-desc.c (fr30_cgen_cpu_open): Initialise signed_overflow
864 field.
865
0d2bcfaf 8662000-04-23 Denis Chertykov <denisc@overta.ru>
3c504221
DC
867
868 * avr-dis.c (reg_fmul_d): New. Extract destination register from
869 FMUL instruction.
870 (reg_fmul_r): New. Extract source register from FMUL instruction.
871 (reg_muls_d): New. Extract destination register from MULS instruction.
872 (reg_muls_r): New. Extract source register from MULS instruction.
873 (reg_movw_d): New. Extract destination register from MOVW instruction.
874 (reg_movw_r): New. Extract source register from MOVW instruction.
875 (print_insn_avr): Handle MOVW, MULS, MULSU, FMUL, FMULS, FMULSU,
876 EICALL, EIJMP, LPM r,Z, ELPM r,Z, SPM, ESPM instructions.
877
0d2bcfaf 8782000-04-22 Timothy Wall <twall@redhat.com>
aa170a07
TW
879
880 * ia64-gen.c (general): Add an ordered table of primary
881 opcode names, as well as priority fields to disassembly data
882 structures to enforce a preferred disassembly format based on the
883 ordering of the opcode tables.
884 (load_insn_classes): Show a useful message if IC tables are missing.
885 (load_depfile): Ditto.
886 * ia64-asmtab.h (struct ia64_dis_names ): Add priority flag to
887 distinguish preferred disassembly.
888 * ia64-opc-f.c: Reorder some insn for preferred disassembly
889 format. Fix incorrect flag on fma.s/fma.s.s0.
890 * ia64-opc.c: Scan *all* disassembly matches and use the one with
891 the highest priority.
892 * ia64-opc-b.c: Use more abbreviations.
893 * ia64-asmtab.c: Regenerate.
79540e26 894
0d2bcfaf 8952000-04-21 Jason Eckhardt <jle@redhat.com>
91b1cc5d
JL
896
897 * hppa-dis.c (extract_16): New function.
898 (print_insn_hppa): Fix incorrect handling of 'fe'. Added handling of
899 new operand types l,y,&,fe,fE,fx.
900
0d2bcfaf
NC
9012000-04-21 Richard Henderson <rth@redhat.com>
902 David Mosberger <davidm@hpl.hp.com>
903 Timothy Wall <twall@redhat.com>
904 Bob Manson <manson@charmed.cygnus.com>
905 Jim Wilson <wilson@redhat.com>
800eeca4
JW
906
907 * Makefile.am (HFILES): Add ia64-asmtab.h, ia64-opc.h.
908 (CFILES): Add ia64-dis.c, ia64-opc-a.c, ia64-opc-b.c, ia64-opc-f.c,
909 ia64-opc-i.c, ia64-opc-m.c, ia64-opc-d.c, ia64-opc.c, ia64-gen.c,
910 ia64-asmtab.c.
911 (ALL_MACHINES): Add ia64-dis.lo, ia64-opc.lo.
912 (ia64-ic.tbl, ia64-raw.tbl, ia64-waw.tbl, ia64-war.tbl, ia64-gen,
913 ia64-gen.o, ia64-asmtab.c, ia64-dis.lo, ia64-opc.lo): New rules.
914 * Makefile.in: Rebuild.
915 * configure Rebuild.
916 * configure.in (bfd_ia64_arch): New target.
917 * disassemble.c (ARCH_ia64): Define.
918 (disassembler): Support ARCH_ia64.
919 * ia64-asmtab.c, ia64-asmtab.h, ia64-dis.c, ia64-gen.c ia64-ic.tbl,
920 ia64-opc-a.c, ia64-opc-b.c, ia64-opc-d.c ia64-opc-f.c, ia64-opc-i.c,
921 ia64-opc-m.c, ia64-opc-x.c, ia64-opc.c, ia64-opc.h, ia64-raw.tbl,
060d22b0 922 ia64-war.tbl, ia64-waw.tbl: New files.
79540e26 923
0d2bcfaf 9242000-04-20 Alexandre Oliva <aoliva@redhat.com>
4d85706b
AO
925
926 * m10300-dis.c (HAVE_AM30, HAVE_AM33): Define.
927 (disassemble): Use them.
928
0d8dfecf
AM
9292000-04-14 Alan Modra <alan@linuxcare.com.au>
930
931 * sysdep.h: Include "ansidecl.h" not <ansidecl.h>
932 * Makefile.am: Update dependencies.
933 * Makefile.in: Regenerate.
934
9352000-04-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
936
937 * a29k-dis.c, alpha-dis.c, alpha-opc.c, arc-dis.c, arc-opc.c,
938 avr-dis.c, d10v-dis.c, d10v-opc.c, d30v-dis.c, d30v-opc.c,
939 disassemble.c, h8300-dis.c, h8500-dis.c, hppa-dis.c, i370-dis.c,
940 i370-opc.c, i960-dis.c, m10200-dis.c, m10200-opc.c, m10300-dis.c,
941 m10300-opc.c, m68k-dis.c, m68k-opc.c, m88k-dis.c, mcore-dis.c,
942 mips-dis.c, mips-opc.c, mips16-opc.c, pj-dis.c, pj-opc.c,
943 ppc-dis.c, ppc-opc.c, sh-dis.c, sparc-dis.c, sparc-opc.c,
944 tic80-dis.c, tic80-opc.c, v850-dis.c, v850-opc.c, vax-dis.c,
945 w65-dis.c, z8k-dis.c, z8kgen.c: Include sysdep.h. Remove
946 ansidecl.h as sysdep.h includes it.
947
0d2bcfaf 9482000-04-7 Andrew Cagney <cagney@b1.redhat.com>
79540e26 949
a2d91340 950 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
79540e26 951 --enable-build-warnings option.
a2d91340
AC
952 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
953 * Makefile.in, configure: Re-generate.
954
0d2bcfaf 9552000-04-05 J"orn Rennecke <amylaar@redhat.com>
52ccafd0 956
060d22b0 957 * sh-opc.h (sh_table): Use A_DISP_PC / PCRELIMM_8BY2 for ldre & ldrs.
52ccafd0
JR
958 stc GBR,@-<REG_N> is available for arch_sh1_up.
959 Group parallel processing insn with identical mnemonics together.
960 Make three-operand psha / pshl come first.
961
0d2bcfaf 9622000-04-05 J"orn Rennecke <amylaar@redhat.co.uk>
015551fc
JR
963
964 * sh-opc.h (sh_nibble_type): Remove DISP_8 and DISP_4.
965 Split IMM_[48]{,BY[24]} into IMM[01]_[48]{,BY[24]}. Add REPEAT.
966 (sh_arg_type): Add A_PC.
967 (sh_table): Update entries using immediates. Add repeat.
968 * sh-dis.c (print_insn_shx): Remove DISP_8 and DISP_4.
969 Split IMM_[48]{,BY[24]} into IMM[01]_[48]{,BY[24]}. Add REPEAT.
970
41b49281
AM
9712000-04-04 Alan Modra <alan@linuxcare.com.au>
972
8ad3436c
AM
973 * po/opcodes.pot: Regenerate.
974
41b49281
AM
975 * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
976 (DEP): Quote when passing vars to sub-make. Add warning message
977 to end.
978 (DEP1): Rewrite for "gcc -MM".
979 (CLEANFILES): Add DEP2.
980 Update dependencies.
981 * Makefile.in: Regenerate.
982
b77a133c
AM
9832000-04-03 Denis Chertykov <denisc@overta.ru>
984
985 * avr-dis.c: Syntax cleanup.
986 (add0fff): Print the pc relative address as a signed number.
987 (add03f8): Likewise.
988
9aaaa291
ILT
9892000-04-01 Ian Lance Taylor <ian@zembu.com>
990
991 * disassemble.c (disassembler_usage): Don't use a prototype. Mark
992 the parameter ATTRIBUTE_UNUSED.
993 * ppc-opc.c: Add ATTRIBUTE_UNUSED as needed.
994
0d2bcfaf 9952000-04-01 Alexandre Oliva <aoliva@redhat.com>
5728a7d7
AO
996
997 * m10300-opc.c: SP-based offsets are always unsigned.
998
67b60d92
NC
9992000-03-29 Thomas de Lellis <tdel@windriver.com>
1000
1001 * arm-opc.h (thumb_opcodes): Disassemble 0xde.. to "bal"
1002 [branch always] instead of "undefined".
1003
0d2bcfaf 10042000-03-27 Nick Clifton <nickc@redhat.com>
ba23e138
NC
1005
1006 * d30v-opc.c (d30v_format_table): Move SHORT_AR to end of list of
1007 short instructions, from end of list of long instructions.
1008
832ddf62
ILT
10092000-03-27 Ian Lance Taylor <ian@zembu.com>
1010
1011 * Makefile.am (CFILES): Add avr-dis.c.
1012 (ALL_MACHINES): Add avr-dis.lo.
1013
adde6300
AM
10142000-03-27 Alan Modra <alan@linuxcare.com>
1015
1016 * avr-dis.c (add0fff, add03f8): Don't use structure bitfields to
1017 truncate integers.
1018 (print_insn_avr): Call function via pointer in K&R compatible way.
1019 (dispLDD, regPP, reg50, reg104, reg40, reg20w, lit404, lit204,
1020 add0fff, add03f8): Convert to old style function declaration and
1021 add prototype.
1022 (avrdis_opcode): Add prototype.
1023
10242000-03-27 Denis Chertykov <denisc@overta.ru>
1025
1026 * avr-dis.c: New file. AVR disassembler.
1027 * configure.in (bfd_avr_arch): New architecture support.
1028 * disassemble.c: Likewise.
1029 * configure: Regenerate.
1030
0d2bcfaf 10312000-03-06 J"oern Rennecke <amylaar@redhat.com>
05102e70
JR
1032
1033 * sh-opc.h (sh_table): ldre and ldrs have a *signed* displacement.
1034
0d2bcfaf 10352000-03-02 J"orn Rennecke <amylaar@redhat.co.uk>
866afedc 1036
79540e26
AM
1037 * d30v-dis.c (print_insn): Remove d*i hacks. Use per-operand
1038 flag to determine if operand is pc-relative.
1039 * d30v-opc.c:
1040 (d30v_format_table):
1041 (REL6S3): Renamed from IMM6S3.
1042 Added flag OPERAND_PCREL.
1043 (REL12S3, REL18S3, REL32): Split from IMM12S3, IMM18S3, REL32, with
1044 added flag OPERAND_PCREL.
1045 (IMM12S3U): Replaced with REL12S3.
1046 (SHORT_D2, LONG_D): Delay target is pc-relative.
1047 (SHORT_B2r, SHORT_B3r, SHORT_B3br, SHORT_D2r, LONG_Ur, LONG_2r):
1048 Split from SHORT_B2, SHORT_D2, SHORT_B3b, SHORT_D2, LONG_U, LONG_2r,
1049 using the REL* operands.
1050 (LONG_2br, LONG_Dr): Likewise, from LONG_2b, LONG_D.
1051 (SHORT_D1r, SHORT_D2Br, LONG_Dbr): Renamed from SHORT_D1, SHORT_D2B,
1052 LONG_Db, using REL* operands.
1053 (SHORT_U, SHORT_A5S): Removed stray alternatives.
1054 (d30v_opcode_table): Use new *r formats.
866afedc 1055
0d2bcfaf 10562000-02-28 Nick Clifton <nickc@redhat.com>
77343c58
NC
1057
1058 * m32r-desc.c (m32r_cgen_cpu_open): Replace 'flags' with
1059 'signed_overflow_ok_p'.
1060
e56f75e9
ILT
10612000-02-27 Eli Zaretskii <eliz@is.elta.co.il>
1062
1063 * Makefile.am (stamp-lib): Use $(LIBTOOL) --config to get the
1064 name of the libtool directory.
1065 * Makefile.in: Rebuild.
1066
0d2bcfaf 10672000-02-24 Nick Clifton <nickc@redhat.com>
fa7928ca
NC
1068
1069 * cgen-opc.c (cgen_set_signed_overflow_ok): New function.
1070 (cgen_clear_signed_overflow_ok): New function.
1071 (cgen_signed_overflow_ok_p): New function.
1072
0d2bcfaf 10732000-02-23 Andrew Haley <aph@redhat.com>
cfcdbe97 1074
79540e26 1075 * m32r-asm.c, m32r-desc.c, m32r-desc.h, m32r-dis.c,
060d22b0 1076 m32r-ibld.c, m32r-opc.h: Rebuild.
cfcdbe97 1077
5b93d8bb
AM
10782000-02-23 Linas Vepstas <linas@linas.org>
1079
1080 * i370-dis.c, i370-opc.c: New.
1081
1082 * disassemble.c (ARCH_i370): Define.
1083 (disassembler): Handle it.
1084
1085 * Makefile.am: Add support for Linux/IBM 370.
1086 * configure.in: Likewise.
1087
1088 * Makefile.in: Regenerate.
1089 * configure: Likewise.
1090
0d2bcfaf 10912000-02-22 Chandra Chavva <cchavva@redhat.com>
b669ceb9
CC
1092
1093 * d30v-opc.c (d30v_opcode_tab) : Added FLAG_NOT_WITH_ADDSUBppp to
1094 ST2H, STB, STH, STHH, STW and ST2H opcodes to prohibit parallel
1095 procedure.
1096
0d2bcfaf 10972000-02-22 Andrew Haley <aph@redhat.com>
8027df89
AH
1098
1099 * mips-dis.c (_print_insn_mips): New arg for OPCODE_IS_MEMBER:
1100 force gp32 to zero.
1101 * mips-opc.c (G6): New define.
1102 (mips_builtin_op): Add "move" definition for -gp32.
1103
4db3857a
ILT
11042000-02-22 Ian Lance Taylor <ian@zembu.com>
1105
1106 From Grant Erickson <gerickso@Brocade.COM>:
1107 * ppc-opc.c: Correct dcread--it takes 3 arguments, not 2.
1108
f6af82bd
AM
11092000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
1110
1111 * dis-buf.c (buffer_read_memory): Change `length' param and all int
1112 vars to unsigned.
1113
0d2bcfaf 11142000-02-17 J"orn Rennecke <amylaar@redhat.co.uk>
d4845d57
JR
1115
1116 * sh-dis.c (print_movxy, print_insn_ddt, print_dsp_reg): New functions.
1117 (print_insn_ppi): Likewise.
1118 (print_insn_shx): Use info->mach to select appropriate insn set.
1119 Add support for sh-dsp. Remove FD_REG_N support.
1120 * sh-opc.h (sh_nibble_type): Add new values for sh-dsp support.
1121 (sh_arg_type): Likewise. Remove FD_REG_N.
1122 (sh_dsp_reg_nums): New enum.
1123 (arch_sh1, arch_sh2, arch_sh3, arch_sh3e, arch_sh4): New macros.
1124 (arch_sh_dsp, arch_sh3_dsp, arch_sh1_up, arch_sh2_up): Likewise.
1125 (arch_sh3_up, arch_sh3e_up, arch_sh4_up, arch_sh_dsp_up): Likewise.
1126 (arch_sh3_dsp_up): Likewise.
1127 (sh_opcode_info): New field: arch.
1128 (sh_table): Split up insn with FD_REG_N into ones with F_REG_N and
1129 D_REG_N. Fill in arch field. Add sh-dsp insns.
1130
0d2bcfaf 11312000-02-14 Fernando Nasser <fnasser@totem.to.redhat.com>
a7f8487e
FN
1132
1133 * arm-dis.c: Change flavor name from atpcs-special to
1134 special-atpcs to prevent name conflict in gdb.
1135 (get_arm_regname_num_options, set_arm_regname_option,
1136 get_arm_regnames): New functions. API to access the several
1137 flavor of register names. Note: Used by gdb.
1138 (print_insn_thumb): Use the register name entry from the currently
1139 selected flavor for LR and PC.
1140
0d2bcfaf 11412000-02-10 Nick Clifton <nickc@redhat.com>
97ee9b94
NC
1142
1143 * mcore-opc.h (enum mcore_opclass): Add MULSH and OPSR
1144 classes.
1145 (mcore_table): Add "idly4", "psrclr", "psrset", "mulsh" and
1146 "mulsh.h" instructions.
1147 * mcore-dis.c (imsk array): Add masks for MULSH and OPSR
1148 classes.
1149 (print_insn_mcore): Add support for little endian targets.
1150 Add support for MULSH and OPSR classes.
1151
0d2bcfaf 11522000-02-07 Nick Clifton <nickc@redhat.com>
a3d9c82d
NC
1153
1154 * arm-dis.c (parse_arm_diassembler_option): Rename again.
1155 Previous delat did not take.
1156
79540e26
AM
11572000-02-03 Timothy Wall <twall@redhat.com>
1158
940b2b78
TW
1159 * dis-buf.c (buffer_read_memory): Use octets_per_byte field
1160 to adjust target address bounds checking and calculate the
1161 appropriate octet offset into data.
79540e26 1162
94470b23
NC
11632000-01-27 Nick Clifton <nickc@redhat.com>
1164
6c082ed8
NC
1165 * arm-dis.c: (parse_disassembler_option): Rename to
1166 parse_arm_disassembler_option and allow to be exported.
1167
94470b23
NC
1168 * disassemble.c (disassembler_usage): New function: Print out any
1169 target specific disassembler options.
58efb6c0 1170 Call arm_disassembler_options() if the ARM architecture is being
79540e26 1171 supported.
58efb6c0
NC
1172
1173 * arm-dis.c (NUM_ELEM): Define this macro if not already
1174 defined.
1175 (arm_regname): New struct type for ARM register names.
1176 (arm_toggle_regnames): Delete.
1177 (parse_disassembler_option): Use register name structure.
1178 (print_insn): New function: Combines duplicate code found in
1179 print_insn_big_arm and print_insn_little_arm.
1180 (print_insn_big_arm): Call print_insn.
1181 (print_insn_little_arm): Call print_insn.
1182 (print_arm_disassembler_options): Display list of supported,
1183 ARM specific disassembler options.
79540e26 1184
2f0ca46a
NC
11852000-01-27 Thomas de Lellis <tdel@windriver.com>
1186
79540e26 1187 * arm-dis.c (printf_insn_big_arm): Treat ELF symbols with the
2f0ca46a 1188 ARM_STT_16BIT flag as Thumb code symbols.
79540e26
AM
1189
1190 * arm-dis.c (printf_insn_little_arm): Ditto.
2f0ca46a 1191
cb268829
NC
11922000-01-25 Thomas de Lellis <tdel@windriver.com>
1193
1194 * arm-dis.c (printf_insn_thumb): Prevent double dumping
79540e26 1195 of raw thumb instructions.
cb268829 1196
0d2bcfaf 11972000-01-20 Nick Clifton <nickc@redhat.com>
06b53c1b
NC
1198
1199 * mcore-opc.h (mcore_table): Add "add" as an alias for "addu".
1200
01c7f630
NC
12012000-01-03 Nick Clifton <nickc@cygnus.com>
1202
1203 * arm-dis.c (streq): New macro.
1204 (strneq): New macro.
1205 (force_thumb): ew local variable.
1206 (parse_disassembler_option): New function: Parse a single, ARM
1207 specific disassembler command line switch.
1208 (parse_disassembler_option): Call parse_disassembler_option to
1209 parse individual command line switches.
1210 (print_insn_big_arm): Check force_thumb.
1211 (print_insn_little_arm): Check force_thumb.
1212
2f6d2f85 1213For older changes see ChangeLog-9899
252b5132
RH
1214\f
1215Local Variables:
2f6d2f85
NC
1216mode: change-log
1217left-margin: 8
1218fill-column: 74
252b5132
RH
1219version-control: never
1220End:
This page took 0.137196 seconds and 4 git commands to generate.