aboutsummaryrefslogtreecommitdiff
path: root/sim/ChangeLog
AgeCommit message (Collapse)AuthorFilesLines
2009-01-06 * cris/traps.c (abort): Define to call sim_io_error.Hans-Peter Nilsson1-0/+17
(create_map): Make -1 imply a non-fixed address, not 0. All callers changed. Only prefer the next higher unmapped address if the last mapped address is no less than 0x40000000. Check that the address to be mapped is not already mapped. Update head comment. (unmap_pages): Don't call abort when recursive call fails, just note and return an error if a page in the range couldn't be unmapped. (cris_bmod_handler, h_supr_set_handler, h_supr_get_handler) (schedule, make_first_thread, cris_pipe_empty): New local variable sd. (cris_break_13_handler) <case TARGET_SYS_mmap2>: Handle non-MAP_FIXED argument overlapping existing map. For MAP_FIXED, don't abort on page not being mapped. Handle non-anon filemap with length padded to pagesize.
2009-01-03 * cris/sim-if.c (TARGET_AT_NULL, TARGET_AT_PHDR, TARGET_AT_PHENT)Hans-Peter Nilsson1-0/+10
(TARGET_AT_PHNUM, TARGET_AT_PAGESZ, TARGET_AT_BASE) (TARGET_AT_FLAGS, TARGET_AT_ENTRY, TARGET_AT_UID, TARGET_AT_EUID) (TARGET_AT_GID, TARGET_AT_EGID, TARGET_AT_HWCAP) (TARGET_AT_CLKTCK): Remove redundant macros. (AUX_ENT): Adjust to use standard ELF AT_* macros. (AUX_ENTF): Ditto. Remove always-0 middle argument. Update all callers. (sim_open): Also pass AT_SECURE.
2009-01-03 * cris/sim-main.h (struct _sim_cpu): New memberHans-Peter Nilsson1-0/+10
set_target_thread_data. * cris/crisv32f.c (CRIS_TLS_REGISTER): Define. * cris/crisv10f.c: Ditto. * cris/cris-tmpl.c (MY (set_target_thread_data)): New function. (MY (f_specific_init)): Set new _sim_cpu member to new function. * cris/traps.c (TARGET_SYS_set_thread_area): Define. (cris_break_13_handler) <case TARGET_SYS_set_thread_area>: New case.
2009-01-03 * cris/traps.c (TARGET_SYS_exit_group): Define.Hans-Peter Nilsson1-0/+4
(cris_break_13_handler): Handle it like the exit for the last thread.
2009-01-03 * cris/traps.c (TARGET_UTSNAME): Update to 2009-01-01.Hans-Peter Nilsson1-1/+8
(TARGET_EPOCH): Update to match TARGET_UTSNAME. Correct comment. (cris_break_13_handler) <case TARGET_SYS_uname>: Update to 2.6.27. Set machine field to the BFD printable name of the machine.
2009-01-03 * cris/traps.c (TARGET_MAP_DENYWRITE): Define.Hans-Peter Nilsson1-0/+3
<case TARGET_SYS_mmap2>: Handle TARGET_MAP_DENYWRITE.
2009-01-03 * cris/traps.c (TARGET_SYS_access, TARGET_R_OK, TARGET_W_OK)Hans-Peter Nilsson1-0/+4
(TARGET_X_OK, TARGET_F_OK): Define. (cris_break_13_handler) <case TARGET_SYS_access>: New case.
2009-01-03 * cris/semcrisv32f-switch.c: Regenerate.Hans-Peter Nilsson1-0/+4
2008-12-30 * cris/sim-if.c (sim_open): If sim_analyze_program fails, emitHans-Peter Nilsson1-0/+4
just a short CRIS-specific notice. Tweak the wording for a failing architecture test.
2008-12-30 * cris/traps.c (TARGET_SYS_writev): New macro.Hans-Peter Nilsson1-0/+9
(is_mapped_only, cris_dump_map): New functions. (cris_break_13_handler) <case TARGET_SYS_mmap2>: Handle more flags and prot combinations and a non-zero page-offset. If TARGET_MAP_FIXED, unmap pages before mapping them. <case TARGET_SYS_mprotect>: When checking, allow any length argument. Don't actually do anything. <case TARGET_SYS_writev>: New case.
2008-12-30 * cris/Makefile.in (SIM_OBJS): Remove sim-hload.o.Hans-Peter Nilsson1-0/+23
* cris/sim-if.c: Include elf-bfd.h. (struct progbounds): New members end_loadmem, start_nonloadmem. (xprintf, eprintf): New functions, copied from common/sim-load.c. (cris_load_elf_file, sim_load, cris_get_progbounds): New functions. (get_progbounds_iterator): Renamed from get_progbounds. Make static. Update head comment. Set new struct progbounds members. (exec_load_addr, interp_load_addr, interp_start_addr): New static variables. (aux_ent_phdr, aux_ent_phent, aux_ent_phnum, aux_ent_base) (aux_ent_entry, cris_write_interp, cris_handle_interpreter): New functions. (sim_open): New constant array auxv_entries. Rewrite AUX_ENT handling to use auxv_entries. Improve error message and checking for invalid programs. Use new variable abfd for the program instead of for each access reaching into sd to get it. (sim_create_inferior): If non-zero, use interp_start_addr instead of the program start address. (cris_disassemble_insn): Remove incorrect and unclear, supposedly stale comment. Always specify little-endian.
2008-07-29 * common/genmloop.sh: Add new parameter: -shell to specify theNick Clifton1-0/+16
command interpreter to use to run the input file. This is necessary because otherwise SHELL is taken from the user's environment, and not from the makefile that invoked this script and the user might not be running an sh-like shell. * cris/Makefile.in: Pass -shell parameter to genmloop.sh. * fr30/Makefile.in: Likewise. * frv/Makefile.in: Likewise. * i960/Makefile.in: Likewise. * iq2000/Makefile.in: Likewise. * m32r/Makefile.in: Likewise. * frv/mloop.in: Add missing start of line comment marker.
2008-07-11 * cris/configure: Regenerate to track ../common/common.m4 changes.Hans-Peter Nilsson1-0/+5
* cris/config.in: Ditto.
2008-06-07sim:Joseph Myers1-0/+6
2008-06-06 Vladimir Prus <vladimir@codesourcery.com> Daniel Jacobowitz <dan@codesourcery.com> Joseph Myers <joseph@codesourcery.com> * cris/configure: Regenerate. sim/common: 2008-06-06 Vladimir Prus <vladimir@codesourcery.com> Daniel Jacobowitz <dan@codesourcery.com> Joseph Myers <joseph@codesourcery.com> * aclocal.m4: Include ../../config/acx.m4. * common.m4: Use ACX_PKGVERSION and ACX_BUGURL. * configure, config.in: Regenerate. * Make-common.in (LIB_OBJS): Add version.o. (version.c, version.o): New rules. * run.c: Include version.h. (usage): Add help parameter. Print output either to stdout or stderr depending on that parameter. (print_version): New. (main): Check for --help and --version. * run-sim.h (sim_target_display_usage): Add help parameter. * version.h: New. sim/arm: 2008-06-06 Vladimir Prus <vladimir@codesourcery.com> Daniel Jacobowitz <dan@codesourcery.com> Joseph Myers <joseph@codesourcery.com> * configure: Regenerate. * wrapper.c (sim_target_display_usage): Add help parameter. sim/cr16: 2008-06-06 Vladimir Prus <vladimir@codesourcery.com> Daniel Jacobowitz <dan@codesourcery.com> Joseph Myers <joseph@codesourcery.com> * configure: Regenerate. sim/d10v: 2008-06-06 Vladimir Prus <vladimir@codesourcery.com> Daniel Jacobowitz <dan@codesourcery.com> Joseph Myers <joseph@codesourcery.com> * configure: Regenerate. sim/erc32: 2008-06-06 Vladimir Prus <vladimir@codesourcery.com> Daniel Jacobowitz <dan@codesourcery.com> Joseph Myers <joseph@codesourcery.com> * configure: Regenerate. sim/frv: 2008-06-06 Vladimir Prus <vladimir@codesourcery.com> Daniel Jacobowitz <dan@codesourcery.com> Joseph Myers <joseph@codesourcery.com> * configure: Regenerate. sim/h8300: 2008-06-06 Vladimir Prus <vladimir@codesourcery.com> Daniel Jacobowitz <dan@codesourcery.com> Joseph Myers <joseph@codesourcery.com> * configure: Regenerate. sim/iq2000: 2008-06-06 Vladimir Prus <vladimir@codesourcery.com> Daniel Jacobowitz <dan@codesourcery.com> Joseph Myers <joseph@codesourcery.com> * configure: Regenerate. sim/m32c: 2008-06-06 Vladimir Prus <vladimir@codesourcery.com> Daniel Jacobowitz <dan@codesourcery.com> Joseph Myers <joseph@codesourcery.com> * configure: Regenerate. sim/m32r: 2008-06-06 Vladimir Prus <vladimir@codesourcery.com> Daniel Jacobowitz <dan@codesourcery.com> Joseph Myers <joseph@codesourcery.com> * configure: Regenerate. sim/m68hc11: 2008-06-06 Vladimir Prus <vladimir@codesourcery.com> Daniel Jacobowitz <dan@codesourcery.com> Joseph Myers <joseph@codesourcery.com> * configure: Regenerate. sim/mcore: 2008-06-06 Vladimir Prus <vladimir@codesourcery.com> Daniel Jacobowitz <dan@codesourcery.com> Joseph Myers <joseph@codesourcery.com> * configure: Regenerate. sim/mips: 2008-06-06 Vladimir Prus <vladimir@codesourcery.com> Daniel Jacobowitz <dan@codesourcery.com> Joseph Myers <joseph@codesourcery.com> * configure: Regenerate. sim/mn10300: 2008-06-06 Vladimir Prus <vladimir@codesourcery.com> Daniel Jacobowitz <dan@codesourcery.com> Joseph Myers <joseph@codesourcery.com> * configure: Regenerate. sim/ppc: 2008-06-06 Vladimir Prus <vladimir@codesourcery.com> Daniel Jacobowitz <dan@codesourcery.com> Joseph Myers <joseph@codesourcery.com> * configure.ac: Use ACX_PKGVERSION and ACX_BUGURL. * configure, config.in: Regenerated. * Makefile.in (LIB_OBJ): Add version.o. (version.c, version.o): New rules. * psim.c (psim_usage): Add help parameter. Print the bug URL. Exit with code 0 for help. (psim_options): Update calls to psim_usage. Handle --help and --version. * psim.h (psim_usage): Update prototype. * main.c (main): Update psim_usage call. sim/sh: 2008-06-06 Vladimir Prus <vladimir@codesourcery.com> Daniel Jacobowitz <dan@codesourcery.com> Joseph Myers <joseph@codesourcery.com> * configure: Regenerate. sim/sh64: 2008-06-06 Vladimir Prus <vladimir@codesourcery.com> Daniel Jacobowitz <dan@codesourcery.com> Joseph Myers <joseph@codesourcery.com> * configure: Regenerate. sim/v850: 2008-06-06 Vladimir Prus <vladimir@codesourcery.com> Daniel Jacobowitz <dan@codesourcery.com> Joseph Myers <joseph@codesourcery.com> * configure: Regenerate.
2008-05-09 * ppc/altivec.igen (vperm): Latch inputs into temporaries.Joel Brobecker1-0/+4
2008-04-08Modified Files:M R Swami Reddy1-0/+7
ChangeLog: Add simulator for National cr16 processor. * cr16: New directory with cr16 simulator files. * configure.ac: Add an entry for National cr16 target. * configure: Regenerate.
2008-04-08Updated the MAINTAINERS file: Add myself as maintainer of cr16 port.M R Swami Reddy1-0/+4
2008-02-06Index: ChangeLogDJ Delorie1-0/+5
* configure.ac (v850): V850 now has a testsuite. * configure (v850): Likewise. Index: testsuite/ChangeLog * sim/v850/: New directory. * sim/v850/allinsns.exp: New. * sim/v850/bsh.cgs: New. * sim/v850/div.cgs: New. * sim/v850/divh.cgs: New. * sim/v850/divh_3.cgs: New. * sim/v850/divhu.cgs: New. * sim/v850/divu.cgs: New. * sim/v850/sar.cgs: New. * sim/v850/satadd.cgs: New. * sim/v850/satsub.cgs: New. * sim/v850/satsubi.cgs: New. * sim/v850/satsubr.cgs: New. * sim/v850/shl.cgs: New. * sim/v850/shr.cgs: New. * sim/v850/testutils.cgs: New. * sim/v850/testutils.inc: New. Index: v850/ChangeLog * simops.c (OP_C0): Correct saturation logic. (OP_220): Likewise. (OP_A0): Likewise. (OP_660): Likewise. (OP_80): Likewise. * simops.c (OP_2A0): If the shift count is zero, clear the carry. (OP_A007E0): Likewise. (OP_2C0): Likewise. (OP_C007E0): Likewise. (OP_280): Likewise. (OP_8007E0): Likewise. * simops.c (OP_2C207E0): Correct PSW flags for special divu conditions. (OP_2C007E0): Likewise, for div. (OP_28207E0): Likewise, for divhu. (OP_28007E0): Likewise, for divh. Also, sign-extend the correct operand. * v850.igen (divh): Likewise, for 2-op divh. * v850.igen (bsh): Fix carry logic.
2008-01-01 Updated copyright notices for most files.Daniel Jacobowitz1-0/+4
2007-12-19* frv/frv.c (frvbf_cut): Only look at the six LSBs ofDJ Delorie1-0/+5
cut_point.
2007-10-22 * cris/arch.c, cris/arch.h, cris/cpuall.h, cris/cpuv10.c,Hans-Peter Nilsson1-0/+9
cris/cpuv10.h, cris/cpuv32.c, cris/cpuv32.h, cris/cris-desc.c, cris/cris-desc.h, cris/cris-opc.h, cris/decodev10.c, cris/decodev10.h, cris/decodev32.c, cris/decodev32.h, cris/modelv10.c, cris/modelv32.c, cris/semcrisv10f-switch.c, cris/semcrisv32f-switch.c: Regenerate.
2007-08-24 Switch the license of all files explicitly copyright the FSFJoel Brobecker1-0/+5
to GPLv3.
2007-03-27Add "make pdf" and "make install-pdf", from Brooks MosesDaniel Jacobowitz1-0/+4
<brooks.moses@codesourcery.com>.
2007-02-20 * cris/traps.c (dump_statistics): Change format for cycle numbersHans-Peter Nilsson1-0/+5
to %llu and cast parameters to unsigned long long.
2007-02-16 * Makefile.in (FLAGS_TO_PASS, TARGET_FLAGS_TO_PASS): Add RUNTEST.Thiemo Seufer1-0/+4
2007-01-292007-01-28 Manuel Lauss <slauss@resi.at>Mike Frysinger1-0/+6
* configure.ac (sh64-*-*): Change to sh64*-*-*. (sh-*-*): Change to sh*-*-*. * configure: Regenerated.
2007-01-10Add changelog entries for copyright updates.Daniel Jacobowitz1-0/+4
2006-12-21 * Makefile.in (autoconf-common autoheader-common): Only runHans-Peter Nilsson1-0/+3
autoheader on subdirs with a file config.in.
2006-12-21 * configure.ac (common): Make the default "yes" for all targetsHans-Peter Nilsson1-0/+4
with sim subdirs. * configure: Regenerate.
2006-12-20 * Makefile.in (autoconf-common autoheader-common): In documentedHans-Peter Nilsson1-0/+4
usage, say SHELL=/bin/sh. (.PHONY): Add autoheader-common.
2006-12-20 * MAINTAINERS: Add self as authorized committer for *.Hans-Peter Nilsson1-0/+4
2006-10-02 * cris/cris-sim.h (enum cris_unknown_syscall_action_type)Hans-Peter Nilsson1-0/+16
(cris_unknown_syscall_action): Declare. * cris/sim-if.c (cris_unknown_syscall_action): Define. (cris_options): Add cris-unknown-syscall option. (cris_option_handler): Correct comment about and error message for invalid --cris-cycles argument. Handle --cris-unknown-syscall. * cris/traps.c: Include stdarg.h (cris_unknown_syscall): New function. (cris_break_13_handler): Instead of sim_io_eprintf and sim_engine_halt, call cris_unknown_syscall to handle more or less unknown syscalls. Adjust code as necessary to handle return value.
2006-10-01 * MAINTAINERS: Add Dave Brolley for sh64.Daniel Jacobowitz1-0/+4
2006-09-30 * cris/traps.c (TARGET_PIPE_BUF): New macro.Hans-Peter Nilsson1-0/+7
(cris_pipe_empty): Correct initialization of "remaining". Only adjust the "write" return value if more than TARGET_PIPE_BUF bytes are written.
2006-09-29 * cris/configure.ac: Check for limits.h and sys/param.h.Hans-Peter Nilsson1-0/+7
* cris/configure, cris/config.in: Rebuild. * cris/traps.c (SIM_PATHMAX): New macro. (cris_break_13_handler): Use SIM_PATHMAX, not MAXPATHLEN.
2006-08-08gdb/Daniel Jacobowitz1-0/+6
* config/sparc/embed.mt: New file. * configure.tgt (sparc-*-rtems*): Use embed.mt. sim/ * configure.ac (sparc-*-rtems*|sparc-*-elf*): Enable erc32 simulator. * Makefile.in (FLAGS_TO_PASS): Include libdir. * configure: Regenerated. sim/erc32/ * Makefile.in (func.o, help.o): Correct dependencies. * Makefile.in (install-sis): Honor DESTDIR.
2006-06-05common/Daniel Jacobowitz1-0/+4
* aclocal.m4: Use ZW_GNU_GETTEXT_SISTER_DIR. most subdirs/ * configure: Regenerated.
2006-05-31Configury changes: update src repository (binutils, gdb, and rda) to useDaniel Jacobowitz1-0/+4
config/gettext-sister.m4 instead of the old gettext.m4. Regenerate all affected autotools files. Include intl in gdb releases again.
2006-05-05sim/:Andreas Schwab1-0/+9
* configure.ac (CFLAGS_FOR_BUILD): Set and substitute. * configure: Regenerate. * Makefile.in (CFLAGS_FOR_BUILD): Define. (CC_FOR_BUILD): Don't override. (FLAGS_TO_PASS): Pass CFLAGS_FOR_BUILD. sim/ppc/: * configure.ac (CFLAGS_FOR_BUILD): Set and substitute. * configure: Regenerate. * Makefile.in (CFLAGS_FOR_BUILD): Define. (BUILD_CFLAGS): Use it instead of hardcoding "-g -O". (gentmap): Fix typo BUILD_FLAGS -> BUILD_CFLAGS.
2006-05-04 * MAINTAINERS: Add an "Authorized committers" section, and listDaniel Jacobowitz1-0/+5
DJ Delorie for v850.
2006-04-08 * cris/crisv32f.c (MY (deliver_interrupt)): Set CCS to new_ccs.Hans-Peter Nilsson1-0/+4
2006-04-03 * cris/dv-cris.c, cris/dv-rv.c, cris/rvdummy.c: New files.Hans-Peter Nilsson1-0/+31
* cris/Makefile.in (CONFIG_DEVICES): Remove redundant setting. (dv-cris.o, dv-rv.o rvdummy$(EXEEXT), rvdummy.o): New rules. (all): Depend on rvdummy$(EXEEXT). * cris/configure.ac: Call SIM_AC_OPTION_WARNINGS. Check for sys/socket.h and sys/select.h. Call SIM_AC_OPTION_HARDWARE, default off. * cris/configure: Regenerate. * cris/cris-sim.h (cris_have_900000xxif): Declare here. (enum cris_interrupt_type, crisv10deliver_interrupt) (crisv32deliver_interrupt: New declarations. * cris/cris-tmpl.c [WITH_HW] (MY (f_model_insn_after)): Call sim_events_tickn and set state-events member work_pending when it's time for the next event. [WITH_HW] (MY (f_specific_init)): Set CPU-model-specific interrupt-delivery function. * cris/crisv10f.c (MY (deliver_interrupt)): New function. * cris/crisv32f.c (MY (deliver_interrupt)): New function. * cris/devices.c: Include hw-device.h. (device_io_read_buffer) [WITH_HW]: Call hw_io_read_buffer. (device_io_write_buffer): Only perform 0x900000xx-functions if cris_have_900000xxif is nonzero. Else if WITH_HW defined, call hw_io_write_buffer. Add return 0 last in function. * cris/sim-if.c (cris_have_900000xxif): Now global. (sim_open) [WITH_HW]: Clear deliver_interrupt cpu member. Force "-model" option, effectively. * cris/sim-main.h (cris_interrupt_delivery_fn): New type. (struct _sim_cpu) [WITH_HW]: New member deliver_interrupt.
2006-04-02 * cris/Makefile.in (CRISV10F_OBJS): Remove semcrisv10f-switch.o.Hans-Peter Nilsson1-0/+6
(CRISV32F_OBJS): Remove semcrisv32f-switch.o. (semcrisv10f-switch.o, semcrisv32f-switch.o: Remove dependency rules.
2006-03-14* MAINTAINERS: Add self as m32c sim maintainer.DJ Delorie1-0/+4
2006-02-23 * cris/traps.c (syscall_map): Remove CB_SYS_time / TARGET_SYS_timeHans-Peter Nilsson1-0/+6
mapping. (cris_break_13_handler) <case TARGET_SYS_time>: New case.
2006-01-23sim/ChangeLog:Jim Blandy1-0/+8
2005-10-06 Jim Blandy <jimb@redhat.com> Add simulator for Renesas M32C and M16C. * m32c: New directory. * configure.ac: Add entry for Renesas M32C. * configure: Regenerate. sim/m32c/ChangeLog: 2005-10-06 Jim Blandy <jimb@redhat.com> Simulator for Renesas M32C and M16C, by DJ Delorie <dj@redhat.com>, with further work from Jim Blandy <jimb@redhat.com> and Kevin Buettner <kevinb@redhat.com>. * ChangeLog: New. * Makefile.in: New. * blinky.S: New. * config.in: New. * configure: New. * configure.in: New. * cpu.h: New. * gdb-if.c: New. * gloss.S: New. * int.c: New. * int.h: New. * load.c: New. * load.h: New. * m32c.opc: New. * main.c: New. * mem.c: New. * mem.h: New. * misc.c: New. * misc.h: New. * opc2c.c: New. * r8c.opc: New. * reg.c: New. * safe-fgets.c: New. * safe-fgets.h: New. * sample.S: New. * sample.ld: New. * sample2.c: New. * srcdest.c: New. * syscalls.c: New. * syscalls.h: New. * trace.c: New. * trace.h: New.
2006-01-10Now saved ChangeLog for previous entry.Hans-Peter Nilsson1-1/+2
2006-01-10 * cris/cris-tmpl.c (MY (f_model_insn_before)): Only display basicHans-Peter Nilsson1-0/+4
cycle count for the current insn.
2005-12-07Add missing ChangeLog entryHans-Peter Nilsson1-0/+7
2005-12-05 * cris/arch.c, cris/arch.h, cris/cpuall.h, cris/cpuv10.c,Hans-Peter Nilsson1-0/+9
cris/cpuv10.h, cris/cpuv32.c, cris/cpuv32.h, cris/cris-desc.c, cris/cris-desc.h, cris/cris-opc.h, cris/decodev10.c, cris/decodev10.h, cris/decodev32.c, cris/decodev32.h, cris/modelv10.c, cris/modelv32.c, cris/semcrisv10f-switch.c, cris/semcrisv32f-switch.c: Regenerate.