3 * MAINTAINERS (aarch64): Update my email address.
7 * configure.ac: Honor existing CC_FOR_BUILD in environment.
8 * configure: Regenerate.
12 * MAINTAINTERS (aarch64): Add myself.
16 * MAINTAINERS (Maintainers for particular sims): Add myself as
21 * MAINTAINERS (Past sim maintainers): Add Thiemo Seufer.
25 * configure.ac: Delete sim_common check and the
26 AC_CONFIG_SUBDIRS(common) call.
27 * configure: Regenerate.
28 * configure.tgt (sim_common): Delete the variable.
32 * .gitignore: Delete /common/cconfig.h entry.
36 * MAINTAINERS: Add myself as AArch64 sim maintainer.
40 * aarch64/simulator.c: Remove syscall.h include.
44 * README-HACKING: Delete mention of tconfig.h.
48 * configure.tgt: Add aarch64 entry.
49 * configure: Regenerate.
53 * configure.ac (AC_ARG_ENABLE(sim)): Call AS_HELP_STRING.
54 * configure: Regenerate.
58 * README-HACKING: Change configure.in to configure.ac.
62 * arm/configure: Regenerated.
63 * avr/configure: Likewise.
64 * bfin/configure: Likewise.
65 * common/configure: Likewise.
66 * cr16/configure: Likewise.
67 * cris/configure: Likewise.
68 * d10v/configure: Likewise.
69 * erc32/configure: Likewise.
70 * frv/configure: Likewise.
71 * ft32/configure: Likewise.
72 * h8300/configure: Likewise.
73 * igen/configure: Likewise.
74 * iq2000/configure: Likewise.
75 * lm32/configure: Likewise.
76 * m32c/configure: Likewise.
77 * m32r/configure: Likewise.
78 * m68hc11/configure: Likewise.
79 * mcore/configure: Likewise.
80 * microblaze/configure: Likewise.
81 * mips/configure: Likewise.
82 * mn10300/configure: Likewise.
83 * moxie/configure: Likewise.
84 * msp430/configure: Likewise.
85 * ppc/configure: Likewise.
86 * rl78/configure: Likewise.
87 * rx/configure: Likewise.
88 * sh/configure: Likewise.
89 * sh64/configure: Likewise.
90 * v850/configure: Likewise.
94 * common/Make-common.in (CSEARCH): Remove $(ZLIBINC).
95 (BFD_LIB): Remove $(ZLIB).
96 (CONFIG_LIBS): Add $(ZLIB).
97 * ppc/Makefile.in (ZLIBINC): Removed.
98 (INCLUDES): Remove $(ZLIBINC).
99 (BFD_LIB): Remove $(ZLIB).
103 * arm/configure: Regenerated.
104 * avr/configure: Likewise.
105 * bfin/configure: Likewise.
106 * common/configure: Likewise.
107 * cr16/configure: Likewise.
108 * cris/configure: Likewise.
109 * d10v/configure: Likewise.
110 * erc32/configure: Likewise.
111 * frv/configure: Likewise.
112 * ft32/configure: Likewise.
113 * h8300/configure: Likewise.
114 * igen/configure: Likewise.
115 * iq2000/configure: Likewise.
116 * lm32/configure: Likewise.
117 * m32c/configure: Likewise.
118 * m32r/configure: Likewise.
119 * m68hc11/configure: Likewise.
120 * mcore/configure: Likewise.
121 * microblaze/configure: Likewise.
122 * mips/configure: Likewise.
123 * mn10300/configure: Likewise.
124 * moxie/configure: Likewise.
125 * msp430/configure: Likewise.
126 * ppc/configure: Likewise.
127 * rl78/configure: Likewise.
128 * rx/configure: Likewise.
129 * sh/configure: Likewise.
130 * sh64/configure: Likewise.
131 * v850/configure: Likewise.
135 * configure: Regenerate.
136 * configure.ac: Delete sim_testsuite check and config in testsuite.
137 * configure.tgt (sim_testsuite): Delete everywhere.
141 * configure: Regenerate.
142 * configure.tgt (avr*-*-*): Set sim_testsuite=yes.
146 * configure.tgt: Add FT32 entry.
147 * configure: Regenerate.
151 * .gitignore: Delete tconfig.h.
152 * README-HACKING: Change tconfig.in to tconfig.h.
156 * MAINTAINERS: Add myself as the maintainer for the MSP430.
160 * configure.tgt (msp430*-*-*): Set sim_testsuite to yes.
161 * configure: Regenerate.
165 * common/cgen-trace.c: Don't use old VA_* macros.
166 * common/sim-load.c (xprintf): Likewise.
167 * common/sim-trace.c (trace_printf, debug_printf): Likewise.
171 * README-HACKING: Don't use PARAMS.
172 * arm/wrapper.c: Don't use PARAMS.
173 * bfin/sim-main.h: Don't use PARAMS.
174 * common/callback.c: Don't use PARAMS.
175 * common/cgen-trace.c: Don't use PARAMS.
176 * common/run-sim.h: Don't use PARAMS.
177 * common/run.c: Don't use PARAMS.
178 * common/sim-base.h: Don't use PARAMS.
179 * common/sim-load.c: Don't use PARAMS.
180 * common/sim-options.h: Don't use PARAMS.
181 * common/sim-trace.c: Don't use PARAMS.
182 * common/sim-trace.h: Don't use PARAMS.
183 * common/sim-utils.h: Don't use PARAMS.
184 * cr16/cr16_sim.h: Don't use PARAMS.
185 * cr16/gencode.c: Don't use PARAMS.
186 * cr16/interp.c: Don't use PARAMS.
187 * cr16/simops.c: Don't use PARAMS.
188 * d10v/d10v_sim.h: Don't use PARAMS.
189 * d10v/gencode.c: Don't use PARAMS.
190 * d10v/interp.c: Don't use PARAMS.
191 * d10v/simops.c: Don't use PARAMS.
192 * erc32/erc32.c: Don't use PARAMS.
193 * erc32/exec.c: Don't use PARAMS.
194 * erc32/float.c: Don't use PARAMS.
195 * erc32/func.c: Don't use PARAMS.
196 * erc32/sis.c: Don't use PARAMS.
197 * erc32/sis.h: Don't use PARAMS.
198 * mips/interp.c: Don't use PARAMS.
199 * mips/sim-main.h: Don't use PARAMS.
200 * sh/interp.c: Don't use PARAMS.
201 * v850/sim-main.h: Don't use PARAMS.
202 * v850/v850_sim.h: Don't use PARAMS.
207 * arm/wrapper.c (sim_create_inferior): Call init before
213 * arm/wrapper.c (sim_create_inferior): Avoid calling
214 bfd_get_mach with a NULL bfd.
218 * msp430: New Directory.
219 * configure.tgt: Add it.
220 * configure: Regenerate.
224 * arm/wrapper.c (sim_complete_command): Make char arguments const.
225 * avr/interp.c (sim_complete_command): Ditto.
226 * common/sim-options.c (sim_complete_command): Ditto.
227 * cr16/interp.c (sim_complete_command): Ditto.
228 * erc32/interf.c (sim_complete_command): Ditto.
229 * m32c/gdb-if.c (sim_complete_command): Ditto.
230 * microblaze/interp.c (sim_complete_command): Ditto.
231 * ppc/sim_calls.c (sim_complete_command): Ditto.
232 * rl78/gdb-if.c (sim_complete_command): Ditto.
233 * rx/gdb-if.c (sim_complete_command): Ditto.
234 * sh/interp.c (sim_complete_command): Ditto.
238 Update year range in copyright notice of all files.
242 Update old contact info in GPL license notices.
246 Update the non-FSF-copyrighted files in sim to GPLv3 or later.
250 * common/Make-common.in: Use lt_cv_dlopen_libs under PLUGINS
252 * common/acinclude.m4: Define lt_cv_dlopen_libs.
253 * arm/configure: Regenerate.
254 * avr/configure: Regenerate.
255 * bfin/configure: Regenerate.
256 * common/configure: Regenerate.
257 * cr16/configure: Regenerate.
258 * cris/configure: Regenerate.
259 * d10v/configure: Regenerate.
260 * erc32/configure: Regenerate.
261 * frv/configure: Regenerate.
262 * h8300/configure: Regenerate.
263 * igen/configure: Regenerate.
264 * iq2000/configure: Regenerate.
265 * lm32/configure: Regenerate.
266 * m32c/configure: Regenerate.
267 * m32r/configure: Regenerate.
268 * m68hc11/configure: Regenerate.
269 * mcore/configure: Regenerate.
270 * microblaze/configure: Regenerate.
271 * mips/configure: Regenerate.
272 * mn10300/configure: Regenerate.
273 * moxie/configure: Regenerate.
274 * ppc/configure: Regenerate.
275 * rl78/configure: Regenerate.
276 * rx/configure: Regenerate.
277 * sh/configure: Regenerate.
278 * sh64/configure: Regenerate.
279 * testsuite/configure: Regenerate.
280 * v850/configure: Regenerate.
284 * MAINTAINERS: Update my email address.
288 * mips/basic.exp: Add mips*-mti-elf* target.
289 * configure.ac: Add mips*-mti-elf* target.
290 * configure: Regenerate.
294 * configure: Regenerate.
298 * microblaze/interp.c (config.h): Add #include.
302 * MAINTAINERS (Global Maintainers): New section. Add Mike
307 * configure.tgt: Add rl78 support.
308 * configure: Regenerate.
309 * rl78: New directory.
310 * MAINTAINERS: Add myself as RL78 maintainer.
314 * MAINTAINERS: Remove Thiemo Seufer.
318 * configure.tgt (bfin-*-*): Add sim_testsuite=yes.
319 * configure: Regenerate.
323 * configure.tgt (thumb*-*-* | strongarm*-*-* | xscale-*-*): Don't
325 * configure: Regenerate.
329 * MAINTAINERS: Add bfin entry.
330 * configure.tgt (bfin-*-*): Handle bfin targets.
331 * configure: Regenerate.
335 * .gitignore: Add /*/hw-config.h.
339 * .gitignore: New file.
343 * MAINTAINERS: Add self as RX maintainer. Sort list.
347 * reg.c (set_oszc): Use unsigned int for the mask.
348 (set_szc, set_osz, set_sz): Likewise.
352 * configure.ac: Target logic moved out to and included from ...
353 * configure.tgt: ... this new file.
354 * configure: Regenerated.
358 * README-HACKING: Add more sections.
362 * cris/cpuv10.h, * cris/cpuv32.h, * cris/cris-desc.c,
363 * cris/cris-desc.h, * cris/decodev10.c, * cris/decodev32.c,
364 * cris/modelv10.c, * cris/modelv32.c, * cris/semcrisv10f-switch.c,
365 * cris/semcrisv32f-switch.c: Regenerate.
369 * avr/configure: Regenerate.
370 * cris/configure: Regenerate.
371 * microblaze/configure: Regenerate.
375 * cris/arch.c, * cris/arch.h, * cris/cpuall.h, * cris/cpuv10.c,
376 * cris/cpuv10.h, * cris/cpuv32.c, * cris/cpuv32.h, * cris/cris-desc.c,
377 * cris/cris-desc.h, * cris/cris-opc.h, * cris/decodev10.c,
378 * cris/decodev10.h, * cris/decodev32.c, * cris/decodev32.h,
379 * cris/modelv10.c, * cris/modelv32.c, * cris/semcrisv10f-switch.c,
380 * cris/semcrisv32f-switch.c: Regenerate, update copyright year.
384 * cris/mloop.in: Fix copyright year update snafu.
388 * common/aclocal.m4: Add include of ../../config/zlib.m4.
389 * common/common.m4: Use AM_ZLIB to check for zlib support.
390 * ppc/configure.ac: Likewise.
391 * arm/configure, avr/configure, common/configure, cr16/configure,
392 cris/configure, d10v/configure, erc32/configure, frv/configure,
393 h8300/configure, iq2000/configure, lm32/configure, m32c/configure,
394 m32r/configure, m68hc11/configure, mcore/configure,
395 microblaze/configure, mips/configure, mn10300/configure,
396 moxie/configure, ppc/configure, sh/configure, sh64/configure,
397 v850/configure: Regenerate.
402 * configure.ac: Add entry for Renesas RX.
403 * configure: Regenerate.
407 * cris/cpuall.h: Regenerate.
408 * cris/cpuv10.h: Regenerate.
409 * cris/cpuv32.h: Regenerate.
410 * cris/decodev10.c: Regenerate.
411 * cris/decodev10.h: Regenerate.
412 * cris/decodev32.c: Regenerate.
413 * cris/decodev32.h: Regenerate.
417 * avr/interp.c (sim_write): Allow byte access.
422 * avr/interp.c (sim_load): Clear memory before loading.
426 * avr/interp.c (sim_resume): Fix typo for OP_ret.
430 * cris/arch.c: Regenerate.
431 * cris/arch.h: Regenerate.
432 * cris/cpuall.h: Regenerate.
433 * cris/cpuv10.c: Regenerate.
434 * cris/cpuv10.h: Regenerate.
435 * cris/cpuv32.c: Regenerate.
436 * cris/cpuv32.h: Regenerate.
437 * cris/cris-desc.c: Regenerate.
438 * cris/cris-desc.h: Regenerate.
439 * cris/cris-opc.h: Regenerate.
440 * cris/decodev10.c: Regenerate.
441 * cris/decodev10.h: Regenerate.
442 * cris/decodev32.c: Regenerate.
443 * cris/decodev32.h: Regenerate.
444 * cris/modelv10.c: Regenerate.
445 * cris/modelv32.c: Regenerate.
446 * cris/semcrisv10f-switch.c: Regenerate.
447 * cris/semcrisv32f-switch.c: Regenerate.
451 * avr/interp.c (sim_stop): Return 1.
455 * MAINTAINERS: Add myself as m32r maintainer.
459 * MAINTAINERS: Add self as MicroBlaze maintainer.
463 * MAINTAINERS (common): Move myself to "past maintainers" section.
467 * microblaze/interp.c: Add include microblaze-dis.h.
471 * configure: Add microblaze-*.* (not regenerated).
472 * configure.ac: Likewise.
473 * microblaze/config.in: New.
474 * microblaze/configure: Generate.
475 * microblaze/configure.ac: New.
476 * microblaze/interp.c: New.
477 * microblaze/Makefile.in: New.
478 * microblaze/microblaze.h: New.
479 * microblaze/microblaze.isa: New.
480 * microblaze/sim-main.h: New.
481 * microblaze/sysdep.h: New.
485 * avr/config.in: Regenerate.
486 * avr/configure: Likewise.
487 * configure: Likewise.
488 * cris/config.in: Likewise.
489 * cris/configure: Likewise.
491 * configure.ac: m4_include toplevel config/override.m4.
492 * configure: Regenerate.
493 * avr/configure: Regenerate.
494 * cris/configure: Regenerate.
498 * Makefile.in (datarootdir): New variable.
502 * MAINTAINERS: Add Jon Beniston as maintainer of lm32 sim.
503 * configure.ac: Add lm32 target.
504 * lm32: New directory.
508 * MAINTAINERS: Orphan ppc.
512 * m32c/gdb-if.c (m32c_signal_to_host): Rename to
513 m32c_signal_to_target. Change signal return values from SIGILL,
514 SIGTRAP, SIGSEGV, etc. to TARGET_SIGNAL_ILL, TARGET_SIGNAL_TRAP,
515 TARGET_SIGNAL_SEGV, etc. Fix all callers.
519 * MAINTAINERS: Add myself for the moxie port.
520 * moxie: New directory.
521 * configure.ac: Add entry for moxie.
522 * configure: Regenerate.
526 * avr: New directory.
527 * avr/interp.c, avr/Makefile.in, avr/configure.ac: New files.
528 * avr/config.in: New file, generated by autoheader.
529 * avr/configure: New file generated by autoconf.
530 * configure.ac: Add avr.
531 * configure: Regenerated.
535 * Makefile.in: Add dummy install-pdf, html, and
536 install-html targets.
540 * cris/sim-if.c: Include errno.h.
541 (cris_start_address, cris_program_offset): New variables.
542 (OPTION_CRIS_PROGRAM_OFFSET, OPTION_CRIS_STARTADDR): New option
544 (cris_options): New options --cris-program-offset and
545 --cris-start-address.
546 (cris_option_handler): Handle new options.
547 (cris_program_offset_write, cris_set_section_offset_iterator)
548 (cris_offset_sections, cris_offset_sections): New functions.
549 (sim_load): Use cris_program_offset_write as function argument to
550 cris_load_elf_file, not sim_write.
551 (struct offsetinfo): New struct.
552 (cris_handle_interpreter): Fix typo in comment.
553 (sim_open): Call cris_offset_sections as soon as the bfd of the
554 infile is available. Gate bfd validity checks on abfd non-NULL.
555 (sim_create_inferior): Let cris_start_address when != -1 override
556 other start-address choices.
560 * cris/traps.c (abort): Define to call sim_io_error.
561 (create_map): Make -1 imply a non-fixed address, not 0. All
562 callers changed. Only prefer the next higher unmapped address if
563 the last mapped address is no less than 0x40000000. Check that
564 the address to be mapped is not already mapped. Update head
566 (unmap_pages): Don't call abort when recursive call fails, just
567 note and return an error if a page in the range couldn't be unmapped.
568 (cris_bmod_handler, h_supr_set_handler, h_supr_get_handler)
569 (schedule, make_first_thread, cris_pipe_empty): New local variable sd.
570 (cris_break_13_handler) <case TARGET_SYS_mmap2>: Handle
571 non-MAP_FIXED argument overlapping existing map. For MAP_FIXED,
572 don't abort on page not being mapped. Handle non-anon filemap
573 with length padded to pagesize.
577 * cris/sim-if.c (TARGET_AT_NULL, TARGET_AT_PHDR, TARGET_AT_PHENT)
578 (TARGET_AT_PHNUM, TARGET_AT_PAGESZ, TARGET_AT_BASE)
579 (TARGET_AT_FLAGS, TARGET_AT_ENTRY, TARGET_AT_UID, TARGET_AT_EUID)
580 (TARGET_AT_GID, TARGET_AT_EGID, TARGET_AT_HWCAP)
581 (TARGET_AT_CLKTCK): Remove redundant macros.
582 (AUX_ENT): Adjust to use standard ELF AT_* macros.
583 (AUX_ENTF): Ditto. Remove always-0 middle argument. Update all
585 (sim_open): Also pass AT_SECURE.
587 * cris/sim-main.h (struct _sim_cpu): New member
588 set_target_thread_data.
589 * cris/crisv32f.c (CRIS_TLS_REGISTER): Define.
590 * cris/crisv10f.c: Ditto.
591 * cris/cris-tmpl.c (MY (set_target_thread_data)): New function.
592 (MY (f_specific_init)): Set new _sim_cpu member to new function.
593 * cris/traps.c (TARGET_SYS_set_thread_area): Define.
594 (cris_break_13_handler) <case TARGET_SYS_set_thread_area>: New
597 * cris/traps.c (TARGET_SYS_exit_group): Define.
598 (cris_break_13_handler): Handle it like the exit for the last
601 * cris/traps.c (TARGET_UTSNAME): Update to 2009-01-01.
602 (TARGET_EPOCH): Update to match TARGET_UTSNAME. Correct comment.
603 (cris_break_13_handler) <case TARGET_SYS_uname>: Update to
604 2.6.27. Set machine field to the BFD printable name of the
607 * cris/traps.c (TARGET_MAP_DENYWRITE): Define.
608 (cris_break_13_handler) <case TARGET_SYS_mmap2>: Handle
609 TARGET_MAP_DENYWRITE.
611 * cris/traps.c (TARGET_SYS_access, TARGET_R_OK, TARGET_W_OK)
612 (TARGET_X_OK, TARGET_F_OK): Define.
613 (cris_break_13_handler) <case TARGET_SYS_access>: New case.
615 * cris/semcrisv32f-switch.c: Regenerate.
619 * cris/sim-if.c (sim_open): If sim_analyze_program fails, emit
620 just a short CRIS-specific notice. Tweak the wording for a
621 failing architecture test.
623 * cris/traps.c (TARGET_SYS_writev): New macro.
624 (is_mapped_only, cris_dump_map): New functions.
625 (cris_break_13_handler) <case TARGET_SYS_mmap2>: Handle more flags
626 and prot combinations and a non-zero page-offset. If
627 TARGET_MAP_FIXED, unmap pages before mapping them.
628 <case TARGET_SYS_mprotect>: When checking, allow any length
629 argument. Don't actually do anything.
630 <case TARGET_SYS_writev>: New case.
632 * cris/Makefile.in (SIM_OBJS): Remove sim-hload.o.
633 * cris/sim-if.c: Include elf-bfd.h.
634 (struct progbounds): New members end_loadmem, start_nonloadmem.
635 (xprintf, eprintf): New functions, copied from common/sim-load.c.
636 (cris_load_elf_file, sim_load, cris_get_progbounds): New functions.
637 (get_progbounds_iterator): Renamed from get_progbounds. Make
638 static. Update head comment. Set new struct progbounds members.
639 (exec_load_addr, interp_load_addr, interp_start_addr): New static
641 (aux_ent_phdr, aux_ent_phent, aux_ent_phnum, aux_ent_base)
642 (aux_ent_entry, cris_write_interp, cris_handle_interpreter): New
644 (sim_open): New constant array auxv_entries. Rewrite AUX_ENT
645 handling to use auxv_entries. Improve error message and checking
646 for invalid programs. Use new variable abfd for the program
647 instead of for each access reaching into sd to get it.
648 (sim_create_inferior): If non-zero, use interp_start_addr instead
649 of the program start address.
650 (cris_disassemble_insn): Remove incorrect and unclear, supposedly
651 stale comment. Always specify little-endian.
655 * common/genmloop.sh: Add new parameter: -shell to specify the
656 command interpreter to use to run the input file. This is
657 necessary because otherwise SHELL is taken from the user's
658 environment, and not from the makefile that invoked this script
659 and the user might not be running an sh-like shell.
660 * cris/Makefile.in: Pass -shell parameter to genmloop.sh.
661 * fr30/Makefile.in: Likewise.
662 * frv/Makefile.in: Likewise.
663 * i960/Makefile.in: Likewise.
664 * iq2000/Makefile.in: Likewise.
665 * m32r/Makefile.in: Likewise.
667 * frv/mloop.in: Add missing start of line comment marker.
671 * cris/configure: Regenerate to track ../common/common.m4 changes.
672 * cris/config.in: Ditto.
678 * cris/configure: Regenerate.
682 * ppc/altivec.igen (vperm): Latch inputs into temporaries.
686 * MAINTAINERS: Add myself as maintainer of cr16 port.
690 Add simulator for National cr16 processor.
691 * cr16: New directory.
692 * configure.ac: Add entry for National cr16.
693 * configure: Regenerate.
697 * configure.ac (v850): V850 now has a testsuite.
698 * configure (v850): Likewise.
702 Updated copyright notices for most files.
706 * frv/frv.c (frvbf_cut): Only look at the six LSBs of
711 * cris/arch.c, cris/arch.h, cris/cpuall.h, cris/cpuv10.c,
712 cris/cpuv10.h, cris/cpuv32.c, cris/cpuv32.h, cris/cris-desc.c,
713 cris/cris-desc.h, cris/cris-opc.h, cris/decodev10.c,
714 cris/decodev10.h, cris/decodev32.c, cris/decodev32.h,
715 cris/modelv10.c, cris/modelv32.c, cris/semcrisv10f-switch.c,
716 cris/semcrisv32f-switch.c: Regenerate.
720 Switch the license of all files explicitly copyright the FSF
725 * Makefile.in: Add dummy "pdf" target.
729 * cris/traps.c (dump_statistics): Change format for cycle numbers
730 to %llu and cast parameters to unsigned long long.
734 * Makefile.in (FLAGS_TO_PASS, TARGET_FLAGS_TO_PASS): Add RUNTEST.
738 * configure.ac (sh64-*-*): Change to sh64*-*-*.
739 (sh-*-*): Change to sh*-*-*.
740 * configure: Regenerated.
744 Updated copyright notices for most files.
748 * Makefile.in (autoconf-common autoheader-common): Only run
749 autoheader on subdirs with a file config.in.
751 * configure.ac (common): Make the default "yes" for all targets
753 * configure: Regenerate.
755 * Makefile.in (autoconf-common autoheader-common): In documented
756 usage, say SHELL=/bin/sh.
757 (.PHONY): Add autoheader-common.
759 * MAINTAINERS: Add self as authorized committer for *.
764 * cris/cris-sim.h (enum cris_unknown_syscall_action_type)
765 (cris_unknown_syscall_action): Declare.
766 * cris/sim-if.c (cris_unknown_syscall_action): Define.
767 (cris_options): Add cris-unknown-syscall option.
768 (cris_option_handler): Correct comment about and error message for
769 invalid --cris-cycles argument. Handle --cris-unknown-syscall.
770 * cris/traps.c: Include stdarg.h
771 (cris_unknown_syscall): New function.
772 (cris_break_13_handler): Instead of sim_io_eprintf and
773 sim_engine_halt, call cris_unknown_syscall to handle more or less
774 unknown syscalls. Adjust code as necessary to handle return
779 * MAINTAINERS: Add Dave Brolley for sh64.
783 * cris/traps.c (TARGET_PIPE_BUF): New macro.
784 (cris_pipe_empty): Correct initialization of "remaining". Only
785 adjust the "write" return value if more than TARGET_PIPE_BUF bytes
790 * cris/configure.ac: Check for limits.h and sys/param.h.
791 * cris/configure, cris/config.in: Rebuild.
792 * cris/traps.c (SIM_PATHMAX): New macro.
793 (cris_break_13_handler): Use SIM_PATHMAX, not MAXPATHLEN.
797 * configure.ac (sparc-*-rtems*|sparc-*-elf*): Enable erc32 simulator.
798 * Makefile.in (FLAGS_TO_PASS): Include libdir.
799 * configure: Regenerated.
803 * cris/configure: Regenerated.
807 * cris/configure: Regenerated.
811 * configure.ac (CFLAGS_FOR_BUILD): Set and substitute.
812 * configure: Regenerate.
814 * Makefile.in (CFLAGS_FOR_BUILD): Define.
815 (CC_FOR_BUILD): Don't override.
816 (FLAGS_TO_PASS): Pass CFLAGS_FOR_BUILD.
820 * MAINTAINERS: Add an "Authorized committers" section, and list
825 * cris/crisv32f.c (MY (deliver_interrupt)): Set CCS to new_ccs.
829 * cris/dv-cris.c, cris/dv-rv.c, cris/rvdummy.c: New files.
830 * cris/Makefile.in (CONFIG_DEVICES): Remove redundant setting.
831 (dv-cris.o, dv-rv.o rvdummy$(EXEEXT), rvdummy.o): New rules.
832 (all): Depend on rvdummy$(EXEEXT).
833 * cris/configure.ac: Call SIM_AC_OPTION_WARNINGS. Check for
834 sys/socket.h and sys/select.h. Call SIM_AC_OPTION_HARDWARE,
836 * cris/configure: Regenerate.
837 * cris/cris-sim.h (cris_have_900000xxif): Declare here.
838 (enum cris_interrupt_type, crisv10deliver_interrupt)
839 (crisv32deliver_interrupt: New declarations.
840 * cris/cris-tmpl.c [WITH_HW] (MY (f_model_insn_after)): Call
841 sim_events_tickn and set state-events member work_pending when it's
842 time for the next event.
843 [WITH_HW] (MY (f_specific_init)): Set CPU-model-specific
844 interrupt-delivery function.
845 * cris/crisv10f.c (MY (deliver_interrupt)): New function.
846 * cris/crisv32f.c (MY (deliver_interrupt)): New function.
847 * cris/devices.c: Include hw-device.h.
848 (device_io_read_buffer) [WITH_HW]: Call hw_io_read_buffer.
849 (device_io_write_buffer): Only perform 0x900000xx-functions if
850 cris_have_900000xxif is nonzero. Else if WITH_HW defined,
851 call hw_io_write_buffer. Add return 0 last in function.
852 * cris/sim-if.c (cris_have_900000xxif): Now global.
853 (sim_open) [WITH_HW]: Clear deliver_interrupt cpu member.
854 Force "-model" option, effectively.
855 * cris/sim-main.h (cris_interrupt_delivery_fn): New type.
856 (struct _sim_cpu) [WITH_HW]: New member deliver_interrupt.
860 * cris/Makefile.in (CRISV10F_OBJS): Remove semcrisv10f-switch.o.
861 (CRISV32F_OBJS): Remove semcrisv32f-switch.o.
862 (semcrisv10f-switch.o, semcrisv32f-switch.o: Remove dependency rules.
866 * MAINTAINERS: Add self as m32c sim maintainer.
870 * cris/traps.c (syscall_map): Remove CB_SYS_time / TARGET_SYS_time
872 (cris_break_13_handler) <case TARGET_SYS_time>: New case.
876 Add simulator for Renesas M32C and M16C.
878 * m32c: New directory.
879 * configure.ac: Add entry for Renesas M32C.
880 * configure: Regenerate.
884 * cris/cris-tmpl.c (MY (f_model_insn_before)): Only display basic
885 cycle count for the current insn.
889 * cris/cpuv10.h, cris/cpuv32.h, cris/cris-desc.c, cris/cris-opc.h,
890 cris/decodev10.c, cris/decodev10.h, cris/decodev32.c,
891 cris/decodev32.h, cris/modelv10.c, cris/modelv32.c,
892 cris/semcrisv10f-switch.c, cris/semcrisv32f-switch.c: Regenerate.
896 * cris/arch.c, cris/arch.h, cris/cpuall.h, cris/cpuv10.c,
897 cris/cpuv10.h, cris/cpuv32.c, cris/cpuv32.h, cris/cris-desc.c,
898 cris/cris-desc.h, cris/cris-opc.h, cris/decodev10.c,
899 cris/decodev10.h, cris/decodev32.c, cris/decodev32.h,
900 cris/modelv10.c, cris/modelv32.c, cris/semcrisv10f-switch.c,
901 cris/semcrisv32f-switch.c: Regenerate.
905 * cris/traps.c (TARGET_O_RDONLY, TARGET_O_WRONLY): Define.
906 (open_map): Use TARGET_O_ACCMODE, TARGET_O_RDONLY and
908 (cris_break_13_handler) <case TARGET_SYS_fcntl>: Add support for
909 F_GETFL on fd 0, 1 and 2.
913 * cris/sim-main.h (struct _sim_cpu): New members last_syscall,
914 last_open_fd, last_open_flags.
915 * cris/traps.c: Don't include targ-vals.h.
916 (TARGET_O_ACCMODE): Define.
917 (cris_break_13_handler): Set new _sim_cpu members.
918 <case TARGET_SYS_fcntl>: Support special case of F_GETFL.
919 Rearrange code as switch. Emit "unimplemented" abort for
920 unimplemented fcntl calls.
922 * cris/traps.c (TARGET_SYS_stat): Define.
923 (syscall_stat32_map): Add entry for TARGET_SYS_stat.
924 (cris_break_13_handler) <case TARGET_SYS_stat>: New case.
928 * cris/cris-tmpl.c (MY (f_model_insn_before)): Make sure only the
929 low 32 bits are used after an unsigned long cast.
933 * cris/Makefile.in (stamp-v32fmloop): Depend on stamp-v10fmloop.
937 * MAINTAINERS: Update my mail address, move myself to the
938 "Past maintainers" section.
942 * configure.ac: Add igen to v850 build.
943 * configure: Regenerate.
947 * common/callback.c (PIPE_BUF): Provide default definition.
948 (os_lstat): Use stat if lstat is not available on the host.
949 (os_ftruncate): Return EINVAL if not available on the host.
950 (os_truncate): Ditto.
951 * common/configure.ac: Check for lstat, truncate and ftruncate.
952 * common/configure: Regenerate.
953 * common/config.in: Regenerate.
957 * common/Make-common.in: Add $(EXEEXT) to "run".
961 * cris/traps.c (cris_break_13_handler) <case TARGET_SYS_mmap2>:
962 For ((len & 8191) != 0 && fd == (USI) -1), don't say this isn't
963 implemented. In call to create_map, pad length argument to 8k.
967 * configure.ac: Add explicit sh64 case.
968 * configure: Regenerate.
972 * arm/wrapper.c: Provide SIGTRAP and SIGBUS.
976 * cris/Makefile.in (stamp-v10fcpu, stamp-v32fcpu): Add kludge to
977 include cgen-ops.h in decodev10.c and decodev32.c.
978 * cris/sim-main.h: Don't include cgen-ops.h here.
979 * cris/arch.c, cris/arch.h, cris/cpuall.h, cris/cpuv10.c,
980 cris/cpuv10.h, cris/cpuv32.c, cris/cpuv32.h, cris/cris-desc.c,
981 cris/cris-desc.h, cris/cris-opc.h, cris/decodev10.c,
982 cris/decodev10.h, cris/decodev32.c, cris/decodev32.h,
983 cris/modelv10.c, cris/modelv32.c, cris/semcrisv10f-switch.c,
984 cris/semcrisv32f-switch.c: Regenerate.
986 * cris/traps.c (cris_break_13_handler) <case
987 TARGET_SYS_rt_sigaction>: Rename sa_handler, sa_flags,
988 sa_restorer, sa_mask_low, sa_mask_high to target_sa_handler etc.
992 * cris/configure: Regenerate.
996 * d10v/configure.ac, igen/configure.ac, m68hc11/configure.ac,
997 mips/configure.ac, mn10300/configure.ac, v850/configure.ac:
998 Regenerated, after change to common/aclocal.m4.
1002 * iq2000: New target subdirectory.
1003 * configure.ac: Add iq2000 target.
1004 * configure: Regenerate.
1008 * Makefile.in (all, clean mostlyclean, distclean maintainer-clean)
1009 (realclean, install): Fail if subdir make failed.
1013 * cris: New directory, simulator for Axis Communications CRIS
1014 including CRIS v32, CGEN-based.
1015 * configure.ac: Add corresponding configury.
1016 * configure: Regenerate.
1020 * configure.ac: For mips*-*-* and mn10300*-*-* configure the
1021 common directory. Remove sparc*-*-* from list.
1025 * Makefile.in (autoconf-common autoheader-common): Add --force to
1026 autoconf and autoheader.
1027 (autoconf-common autoheader-common)
1028 (autoconf-install autoheader-install): Check for configure.ac, not
1030 * configure.ac: Delete AC_CONFIG_AUX_DIR.
1031 * configure: Re-generate.
1035 * configure.ac: Replace configure.in. Requires autoconf 2.59 and
1036 correctly calls AC_CONFIG_SUBDIRS.
1037 * configure: Re-generate.
1041 * i960, h8500: Delete directory.
1045 * d30v, fr30, mn10200, z8k: Delete directory.
1049 * MAINTAINERS: Update my mail address.
1053 * configure.in (mips*-*-*): Configure in testsuite.
1054 * configure: Regenerate.
1058 * configure.in: Move frv handling to alphabetically correct placement.
1062 * Makefile.in (FLAGS_TO_PASS): Pass down $(bindir) and $(mandir).
1066 * MAINTAINERS: Add myself as maintainer of the FRV port.
1071 * frv/: New directory, simulator for the Fujitsu FRV.
1072 * configure.in: Add frv configury.
1073 * configure: Regenerate.
1077 * MAINTAINERS: Update my mail address.
1081 * MAINTAINERS: Andrew Cagney (mips) and Geoff Keating (ppc) drop
1082 maintenance. List igen and sh maintainers. Mention that target
1083 and global maintainers pick up the slack.
1087 * configure.in: Add testsuite to extra_subdirs for sh.
1088 * configure: Regenerate.
1096 * sh/gencode.c: Replace sh3e with sh2e except in fsqrt.
1100 * MAINTAINERS: Update my email address.
1104 * w65/: Delete directory.
1108 * configure.in (extra_subdirs): Mark fr30-*-* as obsolete.
1109 * configure: Re-generate.
1113 * configure.in (extra_subdirs): Mark d30v-*-* as obsolete.
1114 * configure: Re-generate.
1118 * Makefile.in (autoconf-changelog autoheader-changelog): Let name,
1119 id, date and host to be overriden by NAME, ID, DATE and HOST
1120 respectfully. Use ISO dates.
1124 * Makefile.in (ChangeLog): New makefile variable.
1125 * README-HACKING: Mention the ChangeLog makefile variable.
1129 * tic80/: Delete directory.
1133 * MAINTAINERS: Update my email address.
1137 * MAINTAINERS: Record self as maintainer of m68hc11 simulator.
1141 * MAINTAINERS: Record self as a co-maintainer of just common/.
1145 * MAINTAINERS: Point to GDB files describing overall maintaince
1146 and check-in procedures.
1150 * MAINTAINERS: Add myself for ARM portions.
1154 * configure.in: When Linux or NetBSD, enable PowerPC simulator.
1155 * configure: Re-generate.
1159 * MAINTAINERS: Add myself for common portions.
1163 * MAINTAINERS: Added self and Andrew for the mips sim.
1167 * MAINTAINERS: Added self and Andrew for the ppc sim.
1172 * m68hc11: New directory.
1173 * configure.in: Add.
1174 * configure: Regenerate.
1178 * tic80: New directory.
1179 * configure.in: Add configury.
1180 * configure: Regenerate.
1184 * configure.in (extra_subdirs): Add testsuite to strongarm
1186 * configure: Regenerate.
1190 * MAINTAINERS: New file. Blank.
1194 * configure.in: Require autoconf 2.13 and remove obsolete
1195 invocation of AC_C_CROSS.
1196 * configure: Regenerate.
1200 * configure.in: Configure the testsuite directory for thumb.
1201 * configure: Regenerate.
1205 * configure.in: Configure the testsuite directory for arm.
1206 * configure: Regenerate.
1210 * configure.in: Add support for MCore target.
1211 * configure: Regenerate.
1215 * Makefile.in (FLAGS_TO_PASS, TARGET_FLAGS_TO_PASS): Remove
1216 RUNTEST instead of commenting out, fixes portability problem.
1220 * configure.in: Add support for StrongARM target.
1221 * configure: Regenerate.
1225 * configure.in: Require autoconf 2.12.1 or higher.
1229 * configure.in (i960-*-*): Add.
1230 * configure: Rebuild.
1234 * configure.in: Added case for fr30-*-*.
1235 * configure: Regenerated.
1239 * ppc/Makefile.in: Add EXEEXT to installed powerpc-eabi-run program
1240 to allow successful operation on Windows.
1244 * Makefile.in: Take RUNTEST out of FLAGS_TO_PASS so that make
1245 check can be invoked recursively.
1249 * configure.in: Build simulator on sparclite and sparc86x targets.
1250 * configure: Regenerate.
1254 * Makefile.in (autoconf-common autoheader-common): Don't pass -l
1255 to autoconf and autoheader.
1259 * Makefile.in (autoconf-common autoheader-common): Pass `-l
1260 ../common' to autoconf and autoheader. Unconditionally run
1261 autoconf in every subdir.
1262 (autoconf-changelog autoheader-changelog): Unconditionally run
1263 commands in every subdir.
1264 (autoconf-install autoheader-install): Likewise.
1268 * Makefile.in: Get SHELL from configure.
1269 * (FLAGS_TO_PASS): Pass down SHELL.
1270 * configure: Regenerate with autoconf 2.12.1 to fix shell issues for
1275 * configure.in (extra_subdirs): Enable igen for mn10300.
1276 * configure: Re-generate.
1280 * configure.in (extra_subdirs): Add support for thumb target.
1282 * configure (extra_subdirs): Add support for thumb target.
1286 * configure.in (extra_subdirs): Add IGEN directory when MIPS
1288 * configure: Regenerate.
1292 * configure.in (extra_subdirs): v850ea needs igen.
1293 * configure: Re-generate.
1297 * configure.in (testdir): When a testsuite directory, add that to
1298 the list of confdirs.
1302 * configure.in (extra_subdirs): Enable igen ready for V850.
1306 * configure.in (w65-*-*, only_if_enabled): Set.
1307 * configure: Re-generate.
1311 * configure.in (sparc*-*-*, only_if_enabled): Set
1312 only_if_enabled=yes. Check only_if_enabled before enabling a
1314 * configure: Regenerate.
1318 * configure.in (extra_subdirs): Add v850e target.
1322 * configure.in (extra_subdirs): Add v850ea target.
1326 * configure.in (sparc*-*-*): Don't build erc32.
1327 * configure: Regenerate.
1331 * configure.in (m32r-*-*): New target.
1332 * configure: Regenerate.
1334 * Makefile.in (autoconf-common, autoconf-changelog): Change $* to $@.
1338 * Makefile.in (.NOEXPORT, MAKEOVERRIDES): Moved to end, BSD make
1339 thought that .NOEXPORT was the default target.
1343 * Makefile.in (clean mostlyclean): Restore targets accidentally
1344 deleted in earlier change.
1348 * Makefile.in (autoheader-common, autoheader-changelog,
1349 autoheader-install): Perform autoheader in addition to autoconf.
1353 * Makefile.in (autoconf-install): New target.
1354 (autoconf-changelog): Try different way to obtain user name.
1358 * Makefile.in (autoconf-changelog): New target, update
1359 ChangeLog for all subdirectories - normally used after
1360 autoconf-common target.
1364 * configure.in (extra_subdirs): Include testsuite for d30v.
1365 * configure: Regenerate.
1367 * Makefile.in (RUNTEST, RUNTESTFLAGS): Borrow test rules from
1369 (check): New rules - drive the testsuite.
1373 * configure.in: Add mn10200 configure lines accidentally
1375 * configure: Regenerated.
1379 * configure.in (extra_subdirs): Generalize common sub directory
1381 (extra_subdirs): For d30v add igen to the list to be built.
1385 * configure.in (d30v): New target.
1386 * configure: Regenerated.
1390 * configure.in: Don't require GCC to build the mn10200
1392 * configure: Rebuilt.
1396 * configure.in: Don't configure any subdirs if no simulator
1397 is being built. Don't use erc32 for sparc64.
1398 * configure: Regenerated.
1402 * Makefile.in (autoconf-common): New target.
1403 * configure.in: Do configure common.
1404 * configure: Regenerated.
1408 * configure configure.in: Don't configure common anymore. Files
1409 from common are now built in the individual simualtor directories.
1410 This fixes problems with the WinGDB build procedure.
1414 * configure: Enable the mn10200 simulator.
1418 * configure.in (configdirs): Add common.
1419 * configure: Regenerated.
1423 * configure.in (powerpc*-*-linux*): Treat like the other powerpc
1424 system V based targets.
1425 * configure: Regenerate.
1429 * configure.in (--enable-sim-powerpc): Delete.
1430 (--enable-sim): Add.
1431 * configure: Regenerated.
1435 * configure.in: Only build the V850 simulator if
1437 * configure: Rebuild.
1441 * configure.in: Do build erc32 for DOS and Windows hosts.
1442 * configure: Rebuild.
1446 * Makefile.in erc32/Makefile.in: Don't set srcroot. This should
1447 be inherited from the parent. Remove INSTALL_XFORM and
1448 INSTALL_XFORM1. Make INSTALL be set from configure.
1452 * configure.in: Only build the MIPS simulator if we are using
1454 * configure: Rebuild.
1458 * configure.in (v850-*-*): Added V850 simulator.
1462 * configure.in (d10v-*-*): Added D10V simulator.
1466 * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir,
1467 INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values.
1469 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
1470 (AC_PROG_INSTALL): Added.
1471 * configure: Rebuilt.
1475 * configure.in: Only configure erc32 if using gcc.
1476 * configure: Rebuild.
1480 * configure.in (sim_target): Build PowerPC simulator for powerpc
1481 System V.4, Solaris, and Elf targets.
1482 * configure: Regenerate with autoconf 2.10.
1484 Wed May 22 12:10:49 1996 Rob Savoye <rob@chinadoll>
1486 * configure.in: Only built erc32 simulator on Unix hosts as it
1488 * configure: Regenerated with autoconf 2.8.
1492 * erc32: Sparc simulator from the ESA.
1497 * configure.in: Use AC_CHECK_TOOL to find AR & RANLIB.
1498 * configure: Regenerate using autoconf.
1502 * Makefile.in (install): Fix typo.
1506 * configure: Regenerate with autoconf 2.7.
1508 * Makefile.in (all): Simplify.
1509 (clean, mostlyclean): SUBDIRS may contain whitespace; fix the loop
1510 as in the all target.
1511 (distclean, maintainer-clean, realclean): Likewise.
1512 (install): Likewise.
1516 * Makefile.in (all): Remove extra '\' char from shell script.
1520 * Makefile.in (all): Avoid a for loop with zero elements, even if
1521 the loop will not be executed because of an if statement.
1525 * Makefile.in (install): Add missing semicolon in "fi \".
1529 * Makefile.in (AR, CC, CFLAGS, CC_FOR_BUILD, RANLIB): Pick up
1530 defaults from configure.
1532 * configure.in: Pick up AR, CC, CFLAGS, CC_FOR_BUILD, RANLIB using
1534 (powerpc*-*-eabi*): Build simulator for all powerpc eabi targets
1535 if either --enable-sim-powerpc is used, or the host compiler is
1540 * configure.in (mips*-*-*): Added "mips" simulator target.
1541 * configure: Re-generated.
1545 * Makefile.in (BISON): Remove macro.
1546 (FLAGS_TO_PASS): Remove BISON.
1550 * configure.in: Explicitly `exit 0' for broken shells.
1551 * configure: Rebuilt.
1555 * common/run.c (main): Initialize the callbacks.
1559 * Makefile.in (maintainer-clean): New synonym for realclean.
1563 * configure.in (powerpc*-*-eabisim*): Only build the simulator if
1564 the target is powerpc*-*-eabisim*, since it requires GCC to build.
1568 * configure.in (powerpc{,le}-*-*): Add psim from Andrew Cagney
1570 * configure: Regnerate from configure.in.
1574 * Update all FSF addresses except those in COPYING* files.
1578 * Makefile.in (CC_FOR_BUILD): Define default and arrange to pass
1579 submakes either default or passed in value.
1583 * Makefile.in (all, clean, distclean, mostlyclean, realclean,
1584 install): Changed targets so that they descend all
1585 subdirectories in $(SUBDIRS).
1586 (*-all, *-clean, *-install): Removed targets.
1588 * configure.in: Don't bother with target makefile fragments, they
1589 are no longer needed.
1590 * configure: regenerated.
1592 * Makefile.in, configure.in: converted to autoconf.
1593 * configure: New file, generated with autconf 2.4.
1597 * Makefile.in: Support ARM.
1598 * configure.in: Ditto.
1600 Sun Jan 15 16:53:47 1995 Steve Chamberlain <sac@splat>
1602 * Makefile.in: Support W65.
1603 * configure.in: Ditto.
1607 * Makefile.in: Add TAGS target.
1611 * Makefile.in (all-z8k, install-z8k, clean-z8k, all-h8300,
1612 install-h8300, clean-h8300, all-h8500, install-h8500,
1613 clean-h8500, all-sh, install-sh, clean-sh): do not echo
1616 Wed Jun 30 14:12:05 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
1618 * Makefile.in: remove endian.h trace from h8500
1622 * Makefile.in: Add distclean, realclean, and mostlyclean targets.
1624 Fri May 21 11:21:16 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
1626 * Makefile.in: make all of the all-* target (except all-nothing)
1627 depend on endian.h, so that if we're not building a simulator, we
1632 * Makefile.in (check, installcheck): Added dummy targets.
1636 * Makefile.in (endian): Find endian.c in $(srcdir), and also
1637 explicitly make it, since some makes apparently don't work with
1638 VPATH and .c to executable rules (SunOS make for example).
1642 * Makefile.in (endian): Add explicit rule for broken makes.
1646 * Makefile.in (info, install-info): New targets.
1647 (DO_INSTALL): Renamed from INSTALL, which is overridden by the top
1652 * Makefile.in (endian.h): build endian.h via a temporary file so
1653 that we don't leave an incomplete file lying around on
1655 (clean): remove endian, e.h, and endian.h.
1659 * Makefile.in, configure.in: if target isn't supported, build a