Commit Graph

21069 Commits

Author SHA1 Message Date
Frank Ch. Eigler d1a18c2f83 - added first batch of PKE code
- PKE memory region registration
- basic R/W operations
- combined pke[01] -> pke
1998-01-23 00:38:10 +00:00
Doug Evans 3b7029b185 * cgen.sh: Rewrite to be like simulator's version.
* Makefile.am (cgen): Update call to cgen.sh.
	* Makefile.in: Regenerate
1998-01-23 00:22:56 +00:00
Mark Alexander 549cf35bf6 Fix sanitization. 1998-01-23 00:19:49 +00:00
Richard Henderson 1361ffbd6b * ldlex.l (<SCRIPT>{WILDCHAR}*): Take care for the comments this
pattern could match.
1998-01-23 00:18:50 +00:00
Ron Unrau 64708c01f5 Add sanitize-sky for txvu stuff. 1998-01-22 23:25:18 +00:00
Ron Unrau ea4d289e43 Recognize txvu-elf as a target. 1998-01-22 23:22:22 +00:00
Ron Unrau 53cf880935 Allow gdb to recognize txvu-elf as a valid configuration. 1998-01-22 23:19:14 +00:00
Fred Fish 1476759b9c * .cvsignore: Remove *-info and *-install since they match
release-info and mpw-install, which we don't want to just ignore.
1998-01-22 22:48:02 +00:00
Fred Fish 34fddd75fa * gdb.base/break.exp (test_next_with_recursion): Remove
gdb_suppress_tests for d10v-*-*.
	* lib/gdb.exp (gdb_suppress_tests): Disable this function
	pending review of whether it is useful or not.
1998-01-22 22:13:07 +00:00
Fred Fish cee687386d * interp.c (UMEM_SEGMENTS): New define, set to 128.
(sim_size): Use UMEM_SEGMENTS rather than hardwired constant.
	(sim_close): Reset prog_bfd to NULL after closing it.  Also
	reset prog_bfd_was_opened_p after closing prog_bfd.
	(sim_load): Reset prog_bfd_was_opened_p after closing prog_bfd.
	(sim_create_inferior): Get start address from abfd not prog_bfd.
	(xfer_mem): Do bounds checking on addresses and return zero length
	read/write on bad addresses, rather than aborting.  Prepare to
	be able to handle xfers that cross segment boundaries, but not
	yet implemented.  Only emit debug message when d10v_debug is
	set as well as DEBUG being defined.
1998-01-22 21:51:31 +00:00
Ian Carmichael 34cf4e9aa6 * Incorporate GPR_SET() macro from mips/sim-main.h 1998-01-22 20:48:22 +00:00
Mark Alexander 6720fa27e3 Add dve.exp. 1998-01-22 18:37:04 +00:00
Mark Alexander ec151a0075 Fix sanitization errors. 1998-01-22 18:23:43 +00:00
Jeff Law 0186b09421 Add forgotten files. 1998-01-22 17:38:05 +00:00
Ian Lance Taylor 3d80840d8d * emultempl/pe.em (gld_${EMULATION_NAME}_set_symbols): When doing
a relocateable link, set the image base to 0, and don't define the
	various symbols.
	* emulparams/i386pe.sh (RELOCATEABLE_OUTPUT_FORMAT): Define.
	* scripttempl/pe.sc: Swap the .data and .bss sections so that
	.data comes first.  If doing a relocateable link, use
	RELOCATEABLE_OUTPUT_FORMAT if it is defined, and start the
	sections at 0, and don't define any symbols.
1998-01-22 05:02:50 +00:00
Ian Lance Taylor f5e23c73d7 * coff-i386.c (coff_i386_rtype_to_howto): If COFF_WITH_PE, don't
adjust addend for an output common symbol (from Jimmy Blair
 	<jimmyb@wrs.com>).  If COFF_WITH_PE, adjust addend for PC relative
 	defined symbol to counteract adjustment made in generic relocation
 	code.
1998-01-22 04:58:01 +00:00
Ian Lance Taylor d9dd8f2b2b * ldlang.c (lang_memory_default): Correct parenthisization of
expression.
1998-01-22 03:27:36 +00:00
Ian Lance Taylor f66ce2ff1a comment fix 1998-01-22 03:18:51 +00:00
Ian Lance Taylor a1535f42a8 tipoe 1998-01-22 02:32:28 +00:00
Ian Lance Taylor 08c825f94a tipoes 1998-01-22 02:27:29 +00:00
Ian Lance Taylor 44cb13f7e0 Wed Jan 21 21:24:08 1998 Manfred Hollstein <manfred@s-direktnet.de>
* gas/m88k/init.d: Fix hexadecimal offsets.
1998-01-22 02:25:14 +00:00
Ian Lance Taylor 1bea23ac1e Wed Jan 21 21:20:32 1998 Manfred Hollstein <manfred@s-direktnet.de>
* emultempl/sunos.em: Don't include sys/types.h and sys/stat.h
	here; they are included already via sysdep.h.
1998-01-22 02:22:03 +00:00
Ian Lance Taylor d73400505b * dwarf2.c: Include sysdep.h, not stdio.h and stdlib.h. 1998-01-22 02:19:35 +00:00
Ian Lance Taylor bc01e4a2eb * coff-m88k.c (GET_SCNDHR_NRELOC): Fix typo in macro name.
(GET_SCNDHR_NLNNO): Likewise.
1998-01-22 02:17:53 +00:00
Richard Henderson cc746b3ed5 * listing.c (file_info_struct): Remove FILE, add POS.
(last_open_file_info, last_open_file): New; a one entry FILE* cache.
	(file_info): Don't open the file.
	(buffer_line): Check for the file in the last_open cache, updating
	as necessary.
	(print_source): Don't reference file_info->file.
	(listing_listing): Likewise.
	(listing_print): Close the file in the cache, if any.
1998-01-22 00:50:17 +00:00
Andrew Cagney 2d44e12a27 Use macro GPR_SET(N,VAL) to clear zero registers. 1998-01-21 22:08:37 +00:00
Andrew Cagney 5a32e7eedb Delete bogus line in ChangeLog 1998-01-21 22:08:32 +00:00
Stan Shebs 4133151f13 * configure.tgt (i386-*-mach*, m88*-*-mach3*): Remove config
recognition, no source files for these (note that the i386 Mach
	is pre-Mach 3).
	(mips*-*-mach3*, ns32k-*-mach3*): Fix file names.
	* config/mips/mipsel64.mt: Remove, never referenced.
1998-01-21 03:01:47 +00:00
Michael Meissner e9ae18efdb #if 0 unused variable 1998-01-21 02:38:09 +00:00
Doug Evans 0820c2f8f9 checkpoint 1998-01-21 01:43:40 +00:00
Nick Clifton 775fdd0c3f Added opportunistic parallelisation of adjacent instructions. 1998-01-21 01:13:47 +00:00
Doug Evans 1a702a2431 checkpoint 1998-01-21 01:12:57 +00:00
Doug Evans 3e22d82025 checkpoint 1998-01-21 00:50:24 +00:00
Doug Evans 020ba60b39 checkpoint 1998-01-21 00:30:46 +00:00
Doug Evans d707219dc9 * reloc.c (BFD_RELOC_TXVU_11_PCREL): New reloc.
* bfd-in2.h: Regenerate.
	* libbfd.h: Regenerate.
	* elf32-txvu.c (txvu_elf_howto_table): Add entry for it.
	(txvu_reloc_map): Likewise.
1998-01-20 23:14:05 +00:00
Doug Evans d88f6e576f checkpoint 1998-01-20 23:05:37 +00:00
Nick Clifton 34a3df1d20 Fixed duplicate definition of h_accums field in fmt_53_sadd structure 1998-01-20 22:23:34 +00:00
Mark Alexander 4eb808df1e * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards. 1998-01-20 21:12:35 +00:00
Doug Evans 97a6824dd3 checkpoint 1998-01-20 20:24:40 +00:00
Doug Evans eb7168e5f5 checkpoint 1998-01-20 19:39:54 +00:00
Ian Carmichael 1035731b50 * Devices now get a issue() call.
*
* Modified Files:
* 	ChangeLog configure engine-sky.c hardware.h pke0.c pke0.h
* 	pke1.c pke1.h vu0.c vu0.h vu1.c vu1.h
1998-01-20 19:22:25 +00:00
Doug Evans 8ea2f96f9c checkpoint 1998-01-20 18:07:07 +00:00
Doug Evans 94188a771a Add m32rx sanitization for new files. 1998-01-20 10:43:37 +00:00
Doug Evans 8e42015266 * Makefile.in: Add m32rx objs, and rules to build them.
* cpux.h, decodex.h, decodex.c, readx.c, semx.c, modelx.c: New files.
	* m32rx.c, mloopx.in: New files.
1998-01-20 10:43:16 +00:00
Doug Evans d4feafa692 Regenerate. 1998-01-20 10:38:29 +00:00
Doug Evans 462cfbc4eb * aclocal.m4: Recognize --enable-maintainer-mode.
*/configure: Regenerated.
1998-01-20 06:37:00 +00:00
Doug Evans 2ddc0492e4 * arch-defs.h: Deleted.
* sem-switch.c: Regenerate.
1998-01-20 06:24:44 +00:00
Doug Evans 47d57be1db * cpu.h: New file. 1998-01-20 06:20:45 +00:00
Doug Evans 9d70630e0d Regenerate. 1998-01-20 06:18:51 +00:00
Doug Evans 369fba3089 * arch.c, arch.h, cpuall.h: New files.
* arch-defs.h: Deleted.
	* mloop.in: Renamed from mainloop.in.
	* sem.c: Renamed from semantics.c.
	* Makefile.in: Update.
	* sem-ops.h: Deleted.
	* mem-ops.h: Deleted.
start-sanitize-cygnus
	Add cgen support for generating files.
end-sanitize-cygnus
	(arch): Renamed from CPU.
	* decode.c: Redone.
	* decode.h: Redone.
	* extract.c: Redone.
	* model.c: Redone.
	* sem-switch.c: Redone.
	* sem.c: Renamed from semantics.c, and redone.
	* m32r-sim.h (PROFILE_COUNT_FILLNOPS): Update.
	(GETTWI,SETTWI,BRANCH_NEW_PC): Define.
	* m32r.c (WANT_CPU,WANT_CPU_M32R): Define.
	(m32r_{fetch,store}_register): New functions.
	(model_mark_{get,set}_h_gr): Prefix with m32r_.
	(m32r_model_mark_{busy,unbusy}_reg): Prefix with m32r_.
	(h_cr_{get,set}): Prefix with m32r_.
	(do_trap): Fetch state from current_cpu, not current_state.
	Call sim_engine_halt instead of engine_halt.
	* sim-if.c (alloc_cpu): New function.
	(free_state): New function.
	(sim_open): Call sim_state_alloc, and malloc space for selected cpu
	type.  Call sim_analyze_program.
	(sim_create_inferior): Handle selected cpu type when setting PC.
start-sanitize-m32rx
	(sim_resume): Handle m32rx.
end-sanitize-m32rx
	(sim_stop_reason): Deleted.
	(print_m32r_misc_cpu): Update.
start-sanitize-m32rx
	(sim_{fetch,store}_register): Handle m32rx.
end-sanitize-m32rx
	(sim_{read,write}): Deleted.
	(sim_engine_illegal_insn): New function.
	* sim-main.h: Don't include arch-defs.h,sim-core.h,sim-events.h.
	Include arch.h,cpuall.h.  Include cpu.h,decode.h if m32r.
start-sanitize-m32rx
	Include cpux.h,decodex.h if m32rx.
end-sanitize-m32rx
	(_sim_cpu): Include member appropriate cpu_data member for the cpu.
	(M32R_MISC_PROFILE): Renamed from M32R_PROFILE.
	(sim_state): Delete members core,events,halt_jmp_buf.
	Change `cpu' member to be a pointer to the cpu's struct, rather than
	record inside the state struct.
	* tconfig.in (WITH_DEVICES): Define here.
	(WITH_FAST,WITH_SEM_SWITCH_{FULL,FAST}): Define for the cpu.
1998-01-20 06:17:32 +00:00