Commit graph

917 commits

Author SHA1 Message Date
Andrew Cagney
aaa11abe42 Clarify meaning of sim_signalled's SIGRC argument. Document that this
isn't possible in sim-reason.c and just return the target SIGRC
instead.

For simulators that rely on sim-reason.c, replace SIG* with SIM_SIG*.

Hack nrun.c so that when it is executed (ARGV[0]) as `step' instead
of `run' it single steps the simulator.  Allows testing of single step
without full GDB.
1997-11-22 12:52:44 +00:00
Ian Lance Taylor
3d901aff01 move include entries from ../ChangeLog 1997-11-20 15:52:38 +00:00
Joern Rennecke
fe00b2ed0f * include/opcode/d10v.h (OPERAND_FLAG): Split into:
(OPERAND_FFLAG, OPERAND_CFLAG) .
	* opcodes/d10v-opc.c (OPERAND_FLAG): Split into:
	(OPERAND_FFLAG, OPERAND_CFLAG) .
	(FSRC): Split into:
	(FFSRC, CFSRC).
	* gas/config/tc-d10v.c (parallel_ok, find_opcode):
	Split OPERAND_FLAG into OPERAND_FFLAG and OPERAND_CFLAG.
Fix for PR 13985.
1997-11-18 19:41:44 +00:00
Doug Evans
8d5306e718 * callback.h (CB_TARGET_DEFS_MAP): Renamed from target_defs_map.
(host_callback): Add stat, fstat, syscall_map, errno_map, open_map,
	signal_map, stat_map.
	(errn_map,open_map): Renamed to cb_init_foo_map.
	(cb_host_to_target_errno,cb_target_to_host_open): Renamed from
	host_to_target_errno,target_to_host_open.
	(cb_read_target_syscall_maps): Add prototype.
	(cb_target_to_host_syscall): Likewise.
	(cb_host_to_target_stat): Likewise.
	(cb_syscall): Likewise.
	(CB_SYS_{exit,open,close,read,write,lseek,unlink,getpid,kill,fstat,
	argvlen,argv,chdir,stat,chmod,utime,time}): Define.
	(CB_SYSCALL): New type.
	(CB_RC): New enum.
1997-11-17 22:12:52 +00:00
Rob Savoye
5805612890 * include/libiberty.h: Add extern "C" { so it can be used with C++
progrms.
	* include/remote-sim.h:  Add extern "C" { so it can be used with C++
	programs.
1997-11-07 17:49:34 +00:00
Gavin Romig-Koch
c7227bdcf7 * include/opcode/mips.h (INSN_4900): Added. 1997-10-29 22:44:29 +00:00
Ken Raeburn
336ffb472f add a couple more notes to comment 1997-10-28 04:18:25 +00:00
Ken Raeburn
b410ea2b2b checkpoint vr5400 additions 1997-10-28 03:33:38 +00:00
Richard Henderson
82785278c1 * sparc.h (DT_SPARC_REGISTER): New macro.
(DT_SPARC_PLTFMT): In support of old sparc64-linux .plts; will
        go away soon.
1997-10-23 07:40:05 +00:00
Richard Henderson
206f6432ed * sparc.h: Add '_' and '/' for v9a asr's.
Patch from David Miller <davem@vger.rutgers.edu>
1997-10-23 00:26:08 +00:00
Andrew Cagney
9e03a68f13 Add LMA_P and DO_WRITE arguments to sim/common/sim-load.c:sim_load_file().
Update all simulators.
Clarify behavour of sim_load in remote-sim.h
1997-10-22 05:26:27 +00:00
Nick Clifton
ecf4429f18 Added new field to disassemble_info structure to provide a function which
determines if a symbol can be found at a given address.
1997-10-14 23:05:34 +00:00
Jeff Law
78fa3a1408 * h8300.h: Bit ops with absolute addresses not in the 8 bit
area are not available in the base model (H8/300).
pr 13467.
1997-10-14 19:19:15 +00:00
Andrew Cagney
5ccb90201f remote-sim.h: Clarify sim_read, sim_write MEM argument. 1997-10-14 09:33:18 +00:00
Stu Grossman
94dbc1213b * remote-sim.h (SIM_RC): Add a bunch of new return codes for
breakpoint stuff.
	* Add functions to tell the simulator to set/clear/enable/disable
	intrinsic breakpoints.
1997-09-25 01:05:31 +00:00
Ian Lance Taylor
9d696aa346 fix copyright 1997-09-24 23:01:48 +00:00
Ian Lance Taylor
5aee65fcfa * m68k.h: Document q and v operand specifiers. 1997-09-24 23:00:42 +00:00
Nick Clifton
ae6ecba5b4 Fixed sanitization bugs. 1997-09-21 17:44:16 +00:00
Nick Clifton
6c84a1a2ab Removed v850eq sanitization. 1997-09-20 23:07:04 +00:00
Felix Lee
3e906c081a sanitization fixes. typoes, missing fences, "start" instead of "end", etc. 1997-09-18 06:03:52 +00:00
Felix Lee
e1625ed217 v850 files that weren't being removed if !keep-v850 1997-09-18 01:33:24 +00:00
Nick Clifton
03d5329244 Added new relocations to handle the call table. 1997-09-17 23:39:04 +00:00
Nick Clifton
9f6badd09d Add new reloc, R_V850_TDA_16_16_OFFSET. 1997-09-16 21:13:48 +00:00
Nick Clifton
922971957e Added new field to v850_opcode structure. 1997-09-16 01:27:48 +00:00
Ken Raeburn
00c6b5b387 merge from d30v-970225-branch 1997-09-15 16:38:29 +00:00
David Edelsohn
3e4cee6232 * cgen.h: Move assembler interface section
up so cgen_parse_operand_result is defined for cgen_parse_address.
	(cgen_parse_address): Update prototype.
1997-09-08 21:06:31 +00:00
Richard Henderson
db1c83baa1 * mips.h: Correct typo in comment. 1997-09-03 22:47:44 +00:00
Nick Clifton
84c0ccc99e Removed v850 sanitization 1997-09-03 21:55:23 +00:00
Nick Clifton
a8211eb8d7 Removed v850 sanitization. 1997-09-03 21:51:18 +00:00
Nick Clifton
3b52112dfd Removed R_V850_16_PCREL. 1997-09-03 18:23:36 +00:00
Nick Clifton
8ba8bbaec7 Replaced magic numbers with bits in e_flags field. 1997-09-03 00:40:05 +00:00
Nick Clifton
1f5595a6f0 Removed the V850_OPREAND_ADJUST_SHORT_MEMORY flag as it no longer used. 1997-09-02 22:31:04 +00:00
Andrew Cagney
fafce69ab1 Add ABFD argument to sim_create_inferior. Document.
Add file sim-hload.c - generic load for hardware only simulators.
Review each simulators sim_open, sim_load, sim_create_inferior so that
they more closely match required behavour.
1997-08-27 04:44:41 +00:00
Ian Lance Taylor
2af7b4a3fc * i386.h (two_byte_segment_defaults): Correct base register 5 in
modes 1 and 2 to be ss rather than ds.  From Gabriel Paubert
	<paubert@iram.es>.
1997-08-26 17:12:31 +00:00
Ian Lance Taylor
19f080ab4e * i386.h: Set ud2 to 0x0f0b. From Gabriel Paubert
<paubert@iram.es>.
1997-08-26 16:40:41 +00:00
Ian Lance Taylor
9df6ca2f46 * i386.h: Comment fixes for ficom[p]?{s,l} from Gabriel Paubert
<paubert@iram.es>.
1997-08-26 16:36:07 +00:00
Ian Lance Taylor
051a96ff10 tipo 1997-08-26 16:25:06 +00:00
Ian Lance Taylor
c2367582a0 * i386.h (JUMP_ON_CX_ZERO): Uncomment (define again).
(JUMP_ON_EXC_ZERO): Remove commented out macro.
1997-08-26 16:22:36 +00:00
Andrew Cagney
247fccdeb5 Add ABFD argument to sim_open call. Pass through to sim_config so
that image properties such as endianness can be checked.

More strongly document the expected behavour of each of the sim_*
interfaces.

Add default endian argument to simulator config macro
SIM_AC_OPTION_ENDIAN.  Use in sim_config.
1997-08-25 23:14:25 +00:00
Nick Clifton
01aba63653 Added magic numbers for V850E and V850EQ. 1997-08-25 23:07:18 +00:00
Nick Clifton
b9792954bb Added new flag: V850_NOT_R0 to indicate that r0 is not a valid register for
this operand.
1997-08-22 17:36:15 +00:00
Ian Lance Taylor
d1a6b493b8 fix v850 sanitization 1997-08-15 15:50:13 +00:00
David Edelsohn
427a9cc709 * arc.h (enum reloc): Move here from elf32-arc.c. 1997-08-15 12:10:43 +00:00
David Edelsohn
bf008f9852 Undo last change, add comment saying why I think I was wrong. 1997-08-14 20:07:56 +00:00
David Edelsohn
a5120a7e53 * callback.h (cb_printf, cb_eprintf): Declare. 1997-08-14 19:55:37 +00:00
Nick Clifton
a0a6db4bfa Tidied up sanitization. 1997-08-14 19:45:14 +00:00
Nick Clifton
190b78bbe1 Added support for new v850e and v850eq instructions. 1997-08-14 01:49:02 +00:00
Ian Lance Taylor
abb742acba keep arc.h 1997-08-10 18:31:04 +00:00
David Edelsohn
414f5cf3b2 * arc.h: New file.
* common.h (EM_CYGNUS_ARC): Define.
Plus remove arc sanitization.
1997-08-09 00:07:14 +00:00
David Edelsohn
737ff150cf * arc.h: New file.
Plus remove arc sanitization.
1997-08-08 23:58:57 +00:00
David Edelsohn
81241e05b7 * dis-asm.h (arc_get_disassembler): Declare.
Plus remove arc sanitization.
1997-08-08 23:47:56 +00:00
Ian Lance Taylor
35743787d5 Tue Jul 22 18:18:58 1997 Robert Hoehne <robert.hoehne@Mathematik.TU-Chemnitz.DE>
* go32exe.h: New file.
1997-07-22 22:19:32 +00:00
Ian Lance Taylor
1ca82cc0dc * libiberty.h (PEXECUTE_*): Define.
(pexecute, pwait): Declare.
1997-07-22 22:00:09 +00:00
Jeff Law
71545ee538 * mips.h (FP_S, FP_D): Define. Bitmasks indicating if an insn
uses single or double precision floating point resources.
        (INSN_NO_ISA, INSN_ISA1): Define.
        (cpu specific INSN macros): Tweak into bitmasks outside the range
        of INSN_ISA field.
toshiba_5900 stuff
1997-07-11 16:12:56 +00:00
Fred Fish
c8c854bd3f > * tic80.h (TIC80_TARGET_ID): Add define.
>       * internal.h (struct internal_filehdr): Add f_target_id field.
1997-07-08 23:43:17 +00:00
Ian Lance Taylor
d4dbc0c341 Mon Jun 16 14:10:00 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
* i386.h: Fix pand opcode.
1997-06-16 18:11:38 +00:00
Andrew Cagney
aa02a0b0f2 sim_kill() isn't used. 1997-06-06 03:02:51 +00:00
Fred Fish
61a5c2fdcf * internal.h (C_UEXT, C_STATLAB, C_EXTLAB, C_SYSTEM):
New storage classes for TIc80.
PR 12236
1997-05-24 15:28:55 +00:00
Andrew Cagney
1fa0cc2dfc Restrict simulator commands to an enabled simulator. 1997-05-22 04:59:25 +00:00
Andrew Cagney
50a2a69182 Watchpoint interface. 1997-05-21 06:54:13 +00:00
Andrew Cagney
ff82f21409 Part II of adding callback argument to sim_open(). Update all the
other simulators; remove SIM_DESC from depreciated function
sim_set_callbacks().
1997-05-20 01:57:43 +00:00
Andrew Cagney
24aa2b57af Depreciate sim_set_callbacks() function. Set simulator callbacks
during sim_open().
1997-05-20 00:05:27 +00:00
Andrew Cagney
2e61a3ad9c Graft sim/common event and other code onto the mips simulator. 1997-05-19 13:30:30 +00:00
Mark Alexander
2ce0e027f4 * obstack.h (obstack_specify_allocation_with_arg, obstack_chunkfun,
obstack_freefun): Eliminate compile warnings in gdb.
1997-05-15 08:30:04 +00:00
Nick Clifton
46686c7839 Added support for storing ARM Procedure Calling Standard variant, and ARM
architecture variant in the BFD and COFF structures.  This goes towards
fixing PRs 11709 and 11326 and will integrate with future updates to LD and
GCC.
1997-05-14 17:00:43 +00:00
Ian Lance Taylor
3abaf93062 * i386.h: Add MMX instructions. 1997-05-05 21:16:46 +00:00
Ian Lance Taylor
654b084539 Mon May 5 12:45:19 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
* i386.h: Remove W modifier from conditional move instructions.
1997-05-05 16:46:18 +00:00
Andrew Cagney
8517f62b16 Ref gdb/11763 - can't stop a running simulator:
o	Provide poll_quit callback to simulators
		so that they can poll for SIGINT on
		clueless OS's.

	o	Add sim_stop to simulators so that clients
		can request a halt (eg gdbtk's STOP button)
		Works for PPC!

	o	Re-arange remote-sim.c so that the
		hard work is moved from gdbsim_resume()
		to gdbsim_wait() (where it should be).
1997-04-18 12:24:52 +00:00
David Edelsohn
09e348731e Tweak comment. 1997-04-17 13:46:50 +00:00
David Edelsohn
a1cb1f4b9c * remote-sim.h (struct _bfd): Declare.
(sim_load): Return SIM_RC.  New arg `abfd'.
	(sim_create_inferior): Return SIM_RC.  Delete arg `start_address'.
1997-04-17 09:19:45 +00:00
Andrew Cagney
87e43259f1 Cleanups to compile under FreeBSD 1997-04-17 06:05:19 +00:00
David Edelsohn
9b64639572 * cgen.h (<cpu>_cgen_assemble_insn): New arg for errmsg.
(cgen_parse_operand_fn): Declare.
	(cgen_init_parse_operand): Declare.
	(cgen_parse_operand): Renamed from cgen_asm_parse_operand,
	new argument `want'.
	(enum cgen_parse_operand_result): Renamed from cgen_asm_result.
	(enum cgen_parse_operand_type): New enum.
1997-04-10 23:39:08 +00:00
David Edelsohn
fe2dd6424b * cgen.h (<cpu>_cgen_assemble_insn): New arg for errmsg.
(cgen_asm_parse_operand_fn): Declare.
1997-04-10 21:55:09 +00:00
Ian Lance Taylor
c0d7b5346d * i386.h: Revert last patch for the NON_BROKEN_OPCODES cases. 1997-04-05 18:15:32 +00:00
David Edelsohn
df8b2c02b3 cgen header file 1997-04-04 19:48:32 +00:00
Ian Lance Taylor
80aeca1402 update copyright 1997-04-04 19:06:12 +00:00
Ian Lance Taylor
c00435ed04 * i386.h: Correct opcode values for fsubp, fsubrp, fdivp, and
fdivrp.
1997-04-04 19:03:15 +00:00
David Edelsohn
38498962ba (sim_open): Update comment. 1997-04-02 23:47:49 +00:00
David Edelsohn
b0d8c28f61 * remote-sim.h (SIM_OPEN_KIND, SIM_RC): New enums.
(sim_open): New argument `kind'.
1997-04-02 23:24:25 +00:00
Ian Lance Taylor
64d2004922 * COPYING: Update FSF address. 1997-04-02 19:51:31 +00:00
Ian Lance Taylor
9582f9abec remove m32r sanitization 1997-04-01 04:12:20 +00:00
Michael Meissner
8902803f75 Fix faulty assumption that va_list is a pointer type 1997-03-28 20:48:12 +00:00
Ian Lance Taylor
b26ac9e1e8 Fri Mar 28 15:44:41 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
* libiberty.h (basename): Add prototype for glibc and linux.
1997-03-28 20:45:38 +00:00
Ian Lance Taylor
0585a29283 * i386.h: Add iclr. 1997-03-24 19:38:27 +00:00
David Edelsohn
482a7cddc3 remove m32r sanitization 1997-03-22 19:38:00 +00:00
Ian Lance Taylor
527cabaf29 * i386.h: Change DW to W for cmpxchg and xadd, since they don't
take a direction bit.
1997-03-21 00:53:24 +00:00
J.T. Conklin
53bcc60c44 * m68k.h (mcfmac, mcfdiv): New macros. 1997-03-19 14:27:26 +00:00
Ian Lance Taylor
bc68afb237 * objalloc.h: New file. 1997-03-18 00:22:33 +00:00
Andrew Cagney
05e4e44f95 * remote-sim.h: New file, copied in from gdb/remote-sim.h. One
day this will be placed in a directory of its own.
1997-03-17 14:19:23 +00:00
Ian Lance Taylor
9ef62ee107 x 1997-03-16 00:05:49 +00:00
Ian Lance Taylor
ea3f963dd6 * obstack.h: Update to current FSF version. 1997-03-16 00:00:59 +00:00
Ian Lance Taylor
5583be2433 * sparc.h: Include <ansidecl.h>. Update function declarations to
use prototypes, and to use const when appropriate.
1997-03-14 20:22:46 +00:00
David Edelsohn
efa8608055 Add copyright, tweak some comments. 1997-03-13 17:13:15 +00:00
Andrew Cagney
6d68593763 Extend callback interface to support vprintf, flush and error printing.
Corresponding change for gdb directory can be checked in later.
1997-03-12 12:27:30 +00:00
Jeff Law
39c65f8d83 Fix typo in last change. 1997-03-06 23:13:31 +00:00
Jeff Law
35106aae73 * mn10300.h (MN10300_OPERAND_RELAX): Define.
Bringing over changes from the mn10200 port.  Getting ready to start on
the relaxing assembler.
1997-03-06 21:19:51 +00:00
Jim Wilson
54d26e151e Correct d10v sanitization errors. 1997-03-03 00:22:35 +00:00
Martin Hunt
713495a9e6 Sanitize out d30v stuff. 1997-02-27 01:49:49 +00:00
Dawn Perchik
2fedd0a135 * mips.h: Add macros for cop0, cop1 cop2 and cop3.
Change mips_opcodes from const array to a pointer,
	and change bfd_mips_num_opcodes from const int to int,
	so that we can increase the size of the mips opcodes table
	dynamically.
1997-02-23 22:24:49 +00:00
Martin Hunt
ca5ef3cb83 Fri Feb 21 16:34:18 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
* d30v.h (FLAG_X): Remove unused flag.
1997-02-22 00:34:58 +00:00
David Edelsohn
8a733d7109 * m32r.h (enum reloc_type): Add R_M32R_SDA16.
(SHN_M32R_SCOMMON): Define.
1997-02-21 21:01:40 +00:00
Michael Meissner
c6c7035cfb Since d10v is public now, remove all sanitization statements 1997-02-20 16:05:18 +00:00
Ian Lance Taylor
56c4200b35 From Eric Youngdale <eric@andante.jic.com>:
* external.h, internal.h, common.h: Added new structures and
	definitions for ELF versions.
1997-02-19 20:36:23 +00:00
Martin Hunt
3acdeb5eee Tue Feb 18 17:40:36 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
* common.h (EM_CYGNUS_D30V): Define.
1997-02-19 01:41:48 +00:00
Martin Hunt
a048df0758 Tue Feb 18 17:37:20 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
* d30v.h: New file.
1997-02-19 01:39:32 +00:00
Gavin Romig-Koch
276c2d7dc8 Add r5900 1997-02-11 13:26:34 +00:00
Fred Fish
394de41870 * tic80.h (tic80_symbol_to_value): Change prototype to match
change in function, added class parameter.
1997-02-10 17:34:59 +00:00
Fred Fish
12e8f8af1f * tic80.h (TIC80_OPERAND_ENDMASK): Add for flagging TIc80
endmask fields, which are somewhat weird in that 0 and 32 are
	treated exactly the same.
1997-02-07 00:28:19 +00:00
Fred Fish
f996c7d898 One minor fix I forgot in last checkin. 1997-01-30 21:18:55 +00:00
Fred Fish
c2717a801f * tic80.h: Change all the OPERAND defines to use the form (1 << X)
rather than a constant that is 2**X.  Reorder them to put bits for
	operands that have symbolic names in the upper bits, so they can
	be packed into an int where the lower bits contain the value that
	corresponds to that symbolic name.
	(predefined_symbo): Add struct.
	(tic80_predefined_symbols): Declare array of translations.
	(tic80_num_predefined_symbols): Declare size of that array.
	(tic80_value_to_symbol): Declare function.
	(tic80_symbol_to_value): Declare function.
1997-01-30 20:56:33 +00:00
Jeff Law
53bdb44c10 * mn10200.h (MN10200_OPERAND_RELAX): Define.
Checking in some of the assembler branch relaxing code.
1997-01-29 16:38:25 +00:00
Ian Lance Taylor
8f6c6a6549 * internal.h (R_IPRMED, R_OPTCALL, R_OPTCALLX): Move definitions
from here...
	* i960.h (R_IPRMED, R_OPTCALL, R_OPTCALLX): ...to here.
1997-01-27 18:35:21 +00:00
Fred Fish
360e38f138 * tic80.h (TIC80MAGIC): Renamed to TIC80_AOUTHDR_MAGIC. 1997-01-23 03:12:41 +00:00
Fred Fish
102b9af5f9 * tic80.h (TIC80_NO_R0_DEST): Add for opcodes where r0 cannot
be the destination register.
1997-01-19 22:22:01 +00:00
Fred Fish
ac5f447d60 * tic80.h (struct tic80_opcode): Change "format" field to "flags".
(FMT_UNUSED, FMT_SI, FMT_LI, FMT_REG): Delete.
	(TIC80_VECTOR): Define a flag bit for the flags.  This one means
	that the opcode can have two vector instructions in a single
	32 bit word and we have to encode/decode both.
1997-01-17 03:53:46 +00:00
Fred Fish
ed6e7b0897 * tic80.h (TIC80_OPERAND_FLOAT): Add for floating point operands. 1997-01-13 22:59:20 +00:00
Fred Fish
547435564c * tic80.h (TIC80_OPERAND_SCALED): Operand may have optional
":s" modifier for scaling.
1997-01-06 17:51:13 +00:00
Fred Fish
ad429fdd7f * tic80.h (TIC80_OPERAND_M_SI): Add operand modifier for ":m".
(TIC80_OPERAND_M_LI): Ditto
1997-01-05 19:15:20 +00:00
Fred Fish
fd68bb98f6 * tic80.h (TIC80_OPERAND_BITNUM): Renamed from TIC80_OPERAND_CC_SZ.
(TIC80_OPERAND_CC): New define for condition code operand.
	(TIC80_OPERAND_CR): New define for control register operand.
1997-01-05 02:13:07 +00:00
Fred Fish
baf0882033 * tic80.h (struct tic80_opcode): Name changed.
(struct tic80_opcode): Remove format field.
	(struct tic80_operand): Add insertion and extraction functions.
	(TIC80_OPERAND_*): Remove old bogus values, start adding new
	correct ones.
	(FMT_*): Ditto.
1997-01-03 23:28:26 +00:00
Michael Meissner
3b20886e53 Add new st_other bits; Remove v850 section indexes 1997-01-03 16:34:28 +00:00
Michael Meissner
cbc3424197 Add v850.h 1997-01-03 00:31:19 +00:00
Michael Meissner
2bbc3e4462 Add V850_OPERAND_ADJUST_SHORT_MEMORY 1996-12-31 20:10:21 +00:00
Ian Lance Taylor
a5094cb9d5 * common.h (DT_AUXILIARY): Define.
(DT_FILTER): Define.
1996-12-31 19:44:49 +00:00
Fred Fish
33aeaf0000 (Laying some groundwork (that will be incrementally fleshed out) for
TIc80)
	* dis-asm.h (print_insn_tic80): Declare.
1996-12-28 05:26:04 +00:00
Fred Fish
3665f0d5c2 (Laying the groundwork (that will be incrementally fleshed out) for
TIc80 support)
	* tic80.h: New file.
1996-12-28 05:23:50 +00:00
Fred Fish
baf6d28e6b (Laying the groundwork (that will be incrementally fleshed out) for
TIc80 support)
	* tic80.h: New file for TIc80 support.
1996-12-28 05:13:42 +00:00
Ian Lance Taylor
027b55b862 * arm.h (_LIT): Define.
PR 11329.
1996-12-19 21:18:31 +00:00
Jeff Law
e75b857ba3 * mn10200.h (MN10200_OPERAND_NOCHECK): Define. 1996-12-18 17:10:38 +00:00
Fred Fish
7e3670d611 * mn10200.h: Fix comment, mn10200_operand not powerpc_operand.
* mn10300.h: Fix comment, mn10300_operand not powerpc_operand.
	* v850.h: Fix comment, v850_operand not powerpc_operand.
1996-12-14 17:52:07 +00:00
David Edelsohn
e114415332 * callback.h (host_callback): New member `error'. 1996-12-09 01:12:03 +00:00
Ian Lance Taylor
0a51776738 comment fix 1996-12-02 17:30:09 +00:00
J.T. Conklin
0ba44243df * m68k.h: Document new <, >, m, n, o and p operand specifiers. 1996-11-26 01:58:02 +00:00
Martin Hunt
8ae9505bc0 Removed d10v.h. 1996-11-21 19:01:14 +00:00
David Edelsohn
9d10b92d2a * callback.h: New file, moved here from gdb. 1996-11-20 08:42:22 +00:00
Jeff Law
bd63ee34aa * mn10300.h (MN10300_OPERAND_REG_LIST): Define. 1996-11-19 20:29:48 +00:00
Dawn Perchik
753b59c270 * libiberty.h: Checkin again; last checkin failed due to sticky tag. 1996-11-18 23:35:05 +00:00
Jeff Law
d13f39914f * mn10300.h (MN10300_OPERAND_EXTENDED): Define.
[ For operands inserted into the extended part of the opcode. ]
1996-11-05 20:25:51 +00:00
Jeff Law
b9c65063be * mn10300.h (MN10300_OPERAND_REPEATED): Define.
Matsushita.
1996-11-04 19:52:34 +00:00
Ian Lance Taylor
1b6263fa2e Fri Nov 1 10:31:02 1996 Richard Henderson <rth@tamu.edu>
* alpha.h: Don't include "bfd.h"; private relocation types are now
 	negative to minimize problems with shared libraries.  Organize
 	instruction subsets by AMASK extensions and PALcode
 	implementation.
	(struct alpha_operand): Move flags slot for better packing.
1996-11-01 18:31:57 +00:00
David Edelsohn
e468146789 * ansidecl.h (VPARAMS,VA_START): Define. 1996-10-31 22:59:20 +00:00
Jeff Law
bb36347e6c * v850.h (V850_OPERAND_RELAX): New operand flag. 1996-10-29 19:19:19 +00:00
David Edelsohn
db2d85c616 * dis-asm.h (print_insn_m32r): Declare. 1996-10-17 18:18:12 +00:00
Ian Lance Taylor
684d50a53e * libiberty.h: Declare parameter types for xmalloc and xrealloc. 1996-10-15 03:57:09 +00:00
Jeff Law
1d57416709 * mn10300.h (MN10300_OPERAND_PAREN): Define.
Matsushita.
1996-10-08 20:49:58 +00:00
Jeff Law
b78506073f * mn10300.h (mn10300_opcode): Add "format" field.
(MN10300_OPERAND_*): Define.
Checkpointing today's Matsushita work.
1996-10-07 22:53:27 +00:00
Ian Lance Taylor
fa8e5931d8 * fnmatch.h: New file. 1996-10-03 17:45:45 +00:00
Jeff Law
ae1b99e42d Grrr. The mn10200 and mn10300 are _not_ similar enough to easily support
with a single generic configuration.  So break them up into two different
configurations.  See the individual ChangeLogs for additional detail.
1996-10-03 16:42:22 +00:00
Jeff Law
3072af43b0 * mn10x00.h: New file.
Matsushita.
1996-10-03 03:32:51 +00:00
Jeff Law
4b7cbcf90d * common.h (EM_CYGNUS_MN10x00): Define.
Matsushita.
1996-10-03 03:27:52 +00:00
Jeff Law
cad8350fd3 * dis-asm.h (print_insn_mn10x00): Declare.
Getting started on Matsushita.
1996-10-03 03:27:10 +00:00
Fred Fish
77f7bfd835 * libiberty.h: Remove #ifndef PRIVATE_XMALLOC. 1996-10-01 03:01:33 +00:00
David Edelsohn
8c84dfa139 m32r.h: new file 1996-09-23 16:18:01 +00:00
Jeff Law
a0a36aa085 * dis-asm.h (print_insn_v850): Declare. 1996-08-31 19:26:47 +00:00
J.T. Conklin
27021dd459 * v850.h (v850_operands): Add insert and extract fields, pointers
to functions used to handle unusual operand encoding.
(V850_OPERAND_REG, V850_OPERAND_SRG, V850_OPERAND_CC,
V850_OPERAND_SIGNED): Defined.
1996-08-22 23:56:25 +00:00
J.T. Conklin
dd528affb3 * v850.h (v850_operands): Add flags field.
(OPERAND_REG, OPERAND_NUM): Defined.
1996-08-22 00:46:17 +00:00
J.T. Conklin
7a3c93362e * v850.h: New file. 1996-08-20 21:52:59 +00:00
J.T. Conklin
6bca117d81 * common.h (EM_CYGNUS_V850): Define. 1996-08-20 21:49:23 +00:00
David Edelsohn
1252987a67 * common.h (EM_CYGNUS_M32R): Define. 1996-08-19 18:00:53 +00:00
Jeff Law
b127cb95e9 * hppa.h (pitlb, pitlbe, iitlba, iitlbp, fic, fice): Accept
a 3 bit space id instead of a 2 bit space id.
Fixes net problem.
1996-08-16 06:15:52 +00:00
Martin Hunt
e7706bb357 Thu Aug 15 13:11:46 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
* d10v.h: Add some additional defines to support the
 	assembler in determining which operations can be done in parallel.
1996-08-15 20:14:06 +00:00
Stu Grossman
9d896be306 * ansidecl.h: Change WIN32 to _WIN32. 1996-08-13 00:04:17 +00:00
Martin Hunt
76327337ce Fri Jul 26 11:47:10 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
* d10v.h (OPERAND_SHIFT): New operand flag.
1996-07-26 18:58:46 +00:00
Fred Fish
21b849e3cd * libiberty.h (PRIVATE_XMALLOC): Enclose xmalloc/xrealloc
definitions inside #ifndef so that programs that want to
	can define PRIVATE_XMALLOC and then define xmalloc and
	xrealloc anyway they want.
	(basename): Document in source that we can't declare
	the parameter type because it is declared inconsistently across
	different systems.
1996-07-26 05:05:35 +00:00
Martin Hunt
8da1e5a75d Thu Jul 25 12:06:22 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
* d10v.h: Changes for divs, parallel-only instructions, and
 	signed numbers.
1996-07-25 19:15:49 +00:00
Martin Hunt
c38655b90f start-sanitize-d10v
Mon Jul 22 11:21:15 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>

	* d10v.h (pd_reg): Define. Putting the definition here allows
	the assembler and disassembler to share the same struct.

end-sanitize-d10v
1996-07-22 18:56:30 +00:00
Ian Lance Taylor
04cf159485 Mon Jul 22 13:16:13 1996 Richard Henderson <rth@tamu.edu>
* dis-asm.h (print_insn_alpha): Don't declare.
	(print_insn_alpha_osf, print_insn_alpha_vms): Declare.
1996-07-22 17:18:55 +00:00
Ian Lance Taylor
8cfbe54328 * i960.h (i960_opcodes): "halt" takes an argument. From Stephen
Williams <steve@icarus.com>.
1996-07-22 16:21:25 +00:00
Stan Shebs
540cd16faf always keep dwarf2.h 1996-07-19 02:21:15 +00:00
Stan Shebs
3966519364 * dwarf2.h: New file. 1996-07-19 02:19:29 +00:00
Martin Hunt
caee7eabff start-sanitize-d10v
Thu Jul 18 13:20:39 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>

	* common.h (EM_CYGNUS_D10V): Redefine.
end-sanitize-d10v
1996-07-18 20:35:14 +00:00
Ian Lance Taylor
f4fcd63fa0 add comments about magic numbers 1996-07-18 19:49:56 +00:00
Martin Hunt
6fb197de55 * common.h (EM_CYGNUS_D10V): Define. 1996-07-18 00:41:45 +00:00
Martin Hunt
770e082760 start-sanitize-d10v
Wed Jul 17 14:45:12 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
        * dis-asm.h: (print_insn_d10v): Declare.
end-sanitize-d10v
1996-07-18 00:41:43 +00:00
Martin Hunt
3d1d21b028 start-sanitize-d10v
Wed Jul 17 14:46:38 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
        * d10v.h: New file.
end-sanitize-d10v
1996-07-18 00:40:48 +00:00
Stu Grossman
a29322f785 * dis-asm.h: Get rid of decls for print_insn_i8086,
print_insn_sparc64 and print_insn_sparclite.
	* (INIT_DISASSEMBLE_INFO):  Split into two pieces.  One,
	INIT_DISASSEMBLE_INFO_NO_ARCH inits everything except for endian,
	mach, and arch.
1996-07-15 23:59:26 +00:00
Stu Grossman
979ce1e806 * dis-asm.h (print_insn_i8086): Declare. 1996-07-12 17:20:17 +00:00
Jeff Law
2757047686 * h8300.h (band, bclr): Force high bit of immediate nibble to zero.
So we don't disassemble "biand" as "band".
1996-07-11 18:10:13 +00:00
Jeff Law
16cf520e5f No longer need to sanitize away h8s stuff. 1996-07-05 18:46:54 +00:00
Jeff Law
7eaffbec23 * h8300.h (SRC_IN_DST): Define.
* h8300.h (UNOP3): Mark the register operand in this insn
        as a source operand, not a destination operand.
        (SHIFT_2, SHIFT_IMM): Remove.  Eliminate all references.
        (UNOP3): Change SHIFT_IMM to IMM for H8/S bitops.  Mark
        register operand with SRC_IN_DST.
More hackery for new shift ops on the H8/S.
1996-07-03 05:07:07 +00:00
Jeff Law
d3329f0d0c * h8300.h (UNOP3): Mark the register operand in this insn
as a source operand, not a destination operand.
So the simulator can handle shal #2,er0 correctly.
1996-07-02 19:20:37 +00:00
Ian Lance Taylor
b615d67824 fix sanitization of EXR in MODE 1996-06-29 16:47:12 +00:00
Ian Lance Taylor
e5a1a2ea99 * All files: Define FILHSZ, AOUTSZ, AOUTHDRSZ, SCNHSZ, SYMESZ,
AUXESZ, LINESZ, RELSZ as numeric constants rather than uses of
	sizeof.  Define AOUTHDRSZ in all files.
	* pe.h (AOUTSZ): Define by adding to AOUTHDRSZ.
1996-06-26 20:28:29 +00:00
David Edelsohn
c86c94ec31 (struct internal_scnhdr): Add comment regarding s_paddr. 1996-06-24 01:24:35 +00:00
Ian Lance Taylor
3853da56de Fri Jun 21 13:52:17 1996 Richard Henderson <rth@tamu.edu>
* alpha.h: New file.
1996-06-21 17:52:56 +00:00
Ian Lance Taylor
3309648e5f Fri Jun 21 12:33:24 1996 Richard Henderson <rth@tamu.edu>
* alpha.h: New file.
	* common.h (EM_ALPHA): Define.
start-sanitize-arc
	(EM_CYGNUS_ARC): Change to not conflict with EM_ALPHA.
end-sanitize-arc
1996-06-21 16:34:37 +00:00
Ian Lance Taylor
180b9a3805 * rs6k.h: Remove obsolete file. 1996-06-20 19:04:10 +00:00
Ian Lance Taylor
ad8e053482 * i386.h: Correct opcode values for faddp, fsubp, fsubrp, fmulp,
fdivp, and fdivrp.  Add ffreep.
1996-06-19 19:52:04 +00:00
Jeff Law
934f9fa0ff * dis-asm.h (print_insn_h8300s): Declare.
end-sanitize-h8s
More H8/S stuff.
1996-06-18 23:20:37 +00:00
Jeff Law
a3dbd3269f * h8300.h (H8300SMAGIC): Define.
(H8300SBADMAG): Define.

end-sanitize-h8s
H8/S stuff
1996-06-18 23:20:15 +00:00
Jeff Law
04f5f28af7 * h8300.h: Reorder various #defines for readability.
(ABS32SRC, ABS32DST, DSP32LIST, ABS32LIST, A32LIST): Define.
        (BITOP): Accept additional (unused) argument.  All callers changed.
        (EBITOP): Likewise.
        (O_LAST): Bump.
        (ldc, stc, movb, movw, movl): Use 32bit offsets and absolutes.

start-sanitize-h8s
        * h8300.h (EXR, SHIFT_2, MACREG, SHIFT_IMM, RDINC): Define.
        (O_TAS, O_CLRMAC, O_LDMAC, O_MAC, O_LDM, O_STM): Define.
        (BITOP, EBITOP): Handle new H8/S addressing modes for
        bit insns.
        (UNOP3): Handle new shift/rotate insns on the H8/S.
        (insns using exr): New instructions.
        (tas, mac, ldmac, clrmac, ldm, stm): New instructions.

end-sanitize-h8s
You guessed it.  More H8/S junk.
1996-06-18 23:19:44 +00:00
Ian Lance Taylor
a570d4b2d3 Tue Jun 18 15:11:33 1996 Klaus Kaempf <kkaempf@progis.de>
* fopen-vms.h: New file.
1996-06-18 19:14:57 +00:00
Ian Lance Taylor
687455201c * mips.h (E_MIPS_ARCH_4): Define. 1996-05-30 16:36:27 +00:00
Ian Lance Taylor
80483b240f * mips.h (Elf64_Mips_External_Rel): Define.
(Elf64_Mips_Internal_Rel): Define.
	(Elf64_Mips_External_Rela, Elf64_Mips_Internal_Rela): Define.
	(RSS_*): Define.
1996-05-29 19:36:40 +00:00
Jeff Law
6ac0dc6502 * internal.h (R_JMPL2): Renamed from R_JMPL_B8 to be
consistent with other similar relocs.
Cleaning up while working on HMSE.
1996-05-07 08:11:43 +00:00
Jeff Law
552c64ac4b * internal.h (H8/300 specific relocs): Add comments better
explaining what each reloc is used for.
        (R_MOV16B1, R_MOV16B2): Renamed from R_MOVB1 and R_MOVB2.
        (R_MOV24B1, R_MOV24B2): Renamed from R_MOVLB1 and R_MOVLB2.
        (R_MOVL1, R_MOVL2): New relocs.
More changes for the H8/300 relaxing linker.  HMSE.
1996-05-07 06:40:28 +00:00
Jeff Law
b16619991b * internal.h (R_PCRWORD_B): Define for the h8300 relaxing
linker.
HMSE.
1996-05-03 18:57:49 +00:00
Ian Lance Taylor
ae105b8e5a * internal.h (SCNNMLEN): Define.
(struct internal_scnhdr): Use SCNNMLEN for s_name field.
1996-05-02 02:21:29 +00:00
Ian Lance Taylor
b4c22ad0df * i386.h: Remove Abs32 from lcall. 1996-05-01 01:38:55 +00:00
Ian Lance Taylor
b21efdbe64 * sparc.h (F_FLOAT, F_FBR): Define.
PR 355.
1996-04-11 21:28:49 +00:00