Commit Graph

22849 Commits

Author SHA1 Message Date
Doug Evans
b4cbaee405 * m32r-sim.h (M32R_MISC_PROFILE): New members insn_cycles, cti_stall,
load_stall,biggest_cycles.
	* m32r.c (m32r_model_mark_get_h_gr): Update.
	(m32r_model_init_insn_cycles,m32r_model_update_insn_cycles): New fns.
	(m32r_model_record_cti,m32r_model_record_cycles): New functions.
	* mloop.in: Call cycle init/update fns.
	* model.c: Regenerate.
	* m32rx.c (m32rx_model_mark_get_h_gr): Update.
	* mloopx.in: Call cycle init/update fns.
	* modelx.c: Regenerate.
1998-06-13 14:56:28 +00:00
Doug Evans
403bed787e * cgen-trace.c (trace_insn_fini): Redo cycle handling.
* sim-profile.h (PROFILE_DATA): Rename cycle handling members.
	* sim-profile.c (profile_print_model): Update.
1998-06-13 14:47:51 +00:00
Doug Evans
7beb913807 emulparams/m32relf.sh: Back out INPUT_FILES change. libgcc1-test fails. 1998-06-13 05:38:21 +00:00
Doug Evans
af2b0c8593 * gennltvals.def (m32r): Use common syscall.h now.
(mn10300): Add entry.
	* nltvals.def: Regenerate.
1998-06-13 01:39:44 +00:00
Doug Evans
695bc2ee12 * scripttempl/elf.sc (INPUT_FILES): Optional INPUT spec.
* emulparams/m32relf.sh (INPUT_FILES): Define.
	(OTHER_RELOCATING_SECTIONS): Change top of stack to 8MB.
1998-06-13 00:53:24 +00:00
Ian Lance Taylor
030bf387cc rebuild 1998-06-12 23:41:52 +00:00
Ian Lance Taylor
7e41967244 * Makefile.am (HFILES): Remove config.h.
(EMULATION_OFILES, POTFILES): Move patch of May 14 from
	Makefile.in to Makefile.am.
	(earmcoff.c): Depend upon armcoff.em, not generic.em.
	* po/Make-in (all-yes): Correct misspelling in $(PACKAGE).
	($(srcdir)/$(PACKAGE).pot): Pass -C to $(XGETTEXT).
	* Makefile.in, po/POTFILES.in, po/ld.pot: Rebuild.
1998-06-12 23:36:05 +00:00
Ian Lance Taylor
5cd989d5af rebuild 1998-06-12 23:13:41 +00:00
Tom Tromey
3d935b64eb * po/Make-in (all-yes): If maintainer mode, depend on .pot file.
($(PACKAGE).pot): Unconditionally depend on POTFILES.
1998-06-12 22:39:34 +00:00
Tom Tromey
27a0ce8805 * po/Make-in (all-yes): If maintainer mode, depend on .pot file.
($(PACKAGE).pot): Unconditionally depend on POTFILES.
1998-06-12 22:32:29 +00:00
Tom Tromey
365fac52c2 * po/Make-in (all-yes): If maintainer mode, depend on .pot file.
($(PACKAGE).pot): Unconditionally depend on POTFILES.
1998-06-12 22:25:09 +00:00
Jason Molenda
1512548423 Fri Jun 12 14:22:55 1998 Jason Molenda (crash@bugshack.cygnus.com)
* configure.in (LIBS): Add -lw to the list of libraries if needed.

-lw needed on Solaris to get wctype().  wctype() needed by new gnu-regex.c.
1998-06-12 21:23:44 +00:00
Syd Polk
b0dae4d786 Fri Jun 12 14:03:34 1998 Syd Polk <spolk@cygnus.com>
* Makefile.in: all-snavigator needs all-libgui.
1998-06-12 21:04:33 +00:00
Michael Meissner
1e3d6cc401 Make sure .gcc_except_table fits in the section header table 1998-06-12 21:00:00 +00:00
Michael Meissner
a09db9ba57 Add PowerPC support to readelf; Print machine specific flags; Print endianess; Make widening more portable 1998-06-12 20:50:03 +00:00
Joyce Janczyn
55a7ce4ea8 Fri June 12 16:24:00 1998 Joyce Janczyn <janczyn@cygnus.com>
* dv-mn103iop.c: New file for handling am32 io ports.
	* configure.in: Add mn103iop to hw_device list.
	* configure: Re-generate.
	* interp.c (sim_open): Create io port device.
1998-06-12 20:46:23 +00:00
Doug Evans
37fcafe682 * elf.c (swap_out_syms): New arg relocatable_p.
Don't add section VMA to symbols for relocatable output.
	(_bfd_elf_compute_section_file_positions): Update call to
	swap_out_syms.
1998-06-12 20:37:40 +00:00
Joyce Janczyn
199cb74149 Add dv-mn103iop. 1998-06-12 20:15:43 +00:00
Doug Evans
68096722d9 * sim-engine.c (sim_engine_get_run_state): New function.
* sim-engine.h (sim_engine_get_run_state): Declare it.
1998-06-12 20:08:50 +00:00
Joyce Janczyn
64d4b21972 New file for handling mn1030002 io ports. 1998-06-12 20:07:33 +00:00
Joyce Janczyn
c7dd0ea6bc Add dv-mn103iop.c to list of files to sanitize out. 1998-06-12 20:05:08 +00:00
Vladimir Makarov
a85e84c530 PR15067 1998-06-12 19:54:28 +00:00
Doug Evans
79259a91a3 * config/tc-dvp.c (create_vuoverlay_section): Don't set a non-zero
section vma.
1998-06-12 19:49:54 +00:00
Vladimir Makarov
9b8eef07ef PR15067 1998-06-12 19:42:17 +00:00
Patrick Macdonald
ff94f10401 * interp.c: added call to sky_command_options_end() to close
any open file handles before exiting
	* sky-gpuif.[c|h]: add disassembly on the fly code, log and log
	file option support
	* sky-gdb.[c|h] (sky_command_options_close()): new function, added
	some body to the log and log file option sections
1998-06-12 18:58:26 +00:00
Ian Lance Taylor
80ade9931a Fri Jun 12 11:04:06 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Fix problems when bfd_vma is wider than long.
	* i386-dis.c: Make op_address and start_pc unsigned.
	(set_op): Make parameter unsigned.
	(print_insn_x86): Cast to bfd_vma when passing a value to
	print_address_func.
	* ns32k-dis.c (CORE_ADDR): Don't define.
 	(print_insn_ns32k): Change type of addr to bfd_vma.  Use
	bfd_scan_vma to read back address.
	(print_insn_arg): Change type of addr to bfd_vma.  Use sprintf_vma
	to format it.
	* m68k-dis.c (COERCE32): Cast to bfd_signed_vma to avoid overflow.
	(NEXTULONG): New definition.
	(print_insn_m68k): Avoid overflow when computing third argument of
	print_insn_arg.
	(print_insn_arg): Use NEXTULONG to fetch 32 bit address values.
	Use disp instead of val to store offset values.
	(print_indexed): Use base_disp instead of word to store base
	displacement, to avoid overflow.
	* m10300-dis.c (disassemble): Cast value to long when computing
	pc-relative address, to get correct sign extension.
1998-06-12 15:13:28 +00:00
Doug Evans
1be932424c * Makefile.in (stamp-{arch,cpu,decode}): Pass CGEN_FLAGS_TO_PASS
to recursive makes.
	(stamp-{xcpu,xdecode}): Ditto.
1998-06-12 06:40:41 +00:00
Mark Alexander
529fce814e * configure.in: Add cygmon and libstub support for mn10300. 1998-06-12 02:47:09 +00:00
Doug Evans
b8f9289f19 * lib/sim-defs.exp (sim_run): Argument env_vals renamed to options,
which is now a list of options controlling the behaviour of sim_run.
	* sim/sky/sky-defs.tcl (run_trc_test): Update to new way of
	environment variables to sim_run.
1998-06-12 01:08:57 +00:00
Doug Evans
2a62c9b87b * lib/sim-defs.exp (sim_run): Argument env_vals renamed to options,
which is now a list of options controlling the behaviour of sim_run.
1998-06-12 01:08:26 +00:00
Nick Clifton
c18f8aef72 Fix sunOS build of readelf.
Fixed -Wall warnigs when built under Linux.
1998-06-12 00:56:39 +00:00
Nick Clifton
29830d737e Adjust tests and results after applying patch for PR12542 1998-06-11 23:52:11 +00:00
Nick Clifton
671cdc7eaa Fix for PR12542 - if check_range is passed a constant for a shifted operand,
shift the constant first.
1998-06-11 23:51:16 +00:00
Nick Clifton
d32f7037b2 Fix for PR11938 - display suitable error messages for bogus .byte, .short and .quad directives. 1998-06-11 22:58:05 +00:00
Doug Evans
bee3033d5a * sim/sky/sky-defs.tcl (run_brn_test): Fix handling of dvpasm_flags. 1998-06-11 22:52:40 +00:00
Doug Evans
cfedac2213 * sim/sky/sky-defs.tcl (run_brn_test): Fix `options' arg to
sim_compile.
1998-06-11 22:50:51 +00:00
Doug Evans
42d9651198 (sim_compile): Tweak output text. 1998-06-11 22:49:25 +00:00
Ian Lance Taylor
1075246d73 * stabs.c (struct stab_handle): Add self_crossref field.
(parse_stab_string): If a tag is a cross reference to itself,
	don't define it in the tags list.
	(parse_stab_type): Set info->self_crossref.

	* debug.c (struct debug_type_real_list): Define.
	(debug_get_real_type): Add list parameter.  Change all callers.
	Check for circularity to avoid crashing when it occurs.
1998-06-11 22:45:08 +00:00
Nick Clifton
f4792b683c Ooops - forgopt to check this in with the previous delta! 1998-06-11 22:32:44 +00:00
Doug Evans
21ba2ab4c6 * sim/sky/vu.h (VU0_MEM1_WINDOW_START): New macro.
(VU0_MEM1_SIZE): New macro.
1998-06-11 22:28:03 +00:00
Doug Evans
072ba14861 * sim/sky/vu01reg-main.c: New file.
* sim/sky/vu01reg.dvpasm: New file.
	* sim/sky/vu01reg.brn: New file.
1998-06-11 22:27:01 +00:00
Jason Molenda
46ccc6bfc9 Thu Jun 11 15:05:10 1998 Jason Molenda (crash@bugshack.cygnus.com)
* btowc.c: Removed.
        * configure.in: Don't see if we need to replace btowc().
        * Makefile.in: Don't include LIBOBJS.
        * configure: Regenerated.
        * gnu-regex.c (regex_compile): Only support i18n [:foo:] if
        we have btowc().
1998-06-11 22:08:46 +00:00
Nick Clifton
764668738f Add 'readelf' to binutils. 1998-06-11 21:51:56 +00:00
Nick Clifton
e2a15d35a8 Add more checks for NULL pointers. 1998-06-11 16:14:19 +00:00
Nick Clifton
4250a53291 Fix for PR 16143 - set SEC_COMMON bit on .scommon, .zcommon and .tcommon sections. 1998-06-11 15:58:53 +00:00
Frank Ch. Eigler
95caab7df2 * Moving some sky-specific ChangeLog entries into ChangeLog.sky 1998-06-11 13:50:28 +00:00
Doug Evans
169c74762a * sim-core.h (SIM_CORE_SIGNAL_FN): New typedef.
* sim-core.c (sim_core_signal): Make extern, always define.
1998-06-11 07:55:29 +00:00
Doug Evans
a28ad776ad Regenerate, gets a_m32r_trap -> m32r_trap renaming. 1998-06-11 01:19:28 +00:00
Doug Evans
83e4ce8df2 * m32r-sim.h (m32r_trap): Declare. 1998-06-11 01:18:13 +00:00
Doug Evans
496cf06b76 * Makefile.in (SIM_OBJS): Add traps.o 1998-06-11 01:06:05 +00:00