Commit graph

132 commits

Author SHA1 Message Date
David MacKenzie
ed2fe80fb5 don't pass cpu to config.bfd 1993-08-17 16:45:41 +00:00
Ian Lance Taylor
e9a3035799 * m88k-dis.c (m88kdis): Make class unsigned. 1993-08-17 16:24:38 +00:00
Ian Lance Taylor
786e4f1a5f * mips-opc.c: Added lwc1 E,A(b) to go with lwc1 T,A(b). Similarly
for swc1.
1993-08-12 16:07:37 +00:00
Ian Lance Taylor
11a0aaa785 * mips-opc.c: From davidj@ICSI.Berkeley.EDU (David Johnson): Took
coprocessor instructions out of #if 0, and made them use new
	argument type "C".
1993-08-06 15:20:49 +00:00
Jim Kingdon
071689e1ad * sparc-dis.c: Include ansidecl.h before opcodes/sparc.h. 1993-08-05 22:16:40 +00:00
David Edelsohn
eea92b2442 Rename sigm insn to sir.
Change impdep insn from [1+2],d to 1,2,d.
1993-08-04 05:12:50 +00:00
Fred Fish
b5ed6e32c2 Remove '.Sanitize' from explicit list of Things-to-lose. It is now implicitly
added to the list by Sanitize, unless Sanitize knows it needs to keep it.
1993-08-02 23:29:32 +00:00
Fred Fish
775d4a4096 Add .Sanitize to Things-to-lose list. 1993-07-30 16:46:19 +00:00
Jim Kingdon
18de15d82e * hppa-dis.c: Move floating registers from reg_names to fp_reg_names.
(fput_fp_reg_r): Renamed from fput_reg_r.
	(fput_fp_reg): New function.
	(print_insn_hppa): Use fput_fp_reg{,_r} where appropriate.
1993-07-21 18:54:49 +00:00
Jim Kingdon
4d135f1c5a * hppa-dis.c (print_insn_hppa, cases 'a', 'd'): Print space afterwards.
* hppa-dis.c (print_insn_hppa, case 'd'): Use GET_COND not GET_FIELD.
1993-07-21 18:44:40 +00:00
Jim Kingdon
69135a69b6 * mips-opc.c: New file, containing opcode table from
../include/opcode/mips.h.
1993-07-20 22:55:21 +00:00
Jim Kingdon
b2ad2e6473 * hppa-dis.c (print_insn_hppa): Use extract_5r_store for 'r'. 1993-07-20 00:22:35 +00:00
Jim Kingdon
981b3a2794 * hppa-dis.c (print_insn_hppa, case '>'): If next character is 'n',
don't output a space.
1993-07-19 21:39:36 +00:00
Jim Kingdon
17068960cb * hppa-dis.c (float_format_names): 10 is undefined, and 11 is quad. 1993-07-19 20:54:04 +00:00
Jim Kingdon
32d2052a0d * mips-opc.c: New file, containing opcode table from
../include/opcode/mips.h.
	* Makefile.in: Add it.
1993-07-19 02:25:39 +00:00
Ian Lance Taylor
a4c0129924 * m88k-dis.c: New file, moved in from gdb and changed to use the
new dis-asm.h disassembler interface.
	* Makefile.in (DIS_LIBS): Added m88k-dis.o.
	(m88k-dis.o): New target.
1993-07-15 16:40:49 +00:00
Ian Lance Taylor
37609724c6 * mips-dis.c (print_insn_arg, _print_insn_mips): Made pointer to
argument string const char * to correspond to opcode/mips.h.
1993-07-13 17:06:07 +00:00
Ian Lance Taylor
fde326fbc9 * mips-dis.c: Updated to account for name changes in new version
of opcode/mips.h.
	* Makefile.in: Added header file dependencies.
1993-07-07 17:37:11 +00:00
David Edelsohn
a5b5f81d79 (bfd_h8_disassemble): Correct fetching of instruction. 1993-07-04 06:49:43 +00:00
David Edelsohn
9c06680d28 Fix typo. 1993-07-03 00:40:35 +00:00
Per Bothner
5b6c633678 * m68k-dis.c (print_insn_arg): Change return value to byte count
or error code.
	* m68k-dis.c:  Re-write to detect invalid operands before
	printing anything, so we can handle this the same way we
	handle invalid opcodes.
1993-06-18 21:18:53 +00:00
Steve Chamberlain
219cf23283 Understand more opcodes. 1993-06-17 22:02:49 +00:00
Ian Lance Taylor
91ea6ab0b1 * hppa-dis.c: Include <ansidecl.h> and sysdep.h before other
header files.
1993-06-16 20:49:36 +00:00
Ken Raeburn
0a3c15c302 sparc-dis, configure/Makefile changes 1993-06-16 02:05:13 +00:00
Ken Raeburn
5edfb67cac search ../include, and not ../bfd 1993-06-16 01:46:54 +00:00
David D. Zuhn
193dc897c7 remove parentdir support 1993-06-16 00:24:54 +00:00
Stu Grossman
5aef7c67a3 Changes from Jeff Law, law@cs.utah.edu:
* hppa-dis.c: Fix typo.  'a' and 'd' were reversed.
	Do not print a space before the completers specified by
	'a' and 'd'.
1993-06-15 20:37:37 +00:00
Ken Raeburn
998f2ef343 mips-dis.c needn't choke on HOST_64_BIT 1993-06-11 23:39:25 +00:00
Ken Raeburn
112087edcc Lots of changes from Jeff Law for HPPA support:
Clean up cruft in opcode table; improve opcodes library disassembler; make
gdb use opcodes library disassembler.
1993-06-11 23:20:54 +00:00
Jim Kingdon
e6fb7139ee * m68k-dis.c (print_insn_{m68k,arg}): Add MMU codes. 1993-06-11 16:23:55 +00:00
Steve Chamberlain
3b4cc5ecfb * h8300-dis.c: New file, removed from bfd/cpu-h8300.c, with
H8/300-H opcodes.
1993-06-08 19:26:23 +00:00
Per Bothner
e0a8bcfb54 * Makefile.in (CSEARCH): Add -I../bfd for sysdep.h and bfd.h.
* configure.in:  No longer need to configure to get sysdep.h.
1993-06-07 19:59:50 +00:00
K. Richard Pixley
87756e15db added things-to-lose sections 1993-05-27 06:44:29 +00:00
K. Richard Pixley
7b85349fe8 honor verbose flag 1993-05-27 03:22:48 +00:00
Stu Grossman
b7b184a125 * z8k-dis.c (fetch_data): Use unsigned char to make ancient gcc's
happy.
1993-05-19 22:37:08 +00:00
Ken Raeburn
d698222b58 note a hppa-dis.c change i forgot to list before 1993-05-14 12:10:41 +00:00
Ken Raeburn
cfa8d0617d add hppa disassembly code 1993-05-14 11:41:02 +00:00
David Edelsohn
261d3247f9 Macroize all conditional move insns.
Fix generated code of fmovcc insns (opf field was wrong).
1993-05-11 21:16:39 +00:00
Fred Fish
0e57a49587 * a29k-dis.c, alpha-dis.c, i960-dis.c, sparc-dis.c, z8k-dis.c:
Cast second arg to read_memory_func to "bfd_byte *", as necessary.
1993-05-07 03:55:10 +00:00
Steve Chamberlain
8679a71fc8 SH support 1993-04-27 01:19:25 +00:00
Steve Chamberlain
5f8f6d56f2 Support for the alpha 1993-04-24 02:10:09 +00:00
John Gilmore
d802b9481b Make "ta" the default trap instruction, "t" the alias. 1993-04-06 00:38:25 +00:00
Ian Lance Taylor
e9aff87e19 Maybe we should change ansidecl.h to define const as well as CONST?
* a29k-dis.c, sparc-dis.c, sparc-opc.c: Use CONST rather than
	const.
1993-04-02 15:27:17 +00:00
Jim Kingdon
720b3aed42 New print_address for disassemblers, merge a29k and i960 disassemblers 1993-04-02 00:18:47 +00:00
Jim Kingdon
3245e377e4 * sparc-dis.c: Use fprintf_func a few places where I forgot,
and double percent signs a few places.
1993-04-01 23:24:57 +00:00
Jim Kingdon
e08c332141 Make circumvention of sun make VPATH bug include all relevant files 1993-04-01 18:56:02 +00:00
Jim Kingdon
117733ad8d make it work with recent sparc changes 1993-04-01 18:42:39 +00:00
Jim Kingdon
a6cead71cd Fix prototype problems related to recent disassembler changes 1993-04-01 18:04:51 +00:00
Jim Kingdon
3ac166b105 this is part of the binutils/gdb sparc disassembler merge 1993-04-01 16:58:41 +00:00
Jim Kingdon
f7ed13c7d5 merge binutils and gdb sparc disassemblers 1993-04-01 16:56:06 +00:00
K. Richard Pixley
05545edc03 * h8500-dis.c, i386-dis.c, m68k-dis.c, z8k-dis.c (fetch_data):
deliberately return non-zero to setjmp from longjmp.  Otherwise
  this code fails to compile.
1993-04-01 04:52:59 +00:00
Stu Grossman
cbe61cc651 * m68k-dis.c: Fix prototype for fetch_arg(). 1993-04-01 01:05:39 +00:00
Jim Kingdon
aff22f452f New file dis-buf.c; part of read_memory_func changes just checked it 1993-03-31 21:45:59 +00:00
Jim Kingdon
5d0734a7d7 provide a new interface (using read_memory_func) to call the disassemblers
which copes with errors in a plausible way
1993-03-31 21:43:25 +00:00
John Gilmore
2cb563e6f4 Update for h8500-dis.c. (Avoid Sun Make vpath bug) 1993-03-23 02:55:56 +00:00
Steve Chamberlain
337110eab7 New file 1993-03-19 22:39:35 +00:00
Steve Chamberlain
45798e50ad Opcode file for the h8/500 1993-03-19 22:20:43 +00:00
Per Bothner
c840244e23 * mips-dis.c, z8k-dis.c: Converted to use interface defined in
../include/dis-asm.h.
	* m68k-dis.c:  New file (merge of ../binutils/m68k-pinsn.c
	and ../gdb/m68k-pinsn.c).
	* i386-dis.c:  New file (merge of ../binutils/i386-pinsn.c
	and ../gdb/i386-pinsn.c).
	* m68881-ext.c:  New file.  Moved definition of
	ext_format ext_format_68881 from ../gdb/m68k-tdep.c.
	* Makefile.in:  Adjust for new files.
	* i386-dis.c:  Patches from John Hassey (hassey@dg-rtp.dg.com).
	* m68k-dis.c:  Recognize '9' placement code, so (say) pflush
	can be dis-assembled.
1993-03-19 00:11:02 +00:00
John Gilmore
264c579010 Remove extra msg. 1993-02-04 05:34:17 +00:00
Ian Lance Taylor
bf1dd2fddd Keep mips-dis.c. 1993-01-07 18:24:38 +00:00
Ian Lance Taylor
d0ba1cea30 Thu Jan 7 13:15:17 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
* mips-dis.c: New file, from gdb/mips-pinsn.c.
	* Makefile.in (DIS_LIBS): Added mips-dis.o.
	(CFILES): Added mips-dis.c.
1993-01-07 18:21:29 +00:00
David D. Zuhn
1b2f56911b also search bfd sources for include files 1992-11-18 03:56:18 +00:00
Ken Raeburn
27ee87b307 delete unused BFD_EMIT_TABLE macro def 1992-11-04 16:08:39 +00:00
David D. Zuhn
d5dcef6346 use canonical triple 1992-10-02 07:13:29 +00:00
Mike Werner
0843ea632e Fix bug where all the opcodes were one off 1992-09-30 23:11:04 +00:00
Steve Chamberlain
b31a1f8114 added copyright notice 1992-09-30 14:42:53 +00:00
Steve Chamberlain
ea2598e40e add z8kgen 1992-09-30 14:41:36 +00:00
Steve Chamberlain
447bbbea3a * z8k-dis.c (unparse_instr): prettier tabs
* z8kgen.c -> z8k-opc.h: bug fixes in tables
1992-09-29 19:21:34 +00:00
Stu Grossman
57cae454d4 * configure.in: Add ncr* configuration.
* z8k-dis.c (struct instr_data_s):  Make instr_asmsrc char to make
picayune ANSI compilers happy.
1992-09-25 19:54:06 +00:00
Steve Chamberlain
c38f5470c2 z8kgen: temp file to generate z8k-opc.h from
z8k-dis.c: fixed various bugs
1992-09-24 20:28:14 +00:00
Ken Raeburn
3a15790239 fix typo in install rule 1992-09-18 21:02:18 +00:00
John Gilmore
68ca323803 * Makefile.in (make): Remove obsolete crud.
(sparc-opc.o):  Avoid Sun Make VPATH bug.
1992-09-18 09:05:54 +00:00
Jim Wilson
23996caa33 Update to SPARC V9 draft 1.1. Put brfcx before brfc to avoid superfluous
symbol table entries.  Document unimplemented synthetic instructions.
1992-09-16 00:23:52 +00:00
Jim Wilson
866e23d055 In brx macro, check for XCC bit set in xcc insns, and not set in icc insns.
In cond macro, do brx before br, to avoid getting extra symbol table entries
due to failed pattern matches.
1992-09-15 19:55:26 +00:00
Steve Chamberlain
ede30e7363 Remove typo 1992-09-10 17:23:25 +00:00
Steve Chamberlain
62ba1060a4 Special stuff to strip v9 out of sparc-opc.c 1992-09-10 17:20:10 +00:00
Steve Chamberlain
c3a1191a1d Add sparc-opc.c 1992-09-10 16:34:29 +00:00
Ken Raeburn
493d3e7568 accidentally used out-of-date version 1992-09-09 01:18:47 +00:00
K. Richard Pixley
e5bc6aaf85 remove subdir_do and references 1992-09-09 00:30:25 +00:00
Ken Raeburn
794a16b09d Makefile.in bug fixes and sparc-opc.c addition 1992-09-08 21:12:26 +00:00
Steve Chamberlain
add1fb05e5 * z8k-dis.c: knows how to disassemble z8k stuff 1992-08-31 21:54:31 +00:00
Steve Chamberlain
a4ccc31032 * z8k-opc.h: new file full of z8000 opcodes 1992-08-31 20:48:44 +00:00