summaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-01-10 15:55:44 -0500
committerMike Frysinger <vapier@gentoo.org>2016-01-10 16:13:13 -0500
commit35656e95217a20309c0a0f16bf0c89a49a549177 (patch)
tree14b29a99593a98996dd1ccea1fe17603c48eab52 /sim
parent99d8e879938c947588332a9cc579d378ccc2a855 (diff)
downloadbinutils-gdb-35656e95217a20309c0a0f16bf0c89a49a549177.tar.gz
sim: allow the assert configure option everywhere
Currently ports have to call SIM_AC_OPTION_ASSERT explicitly in order to make the configure flag available, which none of them do. There's no real reason to not allow this flag for all ports, so move it to the common sim macro. This way we get standard behavior across all ports.
Diffstat (limited to 'sim')
-rw-r--r--sim/aarch64/ChangeLog4
-rwxr-xr-xsim/aarch64/configure21
-rw-r--r--sim/arm/ChangeLog4
-rwxr-xr-xsim/arm/configure21
-rw-r--r--sim/avr/ChangeLog4
-rwxr-xr-xsim/avr/configure21
-rw-r--r--sim/bfin/ChangeLog4
-rwxr-xr-xsim/bfin/configure21
-rw-r--r--sim/common/ChangeLog4
-rw-r--r--sim/common/acinclude.m41
-rw-r--r--sim/cr16/ChangeLog4
-rwxr-xr-xsim/cr16/configure21
-rw-r--r--sim/cris/ChangeLog4
-rwxr-xr-xsim/cris/configure21
-rw-r--r--sim/d10v/ChangeLog4
-rwxr-xr-xsim/d10v/configure21
-rw-r--r--sim/erc32/ChangeLog4
-rwxr-xr-xsim/erc32/configure21
-rw-r--r--sim/frv/ChangeLog4
-rwxr-xr-xsim/frv/configure21
-rw-r--r--sim/ft32/ChangeLog4
-rwxr-xr-xsim/ft32/configure21
-rw-r--r--sim/h8300/ChangeLog4
-rwxr-xr-xsim/h8300/configure21
-rw-r--r--sim/iq2000/ChangeLog4
-rwxr-xr-xsim/iq2000/configure21
-rw-r--r--sim/lm32/ChangeLog4
-rwxr-xr-xsim/lm32/configure21
-rw-r--r--sim/m32c/ChangeLog4
-rwxr-xr-xsim/m32c/configure21
-rw-r--r--sim/m32r/ChangeLog4
-rwxr-xr-xsim/m32r/configure21
-rw-r--r--sim/m68hc11/ChangeLog4
-rwxr-xr-xsim/m68hc11/configure21
-rw-r--r--sim/mcore/ChangeLog4
-rwxr-xr-xsim/mcore/configure21
-rw-r--r--sim/microblaze/ChangeLog4
-rwxr-xr-xsim/microblaze/configure21
-rw-r--r--sim/mips/ChangeLog4
-rwxr-xr-xsim/mips/configure21
-rw-r--r--sim/mn10300/ChangeLog4
-rwxr-xr-xsim/mn10300/configure21
-rw-r--r--sim/moxie/ChangeLog4
-rwxr-xr-xsim/moxie/configure21
-rw-r--r--sim/msp430/ChangeLog4
-rwxr-xr-xsim/msp430/configure21
-rw-r--r--sim/rl78/ChangeLog4
-rwxr-xr-xsim/rl78/configure21
-rw-r--r--sim/rx/ChangeLog4
-rwxr-xr-xsim/rx/configure21
-rw-r--r--sim/sh/ChangeLog4
-rwxr-xr-xsim/sh/configure21
-rw-r--r--sim/sh64/ChangeLog4
-rwxr-xr-xsim/sh64/configure21
-rw-r--r--sim/v850/ChangeLog4
-rwxr-xr-xsim/v850/configure21
56 files changed, 626 insertions, 54 deletions
diff --git a/sim/aarch64/ChangeLog b/sim/aarch64/ChangeLog
index b4e64251d25..3e9826bb513 100644
--- a/sim/aarch64/ChangeLog
+++ b/sim/aarch64/ChangeLog
@@ -4,6 +4,10 @@
2016-01-10 Mike Frysinger <vapier@gentoo.org>
+ * configure: Regenerate.
+
+2016-01-10 Mike Frysinger <vapier@gentoo.org>
+
* configure.ac (SIM_AC_OPTION_INLINE): Delete call.
* configure: Regenerate.
diff --git a/sim/aarch64/configure b/sim/aarch64/configure
index 038596212e1..74358fdb6dd 100755
--- a/sim/aarch64/configure
+++ b/sim/aarch64/configure
@@ -752,6 +752,7 @@ enable_sim_debug
enable_sim_stdio
enable_sim_trace
enable_sim_profile
+enable_sim_assert
enable_sim_inline
with_pkgversion
with_bugurl
@@ -1404,6 +1405,7 @@ Optional Features:
--enable-sim-trace=opts Enable tracing of simulated programs
--enable-sim-profile=opts
Enable profiling flags
+ --enable-sim-assert Specify whether to perform random assertions
--enable-sim-inline=inlines
Specify which functions should be inlined
--enable-sim-endian=endian
@@ -12846,7 +12848,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12849 "configure"
+#line 12851 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12952,7 +12954,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12955 "configure"
+#line 12957 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13306,6 +13308,21 @@ fi
+# Check whether --enable-sim-assert was given.
+if test "${enable_sim_assert+set}" = set; then :
+ enableval=$enable_sim_assert; case "${enableval}" in
+ yes) sim_assert="-DWITH_ASSERT=1";;
+ no) sim_assert="-DWITH_ASSERT=0";;
+ *) as_fn_error "\"--enable-sim-assert does not take a value\"" "$LINENO" 5; sim_assert="";;
+esac
+if test x"$silent" != x"yes" && test x"$sim_assert" != x""; then
+ echo "Setting assert flags = $sim_assert" 6>&1
+fi
+else
+ sim_assert=""
+fi
+
+
sim_inline="-DDEFAULT_INLINE=0"
# Check whether --enable-sim-inline was given.
if test "${enable_sim_inline+set}" = set; then :
diff --git a/sim/arm/ChangeLog b/sim/arm/ChangeLog
index 2d34e167edb..7220500637f 100644
--- a/sim/arm/ChangeLog
+++ b/sim/arm/ChangeLog
@@ -4,6 +4,10 @@
2016-01-10 Mike Frysinger <vapier@gentoo.org>
+ * configure: Regenerate.
+
+2016-01-10 Mike Frysinger <vapier@gentoo.org>
+
* configure.ac (SIM_AC_OPTION_INLINE): Delete call.
* configure: Regenerate.
diff --git a/sim/arm/configure b/sim/arm/configure
index e929ba2bb9b..cf8a451ab2c 100755
--- a/sim/arm/configure
+++ b/sim/arm/configure
@@ -752,6 +752,7 @@ enable_sim_debug
enable_sim_stdio
enable_sim_trace
enable_sim_profile
+enable_sim_assert
enable_sim_inline
with_pkgversion
with_bugurl
@@ -1404,6 +1405,7 @@ Optional Features:
--enable-sim-trace=opts Enable tracing of simulated programs
--enable-sim-profile=opts
Enable profiling flags
+ --enable-sim-assert Specify whether to perform random assertions
--enable-sim-inline=inlines
Specify which functions should be inlined
--enable-sim-endian=endian
@@ -12846,7 +12848,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12849 "configure"
+#line 12851 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12952,7 +12954,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12955 "configure"
+#line 12957 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13306,6 +13308,21 @@ fi
+# Check whether --enable-sim-assert was given.
+if test "${enable_sim_assert+set}" = set; then :
+ enableval=$enable_sim_assert; case "${enableval}" in
+ yes) sim_assert="-DWITH_ASSERT=1";;
+ no) sim_assert="-DWITH_ASSERT=0";;
+ *) as_fn_error "\"--enable-sim-assert does not take a value\"" "$LINENO" 5; sim_assert="";;
+esac
+if test x"$silent" != x"yes" && test x"$sim_assert" != x""; then
+ echo "Setting assert flags = $sim_assert" 6>&1
+fi
+else
+ sim_assert=""
+fi
+
+
sim_inline="-DDEFAULT_INLINE=0"
# Check whether --enable-sim-inline was given.
if test "${enable_sim_inline+set}" = set; then :
diff --git a/sim/avr/ChangeLog b/sim/avr/ChangeLog
index c9def6065b5..3ba38f38420 100644
--- a/sim/avr/ChangeLog
+++ b/sim/avr/ChangeLog
@@ -4,6 +4,10 @@
2016-01-10 Mike Frysinger <vapier@gentoo.org>
+ * configure: Regenerate.
+
+2016-01-10 Mike Frysinger <vapier@gentoo.org>
+
* configure.ac (SIM_AC_OPTION_INLINE): Delete call.
* configure: Regenerate.
diff --git a/sim/avr/configure b/sim/avr/configure
index a1ecf4aa1cf..eda7aab113f 100755
--- a/sim/avr/configure
+++ b/sim/avr/configure
@@ -752,6 +752,7 @@ enable_sim_debug
enable_sim_stdio
enable_sim_trace
enable_sim_profile
+enable_sim_assert
enable_sim_inline
with_pkgversion
with_bugurl
@@ -1404,6 +1405,7 @@ Optional Features:
--enable-sim-trace=opts Enable tracing of simulated programs
--enable-sim-profile=opts
Enable profiling flags
+ --enable-sim-assert Specify whether to perform random assertions
--enable-sim-inline=inlines
Specify which functions should be inlined
--enable-sim-endian=endian
@@ -12846,7 +12848,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12849 "configure"
+#line 12851 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12952,7 +12954,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12955 "configure"
+#line 12957 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13306,6 +13308,21 @@ fi
+# Check whether --enable-sim-assert was given.
+if test "${enable_sim_assert+set}" = set; then :
+ enableval=$enable_sim_assert; case "${enableval}" in
+ yes) sim_assert="-DWITH_ASSERT=1";;
+ no) sim_assert="-DWITH_ASSERT=0";;
+ *) as_fn_error "\"--enable-sim-assert does not take a value\"" "$LINENO" 5; sim_assert="";;
+esac
+if test x"$silent" != x"yes" && test x"$sim_assert" != x""; then
+ echo "Setting assert flags = $sim_assert" 6>&1
+fi
+else
+ sim_assert=""
+fi
+
+
sim_inline="-DDEFAULT_INLINE=0"
# Check whether --enable-sim-inline was given.
if test "${enable_sim_inline+set}" = set; then :
diff --git a/sim/bfin/ChangeLog b/sim/bfin/ChangeLog
index 8d0cc2bd5db..ef177ad2424 100644
--- a/sim/bfin/ChangeLog
+++ b/sim/bfin/ChangeLog
@@ -4,6 +4,10 @@
2016-01-10 Mike Frysinger <vapier@gentoo.org>
+ * configure: Regenerate.
+
+2016-01-10 Mike Frysinger <vapier@gentoo.org>
+
* configure.ac (SIM_AC_OPTION_INLINE): Delete call.
* configure: Regenerate.
diff --git a/sim/bfin/configure b/sim/bfin/configure
index d97ffd52376..09a8e3a15bd 100755
--- a/sim/bfin/configure
+++ b/sim/bfin/configure
@@ -757,6 +757,7 @@ enable_sim_debug
enable_sim_stdio
enable_sim_trace
enable_sim_profile
+enable_sim_assert
enable_sim_inline
with_pkgversion
with_bugurl
@@ -1416,6 +1417,7 @@ Optional Features:
--enable-sim-trace=opts Enable tracing of simulated programs
--enable-sim-profile=opts
Enable profiling flags
+ --enable-sim-assert Specify whether to perform random assertions
--enable-sim-inline=inlines
Specify which functions should be inlined
--enable-sim-endian=endian
@@ -12869,7 +12871,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12872 "configure"
+#line 12874 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12975,7 +12977,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12978 "configure"
+#line 12980 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13329,6 +13331,21 @@ fi
+# Check whether --enable-sim-assert was given.
+if test "${enable_sim_assert+set}" = set; then :
+ enableval=$enable_sim_assert; case "${enableval}" in
+ yes) sim_assert="-DWITH_ASSERT=1";;
+ no) sim_assert="-DWITH_ASSERT=0";;
+ *) as_fn_error "\"--enable-sim-assert does not take a value\"" "$LINENO" 5; sim_assert="";;
+esac
+if test x"$silent" != x"yes" && test x"$sim_assert" != x""; then
+ echo "Setting assert flags = $sim_assert" 6>&1
+fi
+else
+ sim_assert=""
+fi
+
+
sim_inline="-DDEFAULT_INLINE=0"
# Check whether --enable-sim-inline was given.
if test "${enable_sim_inline+set}" = set; then :
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog
index a19e56ed855..ae0345915f3 100644
--- a/sim/common/ChangeLog
+++ b/sim/common/ChangeLog
@@ -1,5 +1,9 @@
2016-01-10 Mike Frysinger <vapier@gentoo.org>
+ * acinclude.m4 (SIM_AC_COMMON): Call SIM_AC_OPTION_ASSERT.
+
+2016-01-10 Mike Frysinger <vapier@gentoo.org>
+
* acinclude.m4 (SIM_AC_COMMON): Delete sim_link_files and
sim_link_links.
(SIM_AC_OUTPUT): Delete AC_LINK_FILES call.
diff --git a/sim/common/acinclude.m4 b/sim/common/acinclude.m4
index d5b4b98794d..675c59505ab 100644
--- a/sim/common/acinclude.m4
+++ b/sim/common/acinclude.m4
@@ -223,6 +223,7 @@ if test x"$silent" != x"yes" && test x"$sim_profile" != x""; then
fi],[sim_profile="-DPROFILE=1 -DWITH_PROFILE=-1"])dnl
AC_SUBST(sim_profile)
+SIM_AC_OPTION_ASSERT
SIM_AC_OPTION_INLINE
ACX_PKGVERSION([SIM])
diff --git a/sim/cr16/ChangeLog b/sim/cr16/ChangeLog
index b93541269aa..bd7fb2a2afa 100644
--- a/sim/cr16/ChangeLog
+++ b/sim/cr16/ChangeLog
@@ -4,6 +4,10 @@
2016-01-10 Mike Frysinger <vapier@gentoo.org>
+ * configure: Regenerate.
+
+2016-01-10 Mike Frysinger <vapier@gentoo.org>
+
* configure.ac (SIM_AC_OPTION_INLINE): Delete call.
* configure: Regenerate.
diff --git a/sim/cr16/configure b/sim/cr16/configure
index 10de0a389ae..1d026410a41 100755
--- a/sim/cr16/configure
+++ b/sim/cr16/configure
@@ -752,6 +752,7 @@ enable_sim_debug
enable_sim_stdio
enable_sim_trace
enable_sim_profile
+enable_sim_assert
enable_sim_inline
with_pkgversion
with_bugurl
@@ -1404,6 +1405,7 @@ Optional Features:
--enable-sim-trace=opts Enable tracing of simulated programs
--enable-sim-profile=opts
Enable profiling flags
+ --enable-sim-assert Specify whether to perform random assertions
--enable-sim-inline=inlines
Specify which functions should be inlined
--enable-sim-endian=endian
@@ -12846,7 +12848,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12849 "configure"
+#line 12851 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12952,7 +12954,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12955 "configure"
+#line 12957 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13306,6 +13308,21 @@ fi
+# Check whether --enable-sim-assert was given.
+if test "${enable_sim_assert+set}" = set; then :
+ enableval=$enable_sim_assert; case "${enableval}" in
+ yes) sim_assert="-DWITH_ASSERT=1";;
+ no) sim_assert="-DWITH_ASSERT=0";;
+ *) as_fn_error "\"--enable-sim-assert does not take a value\"" "$LINENO" 5; sim_assert="";;
+esac
+if test x"$silent" != x"yes" && test x"$sim_assert" != x""; then
+ echo "Setting assert flags = $sim_assert" 6>&1
+fi
+else
+ sim_assert=""
+fi
+
+
sim_inline="-DDEFAULT_INLINE=0"
# Check whether --enable-sim-inline was given.
if test "${enable_sim_inline+set}" = set; then :
diff --git a/sim/cris/ChangeLog b/sim/cris/ChangeLog
index 0420390494d..2583d8b4b36 100644
--- a/sim/cris/ChangeLog
+++ b/sim/cris/ChangeLog
@@ -4,6 +4,10 @@
2016-01-10 Mike Frysinger <vapier@gentoo.org>
+ * configure: Regenerate.
+
+2016-01-10 Mike Frysinger <vapier@gentoo.org>
+
* configure.ac (SIM_AC_OPTION_INLINE): Delete call.
* configure: Regenerate.
diff --git a/sim/cris/configure b/sim/cris/configure
index 1f1793d71ba..7b5d7653cec 100755
--- a/sim/cris/configure
+++ b/sim/cris/configure
@@ -755,6 +755,7 @@ enable_sim_debug
enable_sim_stdio
enable_sim_trace
enable_sim_profile
+enable_sim_assert
enable_sim_inline
with_pkgversion
with_bugurl
@@ -1411,6 +1412,7 @@ Optional Features:
--enable-sim-trace=opts Enable tracing of simulated programs
--enable-sim-profile=opts
Enable profiling flags
+ --enable-sim-assert Specify whether to perform random assertions
--enable-sim-inline=inlines
Specify which functions should be inlined
--enable-sim-endian=endian
@@ -12860,7 +12862,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12863 "configure"
+#line 12865 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12966,7 +12968,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12969 "configure"
+#line 12971 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13320,6 +13322,21 @@ fi
+# Check whether --enable-sim-assert was given.
+if test "${enable_sim_assert+set}" = set; then :
+ enableval=$enable_sim_assert; case "${enableval}" in
+ yes) sim_assert="-DWITH_ASSERT=1";;
+ no) sim_assert="-DWITH_ASSERT=0";;
+ *) as_fn_error "\"--enable-sim-assert does not take a value\"" "$LINENO" 5; sim_assert="";;
+esac
+if test x"$silent" != x"yes" && test x"$sim_assert" != x""; then
+ echo "Setting assert flags = $sim_assert" 6>&1
+fi
+else
+ sim_assert=""
+fi
+
+
sim_inline="-DDEFAULT_INLINE=0"
# Check whether --enable-sim-inline was given.
if test "${enable_sim_inline+set}" = set; then :
diff --git a/sim/d10v/ChangeLog b/sim/d10v/ChangeLog
index ef3a844f7b0..20cde46d18b 100644
--- a/sim/d10v/ChangeLog
+++ b/sim/d10v/ChangeLog
@@ -4,6 +4,10 @@
2016-01-10 Mike Frysinger <vapier@gentoo.org>
+ * configure: Regenerate.
+
+2016-01-10 Mike Frysinger <vapier@gentoo.org>
+
* configure.ac (SIM_AC_OPTION_INLINE): Delete call.
* configure: Regenerate.
diff --git a/sim/d10v/configure b/sim/d10v/configure
index e929ba2bb9b..cf8a451ab2c 100755
--- a/sim/d10v/configure
+++ b/sim/d10v/configure
@@ -752,6 +752,7 @@ enable_sim_debug
enable_sim_stdio
enable_sim_trace
enable_sim_profile
+enable_sim_assert
enable_sim_inline
with_pkgversion
with_bugurl
@@ -1404,6 +1405,7 @@ Optional Features:
--enable-sim-trace=opts Enable tracing of simulated programs
--enable-sim-profile=opts
Enable profiling flags
+ --enable-sim-assert Specify whether to perform random assertions
--enable-sim-inline=inlines
Specify which functions should be inlined
--enable-sim-endian=endian
@@ -12846,7 +12848,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12849 "configure"
+#line 12851 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12952,7 +12954,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12955 "configure"
+#line 12957 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13306,6 +13308,21 @@ fi
+# Check whether --enable-sim-assert was given.
+if test "${enable_sim_assert+set}" = set; then :
+ enableval=$enable_sim_assert; case "${enableval}" in
+ yes) sim_assert="-DWITH_ASSERT=1";;
+ no) sim_assert="-DWITH_ASSERT=0";;
+ *) as_fn_error "\"--enable-sim-assert does not take a value\"" "$LINENO" 5; sim_assert="";;
+esac
+if test x"$silent" != x"yes" && test x"$sim_assert" != x""; then
+ echo "Setting assert flags = $sim_assert" 6>&1
+fi
+else
+ sim_assert=""
+fi
+
+
sim_inline="-DDEFAULT_INLINE=0"
# Check whether --enable-sim-inline was given.
if test "${enable_sim_inline+set}" = set; then :
diff --git a/sim/erc32/ChangeLog b/sim/erc32/ChangeLog
index a988972cd0a..2ff4bcc9c92 100644
--- a/sim/erc32/ChangeLog
+++ b/sim/erc32/ChangeLog
@@ -14,6 +14,10 @@
* configure: Regenerate.
+2016-01-10 Mike Frysinger <vapier@gentoo.org>
+
+ * configure: Regenerate.
+
2016-01-09 Mike Frysinger <vapier@gentoo.org>
* config.in, configure: Regenerate.
diff --git a/sim/erc32/configure b/sim/erc32/configure
index 2344ad5e231..857e093ef07 100755
--- a/sim/erc32/configure
+++ b/sim/erc32/configure
@@ -754,6 +754,7 @@ enable_sim_debug
enable_sim_stdio
enable_sim_trace
enable_sim_profile
+enable_sim_assert
enable_sim_inline
with_pkgversion
with_bugurl
@@ -1400,6 +1401,7 @@ Optional Features:
--enable-sim-trace=opts Enable tracing of simulated programs
--enable-sim-profile=opts
Enable profiling flags
+ --enable-sim-assert Specify whether to perform random assertions
--enable-sim-inline=inlines
Specify which functions should be inlined
@@ -12829,7 +12831,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12832 "configure"
+#line 12834 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12935,7 +12937,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12938 "configure"
+#line 12940 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13289,6 +13291,21 @@ fi
+# Check whether --enable-sim-assert was given.
+if test "${enable_sim_assert+set}" = set; then :
+ enableval=$enable_sim_assert; case "${enableval}" in
+ yes) sim_assert="-DWITH_ASSERT=1";;
+ no) sim_assert="-DWITH_ASSERT=0";;
+ *) as_fn_error "\"--enable-sim-assert does not take a value\"" "$LINENO" 5; sim_assert="";;
+esac
+if test x"$silent" != x"yes" && test x"$sim_assert" != x""; then
+ echo "Setting assert flags = $sim_assert" 6>&1
+fi
+else
+ sim_assert=""
+fi
+
+
sim_inline="-DDEFAULT_INLINE=0"
# Check whether --enable-sim-inline was given.
if test "${enable_sim_inline+set}" = set; then :
diff --git a/sim/frv/ChangeLog b/sim/frv/ChangeLog
index ab37d0ab9fa..7be18a3faf7 100644
--- a/sim/frv/ChangeLog
+++ b/sim/frv/ChangeLog
@@ -14,6 +14,10 @@
* configure: Regenerate.
+2016-01-10 Mike Frysinger <vapier@gentoo.org>
+
+ * configure: Regenerate.
+
2016-01-09 Mike Frysinger <vapier@gentoo.org>
* config.in, configure: Regenerate.
diff --git a/sim/frv/configure b/sim/frv/configure
index 8717177fd96..7d1726f8a72 100755
--- a/sim/frv/configure
+++ b/sim/frv/configure
@@ -756,6 +756,7 @@ enable_sim_debug
enable_sim_stdio
enable_sim_trace
enable_sim_profile
+enable_sim_assert
enable_sim_inline
with_pkgversion
with_bugurl
@@ -1410,6 +1411,7 @@ Optional Features:
--enable-sim-trace=opts Enable tracing of simulated programs
--enable-sim-profile=opts
Enable profiling flags
+ --enable-sim-assert Specify whether to perform random assertions
--enable-sim-inline=inlines
Specify which functions should be inlined
--enable-sim-endian=endian
@@ -12855,7 +12857,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12858 "configure"
+#line 12860 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12961,7 +12963,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12964 "configure"
+#line 12966 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13315,6 +13317,21 @@ fi
+# Check whether --enable-sim-assert was given.
+if test "${enable_sim_assert+set}" = set; then :
+ enableval=$enable_sim_assert; case "${enableval}" in
+ yes) sim_assert="-DWITH_ASSERT=1";;
+ no) sim_assert="-DWITH_ASSERT=0";;
+ *) as_fn_error "\"--enable-sim-assert does not take a value\"" "$LINENO" 5; sim_assert="";;
+esac
+if test x"$silent" != x"yes" && test x"$sim_assert" != x""; then
+ echo "Setting assert flags = $sim_assert" 6>&1
+fi
+else
+ sim_assert=""
+fi
+
+
sim_inline="-DDEFAULT_INLINE=0"
# Check whether --enable-sim-inline was given.
if test "${enable_sim_inline+set}" = set; then :
diff --git a/sim/ft32/ChangeLog b/sim/ft32/ChangeLog
index ebe6b2fef06..9d9fde52edd 100644
--- a/sim/ft32/ChangeLog
+++ b/sim/ft32/ChangeLog
@@ -4,6 +4,10 @@
2016-01-10 Mike Frysinger <vapier@gentoo.org>
+ * configure: Regenerate.
+
+2016-01-10 Mike Frysinger <vapier@gentoo.org>
+
* configure.ac (SIM_AC_OPTION_INLINE): Delete call.
* configure: Regenerate.
diff --git a/sim/ft32/configure b/sim/ft32/configure
index 3d976b94ef5..5d4ebc40609 100755
--- a/sim/ft32/configure
+++ b/sim/ft32/configure
@@ -752,6 +752,7 @@ enable_sim_debug
enable_sim_stdio
enable_sim_trace
enable_sim_profile
+enable_sim_assert
enable_sim_inline
with_pkgversion
with_bugurl
@@ -1404,6 +1405,7 @@ Optional Features:
--enable-sim-trace=opts Enable tracing of simulated programs
--enable-sim-profile=opts
Enable profiling flags
+ --enable-sim-assert Specify whether to perform random assertions
--enable-sim-inline=inlines
Specify which functions should be inlined
--enable-sim-endian=endian
@@ -12846,7 +12848,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12849 "configure"
+#line 12851 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12952,7 +12954,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12955 "configure"
+#line 12957 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13306,6 +13308,21 @@ fi
+# Check whether --enable-sim-assert was given.
+if test "${enable_sim_assert+set}" = set; then :
+ enableval=$enable_sim_assert; case "${enableval}" in
+ yes) sim_assert="-DWITH_ASSERT=1";;
+ no) sim_assert="-DWITH_ASSERT=0";;
+ *) as_fn_error "\"--enable-sim-assert does not take a value\"" "$LINENO" 5; sim_assert="";;
+esac
+if test x"$silent" != x"yes" && test x"$sim_assert" != x""; then
+ echo "Setting assert flags = $sim_assert" 6>&1
+fi
+else
+ sim_assert=""
+fi
+
+
sim_inline="-DDEFAULT_INLINE=0"
# Check whether --enable-sim-inline was given.
if test "${enable_sim_inline+set}" = set; then :
diff --git a/sim/h8300/ChangeLog b/sim/h8300/ChangeLog
index eadf3ac30e7..fa837029311 100644
--- a/sim/h8300/ChangeLog
+++ b/sim/h8300/ChangeLog
@@ -14,6 +14,10 @@
* configure: Regenerate.
+2016-01-10 Mike Frysinger <vapier@gentoo.org>
+
+ * configure: Regenerate.
+
2016-01-09 Mike Frysinger <vapier@gentoo.org>
* config.in, configure: Regenerate.
diff --git a/sim/h8300/configure b/sim/h8300/configure
index 17c4e1d8335..85360499f10 100755
--- a/sim/h8300/configure
+++ b/sim/h8300/configure
@@ -752,6 +752,7 @@ enable_sim_debug
enable_sim_stdio
enable_sim_trace
enable_sim_profile
+enable_sim_assert
enable_sim_inline
with_pkgversion
with_bugurl
@@ -1400,6 +1401,7 @@ Optional Features:
--enable-sim-trace=opts Enable tracing of simulated programs
--enable-sim-profile=opts
Enable profiling flags
+ --enable-sim-assert Specify whether to perform random assertions
--enable-sim-inline=inlines
Specify which functions should be inlined
--enable-sim-endian=endian
@@ -12834,7 +12836,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12837 "configure"
+#line 12839 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12940,7 +12942,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12943 "configure"
+#line 12945 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13294,6 +13296,21 @@ fi
+# Check whether --enable-sim-assert was given.
+if test "${enable_sim_assert+set}" = set; then :
+ enableval=$enable_sim_assert; case "${enableval}" in
+ yes) sim_assert="-DWITH_ASSERT=1";;
+ no) sim_assert="-DWITH_ASSERT=0";;
+ *) as_fn_error "\"--enable-sim-assert does not take a value\"" "$LINENO" 5; sim_assert="";;
+esac
+if test x"$silent" != x"yes" && test x"$sim_assert" != x""; then
+ echo "Setting assert flags = $sim_assert" 6>&1
+fi
+else
+ sim_assert=""
+fi
+
+
sim_inline="-DDEFAULT_INLINE=0"
# Check whether --enable-sim-inline was given.
if test "${enable_sim_inline+set}" = set; then :
diff --git a/sim/iq2000/ChangeLog b/sim/iq2000/ChangeLog
index 90efcd49611..f3872a033b8 100644
--- a/sim/iq2000/ChangeLog
+++ b/sim/iq2000/ChangeLog
@@ -4,6 +4,10 @@
2016-01-10 Mike Frysinger <vapier@gentoo.org>
+ * configure: Regenerate.
+
+2016-01-10 Mike Frysinger <vapier@gentoo.org>
+
* configure.ac (SIM_AC_OPTION_INLINE): Delete call.
* configure: Regenerate.
diff --git a/sim/iq2000/configure b/sim/iq2000/configure
index d304c2d7085..a4b398d50f9 100755
--- a/sim/iq2000/configure
+++ b/sim/iq2000/configure
@@ -755,6 +755,7 @@ enable_sim_debug
enable_sim_stdio
enable_sim_trace
enable_sim_profile
+enable_sim_assert
enable_sim_inline
with_pkgversion
with_bugurl
@@ -1408,6 +1409,7 @@ Optional Features:
--enable-sim-trace=opts Enable tracing of simulated programs
--enable-sim-profile=opts
Enable profiling flags
+ --enable-sim-assert Specify whether to perform random assertions
--enable-sim-inline=inlines
Specify which functions should be inlined
--enable-sim-endian=endian
@@ -12852,7 +12854,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12855 "configure"
+#line 12857 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12958,7 +12960,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12961 "configure"
+#line 12963 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13312,6 +13314,21 @@ fi
+# Check whether --enable-sim-assert was given.
+if test "${enable_sim_assert+set}" = set; then :
+ enableval=$enable_sim_assert; case "${enableval}" in
+ yes) sim_assert="-DWITH_ASSERT=1";;
+ no) sim_assert="-DWITH_ASSERT=0";;
+ *) as_fn_error "\"--enable-sim-assert does not take a value\"" "$LINENO" 5; sim_assert="";;
+esac
+if test x"$silent" != x"yes" && test x"$sim_assert" != x""; then
+ echo "Setting assert flags = $sim_assert" 6>&1
+fi
+else
+ sim_assert=""
+fi
+
+
sim_inline="-DDEFAULT_INLINE=0"
# Check whether --enable-sim-inline was given.
if test "${enable_sim_inline+set}" = set; then :
diff --git a/sim/lm32/ChangeLog b/sim/lm32/ChangeLog
index 5d8c58656cc..3086517d5b5 100644
--- a/sim/lm32/ChangeLog
+++ b/sim/lm32/ChangeLog
@@ -14,6 +14,10 @@
* configure: Regenerate.
+2016-01-10 Mike Frysinger <vapier@gentoo.org>
+
+ * configure: Regenerate.
+
2016-01-09 Mike Frysinger <vapier@gentoo.org>
* config.in, configure: Regenerate.
diff --git a/sim/lm32/configure b/sim/lm32/configure
index 77608f109cb..7838a83d0df 100755
--- a/sim/lm32/configure
+++ b/sim/lm32/configure
@@ -755,6 +755,7 @@ enable_sim_debug
enable_sim_stdio
enable_sim_trace
enable_sim_profile
+enable_sim_assert
enable_sim_inline
with_pkgversion
with_bugurl
@@ -1408,6 +1409,7 @@ Optional Features:
--enable-sim-trace=opts Enable tracing of simulated programs
--enable-sim-profile=opts
Enable profiling flags
+ --enable-sim-assert Specify whether to perform random assertions
--enable-sim-inline=inlines
Specify which functions should be inlined
--enable-sim-endian=endian
@@ -12852,7 +12854,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12855 "configure"
+#line 12857 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12958,7 +12960,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12961 "configure"
+#line 12963 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13312,6 +13314,21 @@ fi
+# Check whether --enable-sim-assert was given.
+if test "${enable_sim_assert+set}" = set; then :
+ enableval=$enable_sim_assert; case "${enableval}" in
+ yes) sim_assert="-DWITH_ASSERT=1";;
+ no) sim_assert="-DWITH_ASSERT=0";;
+ *) as_fn_error "\"--enable-sim-assert does not take a value\"" "$LINENO" 5; sim_assert="";;
+esac
+if test x"$silent" != x"yes" && test x"$sim_assert" != x""; then
+ echo "Setting assert flags = $sim_assert" 6>&1
+fi
+else
+ sim_assert=""
+fi
+
+
sim_inline="-DDEFAULT_INLINE=0"
# Check whether --enable-sim-inline was given.
if test "${enable_sim_inline+set}" = set; then :
diff --git a/sim/m32c/ChangeLog b/sim/m32c/ChangeLog
index c0df2e8a112..0f50701bedd 100644
--- a/sim/m32c/ChangeLog
+++ b/sim/m32c/ChangeLog
@@ -14,6 +14,10 @@
* configure: Regenerate.
+2016-01-10 Mike Frysinger <vapier@gentoo.org>
+
+ * configure: Regenerate.
+
2016-01-09 Mike Frysinger <vapier@gentoo.org>
* config.in, configure: Regenerate.
diff --git a/sim/m32c/configure b/sim/m32c/configure
index f736b512aef..77515c213c8 100755
--- a/sim/m32c/configure
+++ b/sim/m32c/configure
@@ -752,6 +752,7 @@ enable_sim_debug
enable_sim_stdio
enable_sim_trace
enable_sim_profile
+enable_sim_assert
enable_sim_inline
with_pkgversion
with_bugurl
@@ -1401,6 +1402,7 @@ Optional Features:
--enable-sim-trace=opts Enable tracing of simulated programs
--enable-sim-profile=opts
Enable profiling flags
+ --enable-sim-assert Specify whether to perform random assertions
--enable-sim-inline=inlines
Specify which functions should be inlined
--enable-werror treat compile warnings as errors
@@ -12835,7 +12837,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12838 "configure"
+#line 12840 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12941,7 +12943,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12944 "configure"
+#line 12946 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13295,6 +13297,21 @@ fi
+# Check whether --enable-sim-assert was given.
+if test "${enable_sim_assert+set}" = set; then :
+ enableval=$enable_sim_assert; case "${enableval}" in
+ yes) sim_assert="-DWITH_ASSERT=1";;
+ no) sim_assert="-DWITH_ASSERT=0";;
+ *) as_fn_error "\"--enable-sim-assert does not take a value\"" "$LINENO" 5; sim_assert="";;
+esac
+if test x"$silent" != x"yes" && test x"$sim_assert" != x""; then
+ echo "Setting assert flags = $sim_assert" 6>&1
+fi
+else
+ sim_assert=""
+fi
+
+
sim_inline="-DDEFAULT_INLINE=0"
# Check whether --enable-sim-inline was given.
if test "${enable_sim_inline+set}" = set; then :
diff --git a/sim/m32r/ChangeLog b/sim/m32r/ChangeLog
index 272c9c209ff..1bc70e10847 100644
--- a/sim/m32r/ChangeLog
+++ b/sim/m32r/ChangeLog
@@ -4,6 +4,10 @@
2016-01-10 Mike Frysinger <vapier@gentoo.org>
+ * configure: Regenerate.
+
+2016-01-10 Mike Frysinger <vapier@gentoo.org>
+
* configure.ac (SIM_AC_OPTION_INLINE): Delete call.
* configure: Regenerate.
diff --git a/sim/m32r/configure b/sim/m32r/configure
index 4f68a426a1c..492d3afa67c 100755
--- a/sim/m32r/configure
+++ b/sim/m32r/configure
@@ -757,6 +757,7 @@ enable_sim_debug
enable_sim_stdio
enable_sim_trace
enable_sim_profile
+enable_sim_assert
enable_sim_inline
with_pkgversion
with_bugurl
@@ -1410,6 +1411,7 @@ Optional Features:
--enable-sim-trace=opts Enable tracing of simulated programs
--enable-sim-profile=opts
Enable profiling flags
+ --enable-sim-assert Specify whether to perform random assertions
--enable-sim-inline=inlines
Specify which functions should be inlined
--enable-sim-endian=endian
@@ -12854,7 +12856,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12857 "configure"
+#line 12859 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12960,7 +12962,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12963 "configure"
+#line 12965 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13314,6 +13316,21 @@ fi
+# Check whether --enable-sim-assert was given.
+if test "${enable_sim_assert+set}" = set; then :
+ enableval=$enable_sim_assert; case "${enableval}" in
+ yes) sim_assert="-DWITH_ASSERT=1";;
+ no) sim_assert="-DWITH_ASSERT=0";;
+ *) as_fn_error "\"--enable-sim-assert does not take a value\"" "$LINENO" 5; sim_assert="";;
+esac
+if test x"$silent" != x"yes" && test x"$sim_assert" != x""; then
+ echo "Setting assert flags = $sim_assert" 6>&1
+fi
+else
+ sim_assert=""
+fi
+
+
sim_inline="-DDEFAULT_INLINE=0"
# Check whether --enable-sim-inline was given.
if test "${enable_sim_inline+set}" = set; then :
diff --git a/sim/m68hc11/ChangeLog b/sim/m68hc11/ChangeLog
index 0b4e93660ad..3c715975b53 100644
--- a/sim/m68hc11/ChangeLog
+++ b/sim/m68hc11/ChangeLog
@@ -4,6 +4,10 @@
2016-01-10 Mike Frysinger <vapier@gentoo.org>
+ * configure: Regenerate.
+
+2016-01-10 Mike Frysinger <vapier@gentoo.org>
+
* configure.ac (SIM_AC_OPTION_INLINE): Delete call.
* configure: Regenerate.
diff --git a/sim/m68hc11/configure b/sim/m68hc11/configure
index 70d343f40a0..d0328fec920 100755
--- a/sim/m68hc11/configure
+++ b/sim/m68hc11/configure
@@ -752,6 +752,7 @@ enable_sim_debug
enable_sim_stdio
enable_sim_trace
enable_sim_profile
+enable_sim_assert
enable_sim_inline
with_pkgversion
with_bugurl
@@ -1404,6 +1405,7 @@ Optional Features:
--enable-sim-trace=opts Enable tracing of simulated programs
--enable-sim-profile=opts
Enable profiling flags
+ --enable-sim-assert Specify whether to perform random assertions
--enable-sim-inline=inlines
Specify which functions should be inlined
--enable-sim-endian=endian
@@ -12845,7 +12847,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12848 "configure"
+#line 12850 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12951,7 +12953,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12954 "configure"
+#line 12956 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13305,6 +13307,21 @@ fi
+# Check whether --enable-sim-assert was given.
+if test "${enable_sim_assert+set}" = set; then :
+ enableval=$enable_sim_assert; case "${enableval}" in
+ yes) sim_assert="-DWITH_ASSERT=1";;
+ no) sim_assert="-DWITH_ASSERT=0";;
+ *) as_fn_error "\"--enable-sim-assert does not take a value\"" "$LINENO" 5; sim_assert="";;
+esac
+if test x"$silent" != x"yes" && test x"$sim_assert" != x""; then
+ echo "Setting assert flags = $sim_assert" 6>&1
+fi
+else
+ sim_assert=""
+fi
+
+
sim_inline="-DDEFAULT_INLINE=0"
# Check whether --enable-sim-inline was given.
if test "${enable_sim_inline+set}" = set; then :
diff --git a/sim/mcore/ChangeLog b/sim/mcore/ChangeLog
index 07c013dfd4f..87a759ad24b 100644
--- a/sim/mcore/ChangeLog
+++ b/sim/mcore/ChangeLog
@@ -4,6 +4,10 @@
2016-01-10 Mike Frysinger <vapier@gentoo.org>
+ * configure: Regenerate.
+
+2016-01-10 Mike Frysinger <vapier@gentoo.org>
+
* configure.ac (SIM_AC_OPTION_INLINE): Delete call.
* configure: Regenerate.
diff --git a/sim/mcore/configure b/sim/mcore/configure
index e929ba2bb9b..cf8a451ab2c 100755
--- a/sim/mcore/configure
+++ b/sim/mcore/configure
@@ -752,6 +752,7 @@ enable_sim_debug
enable_sim_stdio
enable_sim_trace
enable_sim_profile
+enable_sim_assert
enable_sim_inline
with_pkgversion
with_bugurl
@@ -1404,6 +1405,7 @@ Optional Features:
--enable-sim-trace=opts Enable tracing of simulated programs
--enable-sim-profile=opts
Enable profiling flags
+ --enable-sim-assert Specify whether to perform random assertions
--enable-sim-inline=inlines
Specify which functions should be inlined
--enable-sim-endian=endian
@@ -12846,7 +12848,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12849 "configure"
+#line 12851 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12952,7 +12954,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12955 "configure"
+#line 12957 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13306,6 +13308,21 @@ fi
+# Check whether --enable-sim-assert was given.
+if test "${enable_sim_assert+set}" = set; then :
+ enableval=$enable_sim_assert; case "${enableval}" in
+ yes) sim_assert="-DWITH_ASSERT=1";;
+ no) sim_assert="-DWITH_ASSERT=0";;
+ *) as_fn_error "\"--enable-sim-assert does not take a value\"" "$LINENO" 5; sim_assert="";;
+esac
+if test x"$silent" != x"yes" && test x"$sim_assert" != x""; then
+ echo "Setting assert flags = $sim_assert" 6>&1
+fi
+else
+ sim_assert=""
+fi
+
+
sim_inline="-DDEFAULT_INLINE=0"
# Check whether --enable-sim-inline was given.
if test "${enable_sim_inline+set}" = set; then :
diff --git a/sim/microblaze/ChangeLog b/sim/microblaze/ChangeLog
index 35bd241d732..f9c6ad477eb 100644
--- a/sim/microblaze/ChangeLog
+++ b/sim/microblaze/ChangeLog
@@ -4,6 +4,10 @@
2016-01-10 Mike Frysinger <vapier@gentoo.org>
+ * configure: Regenerate.
+
+2016-01-10 Mike Frysinger <vapier@gentoo.org>
+
* configure.ac (SIM_AC_OPTION_INLINE): Delete call.
* configure: Regenerate.
diff --git a/sim/microblaze/configure b/sim/microblaze/configure
index e929ba2bb9b..cf8a451ab2c 100755
--- a/sim/microblaze/configure
+++ b/sim/microblaze/configure
@@ -752,6 +752,7 @@ enable_sim_debug
enable_sim_stdio
enable_sim_trace
enable_sim_profile
+enable_sim_assert
enable_sim_inline
with_pkgversion
with_bugurl
@@ -1404,6 +1405,7 @@ Optional Features:
--enable-sim-trace=opts Enable tracing of simulated programs
--enable-sim-profile=opts
Enable profiling flags
+ --enable-sim-assert Specify whether to perform random assertions
--enable-sim-inline=inlines
Specify which functions should be inlined
--enable-sim-endian=endian
@@ -12846,7 +12848,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12849 "configure"
+#line 12851 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12952,7 +12954,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12955 "configure"
+#line 12957 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13306,6 +13308,21 @@ fi
+# Check whether --enable-sim-assert was given.
+if test "${enable_sim_assert+set}" = set; then :
+ enableval=$enable_sim_assert; case "${enableval}" in
+ yes) sim_assert="-DWITH_ASSERT=1";;
+ no) sim_assert="-DWITH_ASSERT=0";;
+ *) as_fn_error "\"--enable-sim-assert does not take a value\"" "$LINENO" 5; sim_assert="";;
+esac
+if test x"$silent" != x"yes" && test x"$sim_assert" != x""; then
+ echo "Setting assert flags = $sim_assert" 6>&1
+fi
+else
+ sim_assert=""
+fi
+
+
sim_inline="-DDEFAULT_INLINE=0"
# Check whether --enable-sim-inline was given.
if test "${enable_sim_inline+set}" = set; then :
diff --git a/sim/mips/ChangeLog b/sim/mips/ChangeLog
index 0518a578a4d..2de22d1e241 100644
--- a/sim/mips/ChangeLog
+++ b/sim/mips/ChangeLog
@@ -4,6 +4,10 @@
2016-01-10 Mike Frysinger <vapier@gentoo.org>
+ * configure: Regenerate.
+
+2016-01-10 Mike Frysinger <vapier@gentoo.org>
+
* configure.ac (SIM_AC_OPTION_SMP): Delete call.
* configure: Regenerate.
diff --git a/sim/mips/configure b/sim/mips/configure
index d107d6a60f3..3e792d2bb54 100755
--- a/sim/mips/configure
+++ b/sim/mips/configure
@@ -765,6 +765,7 @@ enable_sim_debug
enable_sim_stdio
enable_sim_trace
enable_sim_profile
+enable_sim_assert
enable_sim_inline
with_pkgversion
with_bugurl
@@ -1426,6 +1427,7 @@ Optional Features:
--enable-sim-trace=opts Enable tracing of simulated programs
--enable-sim-profile=opts
Enable profiling flags
+ --enable-sim-assert Specify whether to perform random assertions
--enable-sim-inline=inlines
Specify which functions should be inlined
--enable-sim-alignment=align
@@ -12875,7 +12877,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12878 "configure"
+#line 12880 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12981,7 +12983,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12984 "configure"
+#line 12986 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13335,6 +13337,21 @@ fi
+# Check whether --enable-sim-assert was given.
+if test "${enable_sim_assert+set}" = set; then :
+ enableval=$enable_sim_assert; case "${enableval}" in
+ yes) sim_assert="-DWITH_ASSERT=1";;
+ no) sim_assert="-DWITH_ASSERT=0";;
+ *) as_fn_error "\"--enable-sim-assert does not take a value\"" "$LINENO" 5; sim_assert="";;
+esac
+if test x"$silent" != x"yes" && test x"$sim_assert" != x""; then
+ echo "Setting assert flags = $sim_assert" 6>&1
+fi
+else
+ sim_assert=""
+fi
+
+
sim_inline="-DDEFAULT_INLINE=0"
# Check whether --enable-sim-inline was given.
if test "${enable_sim_inline+set}" = set; then :
diff --git a/sim/mn10300/ChangeLog b/sim/mn10300/ChangeLog
index 9e1318ba5fb..f8c38921287 100644
--- a/sim/mn10300/ChangeLog
+++ b/sim/mn10300/ChangeLog
@@ -4,6 +4,10 @@
2016-01-10 Mike Frysinger <vapier@gentoo.org>
+ * configure: Regenerate.
+
+2016-01-10 Mike Frysinger <vapier@gentoo.org>
+
* configure.ac (SIM_AC_OPTION_INLINE): Delete call.
* configure: Regenerate.
diff --git a/sim/mn10300/configure b/sim/mn10300/configure
index 99256e678ce..a9baee692e0 100755
--- a/sim/mn10300/configure
+++ b/sim/mn10300/configure
@@ -752,6 +752,7 @@ enable_sim_debug
enable_sim_stdio
enable_sim_trace
enable_sim_profile
+enable_sim_assert
enable_sim_inline
with_pkgversion
with_bugurl
@@ -1406,6 +1407,7 @@ Optional Features:
--enable-sim-trace=opts Enable tracing of simulated programs
--enable-sim-profile=opts
Enable profiling flags
+ --enable-sim-assert Specify whether to perform random assertions
--enable-sim-inline=inlines
Specify which functions should be inlined
--enable-sim-endian=endian
@@ -12851,7 +12853,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12854 "configure"
+#line 12856 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12957,7 +12959,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12960 "configure"
+#line 12962 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13311,6 +13313,21 @@ fi
+# Check whether --enable-sim-assert was given.
+if test "${enable_sim_assert+set}" = set; then :
+ enableval=$enable_sim_assert; case "${enableval}" in
+ yes) sim_assert="-DWITH_ASSERT=1";;
+ no) sim_assert="-DWITH_ASSERT=0";;
+ *) as_fn_error "\"--enable-sim-assert does not take a value\"" "$LINENO" 5; sim_assert="";;
+esac
+if test x"$silent" != x"yes" && test x"$sim_assert" != x""; then
+ echo "Setting assert flags = $sim_assert" 6>&1
+fi
+else
+ sim_assert=""
+fi
+
+
sim_inline="-DDEFAULT_INLINE=0"
# Check whether --enable-sim-inline was given.
if test "${enable_sim_inline+set}" = set; then :
diff --git a/sim/moxie/ChangeLog b/sim/moxie/ChangeLog
index 870f5ffee23..605c9c4e640 100644
--- a/sim/moxie/ChangeLog
+++ b/sim/moxie/ChangeLog
@@ -4,6 +4,10 @@
2016-01-10 Mike Frysinger <vapier@gentoo.org>
+ * configure: Regenerate.
+
+2016-01-10 Mike Frysinger <vapier@gentoo.org>
+
* configure.ac (SIM_AC_OPTION_INLINE): Delete call.
* configure: Regenerate.
diff --git a/sim/moxie/configure b/sim/moxie/configure
index 9b3e431ffa6..514ea4039b9 100755
--- a/sim/moxie/configure
+++ b/sim/moxie/configure
@@ -753,6 +753,7 @@ enable_sim_debug
enable_sim_stdio
enable_sim_trace
enable_sim_profile
+enable_sim_assert
enable_sim_inline
with_pkgversion
with_bugurl
@@ -1405,6 +1406,7 @@ Optional Features:
--enable-sim-trace=opts Enable tracing of simulated programs
--enable-sim-profile=opts
Enable profiling flags
+ --enable-sim-assert Specify whether to perform random assertions
--enable-sim-inline=inlines
Specify which functions should be inlined
--enable-sim-endian=endian
@@ -12847,7 +12849,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12850 "configure"
+#line 12852 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12953,7 +12955,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12956 "configure"
+#line 12958 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13307,6 +13309,21 @@ fi
+# Check whether --enable-sim-assert was given.
+if test "${enable_sim_assert+set}" = set; then :
+ enableval=$enable_sim_assert; case "${enableval}" in
+ yes) sim_assert="-DWITH_ASSERT=1";;
+ no) sim_assert="-DWITH_ASSERT=0";;
+ *) as_fn_error "\"--enable-sim-assert does not take a value\"" "$LINENO" 5; sim_assert="";;
+esac
+if test x"$silent" != x"yes" && test x"$sim_assert" != x""; then
+ echo "Setting assert flags = $sim_assert" 6>&1
+fi
+else
+ sim_assert=""
+fi
+
+
sim_inline="-DDEFAULT_INLINE=0"
# Check whether --enable-sim-inline was given.
if test "${enable_sim_inline+set}" = set; then :
diff --git a/sim/msp430/ChangeLog b/sim/msp430/ChangeLog
index cd1bec4fb91..5d5e7ce5cd2 100644
--- a/sim/msp430/ChangeLog
+++ b/sim/msp430/ChangeLog
@@ -4,6 +4,10 @@
2016-01-10 Mike Frysinger <vapier@gentoo.org>
+ * configure: Regenerate.
+
+2016-01-10 Mike Frysinger <vapier@gentoo.org>
+
* configure.ac (SIM_AC_OPTION_INLINE): Delete call.
* configure: Regenerate.
diff --git a/sim/msp430/configure b/sim/msp430/configure
index 514cce5c835..5409bacd2e1 100755
--- a/sim/msp430/configure
+++ b/sim/msp430/configure
@@ -752,6 +752,7 @@ enable_sim_debug
enable_sim_stdio
enable_sim_trace
enable_sim_profile
+enable_sim_assert
enable_sim_inline
with_pkgversion
with_bugurl
@@ -1403,6 +1404,7 @@ Optional Features:
--enable-sim-trace=opts Enable tracing of simulated programs
--enable-sim-profile=opts
Enable profiling flags
+ --enable-sim-assert Specify whether to perform random assertions
--enable-sim-inline=inlines
Specify which functions should be inlined
--enable-sim-endian=endian
@@ -12842,7 +12844,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12845 "configure"
+#line 12847 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12948,7 +12950,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12951 "configure"
+#line 12953 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13302,6 +13304,21 @@ fi
+# Check whether --enable-sim-assert was given.
+if test "${enable_sim_assert+set}" = set; then :
+ enableval=$enable_sim_assert; case "${enableval}" in
+ yes) sim_assert="-DWITH_ASSERT=1";;
+ no) sim_assert="-DWITH_ASSERT=0";;
+ *) as_fn_error "\"--enable-sim-assert does not take a value\"" "$LINENO" 5; sim_assert="";;
+esac
+if test x"$silent" != x"yes" && test x"$sim_assert" != x""; then
+ echo "Setting assert flags = $sim_assert" 6>&1
+fi
+else
+ sim_assert=""
+fi
+
+
sim_inline="-DDEFAULT_INLINE=0"
# Check whether --enable-sim-inline was given.
if test "${enable_sim_inline+set}" = set; then :
diff --git a/sim/rl78/ChangeLog b/sim/rl78/ChangeLog
index 29591873dcf..6707b6c293c 100644
--- a/sim/rl78/ChangeLog
+++ b/sim/rl78/ChangeLog
@@ -14,6 +14,10 @@
* configure: Regenerate.
+2016-01-10 Mike Frysinger <vapier@gentoo.org>
+
+ * configure: Regenerate.
+
2016-01-09 Mike Frysinger <vapier@gentoo.org>
* config.in, configure: Regenerate.
diff --git a/sim/rl78/configure b/sim/rl78/configure
index 669005fc17e..64e3f319992 100755
--- a/sim/rl78/configure
+++ b/sim/rl78/configure
@@ -752,6 +752,7 @@ enable_sim_debug
enable_sim_stdio
enable_sim_trace
enable_sim_profile
+enable_sim_assert
enable_sim_inline
with_pkgversion
with_bugurl
@@ -1398,6 +1399,7 @@ Optional Features:
--enable-sim-trace=opts Enable tracing of simulated programs
--enable-sim-profile=opts
Enable profiling flags
+ --enable-sim-assert Specify whether to perform random assertions
--enable-sim-inline=inlines
Specify which functions should be inlined
@@ -12827,7 +12829,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12830 "configure"
+#line 12832 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12933,7 +12935,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12936 "configure"
+#line 12938 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13287,6 +13289,21 @@ fi
+# Check whether --enable-sim-assert was given.
+if test "${enable_sim_assert+set}" = set; then :
+ enableval=$enable_sim_assert; case "${enableval}" in
+ yes) sim_assert="-DWITH_ASSERT=1";;
+ no) sim_assert="-DWITH_ASSERT=0";;
+ *) as_fn_error "\"--enable-sim-assert does not take a value\"" "$LINENO" 5; sim_assert="";;
+esac
+if test x"$silent" != x"yes" && test x"$sim_assert" != x""; then
+ echo "Setting assert flags = $sim_assert" 6>&1
+fi
+else
+ sim_assert=""
+fi
+
+
sim_inline="-DDEFAULT_INLINE=0"
# Check whether --enable-sim-inline was given.
if test "${enable_sim_inline+set}" = set; then :
diff --git a/sim/rx/ChangeLog b/sim/rx/ChangeLog
index 909e2829678..ecc5a3771cd 100644
--- a/sim/rx/ChangeLog
+++ b/sim/rx/ChangeLog
@@ -14,6 +14,10 @@
* configure: Regenerate.
+2016-01-10 Mike Frysinger <vapier@gentoo.org>
+
+ * configure: Regenerate.
+
2016-01-09 Mike Frysinger <vapier@gentoo.org>
* config.in, configure: Regenerate.
diff --git a/sim/rx/configure b/sim/rx/configure
index 77af0a90d3e..c8767cf59ce 100755
--- a/sim/rx/configure
+++ b/sim/rx/configure
@@ -752,6 +752,7 @@ enable_sim_debug
enable_sim_stdio
enable_sim_trace
enable_sim_profile
+enable_sim_assert
enable_sim_inline
with_pkgversion
with_bugurl
@@ -1400,6 +1401,7 @@ Optional Features:
--enable-sim-trace=opts Enable tracing of simulated programs
--enable-sim-profile=opts
Enable profiling flags
+ --enable-sim-assert Specify whether to perform random assertions
--enable-sim-inline=inlines
Specify which functions should be inlined
--disable-cycle-accurate
@@ -12832,7 +12834,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12835 "configure"
+#line 12837 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12938,7 +12940,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12941 "configure"
+#line 12943 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13292,6 +13294,21 @@ fi
+# Check whether --enable-sim-assert was given.
+if test "${enable_sim_assert+set}" = set; then :
+ enableval=$enable_sim_assert; case "${enableval}" in
+ yes) sim_assert="-DWITH_ASSERT=1";;
+ no) sim_assert="-DWITH_ASSERT=0";;
+ *) as_fn_error "\"--enable-sim-assert does not take a value\"" "$LINENO" 5; sim_assert="";;
+esac
+if test x"$silent" != x"yes" && test x"$sim_assert" != x""; then
+ echo "Setting assert flags = $sim_assert" 6>&1
+fi
+else
+ sim_assert=""
+fi
+
+
sim_inline="-DDEFAULT_INLINE=0"
# Check whether --enable-sim-inline was given.
if test "${enable_sim_inline+set}" = set; then :
diff --git a/sim/sh/ChangeLog b/sim/sh/ChangeLog
index df8317ff051..d897ae07316 100644
--- a/sim/sh/ChangeLog
+++ b/sim/sh/ChangeLog
@@ -4,6 +4,10 @@
2016-01-10 Mike Frysinger <vapier@gentoo.org>
+ * configure: Regenerate.
+
+2016-01-10 Mike Frysinger <vapier@gentoo.org>
+
* configure.ac (SIM_AC_OPTION_INLINE): Delete call.
* configure: Regenerate.
diff --git a/sim/sh/configure b/sim/sh/configure
index e929ba2bb9b..cf8a451ab2c 100755
--- a/sim/sh/configure
+++ b/sim/sh/configure
@@ -752,6 +752,7 @@ enable_sim_debug
enable_sim_stdio
enable_sim_trace
enable_sim_profile
+enable_sim_assert
enable_sim_inline
with_pkgversion
with_bugurl
@@ -1404,6 +1405,7 @@ Optional Features:
--enable-sim-trace=opts Enable tracing of simulated programs
--enable-sim-profile=opts
Enable profiling flags
+ --enable-sim-assert Specify whether to perform random assertions
--enable-sim-inline=inlines
Specify which functions should be inlined
--enable-sim-endian=endian
@@ -12846,7 +12848,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12849 "configure"
+#line 12851 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12952,7 +12954,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12955 "configure"
+#line 12957 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13306,6 +13308,21 @@ fi
+# Check whether --enable-sim-assert was given.
+if test "${enable_sim_assert+set}" = set; then :
+ enableval=$enable_sim_assert; case "${enableval}" in
+ yes) sim_assert="-DWITH_ASSERT=1";;
+ no) sim_assert="-DWITH_ASSERT=0";;
+ *) as_fn_error "\"--enable-sim-assert does not take a value\"" "$LINENO" 5; sim_assert="";;
+esac
+if test x"$silent" != x"yes" && test x"$sim_assert" != x""; then
+ echo "Setting assert flags = $sim_assert" 6>&1
+fi
+else
+ sim_assert=""
+fi
+
+
sim_inline="-DDEFAULT_INLINE=0"
# Check whether --enable-sim-inline was given.
if test "${enable_sim_inline+set}" = set; then :
diff --git a/sim/sh64/ChangeLog b/sim/sh64/ChangeLog
index 8e6ef5590f3..0c47bec307e 100644
--- a/sim/sh64/ChangeLog
+++ b/sim/sh64/ChangeLog
@@ -4,6 +4,10 @@
2016-01-10 Mike Frysinger <vapier@gentoo.org>
+ * configure: Regenerate.
+
+2016-01-10 Mike Frysinger <vapier@gentoo.org>
+
* configure.ac (SIM_AC_OPTION_INLINE): Delete call.
* configure: Regenerate.
diff --git a/sim/sh64/configure b/sim/sh64/configure
index 74ec293804d..19d76f1ad87 100755
--- a/sim/sh64/configure
+++ b/sim/sh64/configure
@@ -755,6 +755,7 @@ enable_sim_debug
enable_sim_stdio
enable_sim_trace
enable_sim_profile
+enable_sim_assert
enable_sim_inline
with_pkgversion
with_bugurl
@@ -1408,6 +1409,7 @@ Optional Features:
--enable-sim-trace=opts Enable tracing of simulated programs
--enable-sim-profile=opts
Enable profiling flags
+ --enable-sim-assert Specify whether to perform random assertions
--enable-sim-inline=inlines
Specify which functions should be inlined
--enable-sim-endian=endian
@@ -12852,7 +12854,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12855 "configure"
+#line 12857 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12958,7 +12960,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12961 "configure"
+#line 12963 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13312,6 +13314,21 @@ fi
+# Check whether --enable-sim-assert was given.
+if test "${enable_sim_assert+set}" = set; then :
+ enableval=$enable_sim_assert; case "${enableval}" in
+ yes) sim_assert="-DWITH_ASSERT=1";;
+ no) sim_assert="-DWITH_ASSERT=0";;
+ *) as_fn_error "\"--enable-sim-assert does not take a value\"" "$LINENO" 5; sim_assert="";;
+esac
+if test x"$silent" != x"yes" && test x"$sim_assert" != x""; then
+ echo "Setting assert flags = $sim_assert" 6>&1
+fi
+else
+ sim_assert=""
+fi
+
+
sim_inline="-DDEFAULT_INLINE=0"
# Check whether --enable-sim-inline was given.
if test "${enable_sim_inline+set}" = set; then :
diff --git a/sim/v850/ChangeLog b/sim/v850/ChangeLog
index 5a083e727c1..35c41089647 100644
--- a/sim/v850/ChangeLog
+++ b/sim/v850/ChangeLog
@@ -14,6 +14,10 @@
* configure: Regenerate.
+2016-01-10 Mike Frysinger <vapier@gentoo.org>
+
+ * configure: Regenerate.
+
2016-01-09 Mike Frysinger <vapier@gentoo.org>
* config.in, configure: Regenerate.
diff --git a/sim/v850/configure b/sim/v850/configure
index 2b45b193239..66d69627806 100755
--- a/sim/v850/configure
+++ b/sim/v850/configure
@@ -752,6 +752,7 @@ enable_sim_debug
enable_sim_stdio
enable_sim_trace
enable_sim_profile
+enable_sim_assert
enable_sim_inline
with_pkgversion
with_bugurl
@@ -1405,6 +1406,7 @@ Optional Features:
--enable-sim-trace=opts Enable tracing of simulated programs
--enable-sim-profile=opts
Enable profiling flags
+ --enable-sim-assert Specify whether to perform random assertions
--enable-sim-inline=inlines
Specify which functions should be inlined
--enable-sim-endian=endian
@@ -12848,7 +12850,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12851 "configure"
+#line 12853 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12954,7 +12956,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12957 "configure"
+#line 12959 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13308,6 +13310,21 @@ fi
+# Check whether --enable-sim-assert was given.
+if test "${enable_sim_assert+set}" = set; then :
+ enableval=$enable_sim_assert; case "${enableval}" in
+ yes) sim_assert="-DWITH_ASSERT=1";;
+ no) sim_assert="-DWITH_ASSERT=0";;
+ *) as_fn_error "\"--enable-sim-assert does not take a value\"" "$LINENO" 5; sim_assert="";;
+esac
+if test x"$silent" != x"yes" && test x"$sim_assert" != x""; then
+ echo "Setting assert flags = $sim_assert" 6>&1
+fi
+else
+ sim_assert=""
+fi
+
+
sim_inline="-DDEFAULT_INLINE=0"
# Check whether --enable-sim-inline was given.
if test "${enable_sim_inline+set}" = set; then :