diff options
author | Mike Frysinger <vapier@gentoo.org> | 2021-01-17 13:39:03 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2021-02-06 10:56:11 -0500 |
commit | aa09469fc64467d1748c6041befb55bbad9e2328 (patch) | |
tree | 7378e736f0e74d16a9eda321c55f641f94de5f66 /sim | |
parent | 2c6f2aa66499332b7bb016869fd01267ca1b52ef (diff) |
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.
Diffstat (limited to 'sim')
73 files changed, 434 insertions, 233 deletions
diff --git a/sim/ChangeLog b/sim/ChangeLog index 6130371a44..e98229177a 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 e4f07482c3..ccc709a26e 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 b682b1b36e..9f88ed8a63 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 7b49939da0..0d9a87d6be 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 51dcea114d..4e1d2cbca5 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 2854ff87ea..505e284ce3 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 3eb9c87457..74ecc7c714 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 70910b2c60..ee76d3eb99 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 c0d129d812..d3a8cf4a06 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 5b6a807028..acfcc0b9b9 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 52d64ce601..996fb21b07 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 d1a15263c7..e52d34b0b4 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 8740a4a079..99d55fb203 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 149ddc79fa..0ad2ca80cf 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 1f1ce75f69..5a6298199e 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 99364cac7f..982cbc0b6b 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 7ec37863f3..0232bf6411 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 8a1f386725..91125020b1 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 df6db41850..340384c195 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 b40c756d6d..6b73b8907b 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 b5b45d2854..b416f91aca 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 e781129711..723b6ab71d 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 68599f7afc..108b6aeeba 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 71558e1851..d496a92431 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 83770c3067..47c4bea280 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 dd0cf46484..b8ead7b447 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 68aaf94ea1..27e82754b7 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 cea6a42b66..66fcce7bee 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 f4d7710f7c..6c5b6411bb 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 5254a36785..a541b14bd8 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 25a2c33fed..60b16c83b6 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 877a23de97..195df5c9a6 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 12536c26be..7217bd4a99 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 79e4939057..d5816bf2a3 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 cd7acea00d..517a5369c2 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 0c93128195..75bdc5473c 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 8f5aae6ef2..cb55c96c7e 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 1d609ca9d8..ed4e0727ef 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 407dd1f624..faf0c3d6cf 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 73e0064341..b3b5823c51 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 efcaed96fd..324122488c 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 0063e8e8b4..bb19cdfa12 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 8b6ba08c21..b3622aad5e 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 041bd516b9..748783fabb 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 e781129711..723b6ab71d 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 db8307d18c..6c2d4fc9e6 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 51dcea114d..4e1d2cbca5 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 068d3067e3..1fb767c43b 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 4558001536..b088672d05 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 45fdcad850..44f8cbed4f 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 6604a3a629..61e69a388f 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 d85c578413..193933dc65 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 1cf6e5bc54..229651dce5 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 974e59ea34..8c003766d7 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 654492c80b..bff52ec928 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 4d74882e73..a7a7130b8b 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 7fbd748c8e..d5ecb67a8d 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 1086ea927b..6de9e2d8e3 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 8c62f44297..3479e7a45d 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 108c92a44b..594706dd00 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 9bc10570f0..e30f4048bc 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 ce8ca2a0da..ea8194f5cd 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 3eb9c87457..74ecc7c714 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 9eaffee344..79e35e462d 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 8236dc35c1..4c14105d5e 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 ddce2366f2..2aa6a9bc91 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 842091b277..498ff92b5d 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 684c38a218..d453bed46e 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 3969c67038..85daaa92b8 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 c3a103abe9..01aeaaf3f6 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 e781129711..723b6ab71d 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 6be68b3c26..5085030e67 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 d0f21da30f..971642edc8 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 - |