3 * common/cgen-trace.c: Don't use old VA_* macros.
4 * common/sim-load.c (xprintf): Likewise.
5 * common/sim-trace.c (trace_printf, debug_printf): Likewise.
9 * README-HACKING: Don't use PARAMS.
10 * arm/wrapper.c: Don't use PARAMS.
11 * bfin/sim-main.h: Don't use PARAMS.
12 * common/callback.c: Don't use PARAMS.
13 * common/cgen-trace.c: Don't use PARAMS.
14 * common/run-sim.h: Don't use PARAMS.
15 * common/run.c: Don't use PARAMS.
16 * common/sim-base.h: Don't use PARAMS.
17 * common/sim-load.c: Don't use PARAMS.
18 * common/sim-options.h: Don't use PARAMS.
19 * common/sim-trace.c: Don't use PARAMS.
20 * common/sim-trace.h: Don't use PARAMS.
21 * common/sim-utils.h: Don't use PARAMS.
22 * cr16/cr16_sim.h: Don't use PARAMS.
23 * cr16/gencode.c: Don't use PARAMS.
24 * cr16/interp.c: Don't use PARAMS.
25 * cr16/simops.c: Don't use PARAMS.
26 * d10v/d10v_sim.h: Don't use PARAMS.
27 * d10v/gencode.c: Don't use PARAMS.
28 * d10v/interp.c: Don't use PARAMS.
29 * d10v/simops.c: Don't use PARAMS.
30 * erc32/erc32.c: Don't use PARAMS.
31 * erc32/exec.c: Don't use PARAMS.
32 * erc32/float.c: Don't use PARAMS.
33 * erc32/func.c: Don't use PARAMS.
34 * erc32/sis.c: Don't use PARAMS.
35 * erc32/sis.h: Don't use PARAMS.
36 * mips/interp.c: Don't use PARAMS.
37 * mips/sim-main.h: Don't use PARAMS.
38 * sh/interp.c: Don't use PARAMS.
39 * v850/sim-main.h: Don't use PARAMS.
40 * v850/v850_sim.h: Don't use PARAMS.
45 * arm/wrapper.c (sim_create_inferior): Call init before
51 * arm/wrapper.c (sim_create_inferior): Avoid calling
52 bfd_get_mach with a NULL bfd.
56 * msp430: New Directory.
57 * configure.tgt: Add it.
58 * configure: Regenerate.
62 * arm/wrapper.c (sim_complete_command): Make char arguments const.
63 * avr/interp.c (sim_complete_command): Ditto.
64 * common/sim-options.c (sim_complete_command): Ditto.
65 * cr16/interp.c (sim_complete_command): Ditto.
66 * erc32/interf.c (sim_complete_command): Ditto.
67 * m32c/gdb-if.c (sim_complete_command): Ditto.
68 * microblaze/interp.c (sim_complete_command): Ditto.
69 * ppc/sim_calls.c (sim_complete_command): Ditto.
70 * rl78/gdb-if.c (sim_complete_command): Ditto.
71 * rx/gdb-if.c (sim_complete_command): Ditto.
72 * sh/interp.c (sim_complete_command): Ditto.
76 Update year range in copyright notice of all files.
80 Update old contact info in GPL license notices.
84 Update the non-FSF-copyrighted files in sim to GPLv3 or later.
88 * common/Make-common.in: Use lt_cv_dlopen_libs under PLUGINS
90 * common/acinclude.m4: Define lt_cv_dlopen_libs.
91 * arm/configure: Regenerate.
92 * avr/configure: Regenerate.
93 * bfin/configure: Regenerate.
94 * common/configure: Regenerate.
95 * cr16/configure: Regenerate.
96 * cris/configure: Regenerate.
97 * d10v/configure: Regenerate.
98 * erc32/configure: Regenerate.
99 * frv/configure: Regenerate.
100 * h8300/configure: Regenerate.
101 * igen/configure: Regenerate.
102 * iq2000/configure: Regenerate.
103 * lm32/configure: Regenerate.
104 * m32c/configure: Regenerate.
105 * m32r/configure: Regenerate.
106 * m68hc11/configure: Regenerate.
107 * mcore/configure: Regenerate.
108 * microblaze/configure: Regenerate.
109 * mips/configure: Regenerate.
110 * mn10300/configure: Regenerate.
111 * moxie/configure: Regenerate.
112 * ppc/configure: Regenerate.
113 * rl78/configure: Regenerate.
114 * rx/configure: Regenerate.
115 * sh/configure: Regenerate.
116 * sh64/configure: Regenerate.
117 * testsuite/configure: Regenerate.
118 * v850/configure: Regenerate.
122 * MAINTAINERS: Update my email address.
126 * mips/basic.exp: Add mips*-mti-elf* target.
127 * configure.ac: Add mips*-mti-elf* target.
128 * configure: Regenerate.
132 * configure: Regenerate.
136 * microblaze/interp.c (config.h): Add #include.
140 * MAINTAINERS (Global Maintainers): New section. Add Mike
145 * configure.tgt: Add rl78 support.
146 * configure: Regenerate.
147 * rl78: New directory.
148 * MAINTAINERS: Add myself as RL78 maintainer.
152 * MAINTAINERS: Remove Thiemo Seufer.
156 * configure.tgt (bfin-*-*): Add sim_testsuite=yes.
157 * configure: Regenerate.
161 * configure.tgt (thumb*-*-* | strongarm*-*-* | xscale-*-*): Don't
163 * configure: Regenerate.
167 * MAINTAINERS: Add bfin entry.
168 * configure.tgt (bfin-*-*): Handle bfin targets.
169 * configure: Regenerate.
173 * .gitignore: Add /*/hw-config.h.
177 * .gitignore: New file.
181 * MAINTAINERS: Add self as RX maintainer. Sort list.
185 * reg.c (set_oszc): Use unsigned int for the mask.
186 (set_szc, set_osz, set_sz): Likewise.
190 * configure.ac: Target logic moved out to and included from ...
191 * configure.tgt: ... this new file.
192 * configure: Regenerated.
196 * README-HACKING: Add more sections.
200 * cris/cpuv10.h, * cris/cpuv32.h, * cris/cris-desc.c,
201 * cris/cris-desc.h, * cris/decodev10.c, * cris/decodev32.c,
202 * cris/modelv10.c, * cris/modelv32.c, * cris/semcrisv10f-switch.c,
203 * cris/semcrisv32f-switch.c: Regenerate.
207 * avr/configure: Regenerate.
208 * cris/configure: Regenerate.
209 * microblaze/configure: Regenerate.
213 * cris/arch.c, * cris/arch.h, * cris/cpuall.h, * cris/cpuv10.c,
214 * cris/cpuv10.h, * cris/cpuv32.c, * cris/cpuv32.h, * cris/cris-desc.c,
215 * cris/cris-desc.h, * cris/cris-opc.h, * cris/decodev10.c,
216 * cris/decodev10.h, * cris/decodev32.c, * cris/decodev32.h,
217 * cris/modelv10.c, * cris/modelv32.c, * cris/semcrisv10f-switch.c,
218 * cris/semcrisv32f-switch.c: Regenerate, update copyright year.
222 * cris/mloop.in: Fix copyright year update snafu.
226 * common/aclocal.m4: Add include of ../../config/zlib.m4.
227 * common/common.m4: Use AM_ZLIB to check for zlib support.
228 * ppc/configure.ac: Likewise.
229 * arm/configure, avr/configure, common/configure, cr16/configure,
230 cris/configure, d10v/configure, erc32/configure, frv/configure,
231 h8300/configure, iq2000/configure, lm32/configure, m32c/configure,
232 m32r/configure, m68hc11/configure, mcore/configure,
233 microblaze/configure, mips/configure, mn10300/configure,
234 moxie/configure, ppc/configure, sh/configure, sh64/configure,
235 v850/configure: Regenerate.
240 * configure.ac: Add entry for Renesas RX.
241 * configure: Regenerate.
245 * cris/cpuall.h: Regenerate.
246 * cris/cpuv10.h: Regenerate.
247 * cris/cpuv32.h: Regenerate.
248 * cris/decodev10.c: Regenerate.
249 * cris/decodev10.h: Regenerate.
250 * cris/decodev32.c: Regenerate.
251 * cris/decodev32.h: Regenerate.
255 * avr/interp.c (sim_write): Allow byte access.
260 * avr/interp.c (sim_load): Clear memory before loading.
264 * avr/interp.c (sim_resume): Fix typo for OP_ret.
268 * cris/arch.c: Regenerate.
269 * cris/arch.h: Regenerate.
270 * cris/cpuall.h: Regenerate.
271 * cris/cpuv10.c: Regenerate.
272 * cris/cpuv10.h: Regenerate.
273 * cris/cpuv32.c: Regenerate.
274 * cris/cpuv32.h: Regenerate.
275 * cris/cris-desc.c: Regenerate.
276 * cris/cris-desc.h: Regenerate.
277 * cris/cris-opc.h: Regenerate.
278 * cris/decodev10.c: Regenerate.
279 * cris/decodev10.h: Regenerate.
280 * cris/decodev32.c: Regenerate.
281 * cris/decodev32.h: Regenerate.
282 * cris/modelv10.c: Regenerate.
283 * cris/modelv32.c: Regenerate.
284 * cris/semcrisv10f-switch.c: Regenerate.
285 * cris/semcrisv32f-switch.c: Regenerate.
289 * avr/interp.c (sim_stop): Return 1.
293 * MAINTAINERS: Add myself as m32r maintainer.
297 * MAINTAINERS: Add self as MicroBlaze maintainer.
301 * MAINTAINERS (common): Move myself to "past maintainers" section.
305 * microblaze/interp.c: Add include microblaze-dis.h.
309 * configure: Add microblaze-*.* (not regenerated).
310 * configure.ac: Likewise.
311 * microblaze/config.in: New.
312 * microblaze/configure: Generate.
313 * microblaze/configure.ac: New.
314 * microblaze/interp.c: New.
315 * microblaze/Makefile.in: New.
316 * microblaze/microblaze.h: New.
317 * microblaze/microblaze.isa: New.
318 * microblaze/sim-main.h: New.
319 * microblaze/sysdep.h: New.
323 * avr/config.in: Regenerate.
324 * avr/configure: Likewise.
325 * configure: Likewise.
326 * cris/config.in: Likewise.
327 * cris/configure: Likewise.
329 * configure.ac: m4_include toplevel config/override.m4.
330 * configure: Regenerate.
331 * avr/configure: Regenerate.
332 * cris/configure: Regenerate.
336 * Makefile.in (datarootdir): New variable.
340 * MAINTAINERS: Add Jon Beniston as maintainer of lm32 sim.
341 * configure.ac: Add lm32 target.
342 * lm32: New directory.
346 * MAINTAINERS: Orphan ppc.
350 * m32c/gdb-if.c (m32c_signal_to_host): Rename to
351 m32c_signal_to_target. Change signal return values from SIGILL,
352 SIGTRAP, SIGSEGV, etc. to TARGET_SIGNAL_ILL, TARGET_SIGNAL_TRAP,
353 TARGET_SIGNAL_SEGV, etc. Fix all callers.
357 * MAINTAINERS: Add myself for the moxie port.
358 * moxie: New directory.
359 * configure.ac: Add entry for moxie.
360 * configure: Regenerate.
364 * avr: New directory.
365 * avr/interp.c, avr/Makefile.in, avr/configure.ac: New files.
366 * avr/config.in: New file, generated by autoheader.
367 * avr/configure: New file generated by autoconf.
368 * configure.ac: Add avr.
369 * configure: Regenerated.
373 * Makefile.in: Add dummy install-pdf, html, and
374 install-html targets.
378 * cris/sim-if.c: Include errno.h.
379 (cris_start_address, cris_program_offset): New variables.
380 (OPTION_CRIS_PROGRAM_OFFSET, OPTION_CRIS_STARTADDR): New option
382 (cris_options): New options --cris-program-offset and
383 --cris-start-address.
384 (cris_option_handler): Handle new options.
385 (cris_program_offset_write, cris_set_section_offset_iterator)
386 (cris_offset_sections, cris_offset_sections): New functions.
387 (sim_load): Use cris_program_offset_write as function argument to
388 cris_load_elf_file, not sim_write.
389 (struct offsetinfo): New struct.
390 (cris_handle_interpreter): Fix typo in comment.
391 (sim_open): Call cris_offset_sections as soon as the bfd of the
392 infile is available. Gate bfd validity checks on abfd non-NULL.
393 (sim_create_inferior): Let cris_start_address when != -1 override
394 other start-address choices.
398 * cris/traps.c (abort): Define to call sim_io_error.
399 (create_map): Make -1 imply a non-fixed address, not 0. All
400 callers changed. Only prefer the next higher unmapped address if
401 the last mapped address is no less than 0x40000000. Check that
402 the address to be mapped is not already mapped. Update head
404 (unmap_pages): Don't call abort when recursive call fails, just
405 note and return an error if a page in the range couldn't be unmapped.
406 (cris_bmod_handler, h_supr_set_handler, h_supr_get_handler)
407 (schedule, make_first_thread, cris_pipe_empty): New local variable sd.
408 (cris_break_13_handler) <case TARGET_SYS_mmap2>: Handle
409 non-MAP_FIXED argument overlapping existing map. For MAP_FIXED,
410 don't abort on page not being mapped. Handle non-anon filemap
411 with length padded to pagesize.
415 * cris/sim-if.c (TARGET_AT_NULL, TARGET_AT_PHDR, TARGET_AT_PHENT)
416 (TARGET_AT_PHNUM, TARGET_AT_PAGESZ, TARGET_AT_BASE)
417 (TARGET_AT_FLAGS, TARGET_AT_ENTRY, TARGET_AT_UID, TARGET_AT_EUID)
418 (TARGET_AT_GID, TARGET_AT_EGID, TARGET_AT_HWCAP)
419 (TARGET_AT_CLKTCK): Remove redundant macros.
420 (AUX_ENT): Adjust to use standard ELF AT_* macros.
421 (AUX_ENTF): Ditto. Remove always-0 middle argument. Update all
423 (sim_open): Also pass AT_SECURE.
425 * cris/sim-main.h (struct _sim_cpu): New member
426 set_target_thread_data.
427 * cris/crisv32f.c (CRIS_TLS_REGISTER): Define.
428 * cris/crisv10f.c: Ditto.
429 * cris/cris-tmpl.c (MY (set_target_thread_data)): New function.
430 (MY (f_specific_init)): Set new _sim_cpu member to new function.
431 * cris/traps.c (TARGET_SYS_set_thread_area): Define.
432 (cris_break_13_handler) <case TARGET_SYS_set_thread_area>: New
435 * cris/traps.c (TARGET_SYS_exit_group): Define.
436 (cris_break_13_handler): Handle it like the exit for the last
439 * cris/traps.c (TARGET_UTSNAME): Update to 2009-01-01.
440 (TARGET_EPOCH): Update to match TARGET_UTSNAME. Correct comment.
441 (cris_break_13_handler) <case TARGET_SYS_uname>: Update to
442 2.6.27. Set machine field to the BFD printable name of the
445 * cris/traps.c (TARGET_MAP_DENYWRITE): Define.
446 (cris_break_13_handler) <case TARGET_SYS_mmap2>: Handle
447 TARGET_MAP_DENYWRITE.
449 * cris/traps.c (TARGET_SYS_access, TARGET_R_OK, TARGET_W_OK)
450 (TARGET_X_OK, TARGET_F_OK): Define.
451 (cris_break_13_handler) <case TARGET_SYS_access>: New case.
453 * cris/semcrisv32f-switch.c: Regenerate.
457 * cris/sim-if.c (sim_open): If sim_analyze_program fails, emit
458 just a short CRIS-specific notice. Tweak the wording for a
459 failing architecture test.
461 * cris/traps.c (TARGET_SYS_writev): New macro.
462 (is_mapped_only, cris_dump_map): New functions.
463 (cris_break_13_handler) <case TARGET_SYS_mmap2>: Handle more flags
464 and prot combinations and a non-zero page-offset. If
465 TARGET_MAP_FIXED, unmap pages before mapping them.
466 <case TARGET_SYS_mprotect>: When checking, allow any length
467 argument. Don't actually do anything.
468 <case TARGET_SYS_writev>: New case.
470 * cris/Makefile.in (SIM_OBJS): Remove sim-hload.o.
471 * cris/sim-if.c: Include elf-bfd.h.
472 (struct progbounds): New members end_loadmem, start_nonloadmem.
473 (xprintf, eprintf): New functions, copied from common/sim-load.c.
474 (cris_load_elf_file, sim_load, cris_get_progbounds): New functions.
475 (get_progbounds_iterator): Renamed from get_progbounds. Make
476 static. Update head comment. Set new struct progbounds members.
477 (exec_load_addr, interp_load_addr, interp_start_addr): New static
479 (aux_ent_phdr, aux_ent_phent, aux_ent_phnum, aux_ent_base)
480 (aux_ent_entry, cris_write_interp, cris_handle_interpreter): New
482 (sim_open): New constant array auxv_entries. Rewrite AUX_ENT
483 handling to use auxv_entries. Improve error message and checking
484 for invalid programs. Use new variable abfd for the program
485 instead of for each access reaching into sd to get it.
486 (sim_create_inferior): If non-zero, use interp_start_addr instead
487 of the program start address.
488 (cris_disassemble_insn): Remove incorrect and unclear, supposedly
489 stale comment. Always specify little-endian.
493 * common/genmloop.sh: Add new parameter: -shell to specify the
494 command interpreter to use to run the input file. This is
495 necessary because otherwise SHELL is taken from the user's
496 environment, and not from the makefile that invoked this script
497 and the user might not be running an sh-like shell.
498 * cris/Makefile.in: Pass -shell parameter to genmloop.sh.
499 * fr30/Makefile.in: Likewise.
500 * frv/Makefile.in: Likewise.
501 * i960/Makefile.in: Likewise.
502 * iq2000/Makefile.in: Likewise.
503 * m32r/Makefile.in: Likewise.
505 * frv/mloop.in: Add missing start of line comment marker.
509 * cris/configure: Regenerate to track ../common/common.m4 changes.
510 * cris/config.in: Ditto.
516 * cris/configure: Regenerate.
520 * ppc/altivec.igen (vperm): Latch inputs into temporaries.
524 * MAINTAINERS: Add myself as maintainer of cr16 port.
528 Add simulator for National cr16 processor.
529 * cr16: New directory.
530 * configure.ac: Add entry for National cr16.
531 * configure: Regenerate.
535 * configure.ac (v850): V850 now has a testsuite.
536 * configure (v850): Likewise.
540 Updated copyright notices for most files.
544 * frv/frv.c (frvbf_cut): Only look at the six LSBs of
549 * cris/arch.c, cris/arch.h, cris/cpuall.h, cris/cpuv10.c,
550 cris/cpuv10.h, cris/cpuv32.c, cris/cpuv32.h, cris/cris-desc.c,
551 cris/cris-desc.h, cris/cris-opc.h, cris/decodev10.c,
552 cris/decodev10.h, cris/decodev32.c, cris/decodev32.h,
553 cris/modelv10.c, cris/modelv32.c, cris/semcrisv10f-switch.c,
554 cris/semcrisv32f-switch.c: Regenerate.
558 Switch the license of all files explicitly copyright the FSF
563 * Makefile.in: Add dummy "pdf" target.
567 * cris/traps.c (dump_statistics): Change format for cycle numbers
568 to %llu and cast parameters to unsigned long long.
572 * Makefile.in (FLAGS_TO_PASS, TARGET_FLAGS_TO_PASS): Add RUNTEST.
576 * configure.ac (sh64-*-*): Change to sh64*-*-*.
577 (sh-*-*): Change to sh*-*-*.
578 * configure: Regenerated.
582 Updated copyright notices for most files.
586 * Makefile.in (autoconf-common autoheader-common): Only run
587 autoheader on subdirs with a file config.in.
589 * configure.ac (common): Make the default "yes" for all targets
591 * configure: Regenerate.
593 * Makefile.in (autoconf-common autoheader-common): In documented
594 usage, say SHELL=/bin/sh.
595 (.PHONY): Add autoheader-common.
597 * MAINTAINERS: Add self as authorized committer for *.
602 * cris/cris-sim.h (enum cris_unknown_syscall_action_type)
603 (cris_unknown_syscall_action): Declare.
604 * cris/sim-if.c (cris_unknown_syscall_action): Define.
605 (cris_options): Add cris-unknown-syscall option.
606 (cris_option_handler): Correct comment about and error message for
607 invalid --cris-cycles argument. Handle --cris-unknown-syscall.
608 * cris/traps.c: Include stdarg.h
609 (cris_unknown_syscall): New function.
610 (cris_break_13_handler): Instead of sim_io_eprintf and
611 sim_engine_halt, call cris_unknown_syscall to handle more or less
612 unknown syscalls. Adjust code as necessary to handle return
617 * MAINTAINERS: Add Dave Brolley for sh64.
621 * cris/traps.c (TARGET_PIPE_BUF): New macro.
622 (cris_pipe_empty): Correct initialization of "remaining". Only
623 adjust the "write" return value if more than TARGET_PIPE_BUF bytes
628 * cris/configure.ac: Check for limits.h and sys/param.h.
629 * cris/configure, cris/config.in: Rebuild.
630 * cris/traps.c (SIM_PATHMAX): New macro.
631 (cris_break_13_handler): Use SIM_PATHMAX, not MAXPATHLEN.
635 * configure.ac (sparc-*-rtems*|sparc-*-elf*): Enable erc32 simulator.
636 * Makefile.in (FLAGS_TO_PASS): Include libdir.
637 * configure: Regenerated.
641 * cris/configure: Regenerated.
645 * cris/configure: Regenerated.
649 * configure.ac (CFLAGS_FOR_BUILD): Set and substitute.
650 * configure: Regenerate.
652 * Makefile.in (CFLAGS_FOR_BUILD): Define.
653 (CC_FOR_BUILD): Don't override.
654 (FLAGS_TO_PASS): Pass CFLAGS_FOR_BUILD.
658 * MAINTAINERS: Add an "Authorized committers" section, and list
663 * cris/crisv32f.c (MY (deliver_interrupt)): Set CCS to new_ccs.
667 * cris/dv-cris.c, cris/dv-rv.c, cris/rvdummy.c: New files.
668 * cris/Makefile.in (CONFIG_DEVICES): Remove redundant setting.
669 (dv-cris.o, dv-rv.o rvdummy$(EXEEXT), rvdummy.o): New rules.
670 (all): Depend on rvdummy$(EXEEXT).
671 * cris/configure.ac: Call SIM_AC_OPTION_WARNINGS. Check for
672 sys/socket.h and sys/select.h. Call SIM_AC_OPTION_HARDWARE,
674 * cris/configure: Regenerate.
675 * cris/cris-sim.h (cris_have_900000xxif): Declare here.
676 (enum cris_interrupt_type, crisv10deliver_interrupt)
677 (crisv32deliver_interrupt: New declarations.
678 * cris/cris-tmpl.c [WITH_HW] (MY (f_model_insn_after)): Call
679 sim_events_tickn and set state-events member work_pending when it's
680 time for the next event.
681 [WITH_HW] (MY (f_specific_init)): Set CPU-model-specific
682 interrupt-delivery function.
683 * cris/crisv10f.c (MY (deliver_interrupt)): New function.
684 * cris/crisv32f.c (MY (deliver_interrupt)): New function.
685 * cris/devices.c: Include hw-device.h.
686 (device_io_read_buffer) [WITH_HW]: Call hw_io_read_buffer.
687 (device_io_write_buffer): Only perform 0x900000xx-functions if
688 cris_have_900000xxif is nonzero. Else if WITH_HW defined,
689 call hw_io_write_buffer. Add return 0 last in function.
690 * cris/sim-if.c (cris_have_900000xxif): Now global.
691 (sim_open) [WITH_HW]: Clear deliver_interrupt cpu member.
692 Force "-model" option, effectively.
693 * cris/sim-main.h (cris_interrupt_delivery_fn): New type.
694 (struct _sim_cpu) [WITH_HW]: New member deliver_interrupt.
698 * cris/Makefile.in (CRISV10F_OBJS): Remove semcrisv10f-switch.o.
699 (CRISV32F_OBJS): Remove semcrisv32f-switch.o.
700 (semcrisv10f-switch.o, semcrisv32f-switch.o: Remove dependency rules.
704 * MAINTAINERS: Add self as m32c sim maintainer.
708 * cris/traps.c (syscall_map): Remove CB_SYS_time / TARGET_SYS_time
710 (cris_break_13_handler) <case TARGET_SYS_time>: New case.
714 Add simulator for Renesas M32C and M16C.
716 * m32c: New directory.
717 * configure.ac: Add entry for Renesas M32C.
718 * configure: Regenerate.
722 * cris/cris-tmpl.c (MY (f_model_insn_before)): Only display basic
723 cycle count for the current insn.
727 * cris/cpuv10.h, cris/cpuv32.h, cris/cris-desc.c, cris/cris-opc.h,
728 cris/decodev10.c, cris/decodev10.h, cris/decodev32.c,
729 cris/decodev32.h, cris/modelv10.c, cris/modelv32.c,
730 cris/semcrisv10f-switch.c, cris/semcrisv32f-switch.c: Regenerate.
734 * cris/arch.c, cris/arch.h, cris/cpuall.h, cris/cpuv10.c,
735 cris/cpuv10.h, cris/cpuv32.c, cris/cpuv32.h, cris/cris-desc.c,
736 cris/cris-desc.h, cris/cris-opc.h, cris/decodev10.c,
737 cris/decodev10.h, cris/decodev32.c, cris/decodev32.h,
738 cris/modelv10.c, cris/modelv32.c, cris/semcrisv10f-switch.c,
739 cris/semcrisv32f-switch.c: Regenerate.
743 * cris/traps.c (TARGET_O_RDONLY, TARGET_O_WRONLY): Define.
744 (open_map): Use TARGET_O_ACCMODE, TARGET_O_RDONLY and
746 (cris_break_13_handler) <case TARGET_SYS_fcntl>: Add support for
747 F_GETFL on fd 0, 1 and 2.
751 * cris/sim-main.h (struct _sim_cpu): New members last_syscall,
752 last_open_fd, last_open_flags.
753 * cris/traps.c: Don't include targ-vals.h.
754 (TARGET_O_ACCMODE): Define.
755 (cris_break_13_handler): Set new _sim_cpu members.
756 <case TARGET_SYS_fcntl>: Support special case of F_GETFL.
757 Rearrange code as switch. Emit "unimplemented" abort for
758 unimplemented fcntl calls.
760 * cris/traps.c (TARGET_SYS_stat): Define.
761 (syscall_stat32_map): Add entry for TARGET_SYS_stat.
762 (cris_break_13_handler) <case TARGET_SYS_stat>: New case.
766 * cris/cris-tmpl.c (MY (f_model_insn_before)): Make sure only the
767 low 32 bits are used after an unsigned long cast.
771 * cris/Makefile.in (stamp-v32fmloop): Depend on stamp-v10fmloop.
775 * MAINTAINERS: Update my mail address, move myself to the
776 "Past maintainers" section.
780 * configure.ac: Add igen to v850 build.
781 * configure: Regenerate.
785 * common/callback.c (PIPE_BUF): Provide default definition.
786 (os_lstat): Use stat if lstat is not available on the host.
787 (os_ftruncate): Return EINVAL if not available on the host.
788 (os_truncate): Ditto.
789 * common/configure.ac: Check for lstat, truncate and ftruncate.
790 * common/configure: Regenerate.
791 * common/config.in: Regenerate.
795 * common/Make-common.in: Add $(EXEEXT) to "run".
799 * cris/traps.c (cris_break_13_handler) <case TARGET_SYS_mmap2>:
800 For ((len & 8191) != 0 && fd == (USI) -1), don't say this isn't
801 implemented. In call to create_map, pad length argument to 8k.
805 * configure.ac: Add explicit sh64 case.
806 * configure: Regenerate.
810 * arm/wrapper.c: Provide SIGTRAP and SIGBUS.
814 * cris/Makefile.in (stamp-v10fcpu, stamp-v32fcpu): Add kludge to
815 include cgen-ops.h in decodev10.c and decodev32.c.
816 * cris/sim-main.h: Don't include cgen-ops.h here.
817 * cris/arch.c, cris/arch.h, cris/cpuall.h, cris/cpuv10.c,
818 cris/cpuv10.h, cris/cpuv32.c, cris/cpuv32.h, cris/cris-desc.c,
819 cris/cris-desc.h, cris/cris-opc.h, cris/decodev10.c,
820 cris/decodev10.h, cris/decodev32.c, cris/decodev32.h,
821 cris/modelv10.c, cris/modelv32.c, cris/semcrisv10f-switch.c,
822 cris/semcrisv32f-switch.c: Regenerate.
824 * cris/traps.c (cris_break_13_handler) <case
825 TARGET_SYS_rt_sigaction>: Rename sa_handler, sa_flags,
826 sa_restorer, sa_mask_low, sa_mask_high to target_sa_handler etc.
830 * cris/configure: Regenerate.
834 * d10v/configure.ac, igen/configure.ac, m68hc11/configure.ac,
835 mips/configure.ac, mn10300/configure.ac, v850/configure.ac:
836 Regenerated, after change to common/aclocal.m4.
840 * iq2000: New target subdirectory.
841 * configure.ac: Add iq2000 target.
842 * configure: Regenerate.
846 * Makefile.in (all, clean mostlyclean, distclean maintainer-clean)
847 (realclean, install): Fail if subdir make failed.
851 * cris: New directory, simulator for Axis Communications CRIS
852 including CRIS v32, CGEN-based.
853 * configure.ac: Add corresponding configury.
854 * configure: Regenerate.
858 * configure.ac: For mips*-*-* and mn10300*-*-* configure the
859 common directory. Remove sparc*-*-* from list.
863 * Makefile.in (autoconf-common autoheader-common): Add --force to
864 autoconf and autoheader.
865 (autoconf-common autoheader-common)
866 (autoconf-install autoheader-install): Check for configure.ac, not
868 * configure.ac: Delete AC_CONFIG_AUX_DIR.
869 * configure: Re-generate.
873 * configure.ac: Replace configure.in. Requires autoconf 2.59 and
874 correctly calls AC_CONFIG_SUBDIRS.
875 * configure: Re-generate.
879 * i960, h8500: Delete directory.
883 * d30v, fr30, mn10200, z8k: Delete directory.
887 * MAINTAINERS: Update my mail address.
891 * configure.in (mips*-*-*): Configure in testsuite.
892 * configure: Regenerate.
896 * configure.in: Move frv handling to alphabetically correct placement.
900 * Makefile.in (FLAGS_TO_PASS): Pass down $(bindir) and $(mandir).
904 * MAINTAINERS: Add myself as maintainer of the FRV port.
909 * frv/: New directory, simulator for the Fujitsu FRV.
910 * configure.in: Add frv configury.
911 * configure: Regenerate.
915 * MAINTAINERS: Update my mail address.
919 * MAINTAINERS: Andrew Cagney (mips) and Geoff Keating (ppc) drop
920 maintenance. List igen and sh maintainers. Mention that target
921 and global maintainers pick up the slack.
925 * configure.in: Add testsuite to extra_subdirs for sh.
926 * configure: Regenerate.
934 * sh/gencode.c: Replace sh3e with sh2e except in fsqrt.
938 * MAINTAINERS: Update my email address.
942 * w65/: Delete directory.
946 * configure.in (extra_subdirs): Mark fr30-*-* as obsolete.
947 * configure: Re-generate.
951 * configure.in (extra_subdirs): Mark d30v-*-* as obsolete.
952 * configure: Re-generate.
956 * Makefile.in (autoconf-changelog autoheader-changelog): Let name,
957 id, date and host to be overriden by NAME, ID, DATE and HOST
958 respectfully. Use ISO dates.
962 * Makefile.in (ChangeLog): New makefile variable.
963 * README-HACKING: Mention the ChangeLog makefile variable.
967 * tic80/: Delete directory.
971 * MAINTAINERS: Update my email address.
975 * MAINTAINERS: Record self as maintainer of m68hc11 simulator.
979 * MAINTAINERS: Record self as a co-maintainer of just common/.
983 * MAINTAINERS: Point to GDB files describing overall maintaince
984 and check-in procedures.
988 * MAINTAINERS: Add myself for ARM portions.
992 * configure.in: When Linux or NetBSD, enable PowerPC simulator.
993 * configure: Re-generate.
997 * MAINTAINERS: Add myself for common portions.
1001 * MAINTAINERS: Added self and Andrew for the mips sim.
1005 * MAINTAINERS: Added self and Andrew for the ppc sim.
1010 * m68hc11: New directory.
1011 * configure.in: Add.
1012 * configure: Regenerate.
1016 * tic80: New directory.
1017 * configure.in: Add configury.
1018 * configure: Regenerate.
1022 * configure.in (extra_subdirs): Add testsuite to strongarm
1024 * configure: Regenerate.
1028 * MAINTAINERS: New file. Blank.
1032 * configure.in: Require autoconf 2.13 and remove obsolete
1033 invocation of AC_C_CROSS.
1034 * configure: Regenerate.
1038 * configure.in: Configure the testsuite directory for thumb.
1039 * configure: Regenerate.
1043 * configure.in: Configure the testsuite directory for arm.
1044 * configure: Regenerate.
1048 * configure.in: Add support for MCore target.
1049 * configure: Regenerate.
1053 * Makefile.in (FLAGS_TO_PASS, TARGET_FLAGS_TO_PASS): Remove
1054 RUNTEST instead of commenting out, fixes portability problem.
1058 * configure.in: Add support for StrongARM target.
1059 * configure: Regenerate.
1063 * configure.in: Require autoconf 2.12.1 or higher.
1067 * configure.in (i960-*-*): Add.
1068 * configure: Rebuild.
1072 * configure.in: Added case for fr30-*-*.
1073 * configure: Regenerated.
1077 * ppc/Makefile.in: Add EXEEXT to installed powerpc-eabi-run program
1078 to allow successful operation on Windows.
1082 * Makefile.in: Take RUNTEST out of FLAGS_TO_PASS so that make
1083 check can be invoked recursively.
1087 * configure.in: Build simulator on sparclite and sparc86x targets.
1088 * configure: Regenerate.
1092 * Makefile.in (autoconf-common autoheader-common): Don't pass -l
1093 to autoconf and autoheader.
1097 * Makefile.in (autoconf-common autoheader-common): Pass `-l
1098 ../common' to autoconf and autoheader. Unconditionally run
1099 autoconf in every subdir.
1100 (autoconf-changelog autoheader-changelog): Unconditionally run
1101 commands in every subdir.
1102 (autoconf-install autoheader-install): Likewise.
1106 * Makefile.in: Get SHELL from configure.
1107 * (FLAGS_TO_PASS): Pass down SHELL.
1108 * configure: Regenerate with autoconf 2.12.1 to fix shell issues for
1113 * configure.in (extra_subdirs): Enable igen for mn10300.
1114 * configure: Re-generate.
1118 * configure.in (extra_subdirs): Add support for thumb target.
1120 * configure (extra_subdirs): Add support for thumb target.
1124 * configure.in (extra_subdirs): Add IGEN directory when MIPS
1126 * configure: Regenerate.
1130 * configure.in (extra_subdirs): v850ea needs igen.
1131 * configure: Re-generate.
1135 * configure.in (testdir): When a testsuite directory, add that to
1136 the list of confdirs.
1140 * configure.in (extra_subdirs): Enable igen ready for V850.
1144 * configure.in (w65-*-*, only_if_enabled): Set.
1145 * configure: Re-generate.
1149 * configure.in (sparc*-*-*, only_if_enabled): Set
1150 only_if_enabled=yes. Check only_if_enabled before enabling a
1152 * configure: Regenerate.
1156 * configure.in (extra_subdirs): Add v850e target.
1160 * configure.in (extra_subdirs): Add v850ea target.
1164 * configure.in (sparc*-*-*): Don't build erc32.
1165 * configure: Regenerate.
1169 * configure.in (m32r-*-*): New target.
1170 * configure: Regenerate.
1172 * Makefile.in (autoconf-common, autoconf-changelog): Change $* to $@.
1176 * Makefile.in (.NOEXPORT, MAKEOVERRIDES): Moved to end, BSD make
1177 thought that .NOEXPORT was the default target.
1181 * Makefile.in (clean mostlyclean): Restore targets accidentally
1182 deleted in earlier change.
1186 * Makefile.in (autoheader-common, autoheader-changelog,
1187 autoheader-install): Perform autoheader in addition to autoconf.
1191 * Makefile.in (autoconf-install): New target.
1192 (autoconf-changelog): Try different way to obtain user name.
1196 * Makefile.in (autoconf-changelog): New target, update
1197 ChangeLog for all subdirectories - normally used after
1198 autoconf-common target.
1202 * configure.in (extra_subdirs): Include testsuite for d30v.
1203 * configure: Regenerate.
1205 * Makefile.in (RUNTEST, RUNTESTFLAGS): Borrow test rules from
1207 (check): New rules - drive the testsuite.
1211 * configure.in: Add mn10200 configure lines accidentally
1213 * configure: Regenerated.
1217 * configure.in (extra_subdirs): Generalize common sub directory
1219 (extra_subdirs): For d30v add igen to the list to be built.
1223 * configure.in (d30v): New target.
1224 * configure: Regenerated.
1228 * configure.in: Don't require GCC to build the mn10200
1230 * configure: Rebuilt.
1234 * configure.in: Don't configure any subdirs if no simulator
1235 is being built. Don't use erc32 for sparc64.
1236 * configure: Regenerated.
1240 * Makefile.in (autoconf-common): New target.
1241 * configure.in: Do configure common.
1242 * configure: Regenerated.
1246 * configure configure.in: Don't configure common anymore. Files
1247 from common are now built in the individual simualtor directories.
1248 This fixes problems with the WinGDB build procedure.
1252 * configure: Enable the mn10200 simulator.
1256 * configure.in (configdirs): Add common.
1257 * configure: Regenerated.
1261 * configure.in (powerpc*-*-linux*): Treat like the other powerpc
1262 system V based targets.
1263 * configure: Regenerate.
1267 * configure.in (--enable-sim-powerpc): Delete.
1268 (--enable-sim): Add.
1269 * configure: Regenerated.
1273 * configure.in: Only build the V850 simulator if
1275 * configure: Rebuild.
1279 * configure.in: Do build erc32 for DOS and Windows hosts.
1280 * configure: Rebuild.
1284 * Makefile.in erc32/Makefile.in: Don't set srcroot. This should
1285 be inherited from the parent. Remove INSTALL_XFORM and
1286 INSTALL_XFORM1. Make INSTALL be set from configure.
1290 * configure.in: Only build the MIPS simulator if we are using
1292 * configure: Rebuild.
1296 * configure.in (v850-*-*): Added V850 simulator.
1300 * configure.in (d10v-*-*): Added D10V simulator.
1304 * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir,
1305 INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values.
1307 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
1308 (AC_PROG_INSTALL): Added.
1309 * configure: Rebuilt.
1313 * configure.in: Only configure erc32 if using gcc.
1314 * configure: Rebuild.
1318 * configure.in (sim_target): Build PowerPC simulator for powerpc
1319 System V.4, Solaris, and Elf targets.
1320 * configure: Regenerate with autoconf 2.10.
1322 Wed May 22 12:10:49 1996 Rob Savoye <rob@chinadoll>
1324 * configure.in: Only built erc32 simulator on Unix hosts as it
1326 * configure: Regenerated with autoconf 2.8.
1330 * erc32: Sparc simulator from the ESA.
1335 * configure.in: Use AC_CHECK_TOOL to find AR & RANLIB.
1336 * configure: Regenerate using autoconf.
1340 * Makefile.in (install): Fix typo.
1344 * configure: Regenerate with autoconf 2.7.
1346 * Makefile.in (all): Simplify.
1347 (clean, mostlyclean): SUBDIRS may contain whitespace; fix the loop
1348 as in the all target.
1349 (distclean, maintainer-clean, realclean): Likewise.
1350 (install): Likewise.
1354 * Makefile.in (all): Remove extra '\' char from shell script.
1358 * Makefile.in (all): Avoid a for loop with zero elements, even if
1359 the loop will not be executed because of an if statement.
1363 * Makefile.in (install): Add missing semicolon in "fi \".
1367 * Makefile.in (AR, CC, CFLAGS, CC_FOR_BUILD, RANLIB): Pick up
1368 defaults from configure.
1370 * configure.in: Pick up AR, CC, CFLAGS, CC_FOR_BUILD, RANLIB using
1372 (powerpc*-*-eabi*): Build simulator for all powerpc eabi targets
1373 if either --enable-sim-powerpc is used, or the host compiler is
1378 * configure.in (mips*-*-*): Added "mips" simulator target.
1379 * configure: Re-generated.
1383 * Makefile.in (BISON): Remove macro.
1384 (FLAGS_TO_PASS): Remove BISON.
1388 * configure.in: Explicitly `exit 0' for broken shells.
1389 * configure: Rebuilt.
1393 * common/run.c (main): Initialize the callbacks.
1397 * Makefile.in (maintainer-clean): New synonym for realclean.
1401 * configure.in (powerpc*-*-eabisim*): Only build the simulator if
1402 the target is powerpc*-*-eabisim*, since it requires GCC to build.
1406 * configure.in (powerpc{,le}-*-*): Add psim from Andrew Cagney
1408 * configure: Regnerate from configure.in.
1412 * Update all FSF addresses except those in COPYING* files.
1416 * Makefile.in (CC_FOR_BUILD): Define default and arrange to pass
1417 submakes either default or passed in value.
1421 * Makefile.in (all, clean, distclean, mostlyclean, realclean,
1422 install): Changed targets so that they descend all
1423 subdirectories in $(SUBDIRS).
1424 (*-all, *-clean, *-install): Removed targets.
1426 * configure.in: Don't bother with target makefile fragments, they
1427 are no longer needed.
1428 * configure: regenerated.
1430 * Makefile.in, configure.in: converted to autoconf.
1431 * configure: New file, generated with autconf 2.4.
1435 * Makefile.in: Support ARM.
1436 * configure.in: Ditto.
1438 Sun Jan 15 16:53:47 1995 Steve Chamberlain <sac@splat>
1440 * Makefile.in: Support W65.
1441 * configure.in: Ditto.
1445 * Makefile.in: Add TAGS target.
1449 * Makefile.in (all-z8k, install-z8k, clean-z8k, all-h8300,
1450 install-h8300, clean-h8300, all-h8500, install-h8500,
1451 clean-h8500, all-sh, install-sh, clean-sh): do not echo
1454 Wed Jun 30 14:12:05 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
1456 * Makefile.in: remove endian.h trace from h8500
1460 * Makefile.in: Add distclean, realclean, and mostlyclean targets.
1462 Fri May 21 11:21:16 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
1464 * Makefile.in: make all of the all-* target (except all-nothing)
1465 depend on endian.h, so that if we're not building a simulator, we
1470 * Makefile.in (check, installcheck): Added dummy targets.
1474 * Makefile.in (endian): Find endian.c in $(srcdir), and also
1475 explicitly make it, since some makes apparently don't work with
1476 VPATH and .c to executable rules (SunOS make for example).
1480 * Makefile.in (endian): Add explicit rule for broken makes.
1484 * Makefile.in (info, install-info): New targets.
1485 (DO_INSTALL): Renamed from INSTALL, which is overridden by the top
1490 * Makefile.in (endian.h): build endian.h via a temporary file so
1491 that we don't leave an incomplete file lying around on
1493 (clean): remove endian, e.h, and endian.h.
1497 * Makefile.in, configure.in: if target isn't supported, build a