Do not check for sys/time.h or sys/times.h
authorTom Tromey <tom@tromey.com>
Fri, 23 Apr 2021 01:51:54 +0000 (19:51 -0600)
committerTom Tromey <tom@tromey.com>
Fri, 23 Apr 2021 01:51:55 +0000 (19:51 -0600)
commit19f6a43c6c17147acba638eab64f2bf8de4b1447
tree831860e5339a9280e7309eae4188a999d6a7c72e
parent51de628a224b05e80dbde2ed00ba2fc022cd6028
Do not check for sys/time.h or sys/times.h

This updates the sim so that it unconditionally uses sys/time.h.  This
is in agreement with existing code, and a recent change to BFD.

I also think that sys/times.h is never needed by the sim, so this
patch removes the check and the one spot that was conditionally
including it.

sim/ChangeLog
2021-04-22  Tom Tromey  <tom@tromey.com>

* m4/sim_ac_common.m4 (SIM_AC_COMMON): Don't check for sys/time.h
or sys/times.h.

sim/aarch64/ChangeLog
2021-04-22  Tom Tromey  <tom@tromey.com>

* configure, config.in: Rebuild.

sim/arm/ChangeLog
2021-04-22  Tom Tromey  <tom@tromey.com>

* configure, config.in: Rebuild.

sim/avr/ChangeLog
2021-04-22  Tom Tromey  <tom@tromey.com>

* configure, config.in: Rebuild.

sim/bfin/ChangeLog
2021-04-22  Tom Tromey  <tom@tromey.com>

* configure, config.in: Rebuild.

sim/bpf/ChangeLog
2021-04-22  Tom Tromey  <tom@tromey.com>

* configure, config.in: Rebuild.

sim/common/ChangeLog
2021-04-22  Tom Tromey  <tom@tromey.com>

* sim-utils.c: Update includes.

sim/cr16/ChangeLog
2021-04-22  Tom Tromey  <tom@tromey.com>

* simops.c: Update includes.
* configure, config.in: Rebuild.

sim/cris/ChangeLog
2021-04-22  Tom Tromey  <tom@tromey.com>

* rvdummy.c: Update includes.
* dv-rv.c: Update includes.
* configure, config.in: Rebuild.

sim/d10v/ChangeLog
2021-04-22  Tom Tromey  <tom@tromey.com>

* configure, config.in: Rebuild.

sim/erc32/ChangeLog
2021-04-22  Tom Tromey  <tom@tromey.com>

* configure, config.in: Rebuild.

sim/example-synacor/ChangeLog
2021-04-22  Tom Tromey  <tom@tromey.com>

* configure, config.in: Rebuild.

sim/frv/ChangeLog
2021-04-22  Tom Tromey  <tom@tromey.com>

* configure, config.in: Rebuild.

sim/ft32/ChangeLog
2021-04-22  Tom Tromey  <tom@tromey.com>

* configure, config.in: Rebuild.

sim/h8300/ChangeLog
2021-04-22  Tom Tromey  <tom@tromey.com>

* configure, config.in: Rebuild.

sim/iq2000/ChangeLog
2021-04-22  Tom Tromey  <tom@tromey.com>

* configure, config.in: Rebuild.

sim/lm32/ChangeLog
2021-04-22  Tom Tromey  <tom@tromey.com>

* configure, config.in: Rebuild.

sim/m32c/ChangeLog
2021-04-22  Tom Tromey  <tom@tromey.com>

* configure, config.in: Rebuild.

sim/m32r/ChangeLog
2021-04-22  Tom Tromey  <tom@tromey.com>

* configure, config.in: Rebuild.

sim/m68hc11/ChangeLog
2021-04-22  Tom Tromey  <tom@tromey.com>

* configure, config.in: Rebuild.

sim/mcore/ChangeLog
2021-04-22  Tom Tromey  <tom@tromey.com>

* configure, config.in: Rebuild.

sim/microblaze/ChangeLog
2021-04-22  Tom Tromey  <tom@tromey.com>

* configure, config.in: Rebuild.

sim/mips/ChangeLog
2021-04-22  Tom Tromey  <tom@tromey.com>

* configure, config.in: Rebuild.

sim/mn10300/ChangeLog
2021-04-22  Tom Tromey  <tom@tromey.com>

* configure, config.in: Rebuild.

sim/moxie/ChangeLog
2021-04-22  Tom Tromey  <tom@tromey.com>

* configure, config.in: Rebuild.

sim/msp430/ChangeLog
2021-04-22  Tom Tromey  <tom@tromey.com>

* configure, config.in: Rebuild.

sim/or1k/ChangeLog
2021-04-22  Tom Tromey  <tom@tromey.com>

* configure, config.in: Rebuild.

sim/ppc/ChangeLog
2021-04-22  Tom Tromey  <tom@tromey.com>

* mon.c: Update includes.
* emul_unix.c: Update includes.
(do_unix_gettimeofday): Update condition.

sim/pru/ChangeLog
2021-04-22  Tom Tromey  <tom@tromey.com>

* configure, config.in: Rebuild.

sim/riscv/ChangeLog
2021-04-22  Tom Tromey  <tom@tromey.com>

* configure, config.in: Rebuild.

sim/rl78/ChangeLog
2021-04-22  Tom Tromey  <tom@tromey.com>

* configure, config.in: Rebuild.

sim/rx/ChangeLog
2021-04-22  Tom Tromey  <tom@tromey.com>

* configure, config.in: Rebuild.

sim/sh/ChangeLog
2021-04-22  Tom Tromey  <tom@tromey.com>

* interp.c: Update includes.
* configure, config.in: Rebuild.

sim/v850/ChangeLog
2021-04-22  Tom Tromey  <tom@tromey.com>

* configure, config.in: Rebuild.
104 files changed:
sim/ChangeLog
sim/aarch64/ChangeLog
sim/aarch64/config.in
sim/aarch64/configure
sim/arm/ChangeLog
sim/arm/config.in
sim/arm/configure
sim/avr/ChangeLog
sim/avr/config.in
sim/avr/configure
sim/bfin/ChangeLog
sim/bfin/config.in
sim/bfin/configure
sim/bpf/ChangeLog
sim/bpf/config.in
sim/bpf/configure
sim/common/ChangeLog
sim/common/sim-utils.c
sim/cr16/ChangeLog
sim/cr16/config.in
sim/cr16/configure
sim/cr16/simops.c
sim/cris/ChangeLog
sim/cris/config.in
sim/cris/configure
sim/cris/dv-rv.c
sim/cris/rvdummy.c
sim/d10v/ChangeLog
sim/d10v/config.in
sim/d10v/configure
sim/erc32/ChangeLog
sim/erc32/config.in
sim/erc32/configure
sim/example-synacor/ChangeLog
sim/example-synacor/config.in
sim/example-synacor/configure
sim/frv/ChangeLog
sim/frv/config.in
sim/frv/configure
sim/ft32/ChangeLog
sim/ft32/config.in
sim/ft32/configure
sim/h8300/ChangeLog
sim/h8300/config.in
sim/h8300/configure
sim/iq2000/ChangeLog
sim/iq2000/config.in
sim/iq2000/configure
sim/lm32/ChangeLog
sim/lm32/config.in
sim/lm32/configure
sim/m32c/ChangeLog
sim/m32c/config.in
sim/m32c/configure
sim/m32r/ChangeLog
sim/m32r/config.in
sim/m32r/configure
sim/m4/sim_ac_common.m4
sim/m68hc11/ChangeLog
sim/m68hc11/config.in
sim/m68hc11/configure
sim/mcore/ChangeLog
sim/mcore/config.in
sim/mcore/configure
sim/microblaze/ChangeLog
sim/microblaze/config.in
sim/microblaze/configure
sim/mips/ChangeLog
sim/mips/config.in
sim/mips/configure
sim/mn10300/ChangeLog
sim/mn10300/config.in
sim/mn10300/configure
sim/moxie/ChangeLog
sim/moxie/config.in
sim/moxie/configure
sim/msp430/ChangeLog
sim/msp430/config.in
sim/msp430/configure
sim/or1k/ChangeLog
sim/or1k/config.in
sim/or1k/configure
sim/ppc/ChangeLog
sim/ppc/emul_unix.c
sim/ppc/mon.c
sim/pru/ChangeLog
sim/pru/config.in
sim/pru/configure
sim/riscv/ChangeLog
sim/riscv/config.in
sim/riscv/configure
sim/rl78/ChangeLog
sim/rl78/config.in
sim/rl78/configure
sim/rx/ChangeLog
sim/rx/config.in
sim/rx/configure
sim/sh/ChangeLog
sim/sh/config.in
sim/sh/configure
sim/sh/interp.c
sim/v850/ChangeLog
sim/v850/config.in
sim/v850/configure