]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
sim: mn10300: delete unused func & header tests
authorMike Frysinger <vapier@gentoo.org>
Mon, 19 Apr 2021 01:30:24 +0000 (21:30 -0400)
committerMike Frysinger <vapier@gentoo.org>
Mon, 19 Apr 2021 01:33:07 +0000 (21:33 -0400)
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.

sim/mn10300/ChangeLog
sim/mn10300/config.in
sim/mn10300/configure
sim/mn10300/configure.ac
sim/mn10300/op_utils.c

index 4e377785b4d3ba4092b9570b0f0d7dc22e550e27..a56f0a374413864e12f43b8d66dcde2f82c74e4a 100644 (file)
@@ -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.
index c9fb022ca3e5c595d83036cb70921ab287035df7..c60f7d8649d677435f603a9a880580b8c0f5bb1b 100644 (file)
    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
 
 /* 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
 
index 3106bdad8d74130c3c744aa6f94ba53b28527716..0042c83b332f498d4fb9f48d95e37991ba50f027 100755 (executable)
 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
index e2ae2d835b293af6bffa629ce521f05099821684..f8b8ef8d2b350cd371e30f4d079e30d4b909ef58 100644 (file)
@@ -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
index a696cdbfab979229a920d6d219c19fbec0c7f74d..37d432376425ed0c05d71c4ad2d1573a52148048 100644 (file)
@@ -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>