From aa09469fc64467d1748c6041befb55bbad9e2328 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 17 Jan 2021 13:39:03 -0500 Subject: [PATCH] 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. --- sim/ChangeLog | 7 +++++-- sim/aarch64/ChangeLog | 4 ++++ sim/aarch64/configure | 18 +++++++++++------- sim/arm/ChangeLog | 4 ++++ sim/arm/configure | 18 +++++++++++------- sim/avr/ChangeLog | 4 ++++ sim/avr/configure | 18 +++++++++++------- sim/bfin/ChangeLog | 4 ++++ sim/bfin/configure | 18 +++++++++++------- sim/bpf/ChangeLog | 4 ++++ sim/bpf/configure | 18 +++++++++++------- sim/common/ChangeLog | 7 +++++++ sim/common/Make-common.in | 6 +----- sim/common/acinclude.m4 | 3 --- sim/configure | 2 -- sim/configure.ac | 1 - sim/cr16/ChangeLog | 4 ++++ sim/cr16/configure | 18 +++++++++++------- sim/cris/ChangeLog | 4 ++++ sim/cris/configure | 18 +++++++++++------- sim/d10v/ChangeLog | 4 ++++ sim/d10v/configure | 18 +++++++++++------- sim/erc32/ChangeLog | 4 ++++ sim/erc32/configure | 18 +++++++++++------- sim/frv/ChangeLog | 4 ++++ sim/frv/configure | 18 +++++++++++------- sim/ft32/ChangeLog | 4 ++++ sim/ft32/configure | 18 +++++++++++------- sim/h8300/ChangeLog | 4 ++++ sim/h8300/configure | 18 +++++++++++------- sim/igen/ChangeLog | 5 +++++ sim/igen/configure | 2 -- sim/igen/configure.ac | 2 -- sim/iq2000/ChangeLog | 4 ++++ sim/iq2000/configure | 18 +++++++++++------- sim/lm32/ChangeLog | 4 ++++ sim/lm32/configure | 18 +++++++++++------- sim/m32c/ChangeLog | 4 ++++ sim/m32c/configure | 18 +++++++++++------- sim/m32r/ChangeLog | 4 ++++ sim/m32r/configure | 18 +++++++++++------- sim/m68hc11/ChangeLog | 4 ++++ sim/m68hc11/configure | 8 ++------ sim/mcore/ChangeLog | 4 ++++ sim/mcore/configure | 18 +++++++++++------- sim/microblaze/ChangeLog | 4 ++++ sim/microblaze/configure | 18 +++++++++++------- sim/mips/ChangeLog | 4 ++++ sim/mips/configure | 18 +++++++++++------- sim/mn10300/ChangeLog | 4 ++++ sim/mn10300/configure | 18 +++++++++++------- sim/moxie/ChangeLog | 4 ++++ sim/moxie/configure | 8 ++------ sim/msp430/ChangeLog | 4 ++++ sim/msp430/configure | 18 +++++++++++------- sim/or1k/ChangeLog | 4 ++++ sim/or1k/configure | 8 ++------ sim/ppc/ChangeLog | 9 +++++++++ sim/ppc/Makefile.in | 6 ++---- sim/ppc/configure | 4 ---- sim/ppc/configure.ac | 3 --- sim/pru/ChangeLog | 4 ++++ sim/pru/configure | 18 +++++++++++------- sim/riscv/ChangeLog | 4 ++++ sim/riscv/configure | 8 ++------ sim/rl78/ChangeLog | 4 ++++ sim/rl78/configure | 18 +++++++++++------- sim/rx/ChangeLog | 4 ++++ sim/rx/configure | 18 +++++++++++------- sim/sh/ChangeLog | 4 ++++ sim/sh/configure | 18 +++++++++++------- sim/v850/ChangeLog | 4 ++++ sim/v850/configure | 8 ++------ 73 files changed, 434 insertions(+), 233 deletions(-) diff --git a/sim/ChangeLog b/sim/ChangeLog index 6130371a447..e98229177aa 100644 --- a/sim/ChangeLog +++ b/sim/ChangeLog @@ -1,3 +1,8 @@ +2021-02-06 Mike Frysinger + + * configure.ac (HDEFINES): Delete AC_SUBST call. + * configure: Regenerate. + 2021-02-04 Mike Frysinger * 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 e4f07482c3c..ccc709a26ea 100644 --- a/sim/aarch64/ChangeLog +++ b/sim/aarch64/ChangeLog @@ -1,3 +1,7 @@ +2021-02-06 Mike Frysinger + + * configure: Regenerate. + 2021-01-11 Mike Frysinger * config.in, configure: Regenerate. diff --git a/sim/aarch64/configure b/sim/aarch64/configure index b682b1b36e7..9f88ed8a630 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 7b49939da0b..0d9a87d6be1 100644 --- a/sim/arm/ChangeLog +++ b/sim/arm/ChangeLog @@ -1,3 +1,7 @@ +2021-02-06 Mike Frysinger + + * configure: Regenerate. + 2021-01-11 Mike Frysinger * config.in, configure: Regenerate. diff --git a/sim/arm/configure b/sim/arm/configure index 51dcea114d7..4e1d2cbca57 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 2854ff87eaf..505e284ce3b 100644 --- a/sim/avr/ChangeLog +++ b/sim/avr/ChangeLog @@ -1,3 +1,7 @@ +2021-02-06 Mike Frysinger + + * configure: Regenerate. + 2021-01-30 Mike Frysinger * interp.c (sim_open): Delete STATE_WATCHPOINTS (sd)->sizeof_pc. diff --git a/sim/avr/configure b/sim/avr/configure index 3eb9c874572..74ecc7c7148 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 70910b2c609..ee76d3eb992 100644 --- a/sim/bfin/ChangeLog +++ b/sim/bfin/ChangeLog @@ -1,3 +1,7 @@ +2021-02-06 Mike Frysinger + + * configure: Regenerate. + 2021-01-30 Mike Frysinger * interp.c (sim_open): Delete STATE_WATCHPOINTS (sd)->sizeof_pc. diff --git a/sim/bfin/configure b/sim/bfin/configure index c0d129d8124..d3a8cf4a06d 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 5b6a8070283..acfcc0b9b9a 100644 --- a/sim/bpf/ChangeLog +++ b/sim/bpf/ChangeLog @@ -1,3 +1,7 @@ +2021-02-06 Mike Frysinger + + * configure: Regenerate. + 2021-01-31 Mike Frysinger * mloop.in (xextract-scache): Call SEM_ARGBUF. diff --git a/sim/bpf/configure b/sim/bpf/configure index 52d64ce6012..996fb21b07b 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 d1a15263c75..e52d34b0b43 100644 --- a/sim/common/ChangeLog +++ b/sim/common/ChangeLog @@ -1,3 +1,10 @@ +2021-02-06 Mike Frysinger + + * 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 * gennltvals.py (TARGETS): Add riscv. diff --git a/sim/common/Make-common.in b/sim/common/Make-common.in index 8740a4a079e..99d55fb2038 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 149ddc79faa..0ad2ca80cf5 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 1f1ce75f699..5a6298199e7 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 99364cac7f4..982cbc0b6b9 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 7ec37863f33..0232bf6411d 100644 --- a/sim/cr16/ChangeLog +++ b/sim/cr16/ChangeLog @@ -1,3 +1,7 @@ +2021-02-06 Mike Frysinger + + * configure: Regenerate. + 2021-01-11 Mike Frysinger * config.in, configure: Regenerate. diff --git a/sim/cr16/configure b/sim/cr16/configure index 8a1f3867255..91125020b17 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 df6db418503..340384c1953 100644 --- a/sim/cris/ChangeLog +++ b/sim/cris/ChangeLog @@ -1,3 +1,7 @@ +2021-02-06 Mike Frysinger + + * configure: Regenerate. + 2021-01-11 Mike Frysinger * config.in, configure: Regenerate. diff --git a/sim/cris/configure b/sim/cris/configure index b40c756d6d1..6b73b8907b2 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 b5b45d28548..b416f91aca2 100644 --- a/sim/d10v/ChangeLog +++ b/sim/d10v/ChangeLog @@ -1,3 +1,7 @@ +2021-02-06 Mike Frysinger + + * configure: Regenerate. + 2021-01-11 Mike Frysinger * config.in, configure: Regenerate. diff --git a/sim/d10v/configure b/sim/d10v/configure index e7811297111..723b6ab71d1 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 68599f7afc6..108b6aeeba5 100644 --- a/sim/erc32/ChangeLog +++ b/sim/erc32/ChangeLog @@ -1,3 +1,7 @@ +2021-02-06 Mike Frysinger + + * configure: Regenerate. + 2021-01-11 Mike Frysinger * configure.ac: Call SIM_AC_OPTION_WARNINGS. diff --git a/sim/erc32/configure b/sim/erc32/configure index 71558e1851f..d496a924312 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 83770c3067a..47c4bea280e 100644 --- a/sim/frv/ChangeLog +++ b/sim/frv/ChangeLog @@ -1,3 +1,7 @@ +2021-02-06 Mike Frysinger + + * configure: Regenerate. + 2021-01-30 Mike Frysinger * sim-if.c (sim_open): Delete STATE_WATCHPOINTS (sd)->sizeof_pc. diff --git a/sim/frv/configure b/sim/frv/configure index dd0cf464843..b8ead7b447d 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 68aaf94ea14..27e82754b79 100644 --- a/sim/ft32/ChangeLog +++ b/sim/ft32/ChangeLog @@ -1,3 +1,7 @@ +2021-02-06 Mike Frysinger + + * configure: Regenerate. + 2021-01-11 Mike Frysinger * config.in, configure: Regenerate. diff --git a/sim/ft32/configure b/sim/ft32/configure index cea6a42b666..66fcce7beee 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 f4d7710f7cb..6c5b6411bbb 100644 --- a/sim/h8300/ChangeLog +++ b/sim/h8300/ChangeLog @@ -1,3 +1,7 @@ +2021-02-06 Mike Frysinger + + * configure: Regenerate. + 2021-01-13 Mike Frysinger * compile.c (memory_size): Move definition to top of file. diff --git a/sim/h8300/configure b/sim/h8300/configure index 5254a367857..a541b14bd81 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 25a2c33fede..60b16c83b6e 100644 --- a/sim/igen/ChangeLog +++ b/sim/igen/ChangeLog @@ -1,3 +1,8 @@ +2021-02-06 Mike Frysinger + + * configure.ac: Delete bfd/configure.host sourcing. + * configure: Regenerate. + 2021-01-11 Mike Frysinger * configure.ac (AC_CHECK_HEADERS): Delete stdlib.h, string.h, and diff --git a/sim/igen/configure b/sim/igen/configure index 877a23de97d..195df5c9a6d 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 12536c26be4..7217bd4a99e 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 79e49390575..d5816bf2a36 100644 --- a/sim/iq2000/ChangeLog +++ b/sim/iq2000/ChangeLog @@ -1,3 +1,7 @@ +2021-02-06 Mike Frysinger + + * configure: Regenerate. + 2021-01-30 Mike Frysinger * sim-if.c (sim_open): Delete STATE_WATCHPOINTS (sd)->sizeof_pc. diff --git a/sim/iq2000/configure b/sim/iq2000/configure index cd7acea00dc..517a5369c20 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 0c93128195d..75bdc5473c6 100644 --- a/sim/lm32/ChangeLog +++ b/sim/lm32/ChangeLog @@ -1,3 +1,7 @@ +2021-02-06 Mike Frysinger + + * configure: Regenerate. + 2021-01-11 Mike Frysinger * configure.ac: Call SIM_AC_OPTION_WARNINGS. diff --git a/sim/lm32/configure b/sim/lm32/configure index 8f5aae6ef26..cb55c96c7e9 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 1d609ca9d84..ed4e0727efe 100644 --- a/sim/m32c/ChangeLog +++ b/sim/m32c/ChangeLog @@ -1,3 +1,7 @@ +2021-02-06 Mike Frysinger + + * configure: Regenerate. + 2021-01-11 Mike Frysinger * config.in, configure: Regenerate. diff --git a/sim/m32c/configure b/sim/m32c/configure index 407dd1f624a..faf0c3d6cf8 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 73e00643416..b3b5823c510 100644 --- a/sim/m32r/ChangeLog +++ b/sim/m32r/ChangeLog @@ -1,3 +1,7 @@ +2021-02-06 Mike Frysinger + + * configure: Regenerate. + 2021-01-30 Mike Frysinger * sim-if.c (sim_open): Delete STATE_WATCHPOINTS (sd)->sizeof_pc. diff --git a/sim/m32r/configure b/sim/m32r/configure index efcaed96fdf..324122488c4 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 0063e8e8b46..bb19cdfa126 100644 --- a/sim/m68hc11/ChangeLog +++ b/sim/m68hc11/ChangeLog @@ -1,3 +1,7 @@ +2021-02-06 Mike Frysinger + + * configure: Regenerate. + 2021-01-30 Mike Frysinger * dv-m68hc11tim.c (cycle_to_string): Change llu to PRIi64. diff --git a/sim/m68hc11/configure b/sim/m68hc11/configure index 8b6ba08c21e..b3622aad5e7 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 041bd516b99..748783fabb8 100644 --- a/sim/mcore/ChangeLog +++ b/sim/mcore/ChangeLog @@ -1,3 +1,7 @@ +2021-02-06 Mike Frysinger + + * configure: Regenerate. + 2021-01-11 Mike Frysinger * config.in, configure: Regenerate. diff --git a/sim/mcore/configure b/sim/mcore/configure index e7811297111..723b6ab71d1 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 db8307d18cd..6c2d4fc9e6e 100644 --- a/sim/microblaze/ChangeLog +++ b/sim/microblaze/ChangeLog @@ -1,3 +1,7 @@ +2021-02-06 Mike Frysinger + + * configure: Regenerate. + 2021-01-11 Mike Frysinger * config.in, configure: Regenerate. diff --git a/sim/microblaze/configure b/sim/microblaze/configure index 51dcea114d7..4e1d2cbca57 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 068d3067e38..1fb767c43b4 100644 --- a/sim/mips/ChangeLog +++ b/sim/mips/ChangeLog @@ -1,3 +1,7 @@ +2021-02-06 Mike Frysinger + + * configure: Regenerate. + 2021-01-30 Mike Frysinger * interp.c (sim_open): Delete STATE_WATCHPOINTS (sd)->sizeof_pc. diff --git a/sim/mips/configure b/sim/mips/configure index 45580015361..b088672d053 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 45fdcad8500..44f8cbed4f9 100644 --- a/sim/mn10300/ChangeLog +++ b/sim/mn10300/ChangeLog @@ -1,3 +1,7 @@ +2021-02-06 Mike Frysinger + + * configure: Regenerate. + 2021-01-30 Mike Frysinger * interp.c (sim_open): Delete STATE_WATCHPOINTS (sd)->sizeof_pc. diff --git a/sim/mn10300/configure b/sim/mn10300/configure index 6604a3a6297..61e69a388ff 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 d85c5784135..193933dc653 100644 --- a/sim/moxie/ChangeLog +++ b/sim/moxie/ChangeLog @@ -1,3 +1,7 @@ +2021-02-06 Mike Frysinger + + * configure: Regenerate. + 2021-01-31 Mike Frysinger * interp.c (sim_create_inferior): Add const to avp. diff --git a/sim/moxie/configure b/sim/moxie/configure index 1cf6e5bc547..229651dce5c 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 974e59ea344..8c003766d7c 100644 --- a/sim/msp430/ChangeLog +++ b/sim/msp430/ChangeLog @@ -1,3 +1,7 @@ +2021-02-06 Mike Frysinger + + * configure: Regenerate. + 2021-01-11 Mike Frysinger * config.in, configure: Regenerate. diff --git a/sim/msp430/configure b/sim/msp430/configure index 654492c80b2..bff52ec9287 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 4d74882e73f..a7a7130b8b6 100644 --- a/sim/or1k/ChangeLog +++ b/sim/or1k/ChangeLog @@ -1,3 +1,7 @@ +2021-02-06 Mike Frysinger + + * configure: Regenerate. + 2021-01-31 Mike Frysinger * decode.c (or1k32bf_decode): Change TRACE_EXTRACT to diff --git a/sim/or1k/configure b/sim/or1k/configure index 7fbd748c8e0..d5ecb67a8de 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 1086ea927bc..6de9e2d8e3a 100644 --- a/sim/ppc/ChangeLog +++ b/sim/ppc/ChangeLog @@ -1,3 +1,12 @@ +2021-02-06 Mike Frysinger + + * 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 * Makefile.in (version.c): Simplifiy args and call move-if-change. diff --git a/sim/ppc/Makefile.in b/sim/ppc/Makefile.in index 8c62f44297e..3479e7a45d2 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 108c92a44bf..594706dd000 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 9bc10570f03..e30f4048bcd 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 ce8ca2a0dad..ea8194f5cd4 100644 --- a/sim/pru/ChangeLog +++ b/sim/pru/ChangeLog @@ -1,3 +1,7 @@ +2021-02-06 Mike Frysinger + + * configure: Regenerate. + 2021-01-11 Mike Frysinger * config.in, configure: Regenerate. diff --git a/sim/pru/configure b/sim/pru/configure index 3eb9c874572..74ecc7c7148 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 9eaffee3442..79e35e462d8 100644 --- a/sim/riscv/ChangeLog +++ b/sim/riscv/ChangeLog @@ -1,3 +1,7 @@ +2021-02-06 Mike Frysinger + + * configure: Regenerate. + 2021-02-04 Mike Frysinger * sim-main.c: Include gdb/sim-riscv.h. diff --git a/sim/riscv/configure b/sim/riscv/configure index 8236dc35c12..4c14105d5e1 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 ddce2366f25..2aa6a9bc91a 100644 --- a/sim/rl78/ChangeLog +++ b/sim/rl78/ChangeLog @@ -1,3 +1,7 @@ +2021-02-06 Mike Frysinger + + * configure: Regenerate. + 2021-01-11 Mike Frysinger * configure.ac: Call SIM_AC_OPTION_WARNINGS. diff --git a/sim/rl78/configure b/sim/rl78/configure index 842091b2777..498ff92b5d3 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 684c38a2180..d453bed46ed 100644 --- a/sim/rx/ChangeLog +++ b/sim/rx/ChangeLog @@ -1,3 +1,7 @@ +2021-02-06 Mike Frysinger + + * configure: Regenerate. + 2021-01-11 Mike Frysinger * configure.ac: Call SIM_AC_OPTION_WARNINGS. diff --git a/sim/rx/configure b/sim/rx/configure index 3969c670380..85daaa92b85 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 c3a103abe9b..01aeaaf3f61 100644 --- a/sim/sh/ChangeLog +++ b/sim/sh/ChangeLog @@ -1,3 +1,7 @@ +2021-02-06 Mike Frysinger + + * configure: Regenerate. + 2021-01-11 Mike Frysinger * config.in, configure: Regenerate. diff --git a/sim/sh/configure b/sim/sh/configure index e7811297111..723b6ab71d1 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 6be68b3c262..5085030e67d 100644 --- a/sim/v850/ChangeLog +++ b/sim/v850/ChangeLog @@ -1,3 +1,7 @@ +2021-02-06 Mike Frysinger + + * configure: Regenerate. + 2021-01-31 Mike Frysinger * simops.c: Include stdlib.h. diff --git a/sim/v850/configure b/sim/v850/configure index d0f21da30ff..971642edc81 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 - -- 2.30.2