diff options
author | Mike Frysinger <vapier@gentoo.org> | 2021-04-18 21:30:24 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2021-04-18 21:33:07 -0400 |
commit | 3e91feb948093ffc52678681401cc2adabd13d38 (patch) | |
tree | cb4b70c47775e48b30a3e8ac29b670885eee6713 /sim/mn10300 | |
parent | 7da5cf78fb1ba3e93cc5e79cf5084bd2b03f0fcf (diff) | |
download | binutils-gdb-3e91feb948093ffc52678681401cc2adabd13d38.tar.gz |
sim: mn10300: delete unused func & header tests
These appear to have been blindly copied from the v850 port many years
ago as the code has never been used. Just delete it all and be done.
Diffstat (limited to 'sim/mn10300')
-rw-r--r-- | sim/mn10300/ChangeLog | 6 | ||||
-rw-r--r-- | sim/mn10300/config.in | 21 | ||||
-rwxr-xr-x | sim/mn10300/configure | 25 | ||||
-rw-r--r-- | sim/mn10300/configure.ac | 3 | ||||
-rw-r--r-- | sim/mn10300/op_utils.c | 3 |
5 files changed, 6 insertions, 52 deletions
diff --git a/sim/mn10300/ChangeLog b/sim/mn10300/ChangeLog index 4e377785b4d..a56f0a37441 100644 --- a/sim/mn10300/ChangeLog +++ b/sim/mn10300/ChangeLog @@ -1,3 +1,9 @@ +2021-04-18 Mike Frysinger <vapier@gentoo.org> + + * configure.ac: Delete AC_CHECK_FUNCS & AC_CHECK_HEADERS calls. + * op_utils.c: Delete utime.h include. + * config.in, configure: Regenerate. + 2021-04-15 John Baldwin <jhb@FreeBSD.org> * Makefile.in: (tmp-igen) Only pass mn10300.igen to igen. diff --git a/sim/mn10300/config.in b/sim/mn10300/config.in index c9fb022ca3e..c60f7d8649d 100644 --- a/sim/mn10300/config.in +++ b/sim/mn10300/config.in @@ -10,30 +10,15 @@ language is requested. */ #undef ENABLE_NLS -/* Define to 1 if you have the `chmod' function. */ -#undef HAVE_CHMOD - -/* Define to 1 if you have the `chown' function. */ -#undef HAVE_CHOWN - /* Define to 1 if you have the <dlfcn.h> header file. */ #undef HAVE_DLFCN_H /* Define if dv-sockser is usable. */ #undef HAVE_DV_SOCKSER -/* Define to 1 if you have the `execv' function. */ -#undef HAVE_EXECV - -/* Define to 1 if you have the `execve' function. */ -#undef HAVE_EXECVE - /* Define to 1 if you have the <fcntl.h> header file. */ #undef HAVE_FCNTL_H -/* Define to 1 if you have the `fork' function. */ -#undef HAVE_FORK - /* Define to 1 if you have the <fpu_control.h> header file. */ #undef HAVE_FPU_CONTROL_H @@ -154,12 +139,6 @@ /* Define to 1 if you have the <unistd.h> header file. */ #undef HAVE_UNISTD_H -/* Define to 1 if you have the `utime' function. */ -#undef HAVE_UTIME - -/* Define to 1 if you have the <utime.h> header file. */ -#undef HAVE_UTIME_H - /* Define to 1 if you have the <windows.h> header file. */ #undef HAVE_WINDOWS_H diff --git a/sim/mn10300/configure b/sim/mn10300/configure index 3106bdad8d7..0042c83b332 100755 --- a/sim/mn10300/configure +++ b/sim/mn10300/configure @@ -12266,31 +12266,6 @@ fi fi -for ac_func in time chmod utime fork execve execv chown -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - -for ac_header in utime.h -do : - ac_fn_c_check_header_mongrel "$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default" -if test "x$ac_cv_header_utime_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_UTIME_H 1 -_ACEOF - -fi - -done - - cgen_breaks="" if grep CGEN_MAINT $srcdir/Makefile.in >/dev/null; then diff --git a/sim/mn10300/configure.ac b/sim/mn10300/configure.ac index e2ae2d835b2..f8b8ef8d2b3 100644 --- a/sim/mn10300/configure.ac +++ b/sim/mn10300/configure.ac @@ -11,7 +11,4 @@ SIM_AC_OPTION_RESERVED_BITS SIM_AC_OPTION_BITSIZE(32,31) SIM_AC_OPTION_HARDWARE(yes,,mn103cpu mn103int mn103tim mn103ser mn103iop) -AC_CHECK_FUNCS(time chmod utime fork execve execv chown) -AC_CHECK_HEADERS(utime.h) - SIM_AC_OUTPUT diff --git a/sim/mn10300/op_utils.c b/sim/mn10300/op_utils.c index a696cdbfab9..37d43237642 100644 --- a/sim/mn10300/op_utils.c +++ b/sim/mn10300/op_utils.c @@ -2,9 +2,6 @@ #include "sim-syscall.h" #include "targ-vals.h" -#ifdef HAVE_UTIME_H -#include <utime.h> -#endif #include <time.h> #ifdef HAVE_UNISTD_H #include <unistd.h> |