aboutsummaryrefslogtreecommitdiff
path: root/ld/plugin.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2025-09-26 08:03:01 +0800
committerH.J. Lu <hjl.tools@gmail.com>2025-09-27 11:34:45 +0800
commit77c74294bfc5005204a2de3cc64bbdb2f877be29 (patch)
treea7d194640ef0f82366624643a3851d3de06cb0e7 /ld/plugin.c
parent991b1443d376b9acbcd0c9e164b20e527f0e06cb (diff)
downloadbinutils-master.zip
binutils-master.tar.gz
binutils-master.tar.bz2
binutils: Pass target plugin file to target ar/nm/ranlibHEADmaster
There are 2 kinds of binutils tests: 1. Tests of binutils object files and libraries using the build tools, like CC, AR, NM and RANLIB. 2. Tests of binutils programs as the target tools, like CC_FOR_TARGET, AR_FOR_TARGET, NM_FOR_TARGET and RANLIB_FOR_TARGET. Set AR_PLUGIN_OPTION_FOR_TARGET, NM_PLUGIN_OPTION_FOR_TARGET and RANLIB_PLUGIN_OPTION_FOR_TARGET to the target compiler plugin file for target ar/nm/ranlib. PR binutils/33483 * Makefile.in: Regenerated. * configure: Likewise. * Makefile.tpl (AR_FOR_TARGET): Add @AR_PLUGIN_OPTION_FOR_TARGET@. (NM_FOR_TARGET): Add @NM_PLUGIN_OPTION_FOR_TARGET@. (RANLIB_FOR_TARGET): Add @RANLIB_PLUGIN_OPTION_FOR_TARGET@. * configure.ac: Use CLANG_PLUGIN_FILE_FOR_TARGET and GCC_PLUGIN_OPTION_FOR_TARGET to set AR_PLUGIN_OPTION_FOR_TARGET, NM_PLUGIN_OPTION_FOR_TARGET and RANLIB_PLUGIN_OPTION_FOR_TARGET. AC_SUBST AR_PLUGIN_OPTION_FOR_TARGET, NM_PLUGIN_OPTION_FOR_TARGET and RANLIB_PLUGIN_OPTION_FOR_TARGET. config/ PR binutils/33483 * clang-plugin.m4 (CLANG_PLUGIN_FILE_FOR_TARGET): New. * gcc-plugin.m4 (GCC_PLUGIN_OPTION_FOR_TARGET): Likewise. Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
Diffstat (limited to 'ld/plugin.c')
0 files changed, 0 insertions, 0 deletions