binutils-gdb/sim
Alan Modra 87b6078fc2 tidy m4 plugin config support
In CLANG_PLUGIN_FILE it is possible for plugin_file to be non-NULL
when LLVMgold.so does not exist.

configure output is messy, with results not printed against their
  "checking.." line, eg.
checking for clang... (cached) yes
checking for clang plugin file... checking for x86_64-pc-linux-gnu-ar... (cached) ar --plugin /usr/lib/llvm-20/lib/clang/20/../../LLVMgold.so
/usr/lib/llvm-20/lib/clang/20/../../LLVMgold.so

This patch fixes those problems, and a similar interposition of other
configure output between AC_MSG_CHECKING and AC_MSG_RESULT in
gcc-plugin.m4.  It also tidies some of the message text, and makes
similar code in gcc-plugin.m4 and clang-plugin.m4 a little more
consistent.

config/
	* clang-plugin.m4 (CLANG_PLUGIN_FILE): Don't place checks for
	tools (llvm-config, ar) inside AC_MSG_CHECKING..AC_MSG_RESULT
	for clang plugin file.  Clear plugin_file before loop exit.
	(CLANG_PLUGIN_FILE_FOR_TARGET): Similarly.
	* gcc-plugin.m4 (GCC_PLUGIN_OPTION): Similarly.
	(GCC_PLUGIN_OPTION_FOR_TARGET): Correct AC_MSG_CHECKING.  Tidy
	return code.
binutils/
	* testsuite/lib/binutils-common.exp <llvm_plug_opt>: Set for
	non-native.
	* configure: Regenerate.
/
	* configure: Regenerate.
bfd/
	* configure: Regenerate.
gas/
	* configure: Regenerate.
gdb/
	* configure: Regenerate.
gprof/
	* configure: Regenerate.
gprofng/
	* configure: Regenerate.
	* libcollector/configure: Regenerate.
ld/
	* configure: Regenerate.
libbacktrace/
	* configure: Regenerate.
libctf/
	* configure: Regenerate.
libiberty/
	* configure: Regenerate.
libsframe/
	* configure: Regenerate.
opcodes/
	* configure: Regenerate.
sim/
	* configure: Regenerate.
zlib/
	* configure: Regenerate.
2025-11-03 10:59:50 +10:30
..
aarch64 Update copyright dates to include 2025 2025-04-08 10:54:39 -06:00
avr Update copyright dates to include 2025 2025-04-08 10:54:39 -06:00
bfin Update copyright dates to include 2025 2025-04-08 10:54:39 -06:00
bpf Update copyright dates to include 2025 2025-04-08 10:54:39 -06:00
common sim: configury: fix obsolete macros 2025-07-04 21:13:13 -04:00
cr16 Update copyright dates to include 2025 2025-04-08 10:54:39 -06:00
cris Update copyright dates to include 2025 2025-04-08 10:54:39 -06:00
d10v Fix d10v sim build with GCC 15 2025-04-25 14:38:11 -06:00
erc32 Update copyright dates to include 2025 2025-04-08 10:54:39 -06:00
example-synacor Update copyright dates to include 2025 2025-04-08 10:54:39 -06:00
frv Update copyright dates to include 2025 2025-04-08 10:54:39 -06:00
ft32 Update copyright dates to include 2025 2025-04-08 10:54:39 -06:00
h8300 Update copyright dates to include 2025 2025-04-08 10:54:39 -06:00
igen Update copyright dates to include 2025 2025-04-08 10:54:39 -06:00
iq2000 Update copyright dates to include 2025 2025-04-08 10:54:39 -06:00
lm32 Update copyright dates to include 2025 2025-04-08 10:54:39 -06:00
m4 sim: configury: fix obsolete macros 2025-07-04 21:13:13 -04:00
m32c Update copyright dates to include 2025 2025-04-08 10:54:39 -06:00
m32r Update copyright dates to include 2025 2025-04-08 10:54:39 -06:00
m68hc11 Update copyright dates to include 2025 2025-04-08 10:54:39 -06:00
mcore Update copyright dates to include 2025 2025-04-08 10:54:39 -06:00
microblaze Update copyright dates to include 2025 2025-04-08 10:54:39 -06:00
mips Update copyright dates to include 2025 2025-04-08 10:54:39 -06:00
mn10300 Update copyright dates to include 2025 2025-04-08 10:54:39 -06:00
moxie Update copyright dates to include 2025 2025-04-08 10:54:39 -06:00
msp430 Update copyright dates to include 2025 2025-04-08 10:54:39 -06:00
or1k or1k: Add support for numcores and coreid sprs 2025-06-14 06:10:57 +01:00
ppc sim: ppc: use correct macros 2025-07-04 21:44:21 -04:00
pru Update copyright dates to include 2025 2025-04-08 10:54:39 -06:00
riscv sim: riscv: Fix build issue due to INSN_CLASS_C was changed to INSN_CLASS_ZCA 2025-07-10 21:50:19 +08:00
rl78 Update copyright dates to include 2025 2025-04-08 10:54:39 -06:00
rx Update copyright dates to include 2025 2025-04-08 10:54:39 -06:00
sh Update copyright dates to include 2025 2025-04-08 10:54:39 -06:00
testsuite sim: testsuite: Fix build with host GCC15 2025-05-19 21:12:51 +03:00
v850 Update copyright dates to include 2025 2025-04-08 10:54:39 -06:00
.gitignore sim: drop unused gentmap & nltvals.def logic 2021-11-28 13:24:00 -05:00
aclocal.m4 GDB: Regenerate configure for libtool.m4 change 2025-09-25 12:30:13 +08:00
ChangeLog-2021 sim: rename ChangeLog files to ChangeLog-2021 2021-08-17 20:27:36 -04:00
config.h.in sim: configury: fix obsolete macros 2025-07-04 21:13:13 -04:00
configure tidy m4 plugin config support 2025-11-03 10:59:50 +10:30
configure.ac Delete the ARM sub-directory of the SIM directory. 2025-03-25 13:30:32 +00:00
COPYING sim: clarify license text via COPYING file 2021-11-06 01:44:06 -04:00
gdbinit.in sim: gdbinit: hoist setup to common code 2022-02-21 13:57:33 -05:00
MAINTAINERS sim: Update mailing list address 2022-09-01 10:15:09 -04:00
Makefile.am Update copyright dates to include 2025 2025-04-08 10:54:39 -06:00
Makefile.in GDB: Regenerate configure for libtool.m4 change 2025-09-25 12:30:13 +08:00
README-HACKING sim: build: delete Make-common.in logic 2023-01-13 17:34:53 -05:00