sim: switch to AC_CHECK_FUNCS_ONCE & merge a little

This avoids duplicate tests for functions between common m4, arches,
and any other sources that would trigger func tests.

Also manually delete known duplicate function tests between the m4,
bfin, and v850 ports.
This commit is contained in:
Mike Frysinger 2021-04-18 21:50:07 -04:00
parent 3e91feb948
commit 37e9f18266
66 changed files with 1675 additions and 799 deletions

View File

@ -1,3 +1,8 @@
2021-04-18 Mike Frysinger <vapier@gentoo.org>
* m4/sim_ac_common.m4: Change AC_CHECK_FUNCS to AC_CHECK_FUNCS_ONCE,
merge calls, and sort args.
2021-04-03 Mike Frysinger <vapier@gentoo.org>
* configure.ac: Add --example-sims option.

View File

@ -1,3 +1,7 @@
2021-04-18 Mike Frysinger <vapier@gentoo.org>
* configure: Regenerate.
2021-04-12 Mike Frysinger <vapier@gentoo.org>
* interp.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all.

73
sim/aarch64/configure vendored
View File

@ -629,6 +629,7 @@ ac_includes_default="\
# include <unistd.h>
#endif"
ac_func_list=
ac_subst_vars='LTLIBOBJS
LIBOBJS
sim_reserved_bits
@ -2288,6 +2289,16 @@ $as_echo "$as_me: creating cache $cache_file" >&6;}
>$cache_file
fi
as_fn_append ac_func_list " __setfpucw"
as_fn_append ac_func_list " ftruncate"
as_fn_append ac_func_list " getrusage"
as_fn_append ac_func_list " lstat"
as_fn_append ac_func_list " mmap"
as_fn_append ac_func_list " munmap"
as_fn_append ac_func_list " posix_fallocate"
as_fn_append ac_func_list " sigaction"
as_fn_append ac_func_list " time"
as_fn_append ac_func_list " truncate"
# Check that the precious variables saved in the cache have kept the same
# value.
ac_cache_corrupted=false
@ -3861,6 +3872,41 @@ fi
rmdir .tst 2>/dev/null
DEPDIR="${am__leading_dot}deps"
for ac_func in $ac_func_list
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
case `pwd` in
*\ * | *\ *)
@ -7308,29 +7354,6 @@ fi
done
for ac_func in getrusage time sigaction __setfpucw
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_func in mmap munmap lstat truncate ftruncate posix_fallocate
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
ac_fn_c_check_member "$LINENO" "struct stat" "st_dev" "ac_cv_member_struct_stat_st_dev" "#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
@ -11232,7 +11255,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11235 "configure"
#line 11258 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -11338,7 +11361,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11341 "configure"
#line 11364 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H

View File

@ -1,3 +1,7 @@
2021-04-18 Mike Frysinger <vapier@gentoo.org>
* configure: Regenerate.
2021-04-12 Mike Frysinger <vapier@gentoo.org>
* wrapper.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all.

73
sim/arm/configure vendored
View File

@ -629,6 +629,7 @@ ac_includes_default="\
# include <unistd.h>
#endif"
ac_func_list=
ac_subst_vars='LTLIBOBJS
LIBOBJS
sim_reserved_bits
@ -2288,6 +2289,16 @@ $as_echo "$as_me: creating cache $cache_file" >&6;}
>$cache_file
fi
as_fn_append ac_func_list " __setfpucw"
as_fn_append ac_func_list " ftruncate"
as_fn_append ac_func_list " getrusage"
as_fn_append ac_func_list " lstat"
as_fn_append ac_func_list " mmap"
as_fn_append ac_func_list " munmap"
as_fn_append ac_func_list " posix_fallocate"
as_fn_append ac_func_list " sigaction"
as_fn_append ac_func_list " time"
as_fn_append ac_func_list " truncate"
# Check that the precious variables saved in the cache have kept the same
# value.
ac_cache_corrupted=false
@ -3861,6 +3872,41 @@ fi
rmdir .tst 2>/dev/null
DEPDIR="${am__leading_dot}deps"
for ac_func in $ac_func_list
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
case `pwd` in
*\ * | *\ *)
@ -7308,29 +7354,6 @@ fi
done
for ac_func in getrusage time sigaction __setfpucw
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_func in mmap munmap lstat truncate ftruncate posix_fallocate
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
ac_fn_c_check_member "$LINENO" "struct stat" "st_dev" "ac_cv_member_struct_stat_st_dev" "#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
@ -11232,7 +11255,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11235 "configure"
#line 11258 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -11338,7 +11361,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11341 "configure"
#line 11364 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H

View File

@ -1,3 +1,7 @@
2021-04-18 Mike Frysinger <vapier@gentoo.org>
* configure: Regenerate.
2021-04-12 Mike Frysinger <vapier@gentoo.org>
* interp.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all.

73
sim/avr/configure vendored
View File

@ -629,6 +629,7 @@ ac_includes_default="\
# include <unistd.h>
#endif"
ac_func_list=
ac_subst_vars='LTLIBOBJS
LIBOBJS
sim_reserved_bits
@ -2288,6 +2289,16 @@ $as_echo "$as_me: creating cache $cache_file" >&6;}
>$cache_file
fi
as_fn_append ac_func_list " __setfpucw"
as_fn_append ac_func_list " ftruncate"
as_fn_append ac_func_list " getrusage"
as_fn_append ac_func_list " lstat"
as_fn_append ac_func_list " mmap"
as_fn_append ac_func_list " munmap"
as_fn_append ac_func_list " posix_fallocate"
as_fn_append ac_func_list " sigaction"
as_fn_append ac_func_list " time"
as_fn_append ac_func_list " truncate"
# Check that the precious variables saved in the cache have kept the same
# value.
ac_cache_corrupted=false
@ -3861,6 +3872,41 @@ fi
rmdir .tst 2>/dev/null
DEPDIR="${am__leading_dot}deps"
for ac_func in $ac_func_list
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
case `pwd` in
*\ * | *\ *)
@ -7308,29 +7354,6 @@ fi
done
for ac_func in getrusage time sigaction __setfpucw
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_func in mmap munmap lstat truncate ftruncate posix_fallocate
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
ac_fn_c_check_member "$LINENO" "struct stat" "st_dev" "ac_cv_member_struct_stat_st_dev" "#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
@ -11232,7 +11255,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11235 "configure"
#line 11258 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -11338,7 +11361,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11341 "configure"
#line 11364 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H

View File

@ -1,3 +1,9 @@
2021-04-18 Mike Frysinger <vapier@gentoo.org>
* configure.ac: Change AC_CHECK_FUNCS to AC_CHECK_FUNCS_ONCE and
delete mmap & munmap.
* configure: Regenerate.
2021-04-18 Mike Frysinger <vapier@gentoo.org>
* interp.c (bfin_syscall): Delete CB_SYS_getpid handling.

106
sim/bfin/configure vendored
View File

@ -629,6 +629,7 @@ ac_includes_default="\
# include <unistd.h>
#endif"
ac_func_list=
ac_subst_vars='LTLIBOBJS
LIBOBJS
sim_reserved_bits
@ -2311,6 +2312,24 @@ $as_echo "$as_me: creating cache $cache_file" >&6;}
>$cache_file
fi
as_fn_append ac_func_list " __setfpucw"
as_fn_append ac_func_list " ftruncate"
as_fn_append ac_func_list " getrusage"
as_fn_append ac_func_list " lstat"
as_fn_append ac_func_list " mmap"
as_fn_append ac_func_list " munmap"
as_fn_append ac_func_list " posix_fallocate"
as_fn_append ac_func_list " sigaction"
as_fn_append ac_func_list " time"
as_fn_append ac_func_list " truncate"
as_fn_append ac_func_list " getuid"
as_fn_append ac_func_list " getgid"
as_fn_append ac_func_list " geteuid"
as_fn_append ac_func_list " getegid"
as_fn_append ac_func_list " setuid"
as_fn_append ac_func_list " setgid"
as_fn_append ac_func_list " kill"
as_fn_append ac_func_list " pread"
# Check that the precious variables saved in the cache have kept the same
# value.
ac_cache_corrupted=false
@ -3884,6 +3903,41 @@ fi
rmdir .tst 2>/dev/null
DEPDIR="${am__leading_dot}deps"
for ac_func in $ac_func_list
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
case `pwd` in
*\ * | *\ *)
@ -7331,29 +7385,6 @@ fi
done
for ac_func in getrusage time sigaction __setfpucw
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_func in mmap munmap lstat truncate ftruncate posix_fallocate
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
ac_fn_c_check_member "$LINENO" "struct stat" "st_dev" "ac_cv_member_struct_stat_st_dev" "#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
@ -11255,7 +11286,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11258 "configure"
#line 11289 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -11361,7 +11392,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11364 "configure"
#line 11395 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -12256,17 +12287,22 @@ fi
fi
for ac_func in getuid getgid geteuid getegid setuid setgid mmap munmap kill pread
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 \
linux/if_tun.h \

View File

@ -42,7 +42,7 @@ SIM_AC_OPTION_HARDWARE(yes,,\
eth_phy \
)
AC_CHECK_FUNCS([getuid getgid geteuid getegid setuid setgid mmap munmap kill pread])
AC_CHECK_FUNCS_ONCE([getuid getgid geteuid getegid setuid setgid kill pread])
AC_CHECK_HEADERS([ \
linux/if_tun.h \
linux/mii.h \

View File

@ -1,3 +1,7 @@
2021-04-18 Mike Frysinger <vapier@gentoo.org>
* configure: Regenerate.
2021-04-12 Mike Frysinger <vapier@gentoo.org>
* sim-if.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all.

73
sim/bpf/configure vendored
View File

@ -629,6 +629,7 @@ ac_includes_default="\
# include <unistd.h>
#endif"
ac_func_list=
ac_subst_vars='LTLIBOBJS
LIBOBJS
sim_reserved_bits
@ -2301,6 +2302,16 @@ $as_echo "$as_me: creating cache $cache_file" >&6;}
>$cache_file
fi
as_fn_append ac_func_list " __setfpucw"
as_fn_append ac_func_list " ftruncate"
as_fn_append ac_func_list " getrusage"
as_fn_append ac_func_list " lstat"
as_fn_append ac_func_list " mmap"
as_fn_append ac_func_list " munmap"
as_fn_append ac_func_list " posix_fallocate"
as_fn_append ac_func_list " sigaction"
as_fn_append ac_func_list " time"
as_fn_append ac_func_list " truncate"
# Check that the precious variables saved in the cache have kept the same
# value.
ac_cache_corrupted=false
@ -3874,6 +3885,41 @@ fi
rmdir .tst 2>/dev/null
DEPDIR="${am__leading_dot}deps"
for ac_func in $ac_func_list
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
case `pwd` in
*\ * | *\ *)
@ -7321,29 +7367,6 @@ fi
done
for ac_func in getrusage time sigaction __setfpucw
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_func in mmap munmap lstat truncate ftruncate posix_fallocate
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
ac_fn_c_check_member "$LINENO" "struct stat" "st_dev" "ac_cv_member_struct_stat_st_dev" "#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
@ -11245,7 +11268,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11248 "configure"
#line 11271 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -11351,7 +11374,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11354 "configure"
#line 11377 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H

View File

@ -1,3 +1,7 @@
2021-04-18 Mike Frysinger <vapier@gentoo.org>
* configure: Regenerate.
2021-04-18 Mike Frysinger <vapier@gentoo.org>
* interp.c (sim_open): Use PRIx64 to match mcode type. Skip the

73
sim/cr16/configure vendored
View File

@ -629,6 +629,7 @@ ac_includes_default="\
# include <unistd.h>
#endif"
ac_func_list=
ac_subst_vars='LTLIBOBJS
LIBOBJS
sim_reserved_bits
@ -2288,6 +2289,16 @@ $as_echo "$as_me: creating cache $cache_file" >&6;}
>$cache_file
fi
as_fn_append ac_func_list " __setfpucw"
as_fn_append ac_func_list " ftruncate"
as_fn_append ac_func_list " getrusage"
as_fn_append ac_func_list " lstat"
as_fn_append ac_func_list " mmap"
as_fn_append ac_func_list " munmap"
as_fn_append ac_func_list " posix_fallocate"
as_fn_append ac_func_list " sigaction"
as_fn_append ac_func_list " time"
as_fn_append ac_func_list " truncate"
# Check that the precious variables saved in the cache have kept the same
# value.
ac_cache_corrupted=false
@ -3861,6 +3872,41 @@ fi
rmdir .tst 2>/dev/null
DEPDIR="${am__leading_dot}deps"
for ac_func in $ac_func_list
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
case `pwd` in
*\ * | *\ *)
@ -7308,29 +7354,6 @@ fi
done
for ac_func in getrusage time sigaction __setfpucw
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_func in mmap munmap lstat truncate ftruncate posix_fallocate
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
ac_fn_c_check_member "$LINENO" "struct stat" "st_dev" "ac_cv_member_struct_stat_st_dev" "#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
@ -11232,7 +11255,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11235 "configure"
#line 11258 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -11338,7 +11361,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11341 "configure"
#line 11364 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H

View File

@ -1,3 +1,7 @@
2021-04-18 Mike Frysinger <vapier@gentoo.org>
* configure: Regenerate.
2021-04-12 Mike Frysinger <vapier@gentoo.org>
* sim-if.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all.

73
sim/cris/configure vendored
View File

@ -629,6 +629,7 @@ ac_includes_default="\
# include <unistd.h>
#endif"
ac_func_list=
ac_subst_vars='LTLIBOBJS
LIBOBJS
sim_reserved_bits
@ -2302,6 +2303,16 @@ $as_echo "$as_me: creating cache $cache_file" >&6;}
>$cache_file
fi
as_fn_append ac_func_list " __setfpucw"
as_fn_append ac_func_list " ftruncate"
as_fn_append ac_func_list " getrusage"
as_fn_append ac_func_list " lstat"
as_fn_append ac_func_list " mmap"
as_fn_append ac_func_list " munmap"
as_fn_append ac_func_list " posix_fallocate"
as_fn_append ac_func_list " sigaction"
as_fn_append ac_func_list " time"
as_fn_append ac_func_list " truncate"
# Check that the precious variables saved in the cache have kept the same
# value.
ac_cache_corrupted=false
@ -3875,6 +3886,41 @@ fi
rmdir .tst 2>/dev/null
DEPDIR="${am__leading_dot}deps"
for ac_func in $ac_func_list
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
case `pwd` in
*\ * | *\ *)
@ -7322,29 +7368,6 @@ fi
done
for ac_func in getrusage time sigaction __setfpucw
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_func in mmap munmap lstat truncate ftruncate posix_fallocate
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
ac_fn_c_check_member "$LINENO" "struct stat" "st_dev" "ac_cv_member_struct_stat_st_dev" "#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
@ -11246,7 +11269,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11249 "configure"
#line 11272 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -11352,7 +11375,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11355 "configure"
#line 11378 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H

View File

@ -1,3 +1,7 @@
2021-04-18 Mike Frysinger <vapier@gentoo.org>
* configure: Regenerate.
2021-04-18 Mike Frysinger <vapier@gentoo.org>
* interp.c (xfer_mem): Use PRIxTA for printf format.

73
sim/d10v/configure vendored
View File

@ -629,6 +629,7 @@ ac_includes_default="\
# include <unistd.h>
#endif"
ac_func_list=
ac_subst_vars='LTLIBOBJS
LIBOBJS
sim_reserved_bits
@ -2288,6 +2289,16 @@ $as_echo "$as_me: creating cache $cache_file" >&6;}
>$cache_file
fi
as_fn_append ac_func_list " __setfpucw"
as_fn_append ac_func_list " ftruncate"
as_fn_append ac_func_list " getrusage"
as_fn_append ac_func_list " lstat"
as_fn_append ac_func_list " mmap"
as_fn_append ac_func_list " munmap"
as_fn_append ac_func_list " posix_fallocate"
as_fn_append ac_func_list " sigaction"
as_fn_append ac_func_list " time"
as_fn_append ac_func_list " truncate"
# Check that the precious variables saved in the cache have kept the same
# value.
ac_cache_corrupted=false
@ -3861,6 +3872,41 @@ fi
rmdir .tst 2>/dev/null
DEPDIR="${am__leading_dot}deps"
for ac_func in $ac_func_list
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
case `pwd` in
*\ * | *\ *)
@ -7308,29 +7354,6 @@ fi
done
for ac_func in getrusage time sigaction __setfpucw
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_func in mmap munmap lstat truncate ftruncate posix_fallocate
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
ac_fn_c_check_member "$LINENO" "struct stat" "st_dev" "ac_cv_member_struct_stat_st_dev" "#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
@ -11232,7 +11255,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11235 "configure"
#line 11258 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -11338,7 +11361,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11341 "configure"
#line 11364 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H

View File

@ -1,3 +1,7 @@
2021-04-18 Mike Frysinger <vapier@gentoo.org>
* configure: Regenerate.
2021-04-15 John Baldwin <jhb@FreeBSD.org>
* Makefile.in (READLINE_SRC, READLINE_CFLAGS): Add.

73
sim/erc32/configure vendored
View File

@ -629,6 +629,7 @@ ac_includes_default="\
# include <unistd.h>
#endif"
ac_func_list=
ac_subst_vars='LTLIBOBJS
LIBOBJS
sim_reserved_bits
@ -2284,6 +2285,16 @@ $as_echo "$as_me: creating cache $cache_file" >&6;}
>$cache_file
fi
as_fn_append ac_func_list " __setfpucw"
as_fn_append ac_func_list " ftruncate"
as_fn_append ac_func_list " getrusage"
as_fn_append ac_func_list " lstat"
as_fn_append ac_func_list " mmap"
as_fn_append ac_func_list " munmap"
as_fn_append ac_func_list " posix_fallocate"
as_fn_append ac_func_list " sigaction"
as_fn_append ac_func_list " time"
as_fn_append ac_func_list " truncate"
# Check that the precious variables saved in the cache have kept the same
# value.
ac_cache_corrupted=false
@ -3857,6 +3868,41 @@ fi
rmdir .tst 2>/dev/null
DEPDIR="${am__leading_dot}deps"
for ac_func in $ac_func_list
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
case `pwd` in
*\ * | *\ *)
@ -7304,29 +7350,6 @@ fi
done
for ac_func in getrusage time sigaction __setfpucw
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_func in mmap munmap lstat truncate ftruncate posix_fallocate
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
ac_fn_c_check_member "$LINENO" "struct stat" "st_dev" "ac_cv_member_struct_stat_st_dev" "#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
@ -11228,7 +11251,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11231 "configure"
#line 11254 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -11334,7 +11357,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11337 "configure"
#line 11360 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H

View File

@ -1,3 +1,7 @@
2021-04-18 Mike Frysinger <vapier@gentoo.org>
* configure: Regenerate.
2021-04-12 Mike Frysinger <vapier@gentoo.org>
* interp.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all.

View File

@ -629,6 +629,7 @@ ac_includes_default="\
# include <unistd.h>
#endif"
ac_func_list=
ac_subst_vars='LTLIBOBJS
LIBOBJS
sim_reserved_bits
@ -2288,6 +2289,16 @@ $as_echo "$as_me: creating cache $cache_file" >&6;}
>$cache_file
fi
as_fn_append ac_func_list " __setfpucw"
as_fn_append ac_func_list " ftruncate"
as_fn_append ac_func_list " getrusage"
as_fn_append ac_func_list " lstat"
as_fn_append ac_func_list " mmap"
as_fn_append ac_func_list " munmap"
as_fn_append ac_func_list " posix_fallocate"
as_fn_append ac_func_list " sigaction"
as_fn_append ac_func_list " time"
as_fn_append ac_func_list " truncate"
# Check that the precious variables saved in the cache have kept the same
# value.
ac_cache_corrupted=false
@ -3861,6 +3872,41 @@ fi
rmdir .tst 2>/dev/null
DEPDIR="${am__leading_dot}deps"
for ac_func in $ac_func_list
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
case `pwd` in
*\ * | *\ *)
@ -7308,29 +7354,6 @@ fi
done
for ac_func in getrusage time sigaction __setfpucw
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_func in mmap munmap lstat truncate ftruncate posix_fallocate
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
ac_fn_c_check_member "$LINENO" "struct stat" "st_dev" "ac_cv_member_struct_stat_st_dev" "#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
@ -11232,7 +11255,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11235 "configure"
#line 11258 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -11338,7 +11361,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11341 "configure"
#line 11364 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H

View File

@ -1,3 +1,7 @@
2021-04-18 Mike Frysinger <vapier@gentoo.org>
* configure: Regenerate.
2021-04-15 John Baldwin <jhb@FreeBSD.org>
* traps.c (frvbf_check_acc_range): Add missing return value.

73
sim/frv/configure vendored
View File

@ -629,6 +629,7 @@ ac_includes_default="\
# include <unistd.h>
#endif"
ac_func_list=
ac_subst_vars='LTLIBOBJS
LIBOBJS
sim_reserved_bits
@ -2305,6 +2306,16 @@ $as_echo "$as_me: creating cache $cache_file" >&6;}
>$cache_file
fi
as_fn_append ac_func_list " __setfpucw"
as_fn_append ac_func_list " ftruncate"
as_fn_append ac_func_list " getrusage"
as_fn_append ac_func_list " lstat"
as_fn_append ac_func_list " mmap"
as_fn_append ac_func_list " munmap"
as_fn_append ac_func_list " posix_fallocate"
as_fn_append ac_func_list " sigaction"
as_fn_append ac_func_list " time"
as_fn_append ac_func_list " truncate"
# Check that the precious variables saved in the cache have kept the same
# value.
ac_cache_corrupted=false
@ -3878,6 +3889,41 @@ fi
rmdir .tst 2>/dev/null
DEPDIR="${am__leading_dot}deps"
for ac_func in $ac_func_list
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
case `pwd` in
*\ * | *\ *)
@ -7325,29 +7371,6 @@ fi
done
for ac_func in getrusage time sigaction __setfpucw
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_func in mmap munmap lstat truncate ftruncate posix_fallocate
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
ac_fn_c_check_member "$LINENO" "struct stat" "st_dev" "ac_cv_member_struct_stat_st_dev" "#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
@ -11249,7 +11272,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11252 "configure"
#line 11275 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -11355,7 +11378,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11358 "configure"
#line 11381 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H

View File

@ -1,3 +1,7 @@
2021-04-18 Mike Frysinger <vapier@gentoo.org>
* configure: Regenerate.
2021-04-12 Mike Frysinger <vapier@gentoo.org>
* interp.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all.

73
sim/ft32/configure vendored
View File

@ -629,6 +629,7 @@ ac_includes_default="\
# include <unistd.h>
#endif"
ac_func_list=
ac_subst_vars='LTLIBOBJS
LIBOBJS
sim_reserved_bits
@ -2288,6 +2289,16 @@ $as_echo "$as_me: creating cache $cache_file" >&6;}
>$cache_file
fi
as_fn_append ac_func_list " __setfpucw"
as_fn_append ac_func_list " ftruncate"
as_fn_append ac_func_list " getrusage"
as_fn_append ac_func_list " lstat"
as_fn_append ac_func_list " mmap"
as_fn_append ac_func_list " munmap"
as_fn_append ac_func_list " posix_fallocate"
as_fn_append ac_func_list " sigaction"
as_fn_append ac_func_list " time"
as_fn_append ac_func_list " truncate"
# Check that the precious variables saved in the cache have kept the same
# value.
ac_cache_corrupted=false
@ -3861,6 +3872,41 @@ fi
rmdir .tst 2>/dev/null
DEPDIR="${am__leading_dot}deps"
for ac_func in $ac_func_list
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
case `pwd` in
*\ * | *\ *)
@ -7308,29 +7354,6 @@ fi
done
for ac_func in getrusage time sigaction __setfpucw
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_func in mmap munmap lstat truncate ftruncate posix_fallocate
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
ac_fn_c_check_member "$LINENO" "struct stat" "st_dev" "ac_cv_member_struct_stat_st_dev" "#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
@ -11232,7 +11255,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11235 "configure"
#line 11258 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -11338,7 +11361,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11341 "configure"
#line 11364 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H

View File

@ -1,3 +1,7 @@
2021-04-18 Mike Frysinger <vapier@gentoo.org>
* configure: Regenerate.
2021-04-12 Mike Frysinger <vapier@gentoo.org>
* compile.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all.

73
sim/h8300/configure vendored
View File

@ -629,6 +629,7 @@ ac_includes_default="\
# include <unistd.h>
#endif"
ac_func_list=
ac_subst_vars='LTLIBOBJS
LIBOBJS
sim_reserved_bits
@ -2288,6 +2289,16 @@ $as_echo "$as_me: creating cache $cache_file" >&6;}
>$cache_file
fi
as_fn_append ac_func_list " __setfpucw"
as_fn_append ac_func_list " ftruncate"
as_fn_append ac_func_list " getrusage"
as_fn_append ac_func_list " lstat"
as_fn_append ac_func_list " mmap"
as_fn_append ac_func_list " munmap"
as_fn_append ac_func_list " posix_fallocate"
as_fn_append ac_func_list " sigaction"
as_fn_append ac_func_list " time"
as_fn_append ac_func_list " truncate"
# Check that the precious variables saved in the cache have kept the same
# value.
ac_cache_corrupted=false
@ -3861,6 +3872,41 @@ fi
rmdir .tst 2>/dev/null
DEPDIR="${am__leading_dot}deps"
for ac_func in $ac_func_list
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
case `pwd` in
*\ * | *\ *)
@ -7308,29 +7354,6 @@ fi
done
for ac_func in getrusage time sigaction __setfpucw
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_func in mmap munmap lstat truncate ftruncate posix_fallocate
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
ac_fn_c_check_member "$LINENO" "struct stat" "st_dev" "ac_cv_member_struct_stat_st_dev" "#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
@ -11232,7 +11255,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11235 "configure"
#line 11258 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -11338,7 +11361,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11341 "configure"
#line 11364 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H

View File

@ -1,3 +1,7 @@
2021-04-18 Mike Frysinger <vapier@gentoo.org>
* configure: Regenerate.
2021-04-12 Mike Frysinger <vapier@gentoo.org>
* sim-if.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all.

73
sim/iq2000/configure vendored
View File

@ -629,6 +629,7 @@ ac_includes_default="\
# include <unistd.h>
#endif"
ac_func_list=
ac_subst_vars='LTLIBOBJS
LIBOBJS
sim_reserved_bits
@ -2302,6 +2303,16 @@ $as_echo "$as_me: creating cache $cache_file" >&6;}
>$cache_file
fi
as_fn_append ac_func_list " __setfpucw"
as_fn_append ac_func_list " ftruncate"
as_fn_append ac_func_list " getrusage"
as_fn_append ac_func_list " lstat"
as_fn_append ac_func_list " mmap"
as_fn_append ac_func_list " munmap"
as_fn_append ac_func_list " posix_fallocate"
as_fn_append ac_func_list " sigaction"
as_fn_append ac_func_list " time"
as_fn_append ac_func_list " truncate"
# Check that the precious variables saved in the cache have kept the same
# value.
ac_cache_corrupted=false
@ -3875,6 +3886,41 @@ fi
rmdir .tst 2>/dev/null
DEPDIR="${am__leading_dot}deps"
for ac_func in $ac_func_list
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
case `pwd` in
*\ * | *\ *)
@ -7322,29 +7368,6 @@ fi
done
for ac_func in getrusage time sigaction __setfpucw
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_func in mmap munmap lstat truncate ftruncate posix_fallocate
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
ac_fn_c_check_member "$LINENO" "struct stat" "st_dev" "ac_cv_member_struct_stat_st_dev" "#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
@ -11246,7 +11269,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11249 "configure"
#line 11272 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -11352,7 +11375,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11355 "configure"
#line 11378 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H

View File

@ -1,3 +1,7 @@
2021-04-18 Mike Frysinger <vapier@gentoo.org>
* configure: Regenerate.
2021-04-15 John Baldwin <jhb@FreeBSD.org>
* Makefile.in: Pass -shell to genmloop.sh.

73
sim/lm32/configure vendored
View File

@ -629,6 +629,7 @@ ac_includes_default="\
# include <unistd.h>
#endif"
ac_func_list=
ac_subst_vars='LTLIBOBJS
LIBOBJS
sim_reserved_bits
@ -2302,6 +2303,16 @@ $as_echo "$as_me: creating cache $cache_file" >&6;}
>$cache_file
fi
as_fn_append ac_func_list " __setfpucw"
as_fn_append ac_func_list " ftruncate"
as_fn_append ac_func_list " getrusage"
as_fn_append ac_func_list " lstat"
as_fn_append ac_func_list " mmap"
as_fn_append ac_func_list " munmap"
as_fn_append ac_func_list " posix_fallocate"
as_fn_append ac_func_list " sigaction"
as_fn_append ac_func_list " time"
as_fn_append ac_func_list " truncate"
# Check that the precious variables saved in the cache have kept the same
# value.
ac_cache_corrupted=false
@ -3875,6 +3886,41 @@ fi
rmdir .tst 2>/dev/null
DEPDIR="${am__leading_dot}deps"
for ac_func in $ac_func_list
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
case `pwd` in
*\ * | *\ *)
@ -7322,29 +7368,6 @@ fi
done
for ac_func in getrusage time sigaction __setfpucw
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_func in mmap munmap lstat truncate ftruncate posix_fallocate
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
ac_fn_c_check_member "$LINENO" "struct stat" "st_dev" "ac_cv_member_struct_stat_st_dev" "#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
@ -11246,7 +11269,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11249 "configure"
#line 11272 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -11352,7 +11375,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11355 "configure"
#line 11378 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H

View File

@ -1,3 +1,7 @@
2021-04-18 Mike Frysinger <vapier@gentoo.org>
* configure: Regenerate.
2021-04-08 Simon Marchi <simon.marchi@polymtl.ca>
* Makefile.in: Set ASAN_OPTIONS when running opc2c.

73
sim/m32c/configure vendored
View File

@ -629,6 +629,7 @@ ac_includes_default="\
# include <unistd.h>
#endif"
ac_func_list=
ac_subst_vars='LTLIBOBJS
LIBOBJS
sim_reserved_bits
@ -2281,6 +2282,16 @@ $as_echo "$as_me: creating cache $cache_file" >&6;}
>$cache_file
fi
as_fn_append ac_func_list " __setfpucw"
as_fn_append ac_func_list " ftruncate"
as_fn_append ac_func_list " getrusage"
as_fn_append ac_func_list " lstat"
as_fn_append ac_func_list " mmap"
as_fn_append ac_func_list " munmap"
as_fn_append ac_func_list " posix_fallocate"
as_fn_append ac_func_list " sigaction"
as_fn_append ac_func_list " time"
as_fn_append ac_func_list " truncate"
# Check that the precious variables saved in the cache have kept the same
# value.
ac_cache_corrupted=false
@ -3854,6 +3865,41 @@ fi
rmdir .tst 2>/dev/null
DEPDIR="${am__leading_dot}deps"
for ac_func in $ac_func_list
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
case `pwd` in
*\ * | *\ *)
@ -7301,29 +7347,6 @@ fi
done
for ac_func in getrusage time sigaction __setfpucw
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_func in mmap munmap lstat truncate ftruncate posix_fallocate
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
ac_fn_c_check_member "$LINENO" "struct stat" "st_dev" "ac_cv_member_struct_stat_st_dev" "#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
@ -11225,7 +11248,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11228 "configure"
#line 11251 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -11331,7 +11354,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11334 "configure"
#line 11357 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H

View File

@ -1,3 +1,7 @@
2021-04-18 Mike Frysinger <vapier@gentoo.org>
* configure: Regenerate.
2021-04-12 Mike Frysinger <vapier@gentoo.org>
* sim-if.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all.

73
sim/m32r/configure vendored
View File

@ -629,6 +629,7 @@ ac_includes_default="\
# include <unistd.h>
#endif"
ac_func_list=
ac_subst_vars='LTLIBOBJS
LIBOBJS
sim_reserved_bits
@ -2304,6 +2305,16 @@ $as_echo "$as_me: creating cache $cache_file" >&6;}
>$cache_file
fi
as_fn_append ac_func_list " __setfpucw"
as_fn_append ac_func_list " ftruncate"
as_fn_append ac_func_list " getrusage"
as_fn_append ac_func_list " lstat"
as_fn_append ac_func_list " mmap"
as_fn_append ac_func_list " munmap"
as_fn_append ac_func_list " posix_fallocate"
as_fn_append ac_func_list " sigaction"
as_fn_append ac_func_list " time"
as_fn_append ac_func_list " truncate"
# Check that the precious variables saved in the cache have kept the same
# value.
ac_cache_corrupted=false
@ -3877,6 +3888,41 @@ fi
rmdir .tst 2>/dev/null
DEPDIR="${am__leading_dot}deps"
for ac_func in $ac_func_list
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
case `pwd` in
*\ * | *\ *)
@ -7324,29 +7370,6 @@ fi
done
for ac_func in getrusage time sigaction __setfpucw
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_func in mmap munmap lstat truncate ftruncate posix_fallocate
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
ac_fn_c_check_member "$LINENO" "struct stat" "st_dev" "ac_cv_member_struct_stat_st_dev" "#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
@ -11248,7 +11271,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11251 "configure"
#line 11274 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -11354,7 +11377,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11357 "configure"
#line 11380 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H

View File

@ -56,8 +56,18 @@ AC_CHECK_HEADERS(unistd.h)
AC_CHECK_HEADERS(sys/time.h sys/times.h sys/resource.h sys/mman.h)
AC_CHECK_HEADERS(fcntl.h fpu_control.h)
AC_CHECK_HEADERS(dlfcn.h sys/stat.h)
AC_CHECK_FUNCS(getrusage time sigaction __setfpucw)
AC_CHECK_FUNCS(mmap munmap lstat truncate ftruncate posix_fallocate)
AC_CHECK_FUNCS_ONCE(m4_flatten([
__setfpucw
ftruncate
getrusage
lstat
mmap
munmap
posix_fallocate
sigaction
time
truncate
]))
AC_CHECK_MEMBERS([[struct stat.st_dev], [struct stat.st_ino],
[struct stat.st_mode], [struct stat.st_nlink], [struct stat.st_uid],
[struct stat.st_gid], [struct stat.st_rdev], [struct stat.st_size],

View File

@ -1,3 +1,7 @@
2021-04-18 Mike Frysinger <vapier@gentoo.org>
* configure: Regenerate.
2021-04-12 Mike Frysinger <vapier@gentoo.org>
* interp.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all.

73
sim/m68hc11/configure vendored
View File

@ -629,6 +629,7 @@ ac_includes_default="\
# include <unistd.h>
#endif"
ac_func_list=
ac_subst_vars='LTLIBOBJS
LIBOBJS
sim_reserved_bits
@ -2291,6 +2292,16 @@ $as_echo "$as_me: creating cache $cache_file" >&6;}
>$cache_file
fi
as_fn_append ac_func_list " __setfpucw"
as_fn_append ac_func_list " ftruncate"
as_fn_append ac_func_list " getrusage"
as_fn_append ac_func_list " lstat"
as_fn_append ac_func_list " mmap"
as_fn_append ac_func_list " munmap"
as_fn_append ac_func_list " posix_fallocate"
as_fn_append ac_func_list " sigaction"
as_fn_append ac_func_list " time"
as_fn_append ac_func_list " truncate"
# Check that the precious variables saved in the cache have kept the same
# value.
ac_cache_corrupted=false
@ -3864,6 +3875,41 @@ fi
rmdir .tst 2>/dev/null
DEPDIR="${am__leading_dot}deps"
for ac_func in $ac_func_list
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
case `pwd` in
*\ * | *\ *)
@ -7311,29 +7357,6 @@ fi
done
for ac_func in getrusage time sigaction __setfpucw
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_func in mmap munmap lstat truncate ftruncate posix_fallocate
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
ac_fn_c_check_member "$LINENO" "struct stat" "st_dev" "ac_cv_member_struct_stat_st_dev" "#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
@ -11235,7 +11258,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11238 "configure"
#line 11261 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -11341,7 +11364,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11344 "configure"
#line 11367 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H

View File

@ -1,3 +1,7 @@
2021-04-18 Mike Frysinger <vapier@gentoo.org>
* configure: Regenerate.
2021-04-12 Mike Frysinger <vapier@gentoo.org>
* interp.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all.

73
sim/mcore/configure vendored
View File

@ -629,6 +629,7 @@ ac_includes_default="\
# include <unistd.h>
#endif"
ac_func_list=
ac_subst_vars='LTLIBOBJS
LIBOBJS
sim_reserved_bits
@ -2288,6 +2289,16 @@ $as_echo "$as_me: creating cache $cache_file" >&6;}
>$cache_file
fi
as_fn_append ac_func_list " __setfpucw"
as_fn_append ac_func_list " ftruncate"
as_fn_append ac_func_list " getrusage"
as_fn_append ac_func_list " lstat"
as_fn_append ac_func_list " mmap"
as_fn_append ac_func_list " munmap"
as_fn_append ac_func_list " posix_fallocate"
as_fn_append ac_func_list " sigaction"
as_fn_append ac_func_list " time"
as_fn_append ac_func_list " truncate"
# Check that the precious variables saved in the cache have kept the same
# value.
ac_cache_corrupted=false
@ -3861,6 +3872,41 @@ fi
rmdir .tst 2>/dev/null
DEPDIR="${am__leading_dot}deps"
for ac_func in $ac_func_list
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
case `pwd` in
*\ * | *\ *)
@ -7308,29 +7354,6 @@ fi
done
for ac_func in getrusage time sigaction __setfpucw
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_func in mmap munmap lstat truncate ftruncate posix_fallocate
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
ac_fn_c_check_member "$LINENO" "struct stat" "st_dev" "ac_cv_member_struct_stat_st_dev" "#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
@ -11232,7 +11255,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11235 "configure"
#line 11258 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -11338,7 +11361,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11341 "configure"
#line 11364 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H

View File

@ -1,3 +1,7 @@
2021-04-18 Mike Frysinger <vapier@gentoo.org>
* configure: Regenerate.
2021-04-12 Mike Frysinger <vapier@gentoo.org>
* interp.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all.

View File

@ -629,6 +629,7 @@ ac_includes_default="\
# include <unistd.h>
#endif"
ac_func_list=
ac_subst_vars='LTLIBOBJS
LIBOBJS
sim_reserved_bits
@ -2288,6 +2289,16 @@ $as_echo "$as_me: creating cache $cache_file" >&6;}
>$cache_file
fi
as_fn_append ac_func_list " __setfpucw"
as_fn_append ac_func_list " ftruncate"
as_fn_append ac_func_list " getrusage"
as_fn_append ac_func_list " lstat"
as_fn_append ac_func_list " mmap"
as_fn_append ac_func_list " munmap"
as_fn_append ac_func_list " posix_fallocate"
as_fn_append ac_func_list " sigaction"
as_fn_append ac_func_list " time"
as_fn_append ac_func_list " truncate"
# Check that the precious variables saved in the cache have kept the same
# value.
ac_cache_corrupted=false
@ -3861,6 +3872,41 @@ fi
rmdir .tst 2>/dev/null
DEPDIR="${am__leading_dot}deps"
for ac_func in $ac_func_list
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
case `pwd` in
*\ * | *\ *)
@ -7308,29 +7354,6 @@ fi
done
for ac_func in getrusage time sigaction __setfpucw
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_func in mmap munmap lstat truncate ftruncate posix_fallocate
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
ac_fn_c_check_member "$LINENO" "struct stat" "st_dev" "ac_cv_member_struct_stat_st_dev" "#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
@ -11232,7 +11255,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11235 "configure"
#line 11258 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -11338,7 +11361,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11341 "configure"
#line 11364 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H

View File

@ -1,3 +1,7 @@
2021-04-18 Mike Frysinger <vapier@gentoo.org>
* configure: Regenerate.
2021-04-12 Mike Frysinger <vapier@gentoo.org>
* interp.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all.

73
sim/mips/configure vendored
View File

@ -629,6 +629,7 @@ ac_includes_default="\
# include <unistd.h>
#endif"
ac_func_list=
ac_subst_vars='LTLIBOBJS
LIBOBJS
sim_default_model
@ -2321,6 +2322,16 @@ $as_echo "$as_me: creating cache $cache_file" >&6;}
>$cache_file
fi
as_fn_append ac_func_list " __setfpucw"
as_fn_append ac_func_list " ftruncate"
as_fn_append ac_func_list " getrusage"
as_fn_append ac_func_list " lstat"
as_fn_append ac_func_list " mmap"
as_fn_append ac_func_list " munmap"
as_fn_append ac_func_list " posix_fallocate"
as_fn_append ac_func_list " sigaction"
as_fn_append ac_func_list " time"
as_fn_append ac_func_list " truncate"
# Check that the precious variables saved in the cache have kept the same
# value.
ac_cache_corrupted=false
@ -3894,6 +3905,41 @@ fi
rmdir .tst 2>/dev/null
DEPDIR="${am__leading_dot}deps"
for ac_func in $ac_func_list
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
case `pwd` in
*\ * | *\ *)
@ -7341,29 +7387,6 @@ fi
done
for ac_func in getrusage time sigaction __setfpucw
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_func in mmap munmap lstat truncate ftruncate posix_fallocate
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
ac_fn_c_check_member "$LINENO" "struct stat" "st_dev" "ac_cv_member_struct_stat_st_dev" "#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
@ -11265,7 +11288,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11268 "configure"
#line 11291 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -11371,7 +11394,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11374 "configure"
#line 11397 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H

View File

@ -1,3 +1,7 @@
2021-04-18 Mike Frysinger <vapier@gentoo.org>
* configure: Regenerate.
2021-04-18 Mike Frysinger <vapier@gentoo.org>
* configure.ac: Delete AC_CHECK_FUNCS & AC_CHECK_HEADERS calls.

73
sim/mn10300/configure vendored
View File

@ -629,6 +629,7 @@ ac_includes_default="\
# include <unistd.h>
#endif"
ac_func_list=
ac_subst_vars='LTLIBOBJS
LIBOBJS
sim_default_model
@ -2297,6 +2298,16 @@ $as_echo "$as_me: creating cache $cache_file" >&6;}
>$cache_file
fi
as_fn_append ac_func_list " __setfpucw"
as_fn_append ac_func_list " ftruncate"
as_fn_append ac_func_list " getrusage"
as_fn_append ac_func_list " lstat"
as_fn_append ac_func_list " mmap"
as_fn_append ac_func_list " munmap"
as_fn_append ac_func_list " posix_fallocate"
as_fn_append ac_func_list " sigaction"
as_fn_append ac_func_list " time"
as_fn_append ac_func_list " truncate"
# Check that the precious variables saved in the cache have kept the same
# value.
ac_cache_corrupted=false
@ -3870,6 +3881,41 @@ fi
rmdir .tst 2>/dev/null
DEPDIR="${am__leading_dot}deps"
for ac_func in $ac_func_list
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
case `pwd` in
*\ * | *\ *)
@ -7317,29 +7363,6 @@ fi
done
for ac_func in getrusage time sigaction __setfpucw
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_func in mmap munmap lstat truncate ftruncate posix_fallocate
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
ac_fn_c_check_member "$LINENO" "struct stat" "st_dev" "ac_cv_member_struct_stat_st_dev" "#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
@ -11241,7 +11264,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11244 "configure"
#line 11267 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -11347,7 +11370,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11350 "configure"
#line 11373 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H

View File

@ -1,3 +1,7 @@
2021-04-18 Mike Frysinger <vapier@gentoo.org>
* configure: Regenerate.
2021-04-12 Mike Frysinger <vapier@gentoo.org>
* interp.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all.

73
sim/moxie/configure vendored
View File

@ -629,6 +629,7 @@ ac_includes_default="\
# include <unistd.h>
#endif"
ac_func_list=
ac_subst_vars='LTLIBOBJS
LIBOBJS
sim_reserved_bits
@ -2289,6 +2290,16 @@ $as_echo "$as_me: creating cache $cache_file" >&6;}
>$cache_file
fi
as_fn_append ac_func_list " __setfpucw"
as_fn_append ac_func_list " ftruncate"
as_fn_append ac_func_list " getrusage"
as_fn_append ac_func_list " lstat"
as_fn_append ac_func_list " mmap"
as_fn_append ac_func_list " munmap"
as_fn_append ac_func_list " posix_fallocate"
as_fn_append ac_func_list " sigaction"
as_fn_append ac_func_list " time"
as_fn_append ac_func_list " truncate"
# Check that the precious variables saved in the cache have kept the same
# value.
ac_cache_corrupted=false
@ -3862,6 +3873,41 @@ fi
rmdir .tst 2>/dev/null
DEPDIR="${am__leading_dot}deps"
for ac_func in $ac_func_list
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
case `pwd` in
*\ * | *\ *)
@ -7309,29 +7355,6 @@ fi
done
for ac_func in getrusage time sigaction __setfpucw
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_func in mmap munmap lstat truncate ftruncate posix_fallocate
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
ac_fn_c_check_member "$LINENO" "struct stat" "st_dev" "ac_cv_member_struct_stat_st_dev" "#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
@ -11233,7 +11256,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11236 "configure"
#line 11259 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -11339,7 +11362,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11342 "configure"
#line 11365 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H

View File

@ -1,3 +1,7 @@
2021-04-18 Mike Frysinger <vapier@gentoo.org>
* configure: Regenerate.
2021-04-12 Mike Frysinger <vapier@gentoo.org>
* msp430-sim.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all.

73
sim/msp430/configure vendored
View File

@ -629,6 +629,7 @@ ac_includes_default="\
# include <unistd.h>
#endif"
ac_func_list=
ac_subst_vars='LTLIBOBJS
LIBOBJS
sim_reserved_bits
@ -2288,6 +2289,16 @@ $as_echo "$as_me: creating cache $cache_file" >&6;}
>$cache_file
fi
as_fn_append ac_func_list " __setfpucw"
as_fn_append ac_func_list " ftruncate"
as_fn_append ac_func_list " getrusage"
as_fn_append ac_func_list " lstat"
as_fn_append ac_func_list " mmap"
as_fn_append ac_func_list " munmap"
as_fn_append ac_func_list " posix_fallocate"
as_fn_append ac_func_list " sigaction"
as_fn_append ac_func_list " time"
as_fn_append ac_func_list " truncate"
# Check that the precious variables saved in the cache have kept the same
# value.
ac_cache_corrupted=false
@ -3861,6 +3872,41 @@ fi
rmdir .tst 2>/dev/null
DEPDIR="${am__leading_dot}deps"
for ac_func in $ac_func_list
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
case `pwd` in
*\ * | *\ *)
@ -7308,29 +7354,6 @@ fi
done
for ac_func in getrusage time sigaction __setfpucw
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_func in mmap munmap lstat truncate ftruncate posix_fallocate
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
ac_fn_c_check_member "$LINENO" "struct stat" "st_dev" "ac_cv_member_struct_stat_st_dev" "#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
@ -11232,7 +11255,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11235 "configure"
#line 11258 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -11338,7 +11361,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11341 "configure"
#line 11364 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H

View File

@ -1,3 +1,7 @@
2021-04-18 Mike Frysinger <vapier@gentoo.org>
* configure: Regenerate.
2021-04-12 Mike Frysinger <vapier@gentoo.org>
* sim-if.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all.

73
sim/or1k/configure vendored
View File

@ -629,6 +629,7 @@ ac_includes_default="\
# include <unistd.h>
#endif"
ac_func_list=
ac_subst_vars='LTLIBOBJS
LIBOBJS
sim_reserved_bits
@ -2301,6 +2302,16 @@ $as_echo "$as_me: creating cache $cache_file" >&6;}
>$cache_file
fi
as_fn_append ac_func_list " __setfpucw"
as_fn_append ac_func_list " ftruncate"
as_fn_append ac_func_list " getrusage"
as_fn_append ac_func_list " lstat"
as_fn_append ac_func_list " mmap"
as_fn_append ac_func_list " munmap"
as_fn_append ac_func_list " posix_fallocate"
as_fn_append ac_func_list " sigaction"
as_fn_append ac_func_list " time"
as_fn_append ac_func_list " truncate"
# Check that the precious variables saved in the cache have kept the same
# value.
ac_cache_corrupted=false
@ -3874,6 +3885,41 @@ fi
rmdir .tst 2>/dev/null
DEPDIR="${am__leading_dot}deps"
for ac_func in $ac_func_list
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
case `pwd` in
*\ * | *\ *)
@ -7321,29 +7367,6 @@ fi
done
for ac_func in getrusage time sigaction __setfpucw
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_func in mmap munmap lstat truncate ftruncate posix_fallocate
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
ac_fn_c_check_member "$LINENO" "struct stat" "st_dev" "ac_cv_member_struct_stat_st_dev" "#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
@ -11245,7 +11268,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11248 "configure"
#line 11271 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -11351,7 +11374,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11354 "configure"
#line 11377 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H

View File

@ -1,3 +1,7 @@
2021-04-18 Mike Frysinger <vapier@gentoo.org>
* configure: Regenerate.
2021-04-12 Mike Frysinger <vapier@gentoo.org>
* interp.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all.

73
sim/pru/configure vendored
View File

@ -629,6 +629,7 @@ ac_includes_default="\
# include <unistd.h>
#endif"
ac_func_list=
ac_subst_vars='LTLIBOBJS
LIBOBJS
sim_reserved_bits
@ -2288,6 +2289,16 @@ $as_echo "$as_me: creating cache $cache_file" >&6;}
>$cache_file
fi
as_fn_append ac_func_list " __setfpucw"
as_fn_append ac_func_list " ftruncate"
as_fn_append ac_func_list " getrusage"
as_fn_append ac_func_list " lstat"
as_fn_append ac_func_list " mmap"
as_fn_append ac_func_list " munmap"
as_fn_append ac_func_list " posix_fallocate"
as_fn_append ac_func_list " sigaction"
as_fn_append ac_func_list " time"
as_fn_append ac_func_list " truncate"
# Check that the precious variables saved in the cache have kept the same
# value.
ac_cache_corrupted=false
@ -3861,6 +3872,41 @@ fi
rmdir .tst 2>/dev/null
DEPDIR="${am__leading_dot}deps"
for ac_func in $ac_func_list
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
case `pwd` in
*\ * | *\ *)
@ -7308,29 +7354,6 @@ fi
done
for ac_func in getrusage time sigaction __setfpucw
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_func in mmap munmap lstat truncate ftruncate posix_fallocate
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
ac_fn_c_check_member "$LINENO" "struct stat" "st_dev" "ac_cv_member_struct_stat_st_dev" "#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
@ -11232,7 +11255,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11235 "configure"
#line 11258 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -11338,7 +11361,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11341 "configure"
#line 11364 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H

View File

@ -1,3 +1,7 @@
2021-04-18 Mike Frysinger <vapier@gentoo.org>
* configure: Regenerate.
2021-04-12 Mike Frysinger <vapier@gentoo.org>
* interp.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all.

73
sim/riscv/configure vendored
View File

@ -629,6 +629,7 @@ ac_includes_default="\
# include <unistd.h>
#endif"
ac_func_list=
ac_subst_vars='LTLIBOBJS
LIBOBJS
sim_reserved_bits
@ -2293,6 +2294,16 @@ $as_echo "$as_me: creating cache $cache_file" >&6;}
>$cache_file
fi
as_fn_append ac_func_list " __setfpucw"
as_fn_append ac_func_list " ftruncate"
as_fn_append ac_func_list " getrusage"
as_fn_append ac_func_list " lstat"
as_fn_append ac_func_list " mmap"
as_fn_append ac_func_list " munmap"
as_fn_append ac_func_list " posix_fallocate"
as_fn_append ac_func_list " sigaction"
as_fn_append ac_func_list " time"
as_fn_append ac_func_list " truncate"
# Check that the precious variables saved in the cache have kept the same
# value.
ac_cache_corrupted=false
@ -3866,6 +3877,41 @@ fi
rmdir .tst 2>/dev/null
DEPDIR="${am__leading_dot}deps"
for ac_func in $ac_func_list
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
case `pwd` in
*\ * | *\ *)
@ -7313,29 +7359,6 @@ fi
done
for ac_func in getrusage time sigaction __setfpucw
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_func in mmap munmap lstat truncate ftruncate posix_fallocate
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
ac_fn_c_check_member "$LINENO" "struct stat" "st_dev" "ac_cv_member_struct_stat_st_dev" "#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
@ -11237,7 +11260,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11240 "configure"
#line 11263 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -11343,7 +11366,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11346 "configure"
#line 11369 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H

View File

@ -1,3 +1,7 @@
2021-04-18 Mike Frysinger <vapier@gentoo.org>
* configure: Regenerate.
2021-04-02 Mike Frysinger <vapier@gentoo.org>
* aclocal.m4, configure: Regenerate.

73
sim/rl78/configure vendored
View File

@ -629,6 +629,7 @@ ac_includes_default="\
# include <unistd.h>
#endif"
ac_func_list=
ac_subst_vars='LTLIBOBJS
LIBOBJS
sim_reserved_bits
@ -2281,6 +2282,16 @@ $as_echo "$as_me: creating cache $cache_file" >&6;}
>$cache_file
fi
as_fn_append ac_func_list " __setfpucw"
as_fn_append ac_func_list " ftruncate"
as_fn_append ac_func_list " getrusage"
as_fn_append ac_func_list " lstat"
as_fn_append ac_func_list " mmap"
as_fn_append ac_func_list " munmap"
as_fn_append ac_func_list " posix_fallocate"
as_fn_append ac_func_list " sigaction"
as_fn_append ac_func_list " time"
as_fn_append ac_func_list " truncate"
# Check that the precious variables saved in the cache have kept the same
# value.
ac_cache_corrupted=false
@ -3854,6 +3865,41 @@ fi
rmdir .tst 2>/dev/null
DEPDIR="${am__leading_dot}deps"
for ac_func in $ac_func_list
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
case `pwd` in
*\ * | *\ *)
@ -7301,29 +7347,6 @@ fi
done
for ac_func in getrusage time sigaction __setfpucw
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_func in mmap munmap lstat truncate ftruncate posix_fallocate
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
ac_fn_c_check_member "$LINENO" "struct stat" "st_dev" "ac_cv_member_struct_stat_st_dev" "#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
@ -11225,7 +11248,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11228 "configure"
#line 11251 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -11331,7 +11354,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11334 "configure"
#line 11357 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H

View File

@ -1,3 +1,7 @@
2021-04-18 Mike Frysinger <vapier@gentoo.org>
* configure: Regenerate.
2021-04-09 Luis Machado <luis.machado@linaro.org>
* fpu.c (rxfp_itof): Initialize structure.

73
sim/rx/configure vendored
View File

@ -629,6 +629,7 @@ ac_includes_default="\
# include <unistd.h>
#endif"
ac_func_list=
ac_subst_vars='LTLIBOBJS
LIBOBJS
sim_reserved_bits
@ -2286,6 +2287,16 @@ $as_echo "$as_me: creating cache $cache_file" >&6;}
>$cache_file
fi
as_fn_append ac_func_list " __setfpucw"
as_fn_append ac_func_list " ftruncate"
as_fn_append ac_func_list " getrusage"
as_fn_append ac_func_list " lstat"
as_fn_append ac_func_list " mmap"
as_fn_append ac_func_list " munmap"
as_fn_append ac_func_list " posix_fallocate"
as_fn_append ac_func_list " sigaction"
as_fn_append ac_func_list " time"
as_fn_append ac_func_list " truncate"
# Check that the precious variables saved in the cache have kept the same
# value.
ac_cache_corrupted=false
@ -3859,6 +3870,41 @@ fi
rmdir .tst 2>/dev/null
DEPDIR="${am__leading_dot}deps"
for ac_func in $ac_func_list
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
case `pwd` in
*\ * | *\ *)
@ -7306,29 +7352,6 @@ fi
done
for ac_func in getrusage time sigaction __setfpucw
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_func in mmap munmap lstat truncate ftruncate posix_fallocate
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
ac_fn_c_check_member "$LINENO" "struct stat" "st_dev" "ac_cv_member_struct_stat_st_dev" "#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
@ -11230,7 +11253,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11233 "configure"
#line 11256 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -11336,7 +11359,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11339 "configure"
#line 11362 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H

View File

@ -1,3 +1,7 @@
2021-04-18 Mike Frysinger <vapier@gentoo.org>
* configure: Regenerate.
2021-04-12 Mike Frysinger <vapier@gentoo.org>
* interp.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all.

73
sim/sh/configure vendored
View File

@ -629,6 +629,7 @@ ac_includes_default="\
# include <unistd.h>
#endif"
ac_func_list=
ac_subst_vars='LTLIBOBJS
LIBOBJS
sim_reserved_bits
@ -2288,6 +2289,16 @@ $as_echo "$as_me: creating cache $cache_file" >&6;}
>$cache_file
fi
as_fn_append ac_func_list " __setfpucw"
as_fn_append ac_func_list " ftruncate"
as_fn_append ac_func_list " getrusage"
as_fn_append ac_func_list " lstat"
as_fn_append ac_func_list " mmap"
as_fn_append ac_func_list " munmap"
as_fn_append ac_func_list " posix_fallocate"
as_fn_append ac_func_list " sigaction"
as_fn_append ac_func_list " time"
as_fn_append ac_func_list " truncate"
# Check that the precious variables saved in the cache have kept the same
# value.
ac_cache_corrupted=false
@ -3861,6 +3872,41 @@ fi
rmdir .tst 2>/dev/null
DEPDIR="${am__leading_dot}deps"
for ac_func in $ac_func_list
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
case `pwd` in
*\ * | *\ *)
@ -7308,29 +7354,6 @@ fi
done
for ac_func in getrusage time sigaction __setfpucw
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_func in mmap munmap lstat truncate ftruncate posix_fallocate
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
ac_fn_c_check_member "$LINENO" "struct stat" "st_dev" "ac_cv_member_struct_stat_st_dev" "#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
@ -11232,7 +11255,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11235 "configure"
#line 11258 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -11338,7 +11361,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11341 "configure"
#line 11364 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H

View File

@ -1,3 +1,9 @@
2021-04-18 Mike Frysinger <vapier@gentoo.org>
* configure.ac: Change AC_CHECK_FUNCS to AC_CHECK_FUNCS_ONCE and
delete time.
* configure: Regenerate.
2021-04-12 Mike Frysinger <vapier@gentoo.org>
* interp.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all.

100
sim/v850/configure vendored
View File

@ -629,6 +629,7 @@ ac_includes_default="\
# include <unistd.h>
#endif"
ac_func_list=
ac_subst_vars='LTLIBOBJS
LIBOBJS
sim_hw
@ -2294,6 +2295,22 @@ $as_echo "$as_me: creating cache $cache_file" >&6;}
>$cache_file
fi
as_fn_append ac_func_list " __setfpucw"
as_fn_append ac_func_list " ftruncate"
as_fn_append ac_func_list " getrusage"
as_fn_append ac_func_list " lstat"
as_fn_append ac_func_list " mmap"
as_fn_append ac_func_list " munmap"
as_fn_append ac_func_list " posix_fallocate"
as_fn_append ac_func_list " sigaction"
as_fn_append ac_func_list " time"
as_fn_append ac_func_list " truncate"
as_fn_append ac_func_list " chmod"
as_fn_append ac_func_list " utime"
as_fn_append ac_func_list " fork"
as_fn_append ac_func_list " execve"
as_fn_append ac_func_list " execv"
as_fn_append ac_func_list " chown"
# Check that the precious variables saved in the cache have kept the same
# value.
ac_cache_corrupted=false
@ -3867,6 +3884,41 @@ fi
rmdir .tst 2>/dev/null
DEPDIR="${am__leading_dot}deps"
for ac_func in $ac_func_list
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
case `pwd` in
*\ * | *\ *)
@ -7314,29 +7366,6 @@ fi
done
for ac_func in getrusage time sigaction __setfpucw
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_func in mmap munmap lstat truncate ftruncate posix_fallocate
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
ac_fn_c_check_member "$LINENO" "struct stat" "st_dev" "ac_cv_member_struct_stat_st_dev" "#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
@ -11238,7 +11267,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11241 "configure"
#line 11270 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -11344,7 +11373,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11347 "configure"
#line 11376 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -12059,17 +12088,18 @@ 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 :

View File

@ -9,7 +9,7 @@ SIM_AC_OPTION_ALIGNMENT(,NONSTRICT_ALIGNMENT)
SIM_AC_OPTION_RESERVED_BITS
SIM_AC_OPTION_BITSIZE(32,31)
AC_CHECK_FUNCS(time chmod utime fork execve execv chown)
AC_CHECK_FUNCS_ONCE(chmod utime fork execve execv chown)
AC_CHECK_HEADERS(utime.h)
SIM_AC_OUTPUT