aboutsummaryrefslogtreecommitdiff
path: root/sim/cr16
diff options
context:
space:
mode:
Diffstat (limited to 'sim/cr16')
-rw-r--r--sim/cr16/ChangeLog5
-rw-r--r--sim/cr16/config.in6
-rwxr-xr-xsim/cr16/configure10
-rw-r--r--sim/cr16/simops.c2
4 files changed, 7 insertions, 16 deletions
diff --git a/sim/cr16/ChangeLog b/sim/cr16/ChangeLog
index 0fe6add..4be46d6 100644
--- a/sim/cr16/ChangeLog
+++ b/sim/cr16/ChangeLog
@@ -1,5 +1,10 @@
2021-04-22 Tom Tromey <tom@tromey.com>
+ * simops.c: Update includes.
+ * configure, config.in: Rebuild.
+
+2021-04-22 Tom Tromey <tom@tromey.com>
+
* Makefile.in (SIM_EXTRA_DEPS): New variable.
(simops.o): Remove.
diff --git a/sim/cr16/config.in b/sim/cr16/config.in
index cb5ea1b..2416b7f 100644
--- a/sim/cr16/config.in
+++ b/sim/cr16/config.in
@@ -115,12 +115,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/cr16/configure b/sim/cr16/configure
index 5be1448..f0cfde9 100755
--- a/sim/cr16/configure
+++ b/sim/cr16/configure
@@ -2293,8 +2293,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"
@@ -3914,10 +3912,6 @@ done
-
-
-
-
for ac_func in $ac_func_list
do :
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
@@ -11189,7 +11183,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 11192 "configure"
+#line 11186 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -11295,7 +11289,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 11298 "configure"
+#line 11292 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
diff --git a/sim/cr16/simops.c b/sim/cr16/simops.c
index f523762..ca96dd0 100644
--- a/sim/cr16/simops.c
+++ b/sim/cr16/simops.c
@@ -29,9 +29,7 @@
#endif
#include <string.h>
#include <time.h>
-#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
-#endif
#include "sim-main.h"
#include "simops.h"