diff options
author | Tom Tromey <tom@tromey.com> | 2021-04-22 19:51:54 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2021-04-22 19:51:55 -0600 |
commit | 19f6a43c6c17147acba638eab64f2bf8de4b1447 (patch) | |
tree | 831860e5339a9280e7309eae4188a999d6a7c72e /sim/cris | |
parent | 51de628a224b05e80dbde2ed00ba2fc022cd6028 (diff) | |
download | fsf-binutils-gdb-19f6a43c6c17147acba638eab64f2bf8de4b1447.zip fsf-binutils-gdb-19f6a43c6c17147acba638eab64f2bf8de4b1447.tar.gz fsf-binutils-gdb-19f6a43c6c17147acba638eab64f2bf8de4b1447.tar.bz2 |
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.
Diffstat (limited to 'sim/cris')
-rw-r--r-- | sim/cris/ChangeLog | 6 | ||||
-rw-r--r-- | sim/cris/config.in | 6 | ||||
-rwxr-xr-x | sim/cris/configure | 10 | ||||
-rw-r--r-- | sim/cris/dv-rv.c | 2 | ||||
-rw-r--r-- | sim/cris/rvdummy.c | 2 |
5 files changed, 8 insertions, 18 deletions
diff --git a/sim/cris/ChangeLog b/sim/cris/ChangeLog index bcebb8f..07d3086 100644 --- a/sim/cris/ChangeLog +++ b/sim/cris/ChangeLog @@ -1,5 +1,11 @@ 2021-04-22 Tom Tromey <tom@tromey.com> + * rvdummy.c: Update includes. + * dv-rv.c: Update includes. + * configure, config.in: Rebuild. + +2021-04-22 Tom Tromey <tom@tromey.com> + * Makefile.in (sim-if.o, dv-cris.o, dv-rv.o, arch.o, traps.o) (devices.o, crisv10f.o, mloopv10f.o, cpuv10.o, decodev10.o) (modelv10.o, crisv32f.o, mloopv32f.o, cpuv32.o, decodev32.o) diff --git a/sim/cris/config.in b/sim/cris/config.in index aa4d649..2e48a34 100644 --- a/sim/cris/config.in +++ b/sim/cris/config.in @@ -130,12 +130,6 @@ /* Define to 1 if you have the <sys/stat.h> header file. */ #undef HAVE_SYS_STAT_H -/* Define to 1 if you have the <sys/times.h> header file. */ -#undef HAVE_SYS_TIMES_H - -/* Define to 1 if you have the <sys/time.h> header file. */ -#undef HAVE_SYS_TIME_H - /* Define to 1 if you have the <sys/types.h> header file. */ #undef HAVE_SYS_TYPES_H diff --git a/sim/cris/configure b/sim/cris/configure index cdb67de..2a615b1 100755 --- a/sim/cris/configure +++ b/sim/cris/configure @@ -2307,8 +2307,6 @@ as_fn_append ac_header_list " fpu_control.h" as_fn_append ac_header_list " unistd.h" as_fn_append ac_header_list " sys/mman.h" as_fn_append ac_header_list " sys/resource.h" -as_fn_append ac_header_list " sys/time.h" -as_fn_append ac_header_list " sys/times.h" as_fn_append ac_header_list " sys/stat.h" as_fn_append ac_func_list " __setfpucw" as_fn_append ac_func_list " ftruncate" @@ -3931,10 +3929,6 @@ done - - - - for ac_func in $ac_func_list do : as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` @@ -11206,7 +11200,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11209 "configure" +#line 11203 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11312,7 +11306,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11315 "configure" +#line 11309 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/sim/cris/dv-rv.c b/sim/cris/dv-rv.c index 612eff4..cef164b 100644 --- a/sim/cris/dv-rv.c +++ b/sim/cris/dv-rv.c @@ -35,9 +35,7 @@ #include <sys/types.h> #endif -#ifdef HAVE_SYS_TIME_H #include <sys/time.h> -#endif #ifdef HAVE_SYS_SELECT_H #include <sys/select.h> diff --git a/sim/cris/rvdummy.c b/sim/cris/rvdummy.c index f147ea9..788f8ed 100644 --- a/sim/cris/rvdummy.c +++ b/sim/cris/rvdummy.c @@ -47,9 +47,7 @@ main (int argc, char *argv[]) #include <sys/types.h> #endif -#ifdef HAVE_SYS_TIME_H #include <sys/time.h> -#endif #ifdef HAVE_SYS_SELECT_H #include <sys/select.h> |