aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-01-17 13:39:03 -0500
committerMike Frysinger <vapier@gentoo.org>2021-02-06 10:56:11 -0500
commitaa09469fc64467d1748c6041befb55bbad9e2328 (patch)
tree7378e736f0e74d16a9eda321c55f641f94de5f66
parent2c6f2aa66499332b7bb016869fd01267ca1b52ef (diff)
downloadgdb-aa09469fc64467d1748c6041befb55bbad9e2328.zip
gdb-aa09469fc64467d1748c6041befb55bbad9e2328.tar.gz
gdb-aa09469fc64467d1748c6041befb55bbad9e2328.tar.bz2
sim: drop use of bfd/configure.host
These settings might have made sense in darker compiler times, but I think they're largely obsolete now. Looking through the values that get used in HDEFINES, it's quite limited, and configure itself should handle them. If we still need something, we can leverage standard autoconf macros instead, after we get a clear user report. TDEFINES was never set anywhere and was always empty, so prune that.
-rw-r--r--sim/ChangeLog7
-rw-r--r--sim/aarch64/ChangeLog4
-rwxr-xr-xsim/aarch64/configure18
-rw-r--r--sim/arm/ChangeLog4
-rwxr-xr-xsim/arm/configure18
-rw-r--r--sim/avr/ChangeLog4
-rwxr-xr-xsim/avr/configure18
-rw-r--r--sim/bfin/ChangeLog4
-rwxr-xr-xsim/bfin/configure18
-rw-r--r--sim/bpf/ChangeLog4
-rwxr-xr-xsim/bpf/configure18
-rw-r--r--sim/common/ChangeLog7
-rw-r--r--sim/common/Make-common.in6
-rw-r--r--sim/common/acinclude.m43
-rwxr-xr-xsim/configure2
-rw-r--r--sim/configure.ac1
-rw-r--r--sim/cr16/ChangeLog4
-rwxr-xr-xsim/cr16/configure18
-rw-r--r--sim/cris/ChangeLog4
-rwxr-xr-xsim/cris/configure18
-rw-r--r--sim/d10v/ChangeLog4
-rwxr-xr-xsim/d10v/configure18
-rw-r--r--sim/erc32/ChangeLog4
-rwxr-xr-xsim/erc32/configure18
-rw-r--r--sim/frv/ChangeLog4
-rwxr-xr-xsim/frv/configure18
-rw-r--r--sim/ft32/ChangeLog4
-rwxr-xr-xsim/ft32/configure18
-rw-r--r--sim/h8300/ChangeLog4
-rwxr-xr-xsim/h8300/configure18
-rw-r--r--sim/igen/ChangeLog5
-rwxr-xr-xsim/igen/configure2
-rw-r--r--sim/igen/configure.ac2
-rw-r--r--sim/iq2000/ChangeLog4
-rwxr-xr-xsim/iq2000/configure18
-rw-r--r--sim/lm32/ChangeLog4
-rwxr-xr-xsim/lm32/configure18
-rw-r--r--sim/m32c/ChangeLog4
-rwxr-xr-xsim/m32c/configure18
-rw-r--r--sim/m32r/ChangeLog4
-rwxr-xr-xsim/m32r/configure18
-rw-r--r--sim/m68hc11/ChangeLog4
-rwxr-xr-xsim/m68hc11/configure8
-rw-r--r--sim/mcore/ChangeLog4
-rwxr-xr-xsim/mcore/configure18
-rw-r--r--sim/microblaze/ChangeLog4
-rwxr-xr-xsim/microblaze/configure18
-rw-r--r--sim/mips/ChangeLog4
-rwxr-xr-xsim/mips/configure18
-rw-r--r--sim/mn10300/ChangeLog4
-rwxr-xr-xsim/mn10300/configure18
-rw-r--r--sim/moxie/ChangeLog4
-rwxr-xr-xsim/moxie/configure8
-rw-r--r--sim/msp430/ChangeLog4
-rwxr-xr-xsim/msp430/configure18
-rw-r--r--sim/or1k/ChangeLog4
-rwxr-xr-xsim/or1k/configure8
-rw-r--r--sim/ppc/ChangeLog9
-rw-r--r--sim/ppc/Makefile.in6
-rwxr-xr-xsim/ppc/configure4
-rw-r--r--sim/ppc/configure.ac3
-rw-r--r--sim/pru/ChangeLog4
-rwxr-xr-xsim/pru/configure18
-rw-r--r--sim/riscv/ChangeLog4
-rwxr-xr-xsim/riscv/configure8
-rw-r--r--sim/rl78/ChangeLog4
-rwxr-xr-xsim/rl78/configure18
-rw-r--r--sim/rx/ChangeLog4
-rwxr-xr-xsim/rx/configure18
-rw-r--r--sim/sh/ChangeLog4
-rwxr-xr-xsim/sh/configure18
-rw-r--r--sim/v850/ChangeLog4
-rwxr-xr-xsim/v850/configure8
73 files changed, 434 insertions, 233 deletions
diff --git a/sim/ChangeLog b/sim/ChangeLog
index 6130371..e982291 100644
--- a/sim/ChangeLog
+++ b/sim/ChangeLog
@@ -1,3 +1,8 @@
+2021-02-06 Mike Frysinger <vapier@gentoo.org>
+
+ * configure.ac (HDEFINES): Delete AC_SUBST call.
+ * configure: Regenerate.
+
2021-02-04 Mike Frysinger <vapier@gentoo.org>
* configure.tgt (sim_arch): Add entry for riscv*-*-*.
@@ -1426,5 +1431,3 @@ Mon Feb 8 11:46:06 1993 Steve Chamberlain (sac@thepub.cygnus.com)
* Makefile.in, configure.in: if target isn't supported, build a
harmless makefile.
-
-
diff --git a/sim/aarch64/ChangeLog b/sim/aarch64/ChangeLog
index e4f0748..ccc709a 100644
--- a/sim/aarch64/ChangeLog
+++ b/sim/aarch64/ChangeLog
@@ -1,3 +1,7 @@
+2021-02-06 Mike Frysinger <vapier@gentoo.org>
+
+ * configure: Regenerate.
+
2021-01-11 Mike Frysinger <vapier@gentoo.org>
* config.in, configure: Regenerate.
diff --git a/sim/aarch64/configure b/sim/aarch64/configure
index b682b1b..9f88ed8 100755
--- a/sim/aarch64/configure
+++ b/sim/aarch64/configure
@@ -681,7 +681,6 @@ PACKAGE
C_DIALECT
RANLIB
AR
-HDEFINES
CC_FOR_BUILD
INSTALL_DATA
INSTALL_SCRIPT
@@ -6905,7 +6904,15 @@ fi
test -z "$AR" && AR=ar
if test -n "$plugin_option"; then
if $AR --help 2>&1 | grep -q "\--plugin"; then
- AR="$AR $plugin_option"
+ touch conftest.c
+ $AR $plugin_option rc conftest.a conftest.c
+ if test "$?" != 0; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
+$as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
+ else
+ AR="$AR $plugin_option"
+ fi
+ rm -f conftest.*
fi
fi
test -z "$AR_FLAGS" && AR_FLAGS=cru
@@ -8565,7 +8572,6 @@ fi
-
AR=${AR-ar}
if test -n "$ac_tool_prefix"; then
@@ -12929,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 12932 "configure"
+#line 12938 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13035,7 +13041,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 13038 "configure"
+#line 13044 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13274,8 +13280,6 @@ CC="$lt_save_CC"
-. ${srcdir}/../../bfd/configure.host
-
diff --git a/sim/arm/ChangeLog b/sim/arm/ChangeLog
index 7b49939..0d9a87d 100644
--- a/sim/arm/ChangeLog
+++ b/sim/arm/ChangeLog
@@ -1,3 +1,7 @@
+2021-02-06 Mike Frysinger <vapier@gentoo.org>
+
+ * configure: Regenerate.
+
2021-01-11 Mike Frysinger <vapier@gentoo.org>
* config.in, configure: Regenerate.
diff --git a/sim/arm/configure b/sim/arm/configure
index 51dcea1..4e1d2cb 100755
--- a/sim/arm/configure
+++ b/sim/arm/configure
@@ -681,7 +681,6 @@ PACKAGE
C_DIALECT
RANLIB
AR
-HDEFINES
CC_FOR_BUILD
INSTALL_DATA
INSTALL_SCRIPT
@@ -6905,7 +6904,15 @@ fi
test -z "$AR" && AR=ar
if test -n "$plugin_option"; then
if $AR --help 2>&1 | grep -q "\--plugin"; then
- AR="$AR $plugin_option"
+ touch conftest.c
+ $AR $plugin_option rc conftest.a conftest.c
+ if test "$?" != 0; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
+$as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
+ else
+ AR="$AR $plugin_option"
+ fi
+ rm -f conftest.*
fi
fi
test -z "$AR_FLAGS" && AR_FLAGS=cru
@@ -8565,7 +8572,6 @@ fi
-
AR=${AR-ar}
if test -n "$ac_tool_prefix"; then
@@ -12929,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 12932 "configure"
+#line 12938 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13035,7 +13041,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 13038 "configure"
+#line 13044 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13274,8 +13280,6 @@ CC="$lt_save_CC"
-. ${srcdir}/../../bfd/configure.host
-
diff --git a/sim/avr/ChangeLog b/sim/avr/ChangeLog
index 2854ff8..505e284 100644
--- a/sim/avr/ChangeLog
+++ b/sim/avr/ChangeLog
@@ -1,3 +1,7 @@
+2021-02-06 Mike Frysinger <vapier@gentoo.org>
+
+ * configure: Regenerate.
+
2021-01-30 Mike Frysinger <vapier@gentoo.org>
* interp.c (sim_open): Delete STATE_WATCHPOINTS (sd)->sizeof_pc.
diff --git a/sim/avr/configure b/sim/avr/configure
index 3eb9c87..74ecc7c 100755
--- a/sim/avr/configure
+++ b/sim/avr/configure
@@ -681,7 +681,6 @@ PACKAGE
C_DIALECT
RANLIB
AR
-HDEFINES
CC_FOR_BUILD
INSTALL_DATA
INSTALL_SCRIPT
@@ -6905,7 +6904,15 @@ fi
test -z "$AR" && AR=ar
if test -n "$plugin_option"; then
if $AR --help 2>&1 | grep -q "\--plugin"; then
- AR="$AR $plugin_option"
+ touch conftest.c
+ $AR $plugin_option rc conftest.a conftest.c
+ if test "$?" != 0; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
+$as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
+ else
+ AR="$AR $plugin_option"
+ fi
+ rm -f conftest.*
fi
fi
test -z "$AR_FLAGS" && AR_FLAGS=cru
@@ -8565,7 +8572,6 @@ fi
-
AR=${AR-ar}
if test -n "$ac_tool_prefix"; then
@@ -12929,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 12932 "configure"
+#line 12938 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13035,7 +13041,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 13038 "configure"
+#line 13044 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13274,8 +13280,6 @@ CC="$lt_save_CC"
-. ${srcdir}/../../bfd/configure.host
-
diff --git a/sim/bfin/ChangeLog b/sim/bfin/ChangeLog
index 70910b2..ee76d3e 100644
--- a/sim/bfin/ChangeLog
+++ b/sim/bfin/ChangeLog
@@ -1,3 +1,7 @@
+2021-02-06 Mike Frysinger <vapier@gentoo.org>
+
+ * configure: Regenerate.
+
2021-01-30 Mike Frysinger <vapier@gentoo.org>
* interp.c (sim_open): Delete STATE_WATCHPOINTS (sd)->sizeof_pc.
diff --git a/sim/bfin/configure b/sim/bfin/configure
index c0d129d..d3a8cf4 100755
--- a/sim/bfin/configure
+++ b/sim/bfin/configure
@@ -686,7 +686,6 @@ PACKAGE
C_DIALECT
RANLIB
AR
-HDEFINES
CC_FOR_BUILD
INSTALL_DATA
INSTALL_SCRIPT
@@ -6948,7 +6947,15 @@ fi
test -z "$AR" && AR=ar
if test -n "$plugin_option"; then
if $AR --help 2>&1 | grep -q "\--plugin"; then
- AR="$AR $plugin_option"
+ touch conftest.c
+ $AR $plugin_option rc conftest.a conftest.c
+ if test "$?" != 0; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
+$as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
+ else
+ AR="$AR $plugin_option"
+ fi
+ rm -f conftest.*
fi
fi
test -z "$AR_FLAGS" && AR_FLAGS=cru
@@ -8608,7 +8615,6 @@ fi
-
AR=${AR-ar}
if test -n "$ac_tool_prefix"; then
@@ -12972,7 +12978,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12975 "configure"
+#line 12981 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13078,7 +13084,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 13081 "configure"
+#line 13087 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13317,8 +13323,6 @@ CC="$lt_save_CC"
-. ${srcdir}/../../bfd/configure.host
-
diff --git a/sim/bpf/ChangeLog b/sim/bpf/ChangeLog
index 5b6a807..acfcc0b 100644
--- a/sim/bpf/ChangeLog
+++ b/sim/bpf/ChangeLog
@@ -1,3 +1,7 @@
+2021-02-06 Mike Frysinger <vapier@gentoo.org>
+
+ * configure: Regenerate.
+
2021-01-31 Mike Frysinger <vapier@gentoo.org>
* mloop.in (xextract-scache): Call SEM_ARGBUF.
diff --git a/sim/bpf/configure b/sim/bpf/configure
index 52d64ce..996fb21 100755
--- a/sim/bpf/configure
+++ b/sim/bpf/configure
@@ -684,7 +684,6 @@ PACKAGE
C_DIALECT
RANLIB
AR
-HDEFINES
CC_FOR_BUILD
INSTALL_DATA
INSTALL_SCRIPT
@@ -6918,7 +6917,15 @@ fi
test -z "$AR" && AR=ar
if test -n "$plugin_option"; then
if $AR --help 2>&1 | grep -q "\--plugin"; then
- AR="$AR $plugin_option"
+ touch conftest.c
+ $AR $plugin_option rc conftest.a conftest.c
+ if test "$?" != 0; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
+$as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
+ else
+ AR="$AR $plugin_option"
+ fi
+ rm -f conftest.*
fi
fi
test -z "$AR_FLAGS" && AR_FLAGS=cru
@@ -8578,7 +8585,6 @@ fi
-
AR=${AR-ar}
if test -n "$ac_tool_prefix"; then
@@ -12942,7 +12948,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12945 "configure"
+#line 12951 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13048,7 +13054,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 13051 "configure"
+#line 13057 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13287,8 +13293,6 @@ CC="$lt_save_CC"
-. ${srcdir}/../../bfd/configure.host
-
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog
index d1a1526..e52d34b 100644
--- a/sim/common/ChangeLog
+++ b/sim/common/ChangeLog
@@ -1,3 +1,10 @@
+2021-02-06 Mike Frysinger <vapier@gentoo.org>
+
+ * Make-common.in (HDEFINES, TDEFINES): Delete.
+ (CONFIG_CFLAGS): Delete $(HDEFINES) $(TDEFINES).
+ * acinclude.m4 (SIM_AC_COMMON): Delete AC_SUBST(HDEFINES) and
+ bfd/configure.host sourcing.
+
2021-02-04 Mike Frysinger <vapier@gentoo.org>
* gennltvals.py (TARGETS): Add riscv.
diff --git a/sim/common/Make-common.in b/sim/common/Make-common.in
index 8740a4a..99d55fb 100644
--- a/sim/common/Make-common.in
+++ b/sim/common/Make-common.in
@@ -93,9 +93,6 @@ WERROR_CFLAGS = @WERROR_CFLAGS@
SIM_WARN_CFLAGS = $(WARN_CFLAGS)
SIM_WERROR_CFLAGS = $(WERROR_CFLAGS)
-HDEFINES = @HDEFINES@
-TDEFINES =
-
AR = @AR@
AR_FLAGS = rc
RANLIB = @RANLIB@
@@ -230,8 +227,7 @@ CONFIG_CFLAGS = \
$(SIM_WARN_CFLAGS) \
$(SIM_WERROR_CFLAGS) \
$(SIM_HARDWARE) \
- $(SIM_EXTRA_CFLAGS) \
- $(HDEFINES) $(TDEFINES)
+ $(SIM_EXTRA_CFLAGS)
CSEARCH = -I. -I$(srcdir) -I../common -I$(srccom) \
-I../../include -I$(srcroot)/include \
-I../../bfd -I$(srcroot)/bfd \
diff --git a/sim/common/acinclude.m4 b/sim/common/acinclude.m4
index 149ddc7..0ad2ca8 100644
--- a/sim/common/acinclude.m4
+++ b/sim/common/acinclude.m4
@@ -40,7 +40,6 @@ fi
AC_SUBST(CC_FOR_BUILD)
AC_SUBST(CFLAGS)
-AC_SUBST(HDEFINES)
AR=${AR-ar}
AC_SUBST(AR)
AC_PROG_RANLIB
@@ -135,8 +134,6 @@ AM_CONDITIONAL(PLUGINS, test "$plugins" = yes)
LT_INIT([dlopen])
AC_SUBST(lt_cv_dlopen_libs)
-. ${srcdir}/../../bfd/configure.host
-
dnl Standard (and optional) simulator options.
dnl Eventually all simulators will support these.
dnl Do not add any here that cannot be supported by all simulators.
diff --git a/sim/configure b/sim/configure
index 1f1ce75..5a62981 100755
--- a/sim/configure
+++ b/sim/configure
@@ -589,7 +589,6 @@ sim_arch
subdirs
CFLAGS_FOR_BUILD
CC_FOR_BUILD
-HDEFINES
CPP
target_os
target_vendor
@@ -3731,7 +3730,6 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
AR=${AR-ar}
if test -n "$ac_tool_prefix"; then
diff --git a/sim/configure.ac b/sim/configure.ac
index 99364ca..982cbc0 100644
--- a/sim/configure.ac
+++ b/sim/configure.ac
@@ -12,7 +12,6 @@ AC_ARG_PROGRAM
AC_PROG_CC
AC_PROG_CPP
AC_SUBST(CFLAGS)
-AC_SUBST(HDEFINES)
AR=${AR-ar}
AC_SUBST(AR)
AC_PROG_RANLIB
diff --git a/sim/cr16/ChangeLog b/sim/cr16/ChangeLog
index 7ec3786..0232bf6 100644
--- a/sim/cr16/ChangeLog
+++ b/sim/cr16/ChangeLog
@@ -1,3 +1,7 @@
+2021-02-06 Mike Frysinger <vapier@gentoo.org>
+
+ * configure: Regenerate.
+
2021-01-11 Mike Frysinger <vapier@gentoo.org>
* config.in, configure: Regenerate.
diff --git a/sim/cr16/configure b/sim/cr16/configure
index 8a1f386..9112502 100755
--- a/sim/cr16/configure
+++ b/sim/cr16/configure
@@ -681,7 +681,6 @@ PACKAGE
C_DIALECT
RANLIB
AR
-HDEFINES
CC_FOR_BUILD
INSTALL_DATA
INSTALL_SCRIPT
@@ -6905,7 +6904,15 @@ fi
test -z "$AR" && AR=ar
if test -n "$plugin_option"; then
if $AR --help 2>&1 | grep -q "\--plugin"; then
- AR="$AR $plugin_option"
+ touch conftest.c
+ $AR $plugin_option rc conftest.a conftest.c
+ if test "$?" != 0; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
+$as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
+ else
+ AR="$AR $plugin_option"
+ fi
+ rm -f conftest.*
fi
fi
test -z "$AR_FLAGS" && AR_FLAGS=cru
@@ -8565,7 +8572,6 @@ fi
-
AR=${AR-ar}
if test -n "$ac_tool_prefix"; then
@@ -12929,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 12932 "configure"
+#line 12938 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13035,7 +13041,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 13038 "configure"
+#line 13044 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13274,8 +13280,6 @@ CC="$lt_save_CC"
-. ${srcdir}/../../bfd/configure.host
-
diff --git a/sim/cris/ChangeLog b/sim/cris/ChangeLog
index df6db41..340384c 100644
--- a/sim/cris/ChangeLog
+++ b/sim/cris/ChangeLog
@@ -1,3 +1,7 @@
+2021-02-06 Mike Frysinger <vapier@gentoo.org>
+
+ * configure: Regenerate.
+
2021-01-11 Mike Frysinger <vapier@gentoo.org>
* config.in, configure: Regenerate.
diff --git a/sim/cris/configure b/sim/cris/configure
index b40c756..6b73b89 100755
--- a/sim/cris/configure
+++ b/sim/cris/configure
@@ -684,7 +684,6 @@ PACKAGE
C_DIALECT
RANLIB
AR
-HDEFINES
CC_FOR_BUILD
INSTALL_DATA
INSTALL_SCRIPT
@@ -6919,7 +6918,15 @@ fi
test -z "$AR" && AR=ar
if test -n "$plugin_option"; then
if $AR --help 2>&1 | grep -q "\--plugin"; then
- AR="$AR $plugin_option"
+ touch conftest.c
+ $AR $plugin_option rc conftest.a conftest.c
+ if test "$?" != 0; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
+$as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
+ else
+ AR="$AR $plugin_option"
+ fi
+ rm -f conftest.*
fi
fi
test -z "$AR_FLAGS" && AR_FLAGS=cru
@@ -8579,7 +8586,6 @@ fi
-
AR=${AR-ar}
if test -n "$ac_tool_prefix"; then
@@ -12943,7 +12949,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12946 "configure"
+#line 12952 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13049,7 +13055,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 13052 "configure"
+#line 13058 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13288,8 +13294,6 @@ CC="$lt_save_CC"
-. ${srcdir}/../../bfd/configure.host
-
diff --git a/sim/d10v/ChangeLog b/sim/d10v/ChangeLog
index b5b45d2..b416f91 100644
--- a/sim/d10v/ChangeLog
+++ b/sim/d10v/ChangeLog
@@ -1,3 +1,7 @@
+2021-02-06 Mike Frysinger <vapier@gentoo.org>
+
+ * configure: Regenerate.
+
2021-01-11 Mike Frysinger <vapier@gentoo.org>
* config.in, configure: Regenerate.
diff --git a/sim/d10v/configure b/sim/d10v/configure
index e781129..723b6ab 100755
--- a/sim/d10v/configure
+++ b/sim/d10v/configure
@@ -681,7 +681,6 @@ PACKAGE
C_DIALECT
RANLIB
AR
-HDEFINES
CC_FOR_BUILD
INSTALL_DATA
INSTALL_SCRIPT
@@ -6905,7 +6904,15 @@ fi
test -z "$AR" && AR=ar
if test -n "$plugin_option"; then
if $AR --help 2>&1 | grep -q "\--plugin"; then
- AR="$AR $plugin_option"
+ touch conftest.c
+ $AR $plugin_option rc conftest.a conftest.c
+ if test "$?" != 0; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
+$as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
+ else
+ AR="$AR $plugin_option"
+ fi
+ rm -f conftest.*
fi
fi
test -z "$AR_FLAGS" && AR_FLAGS=cru
@@ -8565,7 +8572,6 @@ fi
-
AR=${AR-ar}
if test -n "$ac_tool_prefix"; then
@@ -12929,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 12932 "configure"
+#line 12938 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13035,7 +13041,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 13038 "configure"
+#line 13044 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13274,8 +13280,6 @@ CC="$lt_save_CC"
-. ${srcdir}/../../bfd/configure.host
-
diff --git a/sim/erc32/ChangeLog b/sim/erc32/ChangeLog
index 68599f7..108b6ae 100644
--- a/sim/erc32/ChangeLog
+++ b/sim/erc32/ChangeLog
@@ -1,3 +1,7 @@
+2021-02-06 Mike Frysinger <vapier@gentoo.org>
+
+ * configure: Regenerate.
+
2021-01-11 Mike Frysinger <vapier@gentoo.org>
* configure.ac: Call SIM_AC_OPTION_WARNINGS.
diff --git a/sim/erc32/configure b/sim/erc32/configure
index 71558e1..d496a92 100755
--- a/sim/erc32/configure
+++ b/sim/erc32/configure
@@ -683,7 +683,6 @@ PACKAGE
C_DIALECT
RANLIB
AR
-HDEFINES
CC_FOR_BUILD
INSTALL_DATA
INSTALL_SCRIPT
@@ -6900,7 +6899,15 @@ fi
test -z "$AR" && AR=ar
if test -n "$plugin_option"; then
if $AR --help 2>&1 | grep -q "\--plugin"; then
- AR="$AR $plugin_option"
+ touch conftest.c
+ $AR $plugin_option rc conftest.a conftest.c
+ if test "$?" != 0; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
+$as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
+ else
+ AR="$AR $plugin_option"
+ fi
+ rm -f conftest.*
fi
fi
test -z "$AR_FLAGS" && AR_FLAGS=cru
@@ -8560,7 +8567,6 @@ fi
-
AR=${AR-ar}
if test -n "$ac_tool_prefix"; then
@@ -12924,7 +12930,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12927 "configure"
+#line 12933 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13030,7 +13036,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 13033 "configure"
+#line 13039 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13269,8 +13275,6 @@ CC="$lt_save_CC"
-. ${srcdir}/../../bfd/configure.host
-
diff --git a/sim/frv/ChangeLog b/sim/frv/ChangeLog
index 83770c3..47c4bea 100644
--- a/sim/frv/ChangeLog
+++ b/sim/frv/ChangeLog
@@ -1,3 +1,7 @@
+2021-02-06 Mike Frysinger <vapier@gentoo.org>
+
+ * configure: Regenerate.
+
2021-01-30 Mike Frysinger <vapier@gentoo.org>
* sim-if.c (sim_open): Delete STATE_WATCHPOINTS (sd)->sizeof_pc.
diff --git a/sim/frv/configure b/sim/frv/configure
index dd0cf46..b8ead7b 100755
--- a/sim/frv/configure
+++ b/sim/frv/configure
@@ -685,7 +685,6 @@ PACKAGE
C_DIALECT
RANLIB
AR
-HDEFINES
CC_FOR_BUILD
INSTALL_DATA
INSTALL_SCRIPT
@@ -6922,7 +6921,15 @@ fi
test -z "$AR" && AR=ar
if test -n "$plugin_option"; then
if $AR --help 2>&1 | grep -q "\--plugin"; then
- AR="$AR $plugin_option"
+ touch conftest.c
+ $AR $plugin_option rc conftest.a conftest.c
+ if test "$?" != 0; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
+$as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
+ else
+ AR="$AR $plugin_option"
+ fi
+ rm -f conftest.*
fi
fi
test -z "$AR_FLAGS" && AR_FLAGS=cru
@@ -8582,7 +8589,6 @@ fi
-
AR=${AR-ar}
if test -n "$ac_tool_prefix"; then
@@ -12946,7 +12952,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12949 "configure"
+#line 12955 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13052,7 +13058,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 13055 "configure"
+#line 13061 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13291,8 +13297,6 @@ CC="$lt_save_CC"
-. ${srcdir}/../../bfd/configure.host
-
diff --git a/sim/ft32/ChangeLog b/sim/ft32/ChangeLog
index 68aaf94..27e8275 100644
--- a/sim/ft32/ChangeLog
+++ b/sim/ft32/ChangeLog
@@ -1,3 +1,7 @@
+2021-02-06 Mike Frysinger <vapier@gentoo.org>
+
+ * configure: Regenerate.
+
2021-01-11 Mike Frysinger <vapier@gentoo.org>
* config.in, configure: Regenerate.
diff --git a/sim/ft32/configure b/sim/ft32/configure
index cea6a42..66fcce7 100755
--- a/sim/ft32/configure
+++ b/sim/ft32/configure
@@ -681,7 +681,6 @@ PACKAGE
C_DIALECT
RANLIB
AR
-HDEFINES
CC_FOR_BUILD
INSTALL_DATA
INSTALL_SCRIPT
@@ -6905,7 +6904,15 @@ fi
test -z "$AR" && AR=ar
if test -n "$plugin_option"; then
if $AR --help 2>&1 | grep -q "\--plugin"; then
- AR="$AR $plugin_option"
+ touch conftest.c
+ $AR $plugin_option rc conftest.a conftest.c
+ if test "$?" != 0; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
+$as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
+ else
+ AR="$AR $plugin_option"
+ fi
+ rm -f conftest.*
fi
fi
test -z "$AR_FLAGS" && AR_FLAGS=cru
@@ -8565,7 +8572,6 @@ fi
-
AR=${AR-ar}
if test -n "$ac_tool_prefix"; then
@@ -12929,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 12932 "configure"
+#line 12938 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13035,7 +13041,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 13038 "configure"
+#line 13044 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13274,8 +13280,6 @@ CC="$lt_save_CC"
-. ${srcdir}/../../bfd/configure.host
-
diff --git a/sim/h8300/ChangeLog b/sim/h8300/ChangeLog
index f4d7710..6c5b641 100644
--- a/sim/h8300/ChangeLog
+++ b/sim/h8300/ChangeLog
@@ -1,3 +1,7 @@
+2021-02-06 Mike Frysinger <vapier@gentoo.org>
+
+ * configure: Regenerate.
+
2021-01-13 Mike Frysinger <vapier@gentoo.org>
* compile.c (memory_size): Move definition to top of file.
diff --git a/sim/h8300/configure b/sim/h8300/configure
index 5254a36..a541b14 100755
--- a/sim/h8300/configure
+++ b/sim/h8300/configure
@@ -681,7 +681,6 @@ PACKAGE
C_DIALECT
RANLIB
AR
-HDEFINES
CC_FOR_BUILD
INSTALL_DATA
INSTALL_SCRIPT
@@ -6905,7 +6904,15 @@ fi
test -z "$AR" && AR=ar
if test -n "$plugin_option"; then
if $AR --help 2>&1 | grep -q "\--plugin"; then
- AR="$AR $plugin_option"
+ touch conftest.c
+ $AR $plugin_option rc conftest.a conftest.c
+ if test "$?" != 0; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
+$as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
+ else
+ AR="$AR $plugin_option"
+ fi
+ rm -f conftest.*
fi
fi
test -z "$AR_FLAGS" && AR_FLAGS=cru
@@ -8565,7 +8572,6 @@ fi
-
AR=${AR-ar}
if test -n "$ac_tool_prefix"; then
@@ -12929,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 12932 "configure"
+#line 12938 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13035,7 +13041,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 13038 "configure"
+#line 13044 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13274,8 +13280,6 @@ CC="$lt_save_CC"
-. ${srcdir}/../../bfd/configure.host
-
diff --git a/sim/igen/ChangeLog b/sim/igen/ChangeLog
index 25a2c33..60b16c8 100644
--- a/sim/igen/ChangeLog
+++ b/sim/igen/ChangeLog
@@ -1,3 +1,8 @@
+2021-02-06 Mike Frysinger <vapier@gentoo.org>
+
+ * configure.ac: Delete bfd/configure.host sourcing.
+ * configure: Regenerate.
+
2021-01-11 Mike Frysinger <vapier@gentoo.org>
* configure.ac (AC_CHECK_HEADERS): Delete stdlib.h, string.h, and
diff --git a/sim/igen/configure b/sim/igen/configure
index 877a23d..195df5c 100755
--- a/sim/igen/configure
+++ b/sim/igen/configure
@@ -5023,8 +5023,6 @@ ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
-. ${srcdir}/../../bfd/configure.host
-
ac_config_headers="$ac_config_headers config.h:config.in"
diff --git a/sim/igen/configure.ac b/sim/igen/configure.ac
index 12536c2..7217bd4 100644
--- a/sim/igen/configure.ac
+++ b/sim/igen/configure.ac
@@ -28,8 +28,6 @@ fi
AC_CANONICAL_SYSTEM
AC_ARG_PROGRAM
-. ${srcdir}/../../bfd/configure.host
-
AC_CONFIG_HEADER(config.h:config.in)
# NB: You can assume C11 headers exist.
diff --git a/sim/iq2000/ChangeLog b/sim/iq2000/ChangeLog
index 79e4939..d5816bf 100644
--- a/sim/iq2000/ChangeLog
+++ b/sim/iq2000/ChangeLog
@@ -1,3 +1,7 @@
+2021-02-06 Mike Frysinger <vapier@gentoo.org>
+
+ * configure: Regenerate.
+
2021-01-30 Mike Frysinger <vapier@gentoo.org>
* sim-if.c (sim_open): Delete STATE_WATCHPOINTS (sd)->sizeof_pc.
diff --git a/sim/iq2000/configure b/sim/iq2000/configure
index cd7acea..517a536 100755
--- a/sim/iq2000/configure
+++ b/sim/iq2000/configure
@@ -684,7 +684,6 @@ PACKAGE
C_DIALECT
RANLIB
AR
-HDEFINES
CC_FOR_BUILD
INSTALL_DATA
INSTALL_SCRIPT
@@ -6919,7 +6918,15 @@ fi
test -z "$AR" && AR=ar
if test -n "$plugin_option"; then
if $AR --help 2>&1 | grep -q "\--plugin"; then
- AR="$AR $plugin_option"
+ touch conftest.c
+ $AR $plugin_option rc conftest.a conftest.c
+ if test "$?" != 0; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
+$as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
+ else
+ AR="$AR $plugin_option"
+ fi
+ rm -f conftest.*
fi
fi
test -z "$AR_FLAGS" && AR_FLAGS=cru
@@ -8579,7 +8586,6 @@ fi
-
AR=${AR-ar}
if test -n "$ac_tool_prefix"; then
@@ -12943,7 +12949,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12946 "configure"
+#line 12952 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13049,7 +13055,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 13052 "configure"
+#line 13058 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13288,8 +13294,6 @@ CC="$lt_save_CC"
-. ${srcdir}/../../bfd/configure.host
-
diff --git a/sim/lm32/ChangeLog b/sim/lm32/ChangeLog
index 0c93128..75bdc54 100644
--- a/sim/lm32/ChangeLog
+++ b/sim/lm32/ChangeLog
@@ -1,3 +1,7 @@
+2021-02-06 Mike Frysinger <vapier@gentoo.org>
+
+ * configure: Regenerate.
+
2021-01-11 Mike Frysinger <vapier@gentoo.org>
* configure.ac: Call SIM_AC_OPTION_WARNINGS.
diff --git a/sim/lm32/configure b/sim/lm32/configure
index 8f5aae6..cb55c96 100755
--- a/sim/lm32/configure
+++ b/sim/lm32/configure
@@ -684,7 +684,6 @@ PACKAGE
C_DIALECT
RANLIB
AR
-HDEFINES
CC_FOR_BUILD
INSTALL_DATA
INSTALL_SCRIPT
@@ -6919,7 +6918,15 @@ fi
test -z "$AR" && AR=ar
if test -n "$plugin_option"; then
if $AR --help 2>&1 | grep -q "\--plugin"; then
- AR="$AR $plugin_option"
+ touch conftest.c
+ $AR $plugin_option rc conftest.a conftest.c
+ if test "$?" != 0; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
+$as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
+ else
+ AR="$AR $plugin_option"
+ fi
+ rm -f conftest.*
fi
fi
test -z "$AR_FLAGS" && AR_FLAGS=cru
@@ -8579,7 +8586,6 @@ fi
-
AR=${AR-ar}
if test -n "$ac_tool_prefix"; then
@@ -12943,7 +12949,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12946 "configure"
+#line 12952 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13049,7 +13055,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 13052 "configure"
+#line 13058 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13288,8 +13294,6 @@ CC="$lt_save_CC"
-. ${srcdir}/../../bfd/configure.host
-
diff --git a/sim/m32c/ChangeLog b/sim/m32c/ChangeLog
index 1d609ca..ed4e072 100644
--- a/sim/m32c/ChangeLog
+++ b/sim/m32c/ChangeLog
@@ -1,3 +1,7 @@
+2021-02-06 Mike Frysinger <vapier@gentoo.org>
+
+ * configure: Regenerate.
+
2021-01-11 Mike Frysinger <vapier@gentoo.org>
* config.in, configure: Regenerate.
diff --git a/sim/m32c/configure b/sim/m32c/configure
index 407dd1f..faf0c3d 100755
--- a/sim/m32c/configure
+++ b/sim/m32c/configure
@@ -681,7 +681,6 @@ PACKAGE
C_DIALECT
RANLIB
AR
-HDEFINES
CC_FOR_BUILD
INSTALL_DATA
INSTALL_SCRIPT
@@ -6898,7 +6897,15 @@ fi
test -z "$AR" && AR=ar
if test -n "$plugin_option"; then
if $AR --help 2>&1 | grep -q "\--plugin"; then
- AR="$AR $plugin_option"
+ touch conftest.c
+ $AR $plugin_option rc conftest.a conftest.c
+ if test "$?" != 0; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
+$as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
+ else
+ AR="$AR $plugin_option"
+ fi
+ rm -f conftest.*
fi
fi
test -z "$AR_FLAGS" && AR_FLAGS=cru
@@ -8558,7 +8565,6 @@ fi
-
AR=${AR-ar}
if test -n "$ac_tool_prefix"; then
@@ -12922,7 +12928,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12925 "configure"
+#line 12931 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13028,7 +13034,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 13031 "configure"
+#line 13037 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13267,8 +13273,6 @@ CC="$lt_save_CC"
-. ${srcdir}/../../bfd/configure.host
-
diff --git a/sim/m32r/ChangeLog b/sim/m32r/ChangeLog
index 73e0064..b3b5823 100644
--- a/sim/m32r/ChangeLog
+++ b/sim/m32r/ChangeLog
@@ -1,3 +1,7 @@
+2021-02-06 Mike Frysinger <vapier@gentoo.org>
+
+ * configure: Regenerate.
+
2021-01-30 Mike Frysinger <vapier@gentoo.org>
* sim-if.c (sim_open): Delete STATE_WATCHPOINTS (sd)->sizeof_pc.
diff --git a/sim/m32r/configure b/sim/m32r/configure
index efcaed9..3241224 100755
--- a/sim/m32r/configure
+++ b/sim/m32r/configure
@@ -686,7 +686,6 @@ PACKAGE
C_DIALECT
RANLIB
AR
-HDEFINES
CC_FOR_BUILD
INSTALL_DATA
INSTALL_SCRIPT
@@ -6921,7 +6920,15 @@ fi
test -z "$AR" && AR=ar
if test -n "$plugin_option"; then
if $AR --help 2>&1 | grep -q "\--plugin"; then
- AR="$AR $plugin_option"
+ touch conftest.c
+ $AR $plugin_option rc conftest.a conftest.c
+ if test "$?" != 0; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
+$as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
+ else
+ AR="$AR $plugin_option"
+ fi
+ rm -f conftest.*
fi
fi
test -z "$AR_FLAGS" && AR_FLAGS=cru
@@ -8581,7 +8588,6 @@ fi
-
AR=${AR-ar}
if test -n "$ac_tool_prefix"; then
@@ -12945,7 +12951,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12948 "configure"
+#line 12954 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13051,7 +13057,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 13054 "configure"
+#line 13060 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13290,8 +13296,6 @@ CC="$lt_save_CC"
-. ${srcdir}/../../bfd/configure.host
-
diff --git a/sim/m68hc11/ChangeLog b/sim/m68hc11/ChangeLog
index 0063e8e..bb19cdf 100644
--- a/sim/m68hc11/ChangeLog
+++ b/sim/m68hc11/ChangeLog
@@ -1,3 +1,7 @@
+2021-02-06 Mike Frysinger <vapier@gentoo.org>
+
+ * configure: Regenerate.
+
2021-01-30 Mike Frysinger <vapier@gentoo.org>
* dv-m68hc11tim.c (cycle_to_string): Change llu to PRIi64.
diff --git a/sim/m68hc11/configure b/sim/m68hc11/configure
index 8b6ba08..b3622aa 100755
--- a/sim/m68hc11/configure
+++ b/sim/m68hc11/configure
@@ -681,7 +681,6 @@ PACKAGE
C_DIALECT
RANLIB
AR
-HDEFINES
CC_FOR_BUILD
INSTALL_DATA
INSTALL_SCRIPT
@@ -8576,7 +8575,6 @@ fi
-
AR=${AR-ar}
if test -n "$ac_tool_prefix"; then
@@ -12940,7 +12938,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 12941 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13046,7 +13044,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 13049 "configure"
+#line 13047 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13285,8 +13283,6 @@ CC="$lt_save_CC"
-. ${srcdir}/../../bfd/configure.host
-
diff --git a/sim/mcore/ChangeLog b/sim/mcore/ChangeLog
index 041bd51..748783f 100644
--- a/sim/mcore/ChangeLog
+++ b/sim/mcore/ChangeLog
@@ -1,3 +1,7 @@
+2021-02-06 Mike Frysinger <vapier@gentoo.org>
+
+ * configure: Regenerate.
+
2021-01-11 Mike Frysinger <vapier@gentoo.org>
* config.in, configure: Regenerate.
diff --git a/sim/mcore/configure b/sim/mcore/configure
index e781129..723b6ab 100755
--- a/sim/mcore/configure
+++ b/sim/mcore/configure
@@ -681,7 +681,6 @@ PACKAGE
C_DIALECT
RANLIB
AR
-HDEFINES
CC_FOR_BUILD
INSTALL_DATA
INSTALL_SCRIPT
@@ -6905,7 +6904,15 @@ fi
test -z "$AR" && AR=ar
if test -n "$plugin_option"; then
if $AR --help 2>&1 | grep -q "\--plugin"; then
- AR="$AR $plugin_option"
+ touch conftest.c
+ $AR $plugin_option rc conftest.a conftest.c
+ if test "$?" != 0; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
+$as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
+ else
+ AR="$AR $plugin_option"
+ fi
+ rm -f conftest.*
fi
fi
test -z "$AR_FLAGS" && AR_FLAGS=cru
@@ -8565,7 +8572,6 @@ fi
-
AR=${AR-ar}
if test -n "$ac_tool_prefix"; then
@@ -12929,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 12932 "configure"
+#line 12938 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13035,7 +13041,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 13038 "configure"
+#line 13044 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13274,8 +13280,6 @@ CC="$lt_save_CC"
-. ${srcdir}/../../bfd/configure.host
-
diff --git a/sim/microblaze/ChangeLog b/sim/microblaze/ChangeLog
index db8307d..6c2d4fc 100644
--- a/sim/microblaze/ChangeLog
+++ b/sim/microblaze/ChangeLog
@@ -1,3 +1,7 @@
+2021-02-06 Mike Frysinger <vapier@gentoo.org>
+
+ * configure: Regenerate.
+
2021-01-11 Mike Frysinger <vapier@gentoo.org>
* config.in, configure: Regenerate.
diff --git a/sim/microblaze/configure b/sim/microblaze/configure
index 51dcea1..4e1d2cb 100755
--- a/sim/microblaze/configure
+++ b/sim/microblaze/configure
@@ -681,7 +681,6 @@ PACKAGE
C_DIALECT
RANLIB
AR
-HDEFINES
CC_FOR_BUILD
INSTALL_DATA
INSTALL_SCRIPT
@@ -6905,7 +6904,15 @@ fi
test -z "$AR" && AR=ar
if test -n "$plugin_option"; then
if $AR --help 2>&1 | grep -q "\--plugin"; then
- AR="$AR $plugin_option"
+ touch conftest.c
+ $AR $plugin_option rc conftest.a conftest.c
+ if test "$?" != 0; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
+$as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
+ else
+ AR="$AR $plugin_option"
+ fi
+ rm -f conftest.*
fi
fi
test -z "$AR_FLAGS" && AR_FLAGS=cru
@@ -8565,7 +8572,6 @@ fi
-
AR=${AR-ar}
if test -n "$ac_tool_prefix"; then
@@ -12929,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 12932 "configure"
+#line 12938 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13035,7 +13041,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 13038 "configure"
+#line 13044 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13274,8 +13280,6 @@ CC="$lt_save_CC"
-. ${srcdir}/../../bfd/configure.host
-
diff --git a/sim/mips/ChangeLog b/sim/mips/ChangeLog
index 068d306..1fb767c 100644
--- a/sim/mips/ChangeLog
+++ b/sim/mips/ChangeLog
@@ -1,3 +1,7 @@
+2021-02-06 Mike Frysinger <vapier@gentoo.org>
+
+ * configure: Regenerate.
+
2021-01-30 Mike Frysinger <vapier@gentoo.org>
* interp.c (sim_open): Delete STATE_WATCHPOINTS (sd)->sizeof_pc.
diff --git a/sim/mips/configure b/sim/mips/configure
index 4558001..b088672 100755
--- a/sim/mips/configure
+++ b/sim/mips/configure
@@ -694,7 +694,6 @@ PACKAGE
C_DIALECT
RANLIB
AR
-HDEFINES
CC_FOR_BUILD
INSTALL_DATA
INSTALL_SCRIPT
@@ -6938,7 +6937,15 @@ fi
test -z "$AR" && AR=ar
if test -n "$plugin_option"; then
if $AR --help 2>&1 | grep -q "\--plugin"; then
- AR="$AR $plugin_option"
+ touch conftest.c
+ $AR $plugin_option rc conftest.a conftest.c
+ if test "$?" != 0; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
+$as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
+ else
+ AR="$AR $plugin_option"
+ fi
+ rm -f conftest.*
fi
fi
test -z "$AR_FLAGS" && AR_FLAGS=cru
@@ -8598,7 +8605,6 @@ fi
-
AR=${AR-ar}
if test -n "$ac_tool_prefix"; then
@@ -12962,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 12965 "configure"
+#line 12971 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13068,7 +13074,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 13071 "configure"
+#line 13077 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13307,8 +13313,6 @@ CC="$lt_save_CC"
-. ${srcdir}/../../bfd/configure.host
-
diff --git a/sim/mn10300/ChangeLog b/sim/mn10300/ChangeLog
index 45fdcad..44f8cbe 100644
--- a/sim/mn10300/ChangeLog
+++ b/sim/mn10300/ChangeLog
@@ -1,3 +1,7 @@
+2021-02-06 Mike Frysinger <vapier@gentoo.org>
+
+ * configure: Regenerate.
+
2021-01-30 Mike Frysinger <vapier@gentoo.org>
* interp.c (sim_open): Delete STATE_WATCHPOINTS (sd)->sizeof_pc.
diff --git a/sim/mn10300/configure b/sim/mn10300/configure
index 6604a3a..61e69a3 100755
--- a/sim/mn10300/configure
+++ b/sim/mn10300/configure
@@ -681,7 +681,6 @@ PACKAGE
C_DIALECT
RANLIB
AR
-HDEFINES
CC_FOR_BUILD
INSTALL_DATA
INSTALL_SCRIPT
@@ -6914,7 +6913,15 @@ fi
test -z "$AR" && AR=ar
if test -n "$plugin_option"; then
if $AR --help 2>&1 | grep -q "\--plugin"; then
- AR="$AR $plugin_option"
+ touch conftest.c
+ $AR $plugin_option rc conftest.a conftest.c
+ if test "$?" != 0; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
+$as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
+ else
+ AR="$AR $plugin_option"
+ fi
+ rm -f conftest.*
fi
fi
test -z "$AR_FLAGS" && AR_FLAGS=cru
@@ -8574,7 +8581,6 @@ fi
-
AR=${AR-ar}
if test -n "$ac_tool_prefix"; then
@@ -12938,7 +12944,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 12947 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13044,7 +13050,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 13047 "configure"
+#line 13053 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13283,8 +13289,6 @@ CC="$lt_save_CC"
-. ${srcdir}/../../bfd/configure.host
-
diff --git a/sim/moxie/ChangeLog b/sim/moxie/ChangeLog
index d85c578..193933d 100644
--- a/sim/moxie/ChangeLog
+++ b/sim/moxie/ChangeLog
@@ -1,3 +1,7 @@
+2021-02-06 Mike Frysinger <vapier@gentoo.org>
+
+ * configure: Regenerate.
+
2021-01-31 Mike Frysinger <vapier@gentoo.org>
* interp.c (sim_create_inferior): Add const to avp.
diff --git a/sim/moxie/configure b/sim/moxie/configure
index 1cf6e5b..229651d 100755
--- a/sim/moxie/configure
+++ b/sim/moxie/configure
@@ -682,7 +682,6 @@ PACKAGE
C_DIALECT
RANLIB
AR
-HDEFINES
CC_FOR_BUILD
INSTALL_DATA
INSTALL_SCRIPT
@@ -8574,7 +8573,6 @@ fi
-
AR=${AR-ar}
if test -n "$ac_tool_prefix"; then
@@ -12938,7 +12936,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 12939 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13044,7 +13042,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 13047 "configure"
+#line 13045 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13283,8 +13281,6 @@ CC="$lt_save_CC"
-. ${srcdir}/../../bfd/configure.host
-
diff --git a/sim/msp430/ChangeLog b/sim/msp430/ChangeLog
index 974e59e..8c00376 100644
--- a/sim/msp430/ChangeLog
+++ b/sim/msp430/ChangeLog
@@ -1,3 +1,7 @@
+2021-02-06 Mike Frysinger <vapier@gentoo.org>
+
+ * configure: Regenerate.
+
2021-01-11 Mike Frysinger <vapier@gentoo.org>
* config.in, configure: Regenerate.
diff --git a/sim/msp430/configure b/sim/msp430/configure
index 654492c..bff52ec 100755
--- a/sim/msp430/configure
+++ b/sim/msp430/configure
@@ -681,7 +681,6 @@ PACKAGE
C_DIALECT
RANLIB
AR
-HDEFINES
CC_FOR_BUILD
INSTALL_DATA
INSTALL_SCRIPT
@@ -6905,7 +6904,15 @@ fi
test -z "$AR" && AR=ar
if test -n "$plugin_option"; then
if $AR --help 2>&1 | grep -q "\--plugin"; then
- AR="$AR $plugin_option"
+ touch conftest.c
+ $AR $plugin_option rc conftest.a conftest.c
+ if test "$?" != 0; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
+$as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
+ else
+ AR="$AR $plugin_option"
+ fi
+ rm -f conftest.*
fi
fi
test -z "$AR_FLAGS" && AR_FLAGS=cru
@@ -8565,7 +8572,6 @@ fi
-
AR=${AR-ar}
if test -n "$ac_tool_prefix"; then
@@ -12929,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 12932 "configure"
+#line 12938 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13035,7 +13041,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 13038 "configure"
+#line 13044 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13274,8 +13280,6 @@ CC="$lt_save_CC"
-. ${srcdir}/../../bfd/configure.host
-
diff --git a/sim/or1k/ChangeLog b/sim/or1k/ChangeLog
index 4d74882..a7a7130 100644
--- a/sim/or1k/ChangeLog
+++ b/sim/or1k/ChangeLog
@@ -1,3 +1,7 @@
+2021-02-06 Mike Frysinger <vapier@gentoo.org>
+
+ * configure: Regenerate.
+
2021-01-31 Mike Frysinger <vapier@gentoo.org>
* decode.c (or1k32bf_decode): Change TRACE_EXTRACT to
diff --git a/sim/or1k/configure b/sim/or1k/configure
index 7fbd748..d5ecb67 100755
--- a/sim/or1k/configure
+++ b/sim/or1k/configure
@@ -684,7 +684,6 @@ PACKAGE
C_DIALECT
RANLIB
AR
-HDEFINES
CC_FOR_BUILD
INSTALL_DATA
INSTALL_SCRIPT
@@ -8586,7 +8585,6 @@ fi
-
AR=${AR-ar}
if test -n "$ac_tool_prefix"; then
@@ -12950,7 +12948,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12953 "configure"
+#line 12951 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13056,7 +13054,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 13059 "configure"
+#line 13057 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13295,8 +13293,6 @@ CC="$lt_save_CC"
-. ${srcdir}/../../bfd/configure.host
-
diff --git a/sim/ppc/ChangeLog b/sim/ppc/ChangeLog
index 1086ea9..6de9e2d 100644
--- a/sim/ppc/ChangeLog
+++ b/sim/ppc/ChangeLog
@@ -1,3 +1,12 @@
+2021-02-06 Mike Frysinger <vapier@gentoo.org>
+
+ * Makefile.in (STD_CFLAGS): Delete $(HDEFINES) $(TDEFINES).
+ (NOWARN_CFLAGS): Likewise.
+ (HDEFINES, TDEFINES): Delete.
+ * configure.ac: Delete AC_SUBST(HDEFINES) and bfd/configure.host
+ sourcing.
+ * configure: Regenerate.
+
2021-01-19 Mike Frysinger <vapier@gentoo.org>
* Makefile.in (version.c): Simplifiy args and call move-if-change.
diff --git a/sim/ppc/Makefile.in b/sim/ppc/Makefile.in
index 8c62f44..3479e7a 100644
--- a/sim/ppc/Makefile.in
+++ b/sim/ppc/Makefile.in
@@ -103,8 +103,8 @@ CONFIG_CFLAGS = \
$(DEVZERO_CFLAGS)
SIM_FPU_CFLAGS = @sim_fpu_cflags@
-STD_CFLAGS = $(CFLAGS) $(INLINE_CFLAGS) $(CONFIG_CFLAGS) $(WARNING_CFLAGS) $(HDEFINES) $(TDEFINES) $(INCLUDES) $(INTL_CFLAGS) $(SIM_FPU_CFLAGS)
-NOWARN_CFLAGS = $(CFLAGS) $(INLINE_CFLAGS) $(CONFIG_CFLAGS) $(HDEFINES) $(TDEFINES) $(INCLUDES) $(SIM_FPU_CFLAGS)
+STD_CFLAGS = $(CFLAGS) $(INLINE_CFLAGS) $(CONFIG_CFLAGS) $(WARNING_CFLAGS) $(INCLUDES) $(INTL_CFLAGS) $(SIM_FPU_CFLAGS)
+NOWARN_CFLAGS = $(CFLAGS) $(INLINE_CFLAGS) $(CONFIG_CFLAGS) $(INCLUDES) $(SIM_FPU_CFLAGS)
BUILD_CFLAGS = $(CFLAGS_FOR_BUILD) $(INCLUDES) $(WARNING_CFLAGS)
BUILD_LDFLAGS =
@@ -121,8 +121,6 @@ IGEN_SMP = @sim_igen_smp@
IGEN_LINE_NR = @sim_line_nr@
DGEN_FLAGS = @sim_switch@
-HDEFINES = @HDEFINES@
-TDEFINES =
IGEN_FLAGS = \
$(IGEN_DECODE_MECHANISM) \
$(IGEN_DUPLICATE) \
diff --git a/sim/ppc/configure b/sim/ppc/configure
index 108c92a..594706d 100755
--- a/sim/ppc/configure
+++ b/sim/ppc/configure
@@ -652,7 +652,6 @@ sim_line_nr
sim_warnings
RANLIB
AR
-HDEFINES
CFLAGS_FOR_BUILD
CC_FOR_BUILD
LIBOBJS
@@ -6899,8 +6898,6 @@ fi
fi
-. ${srcdir}/../../bfd/configure.host
-
case ${host} in
*mingw32*)
@@ -7761,7 +7758,6 @@ fi
-
AR=${AR-ar}
if test -n "$ac_tool_prefix"; then
diff --git a/sim/ppc/configure.ac b/sim/ppc/configure.ac
index 9bc1057..e30f404 100644
--- a/sim/ppc/configure.ac
+++ b/sim/ppc/configure.ac
@@ -626,8 +626,6 @@ AM_ZLIB
# BFD uses libdl when when plugins enabled.
AC_PLUGINS
-. ${srcdir}/../../bfd/configure.host
-
case ${host} in
*mingw32*)
AC_DEFINE(USE_WIN32API, 1,
@@ -835,7 +833,6 @@ AC_EXEEXT
AC_SUBST(CC_FOR_BUILD)
AC_SUBST(CFLAGS_FOR_BUILD)
AC_SUBST(CFLAGS)
-AC_SUBST(HDEFINES)
AR=${AR-ar}
AC_SUBST(AR)
AC_PROG_RANLIB
diff --git a/sim/pru/ChangeLog b/sim/pru/ChangeLog
index ce8ca2a..ea8194f 100644
--- a/sim/pru/ChangeLog
+++ b/sim/pru/ChangeLog
@@ -1,3 +1,7 @@
+2021-02-06 Mike Frysinger <vapier@gentoo.org>
+
+ * configure: Regenerate.
+
2021-01-11 Mike Frysinger <vapier@gentoo.org>
* config.in, configure: Regenerate.
diff --git a/sim/pru/configure b/sim/pru/configure
index 3eb9c87..74ecc7c 100755
--- a/sim/pru/configure
+++ b/sim/pru/configure
@@ -681,7 +681,6 @@ PACKAGE
C_DIALECT
RANLIB
AR
-HDEFINES
CC_FOR_BUILD
INSTALL_DATA
INSTALL_SCRIPT
@@ -6905,7 +6904,15 @@ fi
test -z "$AR" && AR=ar
if test -n "$plugin_option"; then
if $AR --help 2>&1 | grep -q "\--plugin"; then
- AR="$AR $plugin_option"
+ touch conftest.c
+ $AR $plugin_option rc conftest.a conftest.c
+ if test "$?" != 0; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
+$as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
+ else
+ AR="$AR $plugin_option"
+ fi
+ rm -f conftest.*
fi
fi
test -z "$AR_FLAGS" && AR_FLAGS=cru
@@ -8565,7 +8572,6 @@ fi
-
AR=${AR-ar}
if test -n "$ac_tool_prefix"; then
@@ -12929,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 12932 "configure"
+#line 12938 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13035,7 +13041,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 13038 "configure"
+#line 13044 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13274,8 +13280,6 @@ CC="$lt_save_CC"
-. ${srcdir}/../../bfd/configure.host
-
diff --git a/sim/riscv/ChangeLog b/sim/riscv/ChangeLog
index 9eaffee..79e35e4 100644
--- a/sim/riscv/ChangeLog
+++ b/sim/riscv/ChangeLog
@@ -1,3 +1,7 @@
+2021-02-06 Mike Frysinger <vapier@gentoo.org>
+
+ * configure: Regenerate.
+
2021-02-04 Mike Frysinger <vapier@gentoo.org>
* sim-main.c: Include gdb/sim-riscv.h.
diff --git a/sim/riscv/configure b/sim/riscv/configure
index 8236dc3..4c14105 100755
--- a/sim/riscv/configure
+++ b/sim/riscv/configure
@@ -681,7 +681,6 @@ PACKAGE
C_DIALECT
RANLIB
AR
-HDEFINES
CC_FOR_BUILD
INSTALL_DATA
INSTALL_SCRIPT
@@ -8578,7 +8577,6 @@ fi
-
AR=${AR-ar}
if test -n "$ac_tool_prefix"; then
@@ -12942,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 12945 "configure"
+#line 12943 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13048,7 +13046,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 13051 "configure"
+#line 13049 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13287,8 +13285,6 @@ CC="$lt_save_CC"
-. ${srcdir}/../../bfd/configure.host
-
diff --git a/sim/rl78/ChangeLog b/sim/rl78/ChangeLog
index ddce236..2aa6a9b 100644
--- a/sim/rl78/ChangeLog
+++ b/sim/rl78/ChangeLog
@@ -1,3 +1,7 @@
+2021-02-06 Mike Frysinger <vapier@gentoo.org>
+
+ * configure: Regenerate.
+
2021-01-11 Mike Frysinger <vapier@gentoo.org>
* configure.ac: Call SIM_AC_OPTION_WARNINGS.
diff --git a/sim/rl78/configure b/sim/rl78/configure
index 842091b..498ff92 100755
--- a/sim/rl78/configure
+++ b/sim/rl78/configure
@@ -681,7 +681,6 @@ PACKAGE
C_DIALECT
RANLIB
AR
-HDEFINES
CC_FOR_BUILD
INSTALL_DATA
INSTALL_SCRIPT
@@ -6898,7 +6897,15 @@ fi
test -z "$AR" && AR=ar
if test -n "$plugin_option"; then
if $AR --help 2>&1 | grep -q "\--plugin"; then
- AR="$AR $plugin_option"
+ touch conftest.c
+ $AR $plugin_option rc conftest.a conftest.c
+ if test "$?" != 0; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
+$as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
+ else
+ AR="$AR $plugin_option"
+ fi
+ rm -f conftest.*
fi
fi
test -z "$AR_FLAGS" && AR_FLAGS=cru
@@ -8558,7 +8565,6 @@ fi
-
AR=${AR-ar}
if test -n "$ac_tool_prefix"; then
@@ -12922,7 +12928,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12925 "configure"
+#line 12931 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13028,7 +13034,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 13031 "configure"
+#line 13037 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13267,8 +13273,6 @@ CC="$lt_save_CC"
-. ${srcdir}/../../bfd/configure.host
-
diff --git a/sim/rx/ChangeLog b/sim/rx/ChangeLog
index 684c38a..d453bed 100644
--- a/sim/rx/ChangeLog
+++ b/sim/rx/ChangeLog
@@ -1,3 +1,7 @@
+2021-02-06 Mike Frysinger <vapier@gentoo.org>
+
+ * configure: Regenerate.
+
2021-01-11 Mike Frysinger <vapier@gentoo.org>
* configure.ac: Call SIM_AC_OPTION_WARNINGS.
diff --git a/sim/rx/configure b/sim/rx/configure
index 3969c67..85daaa9 100755
--- a/sim/rx/configure
+++ b/sim/rx/configure
@@ -681,7 +681,6 @@ PACKAGE
C_DIALECT
RANLIB
AR
-HDEFINES
CC_FOR_BUILD
INSTALL_DATA
INSTALL_SCRIPT
@@ -6903,7 +6902,15 @@ fi
test -z "$AR" && AR=ar
if test -n "$plugin_option"; then
if $AR --help 2>&1 | grep -q "\--plugin"; then
- AR="$AR $plugin_option"
+ touch conftest.c
+ $AR $plugin_option rc conftest.a conftest.c
+ if test "$?" != 0; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
+$as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
+ else
+ AR="$AR $plugin_option"
+ fi
+ rm -f conftest.*
fi
fi
test -z "$AR_FLAGS" && AR_FLAGS=cru
@@ -8563,7 +8570,6 @@ fi
-
AR=${AR-ar}
if test -n "$ac_tool_prefix"; then
@@ -12927,7 +12933,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12930 "configure"
+#line 12936 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13033,7 +13039,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 13036 "configure"
+#line 13042 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13272,8 +13278,6 @@ CC="$lt_save_CC"
-. ${srcdir}/../../bfd/configure.host
-
diff --git a/sim/sh/ChangeLog b/sim/sh/ChangeLog
index c3a103a..01aeaaf 100644
--- a/sim/sh/ChangeLog
+++ b/sim/sh/ChangeLog
@@ -1,3 +1,7 @@
+2021-02-06 Mike Frysinger <vapier@gentoo.org>
+
+ * configure: Regenerate.
+
2021-01-11 Mike Frysinger <vapier@gentoo.org>
* config.in, configure: Regenerate.
diff --git a/sim/sh/configure b/sim/sh/configure
index e781129..723b6ab 100755
--- a/sim/sh/configure
+++ b/sim/sh/configure
@@ -681,7 +681,6 @@ PACKAGE
C_DIALECT
RANLIB
AR
-HDEFINES
CC_FOR_BUILD
INSTALL_DATA
INSTALL_SCRIPT
@@ -6905,7 +6904,15 @@ fi
test -z "$AR" && AR=ar
if test -n "$plugin_option"; then
if $AR --help 2>&1 | grep -q "\--plugin"; then
- AR="$AR $plugin_option"
+ touch conftest.c
+ $AR $plugin_option rc conftest.a conftest.c
+ if test "$?" != 0; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
+$as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
+ else
+ AR="$AR $plugin_option"
+ fi
+ rm -f conftest.*
fi
fi
test -z "$AR_FLAGS" && AR_FLAGS=cru
@@ -8565,7 +8572,6 @@ fi
-
AR=${AR-ar}
if test -n "$ac_tool_prefix"; then
@@ -12929,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 12932 "configure"
+#line 12938 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13035,7 +13041,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 13038 "configure"
+#line 13044 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13274,8 +13280,6 @@ CC="$lt_save_CC"
-. ${srcdir}/../../bfd/configure.host
-
diff --git a/sim/v850/ChangeLog b/sim/v850/ChangeLog
index 6be68b3..5085030 100644
--- a/sim/v850/ChangeLog
+++ b/sim/v850/ChangeLog
@@ -1,3 +1,7 @@
+2021-02-06 Mike Frysinger <vapier@gentoo.org>
+
+ * configure: Regenerate.
+
2021-01-31 Mike Frysinger <vapier@gentoo.org>
* simops.c: Include stdlib.h.
diff --git a/sim/v850/configure b/sim/v850/configure
index d0f21da..971642e 100755
--- a/sim/v850/configure
+++ b/sim/v850/configure
@@ -681,7 +681,6 @@ PACKAGE
C_DIALECT
RANLIB
AR
-HDEFINES
CC_FOR_BUILD
INSTALL_DATA
INSTALL_SCRIPT
@@ -8579,7 +8578,6 @@ fi
-
AR=${AR-ar}
if test -n "$ac_tool_prefix"; then
@@ -12943,7 +12941,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12946 "configure"
+#line 12944 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13049,7 +13047,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 13052 "configure"
+#line 13050 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13288,8 +13286,6 @@ CC="$lt_save_CC"
-. ${srcdir}/../../bfd/configure.host
-