diff --git a/Makefile.def b/Makefile.def index abfa9efe9..3f00f4788 100644 --- a/Makefile.def +++ b/Makefile.def @@ -126,6 +126,9 @@ host_modules= { module= gnattools; }; host_modules= { module= lto-plugin; bootstrap=true; extra_configure_flags='--enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@'; extra_make_flags='@extra_linker_plugin_flags@'; }; +host_modules= { module= bolt-plugin; bootstrap=true; + extra_configure_flags='--enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@'; + extra_make_flags='@extra_linker_plugin_flags@'; }; host_modules= { module= libcc1; extra_configure_flags=--enable-shared; }; host_modules= { module= gotools; }; @@ -321,6 +324,7 @@ dependencies = { module=configure-gcc; on=all-mpfr; }; dependencies = { module=configure-gcc; on=all-mpc; }; dependencies = { module=configure-gcc; on=all-isl; }; dependencies = { module=configure-gcc; on=all-lto-plugin; }; +dependencies = { module=configure-gcc; on=all-bolt-plugin; }; dependencies = { module=configure-gcc; on=all-binutils; }; dependencies = { module=configure-gcc; on=all-gas; }; dependencies = { module=configure-gcc; on=all-ld; }; @@ -345,6 +349,7 @@ dependencies = { module=all-gcc; on=all-libdecnumber; hard=true; }; dependencies = { module=all-gcc; on=all-libiberty; }; dependencies = { module=all-gcc; on=all-fixincludes; }; dependencies = { module=all-gcc; on=all-lto-plugin; }; +dependencies = { module=all-gcc; on=all-bolt-plugin; }; dependencies = { module=all-gcc; on=all-libiconv; }; dependencies = { module=info-gcc; on=all-build-libiberty; }; dependencies = { module=dvi-gcc; on=all-build-libiberty; }; @@ -352,8 +357,10 @@ dependencies = { module=pdf-gcc; on=all-build-libiberty; }; dependencies = { module=html-gcc; on=all-build-libiberty; }; dependencies = { module=install-gcc ; on=install-fixincludes; }; dependencies = { module=install-gcc ; on=install-lto-plugin; }; +dependencies = { module=install-gcc ; on=install-bolt-plugin; }; dependencies = { module=install-strip-gcc ; on=install-strip-fixincludes; }; dependencies = { module=install-strip-gcc ; on=install-strip-lto-plugin; }; +dependencies = { module=install-strip-gcc ; on=install-strip-bolt-plugin; }; dependencies = { module=configure-libcpp; on=configure-libiberty; hard=true; }; dependencies = { module=configure-libcpp; on=configure-intl; }; @@ -372,6 +379,9 @@ dependencies = { module=all-gnattools; on=all-target-libstdc++-v3; }; dependencies = { module=all-lto-plugin; on=all-libiberty; }; dependencies = { module=all-lto-plugin; on=all-libiberty-linker-plugin; }; +dependencies = { module=all-bolt-plugin; on=all-libiberty; }; +dependencies = { module=all-bolt-plugin; on=all-libiberty-linker-plugin; }; + dependencies = { module=configure-libcc1; on=configure-gcc; }; dependencies = { module=all-libcc1; on=all-gcc; }; diff --git a/Makefile.in b/Makefile.in index b824e0a0c..bedd09e5f 100644 --- a/Makefile.in +++ b/Makefile.in @@ -973,6 +973,7 @@ configure-host: \ maybe-configure-utils \ maybe-configure-gnattools \ maybe-configure-lto-plugin \ + maybe-configure-bolt-plugin \ maybe-configure-libcc1 \ maybe-configure-gotools .PHONY: configure-target @@ -1128,6 +1129,9 @@ all-host: maybe-all-gnattools @if lto-plugin-no-bootstrap all-host: maybe-all-lto-plugin @endif lto-plugin-no-bootstrap +@if bolt-plugin-no-bootstrap +all-host: maybe-all-bolt-plugin +@endif bolt-plugin-no-bootstrap all-host: maybe-all-libcc1 all-host: maybe-all-gotools @@ -1231,6 +1235,7 @@ info-host: maybe-info-libtermcap info-host: maybe-info-utils info-host: maybe-info-gnattools info-host: maybe-info-lto-plugin +info-host: maybe-info-bolt-plugin info-host: maybe-info-libcc1 info-host: maybe-info-gotools @@ -1317,6 +1322,7 @@ dvi-host: maybe-dvi-libtermcap dvi-host: maybe-dvi-utils dvi-host: maybe-dvi-gnattools dvi-host: maybe-dvi-lto-plugin +dvi-host: maybe-dvi-bolt-plugin dvi-host: maybe-dvi-libcc1 dvi-host: maybe-dvi-gotools @@ -1403,6 +1409,7 @@ pdf-host: maybe-pdf-libtermcap pdf-host: maybe-pdf-utils pdf-host: maybe-pdf-gnattools pdf-host: maybe-pdf-lto-plugin +pdf-host: maybe-pdf-bolt-plugin pdf-host: maybe-pdf-libcc1 pdf-host: maybe-pdf-gotools @@ -1489,6 +1496,7 @@ html-host: maybe-html-libtermcap html-host: maybe-html-utils html-host: maybe-html-gnattools html-host: maybe-html-lto-plugin +html-host: maybe-html-bolt-plugin html-host: maybe-html-libcc1 html-host: maybe-html-gotools @@ -1575,6 +1583,7 @@ TAGS-host: maybe-TAGS-libtermcap TAGS-host: maybe-TAGS-utils TAGS-host: maybe-TAGS-gnattools TAGS-host: maybe-TAGS-lto-plugin +TAGS-host: maybe-TAGS-bolt-plugin TAGS-host: maybe-TAGS-libcc1 TAGS-host: maybe-TAGS-gotools @@ -1661,6 +1670,7 @@ install-info-host: maybe-install-info-libtermcap install-info-host: maybe-install-info-utils install-info-host: maybe-install-info-gnattools install-info-host: maybe-install-info-lto-plugin +install-info-host: maybe-install-info-bolt-plugin install-info-host: maybe-install-info-libcc1 install-info-host: maybe-install-info-gotools @@ -1747,6 +1757,7 @@ install-pdf-host: maybe-install-pdf-libtermcap install-pdf-host: maybe-install-pdf-utils install-pdf-host: maybe-install-pdf-gnattools install-pdf-host: maybe-install-pdf-lto-plugin +install-pdf-host: maybe-install-pdf-bolt-plugin install-pdf-host: maybe-install-pdf-libcc1 install-pdf-host: maybe-install-pdf-gotools @@ -1833,6 +1844,7 @@ install-html-host: maybe-install-html-libtermcap install-html-host: maybe-install-html-utils install-html-host: maybe-install-html-gnattools install-html-host: maybe-install-html-lto-plugin +install-html-host: maybe-install-html-bolt-plugin install-html-host: maybe-install-html-libcc1 install-html-host: maybe-install-html-gotools @@ -1919,6 +1931,7 @@ installcheck-host: maybe-installcheck-libtermcap installcheck-host: maybe-installcheck-utils installcheck-host: maybe-installcheck-gnattools installcheck-host: maybe-installcheck-lto-plugin +installcheck-host: maybe-installcheck-bolt-plugin installcheck-host: maybe-installcheck-libcc1 installcheck-host: maybe-installcheck-gotools @@ -2005,6 +2018,7 @@ mostlyclean-host: maybe-mostlyclean-libtermcap mostlyclean-host: maybe-mostlyclean-utils mostlyclean-host: maybe-mostlyclean-gnattools mostlyclean-host: maybe-mostlyclean-lto-plugin +mostlyclean-host: maybe-mostlyclean-bolt-plugin mostlyclean-host: maybe-mostlyclean-libcc1 mostlyclean-host: maybe-mostlyclean-gotools @@ -2091,6 +2105,7 @@ clean-host: maybe-clean-libtermcap clean-host: maybe-clean-utils clean-host: maybe-clean-gnattools clean-host: maybe-clean-lto-plugin +clean-host: maybe-clean-bolt-plugin clean-host: maybe-clean-libcc1 clean-host: maybe-clean-gotools @@ -2177,6 +2192,7 @@ distclean-host: maybe-distclean-libtermcap distclean-host: maybe-distclean-utils distclean-host: maybe-distclean-gnattools distclean-host: maybe-distclean-lto-plugin +distclean-host: maybe-distclean-bolt-plugin distclean-host: maybe-distclean-libcc1 distclean-host: maybe-distclean-gotools @@ -2263,6 +2279,7 @@ maintainer-clean-host: maybe-maintainer-clean-libtermcap maintainer-clean-host: maybe-maintainer-clean-utils maintainer-clean-host: maybe-maintainer-clean-gnattools maintainer-clean-host: maybe-maintainer-clean-lto-plugin +maintainer-clean-host: maybe-maintainer-clean-bolt-plugin maintainer-clean-host: maybe-maintainer-clean-libcc1 maintainer-clean-host: maybe-maintainer-clean-gotools @@ -2405,6 +2422,7 @@ check-host: \ maybe-check-utils \ maybe-check-gnattools \ maybe-check-lto-plugin \ + maybe-check-bolt-plugin \ maybe-check-libcc1 \ maybe-check-gotools @@ -2538,6 +2556,7 @@ install-host-nogcc: \ maybe-install-utils \ maybe-install-gnattools \ maybe-install-lto-plugin \ + maybe-install-bolt-plugin \ maybe-install-libcc1 \ maybe-install-gotools @@ -2587,6 +2606,7 @@ install-host: \ maybe-install-utils \ maybe-install-gnattools \ maybe-install-lto-plugin \ + maybe-install-bolt-plugin \ maybe-install-libcc1 \ maybe-install-gotools @@ -2693,6 +2713,7 @@ install-strip-host: \ maybe-install-strip-utils \ maybe-install-strip-gnattools \ maybe-install-strip-lto-plugin \ + maybe-install-strip-bolt-plugin \ maybe-install-strip-libcc1 \ maybe-install-strip-gotools @@ -35326,6 +35347,1044 @@ maintainer-clean-lto-plugin: +.PHONY: configure-bolt-plugin maybe-configure-bolt-plugin +maybe-configure-bolt-plugin: +@if gcc-bootstrap +configure-bolt-plugin: stage_current +@endif gcc-bootstrap +@if bolt-plugin +maybe-configure-bolt-plugin: configure-bolt-plugin +configure-bolt-plugin: + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + test ! -f $(HOST_SUBDIR)/bolt-plugin/Makefile || exit 0; \ + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bolt-plugin; \ + $(HOST_EXPORTS) \ + echo Configuring in $(HOST_SUBDIR)/bolt-plugin; \ + cd "$(HOST_SUBDIR)/bolt-plugin" || exit 1; \ + case $(srcdir) in \ + /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ + *) topdir=`echo $(HOST_SUBDIR)/bolt-plugin/ | \ + sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ + esac; \ + module_srcdir=bolt-plugin; \ + $(SHELL) \ + $$s/$$module_srcdir/configure \ + --srcdir=$${topdir}/$$module_srcdir \ + $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ + --target=${target_alias} --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@ \ + || exit 1 +@endif bolt-plugin + + + +.PHONY: configure-stage1-bolt-plugin maybe-configure-stage1-bolt-plugin +maybe-configure-stage1-bolt-plugin: +@if bolt-plugin-bootstrap +maybe-configure-stage1-bolt-plugin: configure-stage1-bolt-plugin +configure-stage1-bolt-plugin: + @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start + @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bolt-plugin + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + TFLAGS="$(STAGE1_TFLAGS)"; \ + test ! -f $(HOST_SUBDIR)/bolt-plugin/Makefile || exit 0; \ + $(HOST_EXPORTS) \ + CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \ + CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \ + LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \ + echo Configuring stage 1 in $(HOST_SUBDIR)/bolt-plugin; \ + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bolt-plugin; \ + cd $(HOST_SUBDIR)/bolt-plugin || exit 1; \ + case $(srcdir) in \ + /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ + *) topdir=`echo $(HOST_SUBDIR)/bolt-plugin/ | \ + sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ + esac; \ + module_srcdir=bolt-plugin; \ + $(SHELL) $$s/$$module_srcdir/configure \ + --srcdir=$${topdir}/$$module_srcdir \ + $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ + --target=${target_alias} \ + \ + $(STAGE1_CONFIGURE_FLAGS) \ + --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@ +@endif bolt-plugin-bootstrap + +.PHONY: configure-stage2-bolt-plugin maybe-configure-stage2-bolt-plugin +maybe-configure-stage2-bolt-plugin: +@if bolt-plugin-bootstrap +maybe-configure-stage2-bolt-plugin: configure-stage2-bolt-plugin +configure-stage2-bolt-plugin: + @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start + @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bolt-plugin + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + TFLAGS="$(STAGE2_TFLAGS)"; \ + test ! -f $(HOST_SUBDIR)/bolt-plugin/Makefile || exit 0; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \ + CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \ + LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \ + echo Configuring stage 2 in $(HOST_SUBDIR)/bolt-plugin; \ + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bolt-plugin; \ + cd $(HOST_SUBDIR)/bolt-plugin || exit 1; \ + case $(srcdir) in \ + /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ + *) topdir=`echo $(HOST_SUBDIR)/bolt-plugin/ | \ + sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ + esac; \ + module_srcdir=bolt-plugin; \ + $(SHELL) $$s/$$module_srcdir/configure \ + --srcdir=$${topdir}/$$module_srcdir \ + $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ + --target=${target_alias} \ + --with-build-libsubdir=$(HOST_SUBDIR) \ + $(STAGE2_CONFIGURE_FLAGS) \ + --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@ +@endif bolt-plugin-bootstrap + +.PHONY: configure-stage3-bolt-plugin maybe-configure-stage3-bolt-plugin +maybe-configure-stage3-bolt-plugin: +@if bolt-plugin-bootstrap +maybe-configure-stage3-bolt-plugin: configure-stage3-bolt-plugin +configure-stage3-bolt-plugin: + @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start + @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bolt-plugin + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + TFLAGS="$(STAGE3_TFLAGS)"; \ + test ! -f $(HOST_SUBDIR)/bolt-plugin/Makefile || exit 0; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \ + CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \ + LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \ + echo Configuring stage 3 in $(HOST_SUBDIR)/bolt-plugin; \ + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bolt-plugin; \ + cd $(HOST_SUBDIR)/bolt-plugin || exit 1; \ + case $(srcdir) in \ + /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ + *) topdir=`echo $(HOST_SUBDIR)/bolt-plugin/ | \ + sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ + esac; \ + module_srcdir=bolt-plugin; \ + $(SHELL) $$s/$$module_srcdir/configure \ + --srcdir=$${topdir}/$$module_srcdir \ + $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ + --target=${target_alias} \ + --with-build-libsubdir=$(HOST_SUBDIR) \ + $(STAGE3_CONFIGURE_FLAGS) \ + --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@ +@endif bolt-plugin-bootstrap + +.PHONY: configure-stage4-bolt-plugin maybe-configure-stage4-bolt-plugin +maybe-configure-stage4-bolt-plugin: +@if bolt-plugin-bootstrap +maybe-configure-stage4-bolt-plugin: configure-stage4-bolt-plugin +configure-stage4-bolt-plugin: + @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start + @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bolt-plugin + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + TFLAGS="$(STAGE4_TFLAGS)"; \ + test ! -f $(HOST_SUBDIR)/bolt-plugin/Makefile || exit 0; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \ + CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \ + LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \ + echo Configuring stage 4 in $(HOST_SUBDIR)/bolt-plugin; \ + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bolt-plugin; \ + cd $(HOST_SUBDIR)/bolt-plugin || exit 1; \ + case $(srcdir) in \ + /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ + *) topdir=`echo $(HOST_SUBDIR)/bolt-plugin/ | \ + sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ + esac; \ + module_srcdir=bolt-plugin; \ + $(SHELL) $$s/$$module_srcdir/configure \ + --srcdir=$${topdir}/$$module_srcdir \ + $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ + --target=${target_alias} \ + --with-build-libsubdir=$(HOST_SUBDIR) \ + $(STAGE4_CONFIGURE_FLAGS) \ + --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@ +@endif bolt-plugin-bootstrap + +.PHONY: configure-stageprofile-bolt-plugin maybe-configure-stageprofile-bolt-plugin +maybe-configure-stageprofile-bolt-plugin: +@if bolt-plugin-bootstrap +maybe-configure-stageprofile-bolt-plugin: configure-stageprofile-bolt-plugin +configure-stageprofile-bolt-plugin: + @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start + @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bolt-plugin + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + TFLAGS="$(STAGEprofile_TFLAGS)"; \ + test ! -f $(HOST_SUBDIR)/bolt-plugin/Makefile || exit 0; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \ + CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \ + LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \ + echo Configuring stage profile in $(HOST_SUBDIR)/bolt-plugin; \ + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bolt-plugin; \ + cd $(HOST_SUBDIR)/bolt-plugin || exit 1; \ + case $(srcdir) in \ + /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ + *) topdir=`echo $(HOST_SUBDIR)/bolt-plugin/ | \ + sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ + esac; \ + module_srcdir=bolt-plugin; \ + $(SHELL) $$s/$$module_srcdir/configure \ + --srcdir=$${topdir}/$$module_srcdir \ + $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ + --target=${target_alias} \ + --with-build-libsubdir=$(HOST_SUBDIR) \ + $(STAGEprofile_CONFIGURE_FLAGS) \ + --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@ +@endif bolt-plugin-bootstrap + +.PHONY: configure-stagefeedback-bolt-plugin maybe-configure-stagefeedback-bolt-plugin +maybe-configure-stagefeedback-bolt-plugin: +@if bolt-plugin-bootstrap +maybe-configure-stagefeedback-bolt-plugin: configure-stagefeedback-bolt-plugin +configure-stagefeedback-bolt-plugin: + @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start + @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bolt-plugin + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + TFLAGS="$(STAGEfeedback_TFLAGS)"; \ + test ! -f $(HOST_SUBDIR)/bolt-plugin/Makefile || exit 0; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \ + CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \ + LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \ + echo Configuring stage feedback in $(HOST_SUBDIR)/bolt-plugin; \ + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bolt-plugin; \ + cd $(HOST_SUBDIR)/bolt-plugin || exit 1; \ + case $(srcdir) in \ + /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ + *) topdir=`echo $(HOST_SUBDIR)/bolt-plugin/ | \ + sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ + esac; \ + module_srcdir=bolt-plugin; \ + $(SHELL) $$s/$$module_srcdir/configure \ + --srcdir=$${topdir}/$$module_srcdir \ + $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ + --target=${target_alias} \ + --with-build-libsubdir=$(HOST_SUBDIR) \ + $(STAGEfeedback_CONFIGURE_FLAGS) \ + --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@ +@endif bolt-plugin-bootstrap + +.PHONY: configure-stageautoprofile-bolt-plugin maybe-configure-stageautoprofile-bolt-plugin +maybe-configure-stageautoprofile-bolt-plugin: +@if bolt-plugin-bootstrap +maybe-configure-stageautoprofile-bolt-plugin: configure-stageautoprofile-bolt-plugin +configure-stageautoprofile-bolt-plugin: + @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start + @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bolt-plugin + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + TFLAGS="$(STAGEautoprofile_TFLAGS)"; \ + test ! -f $(HOST_SUBDIR)/bolt-plugin/Makefile || exit 0; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \ + CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \ + LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \ + echo Configuring stage autoprofile in $(HOST_SUBDIR)/bolt-plugin; \ + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bolt-plugin; \ + cd $(HOST_SUBDIR)/bolt-plugin || exit 1; \ + case $(srcdir) in \ + /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ + *) topdir=`echo $(HOST_SUBDIR)/bolt-plugin/ | \ + sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ + esac; \ + module_srcdir=bolt-plugin; \ + $(SHELL) $$s/$$module_srcdir/configure \ + --srcdir=$${topdir}/$$module_srcdir \ + $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ + --target=${target_alias} \ + --with-build-libsubdir=$(HOST_SUBDIR) \ + $(STAGEautoprofile_CONFIGURE_FLAGS) \ + --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@ +@endif bolt-plugin-bootstrap + +.PHONY: configure-stageautofeedback-bolt-plugin maybe-configure-stageautofeedback-bolt-plugin +maybe-configure-stageautofeedback-bolt-plugin: +@if bolt-plugin-bootstrap +maybe-configure-stageautofeedback-bolt-plugin: configure-stageautofeedback-bolt-plugin +configure-stageautofeedback-bolt-plugin: + @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start + @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bolt-plugin + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + TFLAGS="$(STAGEautofeedback_TFLAGS)"; \ + test ! -f $(HOST_SUBDIR)/bolt-plugin/Makefile || exit 0; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \ + CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \ + LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \ + echo Configuring stage autofeedback in $(HOST_SUBDIR)/bolt-plugin; \ + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bolt-plugin; \ + cd $(HOST_SUBDIR)/bolt-plugin || exit 1; \ + case $(srcdir) in \ + /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ + *) topdir=`echo $(HOST_SUBDIR)/bolt-plugin/ | \ + sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ + esac; \ + module_srcdir=bolt-plugin; \ + $(SHELL) $$s/$$module_srcdir/configure \ + --srcdir=$${topdir}/$$module_srcdir \ + $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ + --target=${target_alias} \ + --with-build-libsubdir=$(HOST_SUBDIR) \ + $(STAGEautofeedback_CONFIGURE_FLAGS) \ + --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@ +@endif bolt-plugin-bootstrap + + + + + +.PHONY: all-bolt-plugin maybe-all-bolt-plugin +maybe-all-bolt-plugin: +@if gcc-bootstrap +all-bolt-plugin: stage_current +@endif gcc-bootstrap +@if bolt-plugin +TARGET-bolt-plugin=all +maybe-all-bolt-plugin: all-bolt-plugin +all-bolt-plugin: configure-bolt-plugin + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + (cd $(HOST_SUBDIR)/bolt-plugin && \ + $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \ + $(TARGET-bolt-plugin)) +@endif bolt-plugin + + + +.PHONY: all-stage1-bolt-plugin maybe-all-stage1-bolt-plugin +.PHONY: clean-stage1-bolt-plugin maybe-clean-stage1-bolt-plugin +maybe-all-stage1-bolt-plugin: +maybe-clean-stage1-bolt-plugin: +@if bolt-plugin-bootstrap +maybe-all-stage1-bolt-plugin: all-stage1-bolt-plugin +all-stage1: all-stage1-bolt-plugin +TARGET-stage1-bolt-plugin = $(TARGET-bolt-plugin) +all-stage1-bolt-plugin: configure-stage1-bolt-plugin + @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + TFLAGS="$(STAGE1_TFLAGS)"; \ + $(HOST_EXPORTS) \ + cd $(HOST_SUBDIR)/bolt-plugin && \ + \ + $(MAKE) $(BASE_FLAGS_TO_PASS) \ + CFLAGS="$(STAGE1_CFLAGS)" \ + CXXFLAGS="$(STAGE1_CXXFLAGS)" \ + LIBCFLAGS="$(LIBCFLAGS)" \ + CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ + CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ + LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ + $(EXTRA_HOST_FLAGS) \ + $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \ + TFLAGS="$(STAGE1_TFLAGS)" \ + $(TARGET-stage1-bolt-plugin) + +maybe-clean-stage1-bolt-plugin: clean-stage1-bolt-plugin +clean-stage1: clean-stage1-bolt-plugin +clean-stage1-bolt-plugin: + @if [ $(current_stage) = stage1 ]; then \ + [ -f $(HOST_SUBDIR)/bolt-plugin/Makefile ] || exit 0; \ + else \ + [ -f $(HOST_SUBDIR)/stage1-bolt-plugin/Makefile ] || exit 0; \ + $(MAKE) stage1-start; \ + fi; \ + cd $(HOST_SUBDIR)/bolt-plugin && \ + $(MAKE) $(EXTRA_HOST_FLAGS) \ + $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean +@endif bolt-plugin-bootstrap + + +.PHONY: all-stage2-bolt-plugin maybe-all-stage2-bolt-plugin +.PHONY: clean-stage2-bolt-plugin maybe-clean-stage2-bolt-plugin +maybe-all-stage2-bolt-plugin: +maybe-clean-stage2-bolt-plugin: +@if bolt-plugin-bootstrap +maybe-all-stage2-bolt-plugin: all-stage2-bolt-plugin +all-stage2: all-stage2-bolt-plugin +TARGET-stage2-bolt-plugin = $(TARGET-bolt-plugin) +all-stage2-bolt-plugin: configure-stage2-bolt-plugin + @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + TFLAGS="$(STAGE2_TFLAGS)"; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + cd $(HOST_SUBDIR)/bolt-plugin && \ + \ + $(MAKE) $(BASE_FLAGS_TO_PASS) \ + CFLAGS="$(STAGE2_CFLAGS)" \ + CXXFLAGS="$(STAGE2_CXXFLAGS)" \ + LIBCFLAGS="$(STAGE2_CFLAGS)" \ + CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ + CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ + LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ + $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \ + TFLAGS="$(STAGE2_TFLAGS)" \ + $(TARGET-stage2-bolt-plugin) + +maybe-clean-stage2-bolt-plugin: clean-stage2-bolt-plugin +clean-stage2: clean-stage2-bolt-plugin +clean-stage2-bolt-plugin: + @if [ $(current_stage) = stage2 ]; then \ + [ -f $(HOST_SUBDIR)/bolt-plugin/Makefile ] || exit 0; \ + else \ + [ -f $(HOST_SUBDIR)/stage2-bolt-plugin/Makefile ] || exit 0; \ + $(MAKE) stage2-start; \ + fi; \ + cd $(HOST_SUBDIR)/bolt-plugin && \ + $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean +@endif bolt-plugin-bootstrap + + +.PHONY: all-stage3-bolt-plugin maybe-all-stage3-bolt-plugin +.PHONY: clean-stage3-bolt-plugin maybe-clean-stage3-bolt-plugin +maybe-all-stage3-bolt-plugin: +maybe-clean-stage3-bolt-plugin: +@if bolt-plugin-bootstrap +maybe-all-stage3-bolt-plugin: all-stage3-bolt-plugin +all-stage3: all-stage3-bolt-plugin +TARGET-stage3-bolt-plugin = $(TARGET-bolt-plugin) +all-stage3-bolt-plugin: configure-stage3-bolt-plugin + @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + TFLAGS="$(STAGE3_TFLAGS)"; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + cd $(HOST_SUBDIR)/bolt-plugin && \ + \ + $(MAKE) $(BASE_FLAGS_TO_PASS) \ + CFLAGS="$(STAGE3_CFLAGS)" \ + CXXFLAGS="$(STAGE3_CXXFLAGS)" \ + LIBCFLAGS="$(STAGE3_CFLAGS)" \ + CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ + CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ + LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ + $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \ + TFLAGS="$(STAGE3_TFLAGS)" \ + $(TARGET-stage3-bolt-plugin) + +maybe-clean-stage3-bolt-plugin: clean-stage3-bolt-plugin +clean-stage3: clean-stage3-bolt-plugin +clean-stage3-bolt-plugin: + @if [ $(current_stage) = stage3 ]; then \ + [ -f $(HOST_SUBDIR)/bolt-plugin/Makefile ] || exit 0; \ + else \ + [ -f $(HOST_SUBDIR)/stage3-bolt-plugin/Makefile ] || exit 0; \ + $(MAKE) stage3-start; \ + fi; \ + cd $(HOST_SUBDIR)/bolt-plugin && \ + $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean +@endif bolt-plugin-bootstrap + + +.PHONY: all-stage4-bolt-plugin maybe-all-stage4-bolt-plugin +.PHONY: clean-stage4-bolt-plugin maybe-clean-stage4-bolt-plugin +maybe-all-stage4-bolt-plugin: +maybe-clean-stage4-bolt-plugin: +@if bolt-plugin-bootstrap +maybe-all-stage4-bolt-plugin: all-stage4-bolt-plugin +all-stage4: all-stage4-bolt-plugin +TARGET-stage4-bolt-plugin = $(TARGET-bolt-plugin) +all-stage4-bolt-plugin: configure-stage4-bolt-plugin + @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + TFLAGS="$(STAGE4_TFLAGS)"; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + cd $(HOST_SUBDIR)/bolt-plugin && \ + \ + $(MAKE) $(BASE_FLAGS_TO_PASS) \ + CFLAGS="$(STAGE4_CFLAGS)" \ + CXXFLAGS="$(STAGE4_CXXFLAGS)" \ + LIBCFLAGS="$(STAGE4_CFLAGS)" \ + CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ + CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ + LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ + $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \ + TFLAGS="$(STAGE4_TFLAGS)" \ + $(TARGET-stage4-bolt-plugin) + +maybe-clean-stage4-bolt-plugin: clean-stage4-bolt-plugin +clean-stage4: clean-stage4-bolt-plugin +clean-stage4-bolt-plugin: + @if [ $(current_stage) = stage4 ]; then \ + [ -f $(HOST_SUBDIR)/bolt-plugin/Makefile ] || exit 0; \ + else \ + [ -f $(HOST_SUBDIR)/stage4-bolt-plugin/Makefile ] || exit 0; \ + $(MAKE) stage4-start; \ + fi; \ + cd $(HOST_SUBDIR)/bolt-plugin && \ + $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean +@endif bolt-plugin-bootstrap + + +.PHONY: all-stageprofile-bolt-plugin maybe-all-stageprofile-bolt-plugin +.PHONY: clean-stageprofile-bolt-plugin maybe-clean-stageprofile-bolt-plugin +maybe-all-stageprofile-bolt-plugin: +maybe-clean-stageprofile-bolt-plugin: +@if bolt-plugin-bootstrap +maybe-all-stageprofile-bolt-plugin: all-stageprofile-bolt-plugin +all-stageprofile: all-stageprofile-bolt-plugin +TARGET-stageprofile-bolt-plugin = $(TARGET-bolt-plugin) +all-stageprofile-bolt-plugin: configure-stageprofile-bolt-plugin + @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + TFLAGS="$(STAGEprofile_TFLAGS)"; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + cd $(HOST_SUBDIR)/bolt-plugin && \ + \ + $(MAKE) $(BASE_FLAGS_TO_PASS) \ + CFLAGS="$(STAGEprofile_CFLAGS)" \ + CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \ + LIBCFLAGS="$(STAGEprofile_CFLAGS)" \ + CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ + CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ + LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ + $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \ + TFLAGS="$(STAGEprofile_TFLAGS)" \ + $(TARGET-stageprofile-bolt-plugin) + +maybe-clean-stageprofile-bolt-plugin: clean-stageprofile-bolt-plugin +clean-stageprofile: clean-stageprofile-bolt-plugin +clean-stageprofile-bolt-plugin: + @if [ $(current_stage) = stageprofile ]; then \ + [ -f $(HOST_SUBDIR)/bolt-plugin/Makefile ] || exit 0; \ + else \ + [ -f $(HOST_SUBDIR)/stageprofile-bolt-plugin/Makefile ] || exit 0; \ + $(MAKE) stageprofile-start; \ + fi; \ + cd $(HOST_SUBDIR)/bolt-plugin && \ + $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean +@endif bolt-plugin-bootstrap + + +.PHONY: all-stagefeedback-bolt-plugin maybe-all-stagefeedback-bolt-plugin +.PHONY: clean-stagefeedback-bolt-plugin maybe-clean-stagefeedback-bolt-plugin +maybe-all-stagefeedback-bolt-plugin: +maybe-clean-stagefeedback-bolt-plugin: +@if bolt-plugin-bootstrap +maybe-all-stagefeedback-bolt-plugin: all-stagefeedback-bolt-plugin +all-stagefeedback: all-stagefeedback-bolt-plugin +TARGET-stagefeedback-bolt-plugin = $(TARGET-bolt-plugin) +all-stagefeedback-bolt-plugin: configure-stagefeedback-bolt-plugin + @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + TFLAGS="$(STAGEfeedback_TFLAGS)"; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + cd $(HOST_SUBDIR)/bolt-plugin && \ + \ + $(MAKE) $(BASE_FLAGS_TO_PASS) \ + CFLAGS="$(STAGEfeedback_CFLAGS)" \ + CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \ + LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \ + CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ + CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ + LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ + $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \ + TFLAGS="$(STAGEfeedback_TFLAGS)" \ + $(TARGET-stagefeedback-bolt-plugin) + +maybe-clean-stagefeedback-bolt-plugin: clean-stagefeedback-bolt-plugin +clean-stagefeedback: clean-stagefeedback-bolt-plugin +clean-stagefeedback-bolt-plugin: + @if [ $(current_stage) = stagefeedback ]; then \ + [ -f $(HOST_SUBDIR)/bolt-plugin/Makefile ] || exit 0; \ + else \ + [ -f $(HOST_SUBDIR)/stagefeedback-bolt-plugin/Makefile ] || exit 0; \ + $(MAKE) stagefeedback-start; \ + fi; \ + cd $(HOST_SUBDIR)/bolt-plugin && \ + $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean +@endif bolt-plugin-bootstrap + + +.PHONY: all-stageautoprofile-bolt-plugin maybe-all-stageautoprofile-bolt-plugin +.PHONY: clean-stageautoprofile-bolt-plugin maybe-clean-stageautoprofile-bolt-plugin +maybe-all-stageautoprofile-bolt-plugin: +maybe-clean-stageautoprofile-bolt-plugin: +@if bolt-plugin-bootstrap +maybe-all-stageautoprofile-bolt-plugin: all-stageautoprofile-bolt-plugin +all-stageautoprofile: all-stageautoprofile-bolt-plugin +TARGET-stageautoprofile-bolt-plugin = $(TARGET-bolt-plugin) +all-stageautoprofile-bolt-plugin: configure-stageautoprofile-bolt-plugin + @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + TFLAGS="$(STAGEautoprofile_TFLAGS)"; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + cd $(HOST_SUBDIR)/bolt-plugin && \ + $$s/gcc/config/i386/$(AUTO_PROFILE) \ + $(MAKE) $(BASE_FLAGS_TO_PASS) \ + CFLAGS="$(STAGEautoprofile_CFLAGS)" \ + CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \ + LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \ + CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ + CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ + LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ + $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \ + TFLAGS="$(STAGEautoprofile_TFLAGS)" \ + $(TARGET-stageautoprofile-bolt-plugin) + +maybe-clean-stageautoprofile-bolt-plugin: clean-stageautoprofile-bolt-plugin +clean-stageautoprofile: clean-stageautoprofile-bolt-plugin +clean-stageautoprofile-bolt-plugin: + @if [ $(current_stage) = stageautoprofile ]; then \ + [ -f $(HOST_SUBDIR)/bolt-plugin/Makefile ] || exit 0; \ + else \ + [ -f $(HOST_SUBDIR)/stageautoprofile-bolt-plugin/Makefile ] || exit 0; \ + $(MAKE) stageautoprofile-start; \ + fi; \ + cd $(HOST_SUBDIR)/bolt-plugin && \ + $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean +@endif bolt-plugin-bootstrap + + +.PHONY: all-stageautofeedback-bolt-plugin maybe-all-stageautofeedback-bolt-plugin +.PHONY: clean-stageautofeedback-bolt-plugin maybe-clean-stageautofeedback-bolt-plugin +maybe-all-stageautofeedback-bolt-plugin: +maybe-clean-stageautofeedback-bolt-plugin: +@if bolt-plugin-bootstrap +maybe-all-stageautofeedback-bolt-plugin: all-stageautofeedback-bolt-plugin +all-stageautofeedback: all-stageautofeedback-bolt-plugin +TARGET-stageautofeedback-bolt-plugin = $(TARGET-bolt-plugin) +all-stageautofeedback-bolt-plugin: configure-stageautofeedback-bolt-plugin + @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + TFLAGS="$(STAGEautofeedback_TFLAGS)"; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + cd $(HOST_SUBDIR)/bolt-plugin && \ + \ + $(MAKE) $(BASE_FLAGS_TO_PASS) \ + CFLAGS="$(STAGEautofeedback_CFLAGS)" \ + CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \ + LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \ + CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ + CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ + LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ + $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \ + TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \ + $(TARGET-stageautofeedback-bolt-plugin) + +maybe-clean-stageautofeedback-bolt-plugin: clean-stageautofeedback-bolt-plugin +clean-stageautofeedback: clean-stageautofeedback-bolt-plugin +clean-stageautofeedback-bolt-plugin: + @if [ $(current_stage) = stageautofeedback ]; then \ + [ -f $(HOST_SUBDIR)/bolt-plugin/Makefile ] || exit 0; \ + else \ + [ -f $(HOST_SUBDIR)/stageautofeedback-bolt-plugin/Makefile ] || exit 0; \ + $(MAKE) stageautofeedback-start; \ + fi; \ + cd $(HOST_SUBDIR)/bolt-plugin && \ + $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean +@endif bolt-plugin-bootstrap + + + + + +.PHONY: check-bolt-plugin maybe-check-bolt-plugin +maybe-check-bolt-plugin: +@if bolt-plugin +maybe-check-bolt-plugin: check-bolt-plugin + +check-bolt-plugin: + @: $(MAKE); $(unstage) + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \ + (cd $(HOST_SUBDIR)/bolt-plugin && \ + $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ $(EXTRA_BOOTSTRAP_FLAGS) check) + +@endif bolt-plugin + +.PHONY: install-bolt-plugin maybe-install-bolt-plugin +maybe-install-bolt-plugin: +@if bolt-plugin +maybe-install-bolt-plugin: install-bolt-plugin + +install-bolt-plugin: installdirs + @: $(MAKE); $(unstage) + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + (cd $(HOST_SUBDIR)/bolt-plugin && \ + $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install) + +@endif bolt-plugin + +.PHONY: install-strip-bolt-plugin maybe-install-strip-bolt-plugin +maybe-install-strip-bolt-plugin: +@if bolt-plugin +maybe-install-strip-bolt-plugin: install-strip-bolt-plugin + +install-strip-bolt-plugin: installdirs + @: $(MAKE); $(unstage) + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + (cd $(HOST_SUBDIR)/bolt-plugin && \ + $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install-strip) + +@endif bolt-plugin + +# Other targets (info, dvi, pdf, etc.) + +.PHONY: maybe-info-bolt-plugin info-bolt-plugin +maybe-info-bolt-plugin: +@if bolt-plugin +maybe-info-bolt-plugin: info-bolt-plugin + +info-bolt-plugin: \ + configure-bolt-plugin + @[ -f ./bolt-plugin/Makefile ] || exit 0; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \ + eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ + done; \ + echo "Doing info in bolt-plugin"; \ + (cd $(HOST_SUBDIR)/bolt-plugin && \ + $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ + "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ + "RANLIB=$${RANLIB}" \ + "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ + info) \ + || exit 1 + +@endif bolt-plugin + +.PHONY: maybe-dvi-bolt-plugin dvi-bolt-plugin +maybe-dvi-bolt-plugin: +@if bolt-plugin +maybe-dvi-bolt-plugin: dvi-bolt-plugin + +dvi-bolt-plugin: \ + configure-bolt-plugin + @[ -f ./bolt-plugin/Makefile ] || exit 0; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \ + eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ + done; \ + echo "Doing dvi in bolt-plugin"; \ + (cd $(HOST_SUBDIR)/bolt-plugin && \ + $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ + "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ + "RANLIB=$${RANLIB}" \ + "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ + dvi) \ + || exit 1 + +@endif bolt-plugin + +.PHONY: maybe-pdf-bolt-plugin pdf-bolt-plugin +maybe-pdf-bolt-plugin: +@if bolt-plugin +maybe-pdf-bolt-plugin: pdf-bolt-plugin + +pdf-bolt-plugin: \ + configure-bolt-plugin + @[ -f ./bolt-plugin/Makefile ] || exit 0; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \ + eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ + done; \ + echo "Doing pdf in bolt-plugin"; \ + (cd $(HOST_SUBDIR)/bolt-plugin && \ + $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ + "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ + "RANLIB=$${RANLIB}" \ + "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ + pdf) \ + || exit 1 + +@endif bolt-plugin + +.PHONY: maybe-html-bolt-plugin html-bolt-plugin +maybe-html-bolt-plugin: +@if bolt-plugin +maybe-html-bolt-plugin: html-bolt-plugin + +html-bolt-plugin: \ + configure-bolt-plugin + @[ -f ./bolt-plugin/Makefile ] || exit 0; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \ + eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ + done; \ + echo "Doing html in bolt-plugin"; \ + (cd $(HOST_SUBDIR)/bolt-plugin && \ + $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ + "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ + "RANLIB=$${RANLIB}" \ + "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ + html) \ + || exit 1 + +@endif bolt-plugin + +.PHONY: maybe-TAGS-bolt-plugin TAGS-bolt-plugin +maybe-TAGS-bolt-plugin: +@if bolt-plugin +maybe-TAGS-bolt-plugin: TAGS-bolt-plugin + +TAGS-bolt-plugin: \ + configure-bolt-plugin + @[ -f ./bolt-plugin/Makefile ] || exit 0; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \ + eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ + done; \ + echo "Doing TAGS in bolt-plugin"; \ + (cd $(HOST_SUBDIR)/bolt-plugin && \ + $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ + "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ + "RANLIB=$${RANLIB}" \ + "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ + TAGS) \ + || exit 1 + +@endif bolt-plugin + +.PHONY: maybe-install-info-bolt-plugin install-info-bolt-plugin +maybe-install-info-bolt-plugin: +@if bolt-plugin +maybe-install-info-bolt-plugin: install-info-bolt-plugin + +install-info-bolt-plugin: \ + configure-bolt-plugin \ + info-bolt-plugin + @[ -f ./bolt-plugin/Makefile ] || exit 0; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \ + eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ + done; \ + echo "Doing install-info in bolt-plugin"; \ + (cd $(HOST_SUBDIR)/bolt-plugin && \ + $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ + "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ + "RANLIB=$${RANLIB}" \ + "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ + install-info) \ + || exit 1 + +@endif bolt-plugin + +.PHONY: maybe-install-pdf-bolt-plugin install-pdf-bolt-plugin +maybe-install-pdf-bolt-plugin: +@if bolt-plugin +maybe-install-pdf-bolt-plugin: install-pdf-bolt-plugin + +install-pdf-bolt-plugin: \ + configure-bolt-plugin \ + pdf-bolt-plugin + @[ -f ./bolt-plugin/Makefile ] || exit 0; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \ + eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ + done; \ + echo "Doing install-pdf in bolt-plugin"; \ + (cd $(HOST_SUBDIR)/bolt-plugin && \ + $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ + "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ + "RANLIB=$${RANLIB}" \ + "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ + install-pdf) \ + || exit 1 + +@endif bolt-plugin + +.PHONY: maybe-install-html-bolt-plugin install-html-bolt-plugin +maybe-install-html-bolt-plugin: +@if bolt-plugin +maybe-install-html-bolt-plugin: install-html-bolt-plugin + +install-html-bolt-plugin: \ + configure-bolt-plugin \ + html-bolt-plugin + @[ -f ./bolt-plugin/Makefile ] || exit 0; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \ + eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ + done; \ + echo "Doing install-html in bolt-plugin"; \ + (cd $(HOST_SUBDIR)/bolt-plugin && \ + $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ + "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ + "RANLIB=$${RANLIB}" \ + "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ + install-html) \ + || exit 1 + +@endif bolt-plugin + +.PHONY: maybe-installcheck-bolt-plugin installcheck-bolt-plugin +maybe-installcheck-bolt-plugin: +@if bolt-plugin +maybe-installcheck-bolt-plugin: installcheck-bolt-plugin + +installcheck-bolt-plugin: \ + configure-bolt-plugin + @[ -f ./bolt-plugin/Makefile ] || exit 0; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \ + eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ + done; \ + echo "Doing installcheck in bolt-plugin"; \ + (cd $(HOST_SUBDIR)/bolt-plugin && \ + $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ + "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ + "RANLIB=$${RANLIB}" \ + "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ + installcheck) \ + || exit 1 + +@endif bolt-plugin + +.PHONY: maybe-mostlyclean-bolt-plugin mostlyclean-bolt-plugin +maybe-mostlyclean-bolt-plugin: +@if bolt-plugin +maybe-mostlyclean-bolt-plugin: mostlyclean-bolt-plugin + +mostlyclean-bolt-plugin: + @[ -f ./bolt-plugin/Makefile ] || exit 0; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \ + eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ + done; \ + echo "Doing mostlyclean in bolt-plugin"; \ + (cd $(HOST_SUBDIR)/bolt-plugin && \ + $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ + "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ + "RANLIB=$${RANLIB}" \ + "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ + mostlyclean) \ + || exit 1 + +@endif bolt-plugin + +.PHONY: maybe-clean-bolt-plugin clean-bolt-plugin +maybe-clean-bolt-plugin: +@if bolt-plugin +maybe-clean-bolt-plugin: clean-bolt-plugin + +clean-bolt-plugin: + @[ -f ./bolt-plugin/Makefile ] || exit 0; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \ + eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ + done; \ + echo "Doing clean in bolt-plugin"; \ + (cd $(HOST_SUBDIR)/bolt-plugin && \ + $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ + "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ + "RANLIB=$${RANLIB}" \ + "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ + clean) \ + || exit 1 + +@endif bolt-plugin + +.PHONY: maybe-distclean-bolt-plugin distclean-bolt-plugin +maybe-distclean-bolt-plugin: +@if bolt-plugin +maybe-distclean-bolt-plugin: distclean-bolt-plugin + +distclean-bolt-plugin: + @[ -f ./bolt-plugin/Makefile ] || exit 0; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \ + eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ + done; \ + echo "Doing distclean in bolt-plugin"; \ + (cd $(HOST_SUBDIR)/bolt-plugin && \ + $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ + "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ + "RANLIB=$${RANLIB}" \ + "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ + distclean) \ + || exit 1 + +@endif bolt-plugin + +.PHONY: maybe-maintainer-clean-bolt-plugin maintainer-clean-bolt-plugin +maybe-maintainer-clean-bolt-plugin: +@if bolt-plugin +maybe-maintainer-clean-bolt-plugin: maintainer-clean-bolt-plugin + +maintainer-clean-bolt-plugin: + @[ -f ./bolt-plugin/Makefile ] || exit 0; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \ + eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ + done; \ + echo "Doing maintainer-clean in bolt-plugin"; \ + (cd $(HOST_SUBDIR)/bolt-plugin && \ + $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ + "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ + "RANLIB=$${RANLIB}" \ + "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ + maintainer-clean) \ + || exit 1 + +@endif bolt-plugin + + + .PHONY: configure-libcc1 maybe-configure-libcc1 maybe-configure-libcc1: @if gcc-bootstrap @@ -52046,6 +53105,11 @@ stage1-start:: mkdir stage1-lto-plugin; \ mv stage1-lto-plugin lto-plugin @endif lto-plugin +@if bolt-plugin + @cd $(HOST_SUBDIR); [ -d stage1-bolt-plugin ] || \ + mkdir stage1-bolt-plugin; \ + mv stage1-bolt-plugin bolt-plugin +@endif bolt-plugin @[ -d stage1-$(TARGET_SUBDIR) ] || \ mkdir stage1-$(TARGET_SUBDIR); \ mv stage1-$(TARGET_SUBDIR) $(TARGET_SUBDIR) @@ -52161,6 +53225,11 @@ stage1-end:: cd $(HOST_SUBDIR); mv lto-plugin stage1-lto-plugin; \ fi @endif lto-plugin +@if bolt-plugin + @if test -d $(HOST_SUBDIR)/bolt-plugin; then \ + cd $(HOST_SUBDIR); mv bolt-plugin stage1-bolt-plugin; \ + fi +@endif bolt-plugin @if test -d $(TARGET_SUBDIR); then \ mv $(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR); \ fi @@ -52341,6 +53410,12 @@ stage2-start:: mv stage2-lto-plugin lto-plugin; \ mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean @endif lto-plugin +@if bolt-plugin + @cd $(HOST_SUBDIR); [ -d stage2-bolt-plugin ] || \ + mkdir stage2-bolt-plugin; \ + mv stage2-bolt-plugin bolt-plugin; \ + mv stage1-bolt-plugin prev-bolt-plugin || test -f stage1-lean +@endif bolt-plugin @[ -d stage2-$(TARGET_SUBDIR) ] || \ mkdir stage2-$(TARGET_SUBDIR); \ mv stage2-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \ @@ -52479,6 +53554,12 @@ stage2-end:: mv prev-lto-plugin stage1-lto-plugin; : ; \ fi @endif lto-plugin +@if bolt-plugin + @if test -d $(HOST_SUBDIR)/bolt-plugin; then \ + cd $(HOST_SUBDIR); mv bolt-plugin stage2-bolt-plugin; \ + mv prev-bolt-plugin stage1-bolt-plugin; : ; \ + fi +@endif bolt-plugin @if test -d $(TARGET_SUBDIR); then \ mv $(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR); \ mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR); : ; \ @@ -52683,6 +53764,12 @@ stage3-start:: mv stage3-lto-plugin lto-plugin; \ mv stage2-lto-plugin prev-lto-plugin || test -f stage2-lean @endif lto-plugin +@if bolt-plugin + @cd $(HOST_SUBDIR); [ -d stage3-bolt-plugin ] || \ + mkdir stage3-bolt-plugin; \ + mv stage3-bolt-plugin bolt-plugin; \ + mv stage2-bolt-plugin prev-bolt-plugin || test -f stage2-lean +@endif bolt-plugin @[ -d stage3-$(TARGET_SUBDIR) ] || \ mkdir stage3-$(TARGET_SUBDIR); \ mv stage3-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \ @@ -52821,6 +53908,12 @@ stage3-end:: mv prev-lto-plugin stage2-lto-plugin; : ; \ fi @endif lto-plugin +@if bolt-plugin + @if test -d $(HOST_SUBDIR)/bolt-plugin; then \ + cd $(HOST_SUBDIR); mv bolt-plugin stage3-bolt-plugin; \ + mv prev-bolt-plugin stage2-bolt-plugin; : ; \ + fi +@endif bolt-plugin @if test -d $(TARGET_SUBDIR); then \ mv $(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR); \ mv prev-$(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR); : ; \ @@ -53081,6 +54174,12 @@ stage4-start:: mv stage4-lto-plugin lto-plugin; \ mv stage3-lto-plugin prev-lto-plugin || test -f stage3-lean @endif lto-plugin +@if bolt-plugin + @cd $(HOST_SUBDIR); [ -d stage4-bolt-plugin ] || \ + mkdir stage4-bolt-plugin; \ + mv stage4-bolt-plugin bolt-plugin; \ + mv stage3-bolt-plugin prev-bolt-plugin || test -f stage3-lean +@endif bolt-plugin @[ -d stage4-$(TARGET_SUBDIR) ] || \ mkdir stage4-$(TARGET_SUBDIR); \ mv stage4-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \ @@ -53219,6 +54318,12 @@ stage4-end:: mv prev-lto-plugin stage3-lto-plugin; : ; \ fi @endif lto-plugin +@if bolt-plugin + @if test -d $(HOST_SUBDIR)/bolt-plugin; then \ + cd $(HOST_SUBDIR); mv bolt-plugin stage4-bolt-plugin; \ + mv prev-bolt-plugin stage3-bolt-plugin; : ; \ + fi +@endif bolt-plugin @if test -d $(TARGET_SUBDIR); then \ mv $(TARGET_SUBDIR) stage4-$(TARGET_SUBDIR); \ mv prev-$(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR); : ; \ @@ -53467,6 +54572,12 @@ stageprofile-start:: mv stageprofile-lto-plugin lto-plugin; \ mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean @endif lto-plugin +@if bolt-plugin + @cd $(HOST_SUBDIR); [ -d stageprofile-bolt-plugin ] || \ + mkdir stageprofile-bolt-plugin; \ + mv stageprofile-bolt-plugin bolt-plugin; \ + mv stage1-bolt-plugin prev-bolt-plugin || test -f stage1-lean +@endif bolt-plugin @[ -d stageprofile-$(TARGET_SUBDIR) ] || \ mkdir stageprofile-$(TARGET_SUBDIR); \ mv stageprofile-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \ @@ -53605,6 +54716,12 @@ stageprofile-end:: mv prev-lto-plugin stage1-lto-plugin; : ; \ fi @endif lto-plugin +@if bolt-plugin + @if test -d $(HOST_SUBDIR)/bolt-plugin; then \ + cd $(HOST_SUBDIR); mv bolt-plugin stageprofile-bolt-plugin; \ + mv prev-bolt-plugin stage1-bolt-plugin; : ; \ + fi +@endif bolt-plugin @if test -d $(TARGET_SUBDIR); then \ mv $(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR); \ mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR); : ; \ @@ -53786,6 +54903,12 @@ stagefeedback-start:: mv stagefeedback-lto-plugin lto-plugin; \ mv stageprofile-lto-plugin prev-lto-plugin || test -f stageprofile-lean @endif lto-plugin +@if bolt-plugin + @cd $(HOST_SUBDIR); [ -d stagefeedback-bolt-plugin ] || \ + mkdir stagefeedback-bolt-plugin; \ + mv stagefeedback-bolt-plugin bolt-plugin; \ + mv stageprofile-bolt-plugin prev-bolt-plugin || test -f stageprofile-lean +@endif bolt-plugin @[ -d stagefeedback-$(TARGET_SUBDIR) ] || \ mkdir stagefeedback-$(TARGET_SUBDIR); \ mv stagefeedback-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \ @@ -53924,6 +55047,12 @@ stagefeedback-end:: mv prev-lto-plugin stageprofile-lto-plugin; : ; \ fi @endif lto-plugin +@if bolt-plugin + @if test -d $(HOST_SUBDIR)/bolt-plugin; then \ + cd $(HOST_SUBDIR); mv bolt-plugin stagefeedback-bolt-plugin; \ + mv prev-bolt-plugin stageprofile-bolt-plugin; : ; \ + fi +@endif bolt-plugin @if test -d $(TARGET_SUBDIR); then \ mv $(TARGET_SUBDIR) stagefeedback-$(TARGET_SUBDIR); \ mv prev-$(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR); : ; \ @@ -54128,6 +55257,12 @@ stageautoprofile-start:: mv stageautoprofile-lto-plugin lto-plugin; \ mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean @endif lto-plugin +@if bolt-plugin + @cd $(HOST_SUBDIR); [ -d stageautoprofile-bolt-plugin ] || \ + mkdir stageautoprofile-bolt-plugin; \ + mv stageautoprofile-bolt-plugin bolt-plugin; \ + mv stage1-bolt-plugin prev-bolt-plugin || test -f stage1-lean +@endif bolt-plugin @[ -d stageautoprofile-$(TARGET_SUBDIR) ] || \ mkdir stageautoprofile-$(TARGET_SUBDIR); \ mv stageautoprofile-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \ @@ -54266,6 +55401,12 @@ stageautoprofile-end:: mv prev-lto-plugin stage1-lto-plugin; : ; \ fi @endif lto-plugin +@if bolt-plugin + @if test -d $(HOST_SUBDIR)/bolt-plugin; then \ + cd $(HOST_SUBDIR); mv bolt-plugin stageautoprofile-bolt-plugin; \ + mv prev-bolt-plugin stage1-bolt-plugin; : ; \ + fi +@endif bolt-plugin @if test -d $(TARGET_SUBDIR); then \ mv $(TARGET_SUBDIR) stageautoprofile-$(TARGET_SUBDIR); \ mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR); : ; \ @@ -54447,6 +55588,12 @@ stageautofeedback-start:: mv stageautofeedback-lto-plugin lto-plugin; \ mv stageautoprofile-lto-plugin prev-lto-plugin || test -f stageautoprofile-lean @endif lto-plugin +@if bolt-plugin + @cd $(HOST_SUBDIR); [ -d stageautofeedback-bolt-plugin ] || \ + mkdir stageautofeedback-bolt-plugin; \ + mv stageautofeedback-bolt-plugin bolt-plugin; \ + mv stageautoprofile-bolt-plugin prev-bolt-plugin || test -f stageautoprofile-lean +@endif bolt-plugin @[ -d stageautofeedback-$(TARGET_SUBDIR) ] || \ mkdir stageautofeedback-$(TARGET_SUBDIR); \ mv stageautofeedback-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \ @@ -54585,6 +55732,12 @@ stageautofeedback-end:: mv prev-lto-plugin stageautoprofile-lto-plugin; : ; \ fi @endif lto-plugin +@if bolt-plugin + @if test -d $(HOST_SUBDIR)/bolt-plugin; then \ + cd $(HOST_SUBDIR); mv bolt-plugin stageautofeedback-bolt-plugin; \ + mv prev-bolt-plugin stageautoprofile-bolt-plugin; : ; \ + fi +@endif bolt-plugin @if test -d $(TARGET_SUBDIR); then \ mv $(TARGET_SUBDIR) stageautofeedback-$(TARGET_SUBDIR); \ mv prev-$(TARGET_SUBDIR) stageautoprofile-$(TARGET_SUBDIR); : ; \ @@ -54875,6 +56028,16 @@ configure-stageprofile-gcc: maybe-all-stageprofile-lto-plugin configure-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin configure-stageautoprofile-gcc: maybe-all-stageautoprofile-lto-plugin configure-stageautofeedback-gcc: maybe-all-stageautofeedback-lto-plugin +configure-gcc: maybe-all-bolt-plugin + +configure-stage1-gcc: maybe-all-stage1-bolt-plugin +configure-stage2-gcc: maybe-all-stage2-bolt-plugin +configure-stage3-gcc: maybe-all-stage3-bolt-plugin +configure-stage4-gcc: maybe-all-stage4-bolt-plugin +configure-stageprofile-gcc: maybe-all-stageprofile-bolt-plugin +configure-stagefeedback-gcc: maybe-all-stagefeedback-bolt-plugin +configure-stageautoprofile-gcc: maybe-all-stageautoprofile-bolt-plugin +configure-stageautofeedback-gcc: maybe-all-stageautofeedback-bolt-plugin configure-gcc: maybe-all-binutils configure-stage1-gcc: maybe-all-stage1-binutils @@ -55115,6 +56278,16 @@ all-stageprofile-gcc: maybe-all-stageprofile-lto-plugin all-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin all-stageautoprofile-gcc: maybe-all-stageautoprofile-lto-plugin all-stageautofeedback-gcc: maybe-all-stageautofeedback-lto-plugin +all-gcc: maybe-all-bolt-plugin + +all-stage1-gcc: maybe-all-stage1-bolt-plugin +all-stage2-gcc: maybe-all-stage2-bolt-plugin +all-stage3-gcc: maybe-all-stage3-bolt-plugin +all-stage4-gcc: maybe-all-stage4-bolt-plugin +all-stageprofile-gcc: maybe-all-stageprofile-bolt-plugin +all-stagefeedback-gcc: maybe-all-stagefeedback-bolt-plugin +all-stageautoprofile-gcc: maybe-all-stageautoprofile-bolt-plugin +all-stageautofeedback-gcc: maybe-all-stageautofeedback-bolt-plugin all-gcc: maybe-all-libiconv all-stage1-gcc: maybe-all-stage1-libiconv @@ -55167,8 +56340,10 @@ html-stageautoprofile-gcc: maybe-all-build-libiberty html-stageautofeedback-gcc: maybe-all-build-libiberty install-gcc: maybe-install-fixincludes install-gcc: maybe-install-lto-plugin +install-gcc: maybe-install-bolt-plugin install-strip-gcc: maybe-install-strip-fixincludes install-strip-gcc: maybe-install-strip-lto-plugin +install-strip-gcc: maybe-install-strip-bolt-plugin configure-libcpp: configure-libiberty configure-stage1-libcpp: configure-stage1-libiberty @@ -55261,6 +56436,26 @@ all-stageprofile-lto-plugin: maybe-all-stageprofile-libiberty-linker-plugin all-stagefeedback-lto-plugin: maybe-all-stagefeedback-libiberty-linker-plugin all-stageautoprofile-lto-plugin: maybe-all-stageautoprofile-libiberty-linker-plugin all-stageautofeedback-lto-plugin: maybe-all-stageautofeedback-libiberty-linker-plugin +all-bolt-plugin: maybe-all-libiberty + +all-stage1-bolt-plugin: maybe-all-stage1-libiberty +all-stage2-bolt-plugin: maybe-all-stage2-libiberty +all-stage3-bolt-plugin: maybe-all-stage3-libiberty +all-stage4-bolt-plugin: maybe-all-stage4-libiberty +all-stageprofile-bolt-plugin: maybe-all-stageprofile-libiberty +all-stagefeedback-bolt-plugin: maybe-all-stagefeedback-libiberty +all-stageautoprofile-bolt-plugin: maybe-all-stageautoprofile-libiberty +all-stageautofeedback-bolt-plugin: maybe-all-stageautofeedback-libiberty +all-bolt-plugin: maybe-all-libiberty-linker-plugin + +all-stage1-bolt-plugin: maybe-all-stage1-libiberty-linker-plugin +all-stage2-bolt-plugin: maybe-all-stage2-libiberty-linker-plugin +all-stage3-bolt-plugin: maybe-all-stage3-libiberty-linker-plugin +all-stage4-bolt-plugin: maybe-all-stage4-libiberty-linker-plugin +all-stageprofile-bolt-plugin: maybe-all-stageprofile-libiberty-linker-plugin +all-stagefeedback-bolt-plugin: maybe-all-stagefeedback-libiberty-linker-plugin +all-stageautoprofile-bolt-plugin: maybe-all-stageautoprofile-libiberty-linker-plugin +all-stageautofeedback-bolt-plugin: maybe-all-stageautofeedback-libiberty-linker-plugin configure-libcc1: maybe-configure-gcc all-libcc1: maybe-all-gcc all-gotools: maybe-all-target-libgo diff --git a/configure b/configure index 32a38633a..20352e72d 100755 --- a/configure +++ b/configure @@ -778,6 +778,7 @@ with_isl with_isl_include with_isl_lib enable_isl_version_check +enable_bolt enable_lto enable_linker_plugin_configure_flags enable_linker_plugin_flags @@ -1491,6 +1492,7 @@ Optional Features: --enable-bootstrap enable bootstrapping [yes if native build] --disable-isl-version-check disable check for isl version + --enable-bolt enable bolt optimization support --enable-lto enable link time optimization support --enable-linker-plugin-configure-flags=FLAGS additional flags for configuring linker plugins @@ -6013,6 +6015,15 @@ fi +# Check for BOLT support. +# Check whether --enable-bolt was given. +if test "${enable_bolt+set}" = set; then : + enableval=$enable_bolt; enable_bolt=$enableval +else + enable_bolt=no; default_enable_bolt=no +fi + + # Check for LTO support. # Check whether --enable-lto was given. if test "${enable_lto+set}" = set; then : @@ -6042,6 +6053,16 @@ if test $target_elf = yes; then : # ELF platforms build the lto-plugin always. build_lto_plugin=yes + # ELF platforms can build the bolt-plugin. + # NOT BUILD BOLT BY DEFAULT. + case $target in + aarch64*-*-linux* | x86_64-*linux*) + if test $enable_bolt = yes; then : + build_bolt_plugin=yes + fi + ;; + esac + else if test x"$default_enable_lto" = x"yes" ; then case $target in @@ -6200,6 +6221,10 @@ if test -d ${srcdir}/gcc; then fi fi + if test "${build_bolt_plugin}" = "yes" ; then + configdirs="$configdirs bolt-plugin" + fi + # If we're building an offloading compiler, add the LTO front end. if test x"$enable_as_accelerator_for" != x ; then case ,${enable_languages}, in @@ -6543,7 +6568,7 @@ fi extra_host_libiberty_configure_flags= extra_host_zlib_configure_flags= case " $configdirs " in - *" lto-plugin "* | *" libcc1 "*) + *" lto-plugin "* | *" libcc1 "* | *" bolt-plugin "*) # When these are to be built as shared libraries, the same applies to # libiberty. extra_host_libiberty_configure_flags=--enable-shared diff --git a/configure.ac b/configure.ac index 123774992..c068d717e 100644 --- a/configure.ac +++ b/configure.ac @@ -1717,6 +1717,12 @@ fi AC_SUBST(isllibs) AC_SUBST(islinc) +# Check for BOLT support. +AC_ARG_ENABLE(bolt, +[AS_HELP_STRING([--enable-bolt], [enable bolt optimization support])], +enable_bolt=$enableval, +enable_bolt=no; default_enable_bolt=no) + # Check for LTO support. AC_ARG_ENABLE(lto, [AS_HELP_STRING([--enable-lto], [enable link time optimization support])], @@ -1725,6 +1731,16 @@ enable_lto=yes; default_enable_lto=yes) ACX_ELF_TARGET_IFELSE([# ELF platforms build the lto-plugin always. build_lto_plugin=yes + + # ELF platforms can build the bolt-plugin. + # NOT BUILD BOLT BY DEFAULT. + case $target in + aarch64*-*-linux* | x86_64-*linux*) + if test $enable_bolt = yes; then : + build_bolt_plugin=yes + fi + ;; + esac ],[if test x"$default_enable_lto" = x"yes" ; then case $target in *-apple-darwin[[912]]* | *-cygwin* | *-mingw* | *djgpp*) ;; @@ -1876,6 +1892,10 @@ if test -d ${srcdir}/gcc; then fi fi + if test "${build_bolt_plugin}" = "yes" ; then + configdirs="$configdirs bolt-plugin" + fi + # If we're building an offloading compiler, add the LTO front end. if test x"$enable_as_accelerator_for" != x ; then case ,${enable_languages}, in @@ -2210,7 +2230,7 @@ fi extra_host_libiberty_configure_flags= extra_host_zlib_configure_flags= case " $configdirs " in - *" lto-plugin "* | *" libcc1 "*) + *" lto-plugin "* | *" libcc1 "* | *" bolt-plugin "*) # When these are to be built as shared libraries, the same applies to # libiberty. extra_host_libiberty_configure_flags=--enable-shared diff --git a/gcc/config.host b/gcc/config.host index 6b28f3033..8c43de26c 100644 --- a/gcc/config.host +++ b/gcc/config.host @@ -59,7 +59,11 @@ # host_lto_plugin_soname Set this to the name to which the LTO linker # plugin gets compiled on this host, if it is # different from the default "liblto_plugin.so". - +# +# host_bolt_plugin_soname Set this to the name to which the BOLT +# plugin gets compiled on this host, if it is +# different from the default "libbolt_plugin.so". +# # When setting any of these variables, check to see if a corresponding # variable is present in config.build; if so, you will likely want to # set it in both places. @@ -75,6 +79,7 @@ out_host_hook_obj=host-default.o host_can_use_collect2=yes use_long_long_for_widest_fast_int=no host_lto_plugin_soname=liblto_plugin.so +host_bolt_plugin_soname=libbolt_plugin.so # Unsupported hosts list. Generally, only include hosts known to fail here, # since we allow hosts not listed to be supported generically. diff --git a/gcc/config.in b/gcc/config.in index eca3fd810..e530e9e95 100644 --- a/gcc/config.in +++ b/gcc/config.in @@ -24,6 +24,13 @@ #endif +/* Define to the name of the BOLT plugin DSO that must be passed to the + linker's -plugin=LIB option. */ +#ifndef USED_FOR_TARGET +#undef BOLTPLUGINSONAME +#endif + + /* Define as the number of bits in a byte, if `limits.h' doesn't. */ #ifndef USED_FOR_TARGET #undef CHAR_BIT @@ -660,11 +667,13 @@ #undef HAVE_AS_SPARC5_VIS4 #endif + /* Define if your assembler supports SPARC6 instructions. */ #ifndef USED_FOR_TARGET #undef HAVE_AS_SPARC6 #endif + /* Define if your assembler and linker support GOTDATA_OP relocs. */ #ifndef USED_FOR_TARGET #undef HAVE_AS_SPARC_GOTDATA_OP diff --git a/gcc/configure b/gcc/configure index 043a62b0d..4fe2c9602 100755 --- a/gcc/configure +++ b/gcc/configure @@ -12340,6 +12340,12 @@ case $use_collect2 in esac +cat >>confdefs.h <<_ACEOF +#define BOLTPLUGINSONAME "${host_bolt_plugin_soname}" +_ACEOF + + + cat >>confdefs.h <<_ACEOF #define LTOPLUGINSONAME "${host_lto_plugin_soname}" _ACEOF @@ -18433,7 +18439,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 18436 "configure" +#line 18442 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -18539,7 +18545,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 18542 "configure" +#line 18548 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -25217,6 +25223,7 @@ $as_echo "#define HAVE_AS_SPARC5_VIS4 1" >>confdefs.h fi + { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler for SPARC6 instructions" >&5 $as_echo_n "checking assembler for SPARC6 instructions... " >&6; } if test "${gcc_cv_as_sparc_sparc6+set}" = set; then : @@ -25253,6 +25260,7 @@ $as_echo "#define HAVE_AS_SPARC6 1" >>confdefs.h fi + { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler for LEON instructions" >&5 $as_echo_n "checking assembler for LEON instructions... " >&6; } if test "${gcc_cv_as_sparc_leon+set}" = set; then : diff --git a/gcc/configure.ac b/gcc/configure.ac index 2b52da3bb..3e7efb640 100644 --- a/gcc/configure.ac +++ b/gcc/configure.ac @@ -2123,6 +2123,10 @@ case $use_collect2 in ;; esac +AC_DEFINE_UNQUOTED(BOLTPLUGINSONAME,"${host_bolt_plugin_soname}", +[Define to the name of the BOLT plugin DSO that must be + passed to the linker's -plugin=LIB option.]) + AC_DEFINE_UNQUOTED(LTOPLUGINSONAME,"${host_lto_plugin_soname}", [Define to the name of the LTO plugin DSO that must be passed to the linker's -plugin=LIB option.]) diff --git a/gcc/gcc.c b/gcc/gcc.c index c48178f1a..416c1a22f 100644 --- a/gcc/gcc.c +++ b/gcc/gcc.c @@ -1024,6 +1024,8 @@ proper position among the other output files. */ %{!fsyntax-only:%{!c:%{!M:%{!MM:%{!E:%{!S:\ %(linker) " \ LINK_PLUGIN_SPEC \ + "%{fbolt-use|fbolt-use=*: \ + -plugin %(linker_auto_bolt_plugin_file) }"\ "%{flto|flto=*:%