mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-02-05 12:53:16 +08:00
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.
This commit is contained in:
parent
7da5cf78fb
commit
3e91feb948
@ -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.
|
||||
|
@ -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
|
||||
|
||||
|
25
sim/mn10300/configure
vendored
25
sim/mn10300/configure
vendored
@ -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
|
||||
|
@ -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
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user