summaryrefslogtreecommitdiffstats
path: root/Makefile.in
diff options
context:
space:
mode:
authorAndi Kleen <ak@linux.intel.com>2016-06-23 14:34:16 +0000
committerAndi Kleen <ak@gcc.gnu.org>2016-06-23 14:34:16 +0000
commit277d7ee0c95456a21ef371aa025791cbef883169 (patch)
treea64cadd18e82bbd81f52a690484f43fc66291fdc /Makefile.in
parentRun profile feedback tests with autofdo (diff)
downloadgcc-277d7ee0c95456a21ef371aa025791cbef883169.tar.gz
gcc-277d7ee0c95456a21ef371aa025791cbef883169.tar.bz2
gcc-277d7ee0c95456a21ef371aa025791cbef883169.tar.xz
Add make autoprofiledbootstrap
Add support for profiledbootstrap with autofdo. Will be useful to get better testing coverage of autofdo. This requires Linux perf and autofdo to be installed, only really for x86_64 linux on Intel so far. Profile the whole build process with perf, then convert the file, and pass it back to the compiler in the feedback stage. The conversion has to be done per language, as only that knows the name of the binary. Currently we only do it for C and C++, as the other languages don't have enough coverage during a normal bootstrap. For lto1 it is also disabled, because it would only be useful during a LTO bootstrap, but right now autofdo and LTO are not working together due to PR66229 For common backend files always the profile output of the C++ compiler is used. In theory multiple inputs could be merged here, but so far that is not implemented. The method is not friendly to partial rebuilds, as only the profile information from the current rebuild is used. So if an error occurs it is best to clean and restart, otherwise the code quality may be worse. This patch is fairly large, but most of it is auto generated from autogen in Makefile.in. for the new stage targets. Passes profiledbootstrap and normal bootstrap on x86_64-linux. autoprofiledbootstrap is currently not working due to PR70427 (but it finishes with that worked around) The autofdo'ed compiler is ~7% faster on insn-recog.i (vs ~11% for profiledfeedback), and ~4% faster for tramp3d-v4 (vs 10% for profiledfeedback) on a Sandy Bridge system. gcc/lto/: 2016-06-23 Andi Kleen <ak@linux.intel.com> * Make-lang.in: Add support for autofdo (disabled for now) gcc/cp/: 2016-06-23 Andi Kleen <ak@linux.intel.com> * Make-lang.in: Add support for autofdo. gcc/: 2016-06-23 Andi Kleen <ak@linux.intel.com> * Makefile.in: Regenerate. * doc/install.texi: Document autoprofiledbootstrap. /: 2016-06-23 Andi Kleen <ak@linux.intel.com> * Makefile.def: Add autoprofiledbootstrap. * Makefile.tpl: Dito. * Makefile.in: Regenerate. gcc/c/: 2016-06-23 Andi Kleen <ak@linux.intel.com> * Make-lang.in: Add support for autofdo. From-SVN: r237733
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in5780
1 files changed, 5610 insertions, 170 deletions
diff --git a/Makefile.in b/Makefile.in
index b74149f4173..117fbf5d752 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -379,6 +379,8 @@ MAKEINFO = @MAKEINFO@
379EXPECT = @EXPECT@ 379EXPECT = @EXPECT@
380RUNTEST = @RUNTEST@ 380RUNTEST = @RUNTEST@
381 381
382AUTO_PROFILE = gcc-auto-profile -c 1000000
383
382# This just becomes part of the MAKEINFO definition passed down to 384# This just becomes part of the MAKEINFO definition passed down to
383# sub-makes. It lets flags be given on the command line while still 385# sub-makes. It lets flags be given on the command line while still
384# using the makeinfo from the object tree. 386# using the makeinfo from the object tree.
@@ -415,6 +417,8 @@ CXXFLAGS = @CXXFLAGS@
415LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates 417LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
416GOCFLAGS = $(CFLAGS) 418GOCFLAGS = $(CFLAGS)
417 419
420CREATE_GCOV = create_gcov
421
418TFLAGS = 422TFLAGS =
419 423
420# Defaults for all stages; some are overridden below. 424# Defaults for all stages; some are overridden below.
@@ -484,6 +488,26 @@ STAGEfeedback_CXXFLAGS = $(STAGEfeedback_CFLAGS)
484STAGEfeedback_TFLAGS = $(STAGE_TFLAGS) 488STAGEfeedback_TFLAGS = $(STAGE_TFLAGS)
485STAGEfeedback_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS) 489STAGEfeedback_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
486 490
491# Defaults for stage autoprofile; some are overridden below.
492STAGEautoprofile_CFLAGS = $(STAGE_CFLAGS)
493STAGEautoprofile_CXXFLAGS = $(CXXFLAGS)
494@if target-libstdc++-v3-bootstrap
495# Override the above if we're bootstrapping C++.
496STAGEautoprofile_CXXFLAGS = $(STAGEautoprofile_CFLAGS)
497@endif target-libstdc++-v3-bootstrap
498STAGEautoprofile_TFLAGS = $(STAGE_TFLAGS)
499STAGEautoprofile_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
500
501# Defaults for stage autofeedback; some are overridden below.
502STAGEautofeedback_CFLAGS = $(STAGE_CFLAGS)
503STAGEautofeedback_CXXFLAGS = $(CXXFLAGS)
504@if target-libstdc++-v3-bootstrap
505# Override the above if we're bootstrapping C++.
506STAGEautofeedback_CXXFLAGS = $(STAGEautofeedback_CFLAGS)
507@endif target-libstdc++-v3-bootstrap
508STAGEautofeedback_TFLAGS = $(STAGE_TFLAGS)
509STAGEautofeedback_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
510
487 511
488# By default, C and C++ are the only stage1 languages, because they are the 512# By default, C and C++ are the only stage1 languages, because they are the
489# only ones we require to build with the bootstrap compiler, and also the 513# only ones we require to build with the bootstrap compiler, and also the
@@ -509,6 +533,12 @@ STAGEprofile_TFLAGS = $(STAGE2_TFLAGS)
509STAGEfeedback_CFLAGS = $(STAGE3_CFLAGS) -fprofile-use 533STAGEfeedback_CFLAGS = $(STAGE3_CFLAGS) -fprofile-use
510STAGEfeedback_TFLAGS = $(STAGE3_TFLAGS) 534STAGEfeedback_TFLAGS = $(STAGE3_TFLAGS)
511 535
536STAGEautoprofile_CFLAGS = $(STAGE2_CFLAGS) -g
537STAGEautoprofile_TFLAGS = $(STAGE2_TFLAGS)
538
539STAGEautofeedback_CFLAGS = $(STAGE3_CFLAGS)
540STAGEautofeedback_TFLAGS = $(STAGE3_TFLAGS)
541
512do-compare = @do_compare@ 542do-compare = @do_compare@
513do-compare3 = $(do-compare) 543do-compare3 = $(do-compare)
514 544
@@ -788,6 +818,12 @@ BASE_FLAGS_TO_PASS = \
788 "STAGEfeedback_CFLAGS=$(STAGEfeedback_CFLAGS)" \ 818 "STAGEfeedback_CFLAGS=$(STAGEfeedback_CFLAGS)" \
789 "STAGEfeedback_CXXFLAGS=$(STAGEfeedback_CXXFLAGS)" \ 819 "STAGEfeedback_CXXFLAGS=$(STAGEfeedback_CXXFLAGS)" \
790 "STAGEfeedback_TFLAGS=$(STAGEfeedback_TFLAGS)" \ 820 "STAGEfeedback_TFLAGS=$(STAGEfeedback_TFLAGS)" \
821 "STAGEautoprofile_CFLAGS=$(STAGEautoprofile_CFLAGS)" \
822 "STAGEautoprofile_CXXFLAGS=$(STAGEautoprofile_CXXFLAGS)" \
823 "STAGEautoprofile_TFLAGS=$(STAGEautoprofile_TFLAGS)" \
824 "STAGEautofeedback_CFLAGS=$(STAGEautofeedback_CFLAGS)" \
825 "STAGEautofeedback_CXXFLAGS=$(STAGEautofeedback_CXXFLAGS)" \
826 "STAGEautofeedback_TFLAGS=$(STAGEautofeedback_TFLAGS)" \
791 $(CXX_FOR_TARGET_FLAG_TO_PASS) \ 827 $(CXX_FOR_TARGET_FLAG_TO_PASS) \
792 "TFLAGS=$(TFLAGS)" \ 828 "TFLAGS=$(TFLAGS)" \
793 "CONFIG_SHELL=$(SHELL)" \ 829 "CONFIG_SHELL=$(SHELL)" \
@@ -816,7 +852,8 @@ EXTRA_HOST_FLAGS = \
816 'READELF=$(READELF)' \ 852 'READELF=$(READELF)' \
817 'STRIP=$(STRIP)' \ 853 'STRIP=$(STRIP)' \
818 'WINDRES=$(WINDRES)' \ 854 'WINDRES=$(WINDRES)' \
819 'WINDMC=$(WINDMC)' 855 'WINDMC=$(WINDMC)' \
856 'CREATE_GCOV=$(CREATE_GCOV)'
820 857
821FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) 858FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
822 859
@@ -3393,6 +3430,72 @@ configure-stagefeedback-bfd:
3393 $(STAGEfeedback_CONFIGURE_FLAGS) 3430 $(STAGEfeedback_CONFIGURE_FLAGS)
3394@endif bfd-bootstrap 3431@endif bfd-bootstrap
3395 3432
3433.PHONY: configure-stageautoprofile-bfd maybe-configure-stageautoprofile-bfd
3434maybe-configure-stageautoprofile-bfd:
3435@if bfd-bootstrap
3436maybe-configure-stageautoprofile-bfd: configure-stageautoprofile-bfd
3437configure-stageautoprofile-bfd:
3438 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
3439 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3440 @r=`${PWD_COMMAND}`; export r; \
3441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3442 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
3443 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3444 $(HOST_EXPORTS) \
3445 $(POSTSTAGE1_HOST_EXPORTS) \
3446 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
3447 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
3448 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
3449 echo Configuring stage autoprofile in $(HOST_SUBDIR)/bfd; \
3450 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3451 cd $(HOST_SUBDIR)/bfd || exit 1; \
3452 case $(srcdir) in \
3453 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3454 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3455 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3456 esac; \
3457 module_srcdir=bfd; \
3458 $(SHELL) $$s/$$module_srcdir/configure \
3459 --srcdir=$${topdir}/$$module_srcdir \
3460 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3461 --target=${target_alias} \
3462 --with-build-libsubdir=$(HOST_SUBDIR) \
3463 $(STAGEautoprofile_CONFIGURE_FLAGS)
3464@endif bfd-bootstrap
3465
3466.PHONY: configure-stageautofeedback-bfd maybe-configure-stageautofeedback-bfd
3467maybe-configure-stageautofeedback-bfd:
3468@if bfd-bootstrap
3469maybe-configure-stageautofeedback-bfd: configure-stageautofeedback-bfd
3470configure-stageautofeedback-bfd:
3471 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
3472 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3473 @r=`${PWD_COMMAND}`; export r; \
3474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3475 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
3476 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3477 $(HOST_EXPORTS) \
3478 $(POSTSTAGE1_HOST_EXPORTS) \
3479 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
3480 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
3481 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
3482 echo Configuring stage autofeedback in $(HOST_SUBDIR)/bfd; \
3483 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3484 cd $(HOST_SUBDIR)/bfd || exit 1; \
3485 case $(srcdir) in \
3486 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3487 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3488 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3489 esac; \
3490 module_srcdir=bfd; \
3491 $(SHELL) $$s/$$module_srcdir/configure \
3492 --srcdir=$${topdir}/$$module_srcdir \
3493 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3494 --target=${target_alias} \
3495 --with-build-libsubdir=$(HOST_SUBDIR) \
3496 $(STAGEautofeedback_CONFIGURE_FLAGS)
3497@endif bfd-bootstrap
3498
3396 3499
3397 3500
3398 3501
@@ -3431,6 +3534,7 @@ all-stage1-bfd: configure-stage1-bfd
3431 TFLAGS="$(STAGE1_TFLAGS)"; \ 3534 TFLAGS="$(STAGE1_TFLAGS)"; \
3432 $(HOST_EXPORTS) \ 3535 $(HOST_EXPORTS) \
3433 cd $(HOST_SUBDIR)/bfd && \ 3536 cd $(HOST_SUBDIR)/bfd && \
3537 \
3434 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 3538 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3435 CFLAGS="$(STAGE1_CFLAGS)" \ 3539 CFLAGS="$(STAGE1_CFLAGS)" \
3436 CXXFLAGS="$(STAGE1_CXXFLAGS)" \ 3540 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
@@ -3440,7 +3544,7 @@ all-stage1-bfd: configure-stage1-bfd
3440 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 3544 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3441 $(EXTRA_HOST_FLAGS) \ 3545 $(EXTRA_HOST_FLAGS) \
3442 $(STAGE1_FLAGS_TO_PASS) \ 3546 $(STAGE1_FLAGS_TO_PASS) \
3443 TFLAGS="$(STAGE1_TFLAGS)" \ 3547 TFLAGS="$(STAGE1_TFLAGS)" \
3444 $(TARGET-stage1-bfd) 3548 $(TARGET-stage1-bfd)
3445 3549
3446maybe-clean-stage1-bfd: clean-stage1-bfd 3550maybe-clean-stage1-bfd: clean-stage1-bfd
@@ -3474,6 +3578,7 @@ all-stage2-bfd: configure-stage2-bfd
3474 $(HOST_EXPORTS) \ 3578 $(HOST_EXPORTS) \
3475 $(POSTSTAGE1_HOST_EXPORTS) \ 3579 $(POSTSTAGE1_HOST_EXPORTS) \
3476 cd $(HOST_SUBDIR)/bfd && \ 3580 cd $(HOST_SUBDIR)/bfd && \
3581 \
3477 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 3582 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3478 CFLAGS="$(STAGE2_CFLAGS)" \ 3583 CFLAGS="$(STAGE2_CFLAGS)" \
3479 CXXFLAGS="$(STAGE2_CXXFLAGS)" \ 3584 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
@@ -3482,7 +3587,7 @@ all-stage2-bfd: configure-stage2-bfd
3482 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 3587 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3483 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 3588 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3484 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 3589 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3485 TFLAGS="$(STAGE2_TFLAGS)" \ 3590 TFLAGS="$(STAGE2_TFLAGS)" \
3486 $(TARGET-stage2-bfd) 3591 $(TARGET-stage2-bfd)
3487 3592
3488maybe-clean-stage2-bfd: clean-stage2-bfd 3593maybe-clean-stage2-bfd: clean-stage2-bfd
@@ -3515,6 +3620,7 @@ all-stage3-bfd: configure-stage3-bfd
3515 $(HOST_EXPORTS) \ 3620 $(HOST_EXPORTS) \
3516 $(POSTSTAGE1_HOST_EXPORTS) \ 3621 $(POSTSTAGE1_HOST_EXPORTS) \
3517 cd $(HOST_SUBDIR)/bfd && \ 3622 cd $(HOST_SUBDIR)/bfd && \
3623 \
3518 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 3624 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3519 CFLAGS="$(STAGE3_CFLAGS)" \ 3625 CFLAGS="$(STAGE3_CFLAGS)" \
3520 CXXFLAGS="$(STAGE3_CXXFLAGS)" \ 3626 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
@@ -3523,7 +3629,7 @@ all-stage3-bfd: configure-stage3-bfd
3523 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 3629 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3524 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 3630 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3525 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 3631 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3526 TFLAGS="$(STAGE3_TFLAGS)" \ 3632 TFLAGS="$(STAGE3_TFLAGS)" \
3527 $(TARGET-stage3-bfd) 3633 $(TARGET-stage3-bfd)
3528 3634
3529maybe-clean-stage3-bfd: clean-stage3-bfd 3635maybe-clean-stage3-bfd: clean-stage3-bfd
@@ -3556,6 +3662,7 @@ all-stage4-bfd: configure-stage4-bfd
3556 $(HOST_EXPORTS) \ 3662 $(HOST_EXPORTS) \
3557 $(POSTSTAGE1_HOST_EXPORTS) \ 3663 $(POSTSTAGE1_HOST_EXPORTS) \
3558 cd $(HOST_SUBDIR)/bfd && \ 3664 cd $(HOST_SUBDIR)/bfd && \
3665 \
3559 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 3666 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3560 CFLAGS="$(STAGE4_CFLAGS)" \ 3667 CFLAGS="$(STAGE4_CFLAGS)" \
3561 CXXFLAGS="$(STAGE4_CXXFLAGS)" \ 3668 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
@@ -3564,7 +3671,7 @@ all-stage4-bfd: configure-stage4-bfd
3564 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 3671 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3565 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 3672 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3566 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 3673 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3567 TFLAGS="$(STAGE4_TFLAGS)" \ 3674 TFLAGS="$(STAGE4_TFLAGS)" \
3568 $(TARGET-stage4-bfd) 3675 $(TARGET-stage4-bfd)
3569 3676
3570maybe-clean-stage4-bfd: clean-stage4-bfd 3677maybe-clean-stage4-bfd: clean-stage4-bfd
@@ -3597,6 +3704,7 @@ all-stageprofile-bfd: configure-stageprofile-bfd
3597 $(HOST_EXPORTS) \ 3704 $(HOST_EXPORTS) \
3598 $(POSTSTAGE1_HOST_EXPORTS) \ 3705 $(POSTSTAGE1_HOST_EXPORTS) \
3599 cd $(HOST_SUBDIR)/bfd && \ 3706 cd $(HOST_SUBDIR)/bfd && \
3707 \
3600 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 3708 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3601 CFLAGS="$(STAGEprofile_CFLAGS)" \ 3709 CFLAGS="$(STAGEprofile_CFLAGS)" \
3602 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \ 3710 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
@@ -3605,7 +3713,7 @@ all-stageprofile-bfd: configure-stageprofile-bfd
3605 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 3713 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3606 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 3714 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3607 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 3715 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3608 TFLAGS="$(STAGEprofile_TFLAGS)" \ 3716 TFLAGS="$(STAGEprofile_TFLAGS)" \
3609 $(TARGET-stageprofile-bfd) 3717 $(TARGET-stageprofile-bfd)
3610 3718
3611maybe-clean-stageprofile-bfd: clean-stageprofile-bfd 3719maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
@@ -3638,6 +3746,7 @@ all-stagefeedback-bfd: configure-stagefeedback-bfd
3638 $(HOST_EXPORTS) \ 3746 $(HOST_EXPORTS) \
3639 $(POSTSTAGE1_HOST_EXPORTS) \ 3747 $(POSTSTAGE1_HOST_EXPORTS) \
3640 cd $(HOST_SUBDIR)/bfd && \ 3748 cd $(HOST_SUBDIR)/bfd && \
3749 \
3641 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 3750 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3642 CFLAGS="$(STAGEfeedback_CFLAGS)" \ 3751 CFLAGS="$(STAGEfeedback_CFLAGS)" \
3643 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \ 3752 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
@@ -3646,7 +3755,7 @@ all-stagefeedback-bfd: configure-stagefeedback-bfd
3646 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 3755 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3647 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 3756 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3648 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 3757 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3649 TFLAGS="$(STAGEfeedback_TFLAGS)" \ 3758 TFLAGS="$(STAGEfeedback_TFLAGS)" \
3650 $(TARGET-stagefeedback-bfd) 3759 $(TARGET-stagefeedback-bfd)
3651 3760
3652maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd 3761maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
@@ -3663,6 +3772,90 @@ clean-stagefeedback-bfd:
3663@endif bfd-bootstrap 3772@endif bfd-bootstrap
3664 3773
3665 3774
3775.PHONY: all-stageautoprofile-bfd maybe-all-stageautoprofile-bfd
3776.PHONY: clean-stageautoprofile-bfd maybe-clean-stageautoprofile-bfd
3777maybe-all-stageautoprofile-bfd:
3778maybe-clean-stageautoprofile-bfd:
3779@if bfd-bootstrap
3780maybe-all-stageautoprofile-bfd: all-stageautoprofile-bfd
3781all-stageautoprofile: all-stageautoprofile-bfd
3782TARGET-stageautoprofile-bfd = $(TARGET-bfd)
3783all-stageautoprofile-bfd: configure-stageautoprofile-bfd
3784 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
3785 @r=`${PWD_COMMAND}`; export r; \
3786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3787 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
3788 $(HOST_EXPORTS) \
3789 $(POSTSTAGE1_HOST_EXPORTS) \
3790 cd $(HOST_SUBDIR)/bfd && \
3791 $$s/gcc/config/i386/$(AUTO_PROFILE) \
3792 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3793 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
3794 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
3795 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
3796 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3797 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3798 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3799 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3800 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
3801 $(TARGET-stageautoprofile-bfd)
3802
3803maybe-clean-stageautoprofile-bfd: clean-stageautoprofile-bfd
3804clean-stageautoprofile: clean-stageautoprofile-bfd
3805clean-stageautoprofile-bfd:
3806 @if [ $(current_stage) = stageautoprofile ]; then \
3807 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3808 else \
3809 [ -f $(HOST_SUBDIR)/stageautoprofile-bfd/Makefile ] || exit 0; \
3810 $(MAKE) stageautoprofile-start; \
3811 fi; \
3812 cd $(HOST_SUBDIR)/bfd && \
3813 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3814@endif bfd-bootstrap
3815
3816
3817.PHONY: all-stageautofeedback-bfd maybe-all-stageautofeedback-bfd
3818.PHONY: clean-stageautofeedback-bfd maybe-clean-stageautofeedback-bfd
3819maybe-all-stageautofeedback-bfd:
3820maybe-clean-stageautofeedback-bfd:
3821@if bfd-bootstrap
3822maybe-all-stageautofeedback-bfd: all-stageautofeedback-bfd
3823all-stageautofeedback: all-stageautofeedback-bfd
3824TARGET-stageautofeedback-bfd = $(TARGET-bfd)
3825all-stageautofeedback-bfd: configure-stageautofeedback-bfd
3826 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
3827 @r=`${PWD_COMMAND}`; export r; \
3828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3829 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
3830 $(HOST_EXPORTS) \
3831 $(POSTSTAGE1_HOST_EXPORTS) \
3832 cd $(HOST_SUBDIR)/bfd && \
3833 \
3834 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3835 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
3836 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
3837 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
3838 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3839 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3840 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3841 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3842 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
3843 $(TARGET-stageautofeedback-bfd)
3844
3845maybe-clean-stageautofeedback-bfd: clean-stageautofeedback-bfd
3846clean-stageautofeedback: clean-stageautofeedback-bfd
3847clean-stageautofeedback-bfd:
3848 @if [ $(current_stage) = stageautofeedback ]; then \
3849 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3850 else \
3851 [ -f $(HOST_SUBDIR)/stageautofeedback-bfd/Makefile ] || exit 0; \
3852 $(MAKE) stageautofeedback-start; \
3853 fi; \
3854 cd $(HOST_SUBDIR)/bfd && \
3855 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3856@endif bfd-bootstrap
3857
3858
3666 3859
3667 3860
3668 3861
@@ -4267,6 +4460,72 @@ configure-stagefeedback-opcodes:
4267 $(STAGEfeedback_CONFIGURE_FLAGS) 4460 $(STAGEfeedback_CONFIGURE_FLAGS)
4268@endif opcodes-bootstrap 4461@endif opcodes-bootstrap
4269 4462
4463.PHONY: configure-stageautoprofile-opcodes maybe-configure-stageautoprofile-opcodes
4464maybe-configure-stageautoprofile-opcodes:
4465@if opcodes-bootstrap
4466maybe-configure-stageautoprofile-opcodes: configure-stageautoprofile-opcodes
4467configure-stageautoprofile-opcodes:
4468 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
4469 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4470 @r=`${PWD_COMMAND}`; export r; \
4471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4472 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
4473 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4474 $(HOST_EXPORTS) \
4475 $(POSTSTAGE1_HOST_EXPORTS) \
4476 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
4477 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
4478 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
4479 echo Configuring stage autoprofile in $(HOST_SUBDIR)/opcodes; \
4480 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4481 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4482 case $(srcdir) in \
4483 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4484 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4485 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4486 esac; \
4487 module_srcdir=opcodes; \
4488 $(SHELL) $$s/$$module_srcdir/configure \
4489 --srcdir=$${topdir}/$$module_srcdir \
4490 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4491 --target=${target_alias} \
4492 --with-build-libsubdir=$(HOST_SUBDIR) \
4493 $(STAGEautoprofile_CONFIGURE_FLAGS)
4494@endif opcodes-bootstrap
4495
4496.PHONY: configure-stageautofeedback-opcodes maybe-configure-stageautofeedback-opcodes
4497maybe-configure-stageautofeedback-opcodes:
4498@if opcodes-bootstrap
4499maybe-configure-stageautofeedback-opcodes: configure-stageautofeedback-opcodes
4500configure-stageautofeedback-opcodes:
4501 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
4502 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4503 @r=`${PWD_COMMAND}`; export r; \
4504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4505 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
4506 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4507 $(HOST_EXPORTS) \
4508 $(POSTSTAGE1_HOST_EXPORTS) \
4509 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
4510 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
4511 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
4512 echo Configuring stage autofeedback in $(HOST_SUBDIR)/opcodes; \
4513 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4514 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4515 case $(srcdir) in \
4516 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4517 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4518 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4519 esac; \
4520 module_srcdir=opcodes; \
4521 $(SHELL) $$s/$$module_srcdir/configure \
4522 --srcdir=$${topdir}/$$module_srcdir \
4523 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4524 --target=${target_alias} \
4525 --with-build-libsubdir=$(HOST_SUBDIR) \
4526 $(STAGEautofeedback_CONFIGURE_FLAGS)
4527@endif opcodes-bootstrap
4528
4270 4529
4271 4530
4272 4531
@@ -4305,6 +4564,7 @@ all-stage1-opcodes: configure-stage1-opcodes
4305 TFLAGS="$(STAGE1_TFLAGS)"; \ 4564 TFLAGS="$(STAGE1_TFLAGS)"; \
4306 $(HOST_EXPORTS) \ 4565 $(HOST_EXPORTS) \
4307 cd $(HOST_SUBDIR)/opcodes && \ 4566 cd $(HOST_SUBDIR)/opcodes && \
4567 \
4308 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 4568 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4309 CFLAGS="$(STAGE1_CFLAGS)" \ 4569 CFLAGS="$(STAGE1_CFLAGS)" \
4310 CXXFLAGS="$(STAGE1_CXXFLAGS)" \ 4570 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
@@ -4314,7 +4574,7 @@ all-stage1-opcodes: configure-stage1-opcodes
4314 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 4574 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4315 $(EXTRA_HOST_FLAGS) \ 4575 $(EXTRA_HOST_FLAGS) \
4316 $(STAGE1_FLAGS_TO_PASS) \ 4576 $(STAGE1_FLAGS_TO_PASS) \
4317 TFLAGS="$(STAGE1_TFLAGS)" \ 4577 TFLAGS="$(STAGE1_TFLAGS)" \
4318 $(TARGET-stage1-opcodes) 4578 $(TARGET-stage1-opcodes)
4319 4579
4320maybe-clean-stage1-opcodes: clean-stage1-opcodes 4580maybe-clean-stage1-opcodes: clean-stage1-opcodes
@@ -4348,6 +4608,7 @@ all-stage2-opcodes: configure-stage2-opcodes
4348 $(HOST_EXPORTS) \ 4608 $(HOST_EXPORTS) \
4349 $(POSTSTAGE1_HOST_EXPORTS) \ 4609 $(POSTSTAGE1_HOST_EXPORTS) \
4350 cd $(HOST_SUBDIR)/opcodes && \ 4610 cd $(HOST_SUBDIR)/opcodes && \
4611 \
4351 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 4612 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4352 CFLAGS="$(STAGE2_CFLAGS)" \ 4613 CFLAGS="$(STAGE2_CFLAGS)" \
4353 CXXFLAGS="$(STAGE2_CXXFLAGS)" \ 4614 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
@@ -4356,7 +4617,7 @@ all-stage2-opcodes: configure-stage2-opcodes
4356 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 4617 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4357 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 4618 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4358 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 4619 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4359 TFLAGS="$(STAGE2_TFLAGS)" \ 4620 TFLAGS="$(STAGE2_TFLAGS)" \
4360 $(TARGET-stage2-opcodes) 4621 $(TARGET-stage2-opcodes)
4361 4622
4362maybe-clean-stage2-opcodes: clean-stage2-opcodes 4623maybe-clean-stage2-opcodes: clean-stage2-opcodes
@@ -4389,6 +4650,7 @@ all-stage3-opcodes: configure-stage3-opcodes
4389 $(HOST_EXPORTS) \ 4650 $(HOST_EXPORTS) \
4390 $(POSTSTAGE1_HOST_EXPORTS) \ 4651 $(POSTSTAGE1_HOST_EXPORTS) \
4391 cd $(HOST_SUBDIR)/opcodes && \ 4652 cd $(HOST_SUBDIR)/opcodes && \
4653 \
4392 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 4654 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4393 CFLAGS="$(STAGE3_CFLAGS)" \ 4655 CFLAGS="$(STAGE3_CFLAGS)" \
4394 CXXFLAGS="$(STAGE3_CXXFLAGS)" \ 4656 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
@@ -4397,7 +4659,7 @@ all-stage3-opcodes: configure-stage3-opcodes
4397 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 4659 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4398 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 4660 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4399 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 4661 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4400 TFLAGS="$(STAGE3_TFLAGS)" \ 4662 TFLAGS="$(STAGE3_TFLAGS)" \
4401 $(TARGET-stage3-opcodes) 4663 $(TARGET-stage3-opcodes)
4402 4664
4403maybe-clean-stage3-opcodes: clean-stage3-opcodes 4665maybe-clean-stage3-opcodes: clean-stage3-opcodes
@@ -4430,6 +4692,7 @@ all-stage4-opcodes: configure-stage4-opcodes
4430 $(HOST_EXPORTS) \ 4692 $(HOST_EXPORTS) \
4431 $(POSTSTAGE1_HOST_EXPORTS) \ 4693 $(POSTSTAGE1_HOST_EXPORTS) \
4432 cd $(HOST_SUBDIR)/opcodes && \ 4694 cd $(HOST_SUBDIR)/opcodes && \
4695 \
4433 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 4696 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4434 CFLAGS="$(STAGE4_CFLAGS)" \ 4697 CFLAGS="$(STAGE4_CFLAGS)" \
4435 CXXFLAGS="$(STAGE4_CXXFLAGS)" \ 4698 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
@@ -4438,7 +4701,7 @@ all-stage4-opcodes: configure-stage4-opcodes
4438 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 4701 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4439 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 4702 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4440 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 4703 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4441 TFLAGS="$(STAGE4_TFLAGS)" \ 4704 TFLAGS="$(STAGE4_TFLAGS)" \
4442 $(TARGET-stage4-opcodes) 4705 $(TARGET-stage4-opcodes)
4443 4706
4444maybe-clean-stage4-opcodes: clean-stage4-opcodes 4707maybe-clean-stage4-opcodes: clean-stage4-opcodes
@@ -4471,6 +4734,7 @@ all-stageprofile-opcodes: configure-stageprofile-opcodes
4471 $(HOST_EXPORTS) \ 4734 $(HOST_EXPORTS) \
4472 $(POSTSTAGE1_HOST_EXPORTS) \ 4735 $(POSTSTAGE1_HOST_EXPORTS) \
4473 cd $(HOST_SUBDIR)/opcodes && \ 4736 cd $(HOST_SUBDIR)/opcodes && \
4737 \
4474 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 4738 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4475 CFLAGS="$(STAGEprofile_CFLAGS)" \ 4739 CFLAGS="$(STAGEprofile_CFLAGS)" \
4476 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \ 4740 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
@@ -4479,7 +4743,7 @@ all-stageprofile-opcodes: configure-stageprofile-opcodes
4479 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 4743 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4480 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 4744 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4481 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 4745 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4482 TFLAGS="$(STAGEprofile_TFLAGS)" \ 4746 TFLAGS="$(STAGEprofile_TFLAGS)" \
4483 $(TARGET-stageprofile-opcodes) 4747 $(TARGET-stageprofile-opcodes)
4484 4748
4485maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes 4749maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
@@ -4512,6 +4776,7 @@ all-stagefeedback-opcodes: configure-stagefeedback-opcodes
4512 $(HOST_EXPORTS) \ 4776 $(HOST_EXPORTS) \
4513 $(POSTSTAGE1_HOST_EXPORTS) \ 4777 $(POSTSTAGE1_HOST_EXPORTS) \
4514 cd $(HOST_SUBDIR)/opcodes && \ 4778 cd $(HOST_SUBDIR)/opcodes && \
4779 \
4515 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 4780 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4516 CFLAGS="$(STAGEfeedback_CFLAGS)" \ 4781 CFLAGS="$(STAGEfeedback_CFLAGS)" \
4517 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \ 4782 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
@@ -4520,7 +4785,7 @@ all-stagefeedback-opcodes: configure-stagefeedback-opcodes
4520 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 4785 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4521 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 4786 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4522 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 4787 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4523 TFLAGS="$(STAGEfeedback_TFLAGS)" \ 4788 TFLAGS="$(STAGEfeedback_TFLAGS)" \
4524 $(TARGET-stagefeedback-opcodes) 4789 $(TARGET-stagefeedback-opcodes)
4525 4790
4526maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes 4791maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
@@ -4537,6 +4802,90 @@ clean-stagefeedback-opcodes:
4537@endif opcodes-bootstrap 4802@endif opcodes-bootstrap
4538 4803
4539 4804
4805.PHONY: all-stageautoprofile-opcodes maybe-all-stageautoprofile-opcodes
4806.PHONY: clean-stageautoprofile-opcodes maybe-clean-stageautoprofile-opcodes
4807maybe-all-stageautoprofile-opcodes:
4808maybe-clean-stageautoprofile-opcodes:
4809@if opcodes-bootstrap
4810maybe-all-stageautoprofile-opcodes: all-stageautoprofile-opcodes
4811all-stageautoprofile: all-stageautoprofile-opcodes
4812TARGET-stageautoprofile-opcodes = $(TARGET-opcodes)
4813all-stageautoprofile-opcodes: configure-stageautoprofile-opcodes
4814 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
4815 @r=`${PWD_COMMAND}`; export r; \
4816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4817 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
4818 $(HOST_EXPORTS) \
4819 $(POSTSTAGE1_HOST_EXPORTS) \
4820 cd $(HOST_SUBDIR)/opcodes && \
4821 $$s/gcc/config/i386/$(AUTO_PROFILE) \
4822 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4823 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
4824 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
4825 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
4826 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4827 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4828 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4829 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4830 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
4831 $(TARGET-stageautoprofile-opcodes)
4832
4833maybe-clean-stageautoprofile-opcodes: clean-stageautoprofile-opcodes
4834clean-stageautoprofile: clean-stageautoprofile-opcodes
4835clean-stageautoprofile-opcodes:
4836 @if [ $(current_stage) = stageautoprofile ]; then \
4837 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4838 else \
4839 [ -f $(HOST_SUBDIR)/stageautoprofile-opcodes/Makefile ] || exit 0; \
4840 $(MAKE) stageautoprofile-start; \
4841 fi; \
4842 cd $(HOST_SUBDIR)/opcodes && \
4843 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4844@endif opcodes-bootstrap
4845
4846
4847.PHONY: all-stageautofeedback-opcodes maybe-all-stageautofeedback-opcodes
4848.PHONY: clean-stageautofeedback-opcodes maybe-clean-stageautofeedback-opcodes
4849maybe-all-stageautofeedback-opcodes:
4850maybe-clean-stageautofeedback-opcodes:
4851@if opcodes-bootstrap
4852maybe-all-stageautofeedback-opcodes: all-stageautofeedback-opcodes
4853all-stageautofeedback: all-stageautofeedback-opcodes
4854TARGET-stageautofeedback-opcodes = $(TARGET-opcodes)
4855all-stageautofeedback-opcodes: configure-stageautofeedback-opcodes
4856 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
4857 @r=`${PWD_COMMAND}`; export r; \
4858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4859 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
4860 $(HOST_EXPORTS) \
4861 $(POSTSTAGE1_HOST_EXPORTS) \
4862 cd $(HOST_SUBDIR)/opcodes && \
4863 \
4864 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4865 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
4866 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
4867 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
4868 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4869 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4870 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4871 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4872 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
4873 $(TARGET-stageautofeedback-opcodes)
4874
4875maybe-clean-stageautofeedback-opcodes: clean-stageautofeedback-opcodes
4876clean-stageautofeedback: clean-stageautofeedback-opcodes
4877clean-stageautofeedback-opcodes:
4878 @if [ $(current_stage) = stageautofeedback ]; then \
4879 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4880 else \
4881 [ -f $(HOST_SUBDIR)/stageautofeedback-opcodes/Makefile ] || exit 0; \
4882 $(MAKE) stageautofeedback-start; \
4883 fi; \
4884 cd $(HOST_SUBDIR)/opcodes && \
4885 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4886@endif opcodes-bootstrap
4887
4888
4540 4889
4541 4890
4542 4891
@@ -5141,6 +5490,72 @@ configure-stagefeedback-binutils:
5141 $(STAGEfeedback_CONFIGURE_FLAGS) 5490 $(STAGEfeedback_CONFIGURE_FLAGS)
5142@endif binutils-bootstrap 5491@endif binutils-bootstrap
5143 5492
5493.PHONY: configure-stageautoprofile-binutils maybe-configure-stageautoprofile-binutils
5494maybe-configure-stageautoprofile-binutils:
5495@if binutils-bootstrap
5496maybe-configure-stageautoprofile-binutils: configure-stageautoprofile-binutils
5497configure-stageautoprofile-binutils:
5498 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
5499 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5500 @r=`${PWD_COMMAND}`; export r; \
5501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5502 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
5503 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5504 $(HOST_EXPORTS) \
5505 $(POSTSTAGE1_HOST_EXPORTS) \
5506 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
5507 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
5508 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
5509 echo Configuring stage autoprofile in $(HOST_SUBDIR)/binutils; \
5510 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5511 cd $(HOST_SUBDIR)/binutils || exit 1; \
5512 case $(srcdir) in \
5513 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5514 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5515 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5516 esac; \
5517 module_srcdir=binutils; \
5518 $(SHELL) $$s/$$module_srcdir/configure \
5519 --srcdir=$${topdir}/$$module_srcdir \
5520 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5521 --target=${target_alias} \
5522 --with-build-libsubdir=$(HOST_SUBDIR) \
5523 $(STAGEautoprofile_CONFIGURE_FLAGS)
5524@endif binutils-bootstrap
5525
5526.PHONY: configure-stageautofeedback-binutils maybe-configure-stageautofeedback-binutils
5527maybe-configure-stageautofeedback-binutils:
5528@if binutils-bootstrap
5529maybe-configure-stageautofeedback-binutils: configure-stageautofeedback-binutils
5530configure-stageautofeedback-binutils:
5531 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
5532 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5533 @r=`${PWD_COMMAND}`; export r; \
5534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5535 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
5536 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5537 $(HOST_EXPORTS) \
5538 $(POSTSTAGE1_HOST_EXPORTS) \
5539 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
5540 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
5541 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
5542 echo Configuring stage autofeedback in $(HOST_SUBDIR)/binutils; \
5543 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5544 cd $(HOST_SUBDIR)/binutils || exit 1; \
5545 case $(srcdir) in \
5546 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5547 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5548 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5549 esac; \
5550 module_srcdir=binutils; \
5551 $(SHELL) $$s/$$module_srcdir/configure \
5552 --srcdir=$${topdir}/$$module_srcdir \
5553 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5554 --target=${target_alias} \
5555 --with-build-libsubdir=$(HOST_SUBDIR) \
5556 $(STAGEautofeedback_CONFIGURE_FLAGS)
5557@endif binutils-bootstrap
5558
5144 5559
5145 5560
5146 5561
@@ -5179,6 +5594,7 @@ all-stage1-binutils: configure-stage1-binutils
5179 TFLAGS="$(STAGE1_TFLAGS)"; \ 5594 TFLAGS="$(STAGE1_TFLAGS)"; \
5180 $(HOST_EXPORTS) \ 5595 $(HOST_EXPORTS) \
5181 cd $(HOST_SUBDIR)/binutils && \ 5596 cd $(HOST_SUBDIR)/binutils && \
5597 \
5182 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 5598 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5183 CFLAGS="$(STAGE1_CFLAGS)" \ 5599 CFLAGS="$(STAGE1_CFLAGS)" \
5184 CXXFLAGS="$(STAGE1_CXXFLAGS)" \ 5600 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
@@ -5188,7 +5604,7 @@ all-stage1-binutils: configure-stage1-binutils
5188 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 5604 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5189 $(EXTRA_HOST_FLAGS) \ 5605 $(EXTRA_HOST_FLAGS) \
5190 $(STAGE1_FLAGS_TO_PASS) \ 5606 $(STAGE1_FLAGS_TO_PASS) \
5191 TFLAGS="$(STAGE1_TFLAGS)" \ 5607 TFLAGS="$(STAGE1_TFLAGS)" \
5192 $(TARGET-stage1-binutils) 5608 $(TARGET-stage1-binutils)
5193 5609
5194maybe-clean-stage1-binutils: clean-stage1-binutils 5610maybe-clean-stage1-binutils: clean-stage1-binutils
@@ -5222,6 +5638,7 @@ all-stage2-binutils: configure-stage2-binutils
5222 $(HOST_EXPORTS) \ 5638 $(HOST_EXPORTS) \
5223 $(POSTSTAGE1_HOST_EXPORTS) \ 5639 $(POSTSTAGE1_HOST_EXPORTS) \
5224 cd $(HOST_SUBDIR)/binutils && \ 5640 cd $(HOST_SUBDIR)/binutils && \
5641 \
5225 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 5642 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5226 CFLAGS="$(STAGE2_CFLAGS)" \ 5643 CFLAGS="$(STAGE2_CFLAGS)" \
5227 CXXFLAGS="$(STAGE2_CXXFLAGS)" \ 5644 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
@@ -5230,7 +5647,7 @@ all-stage2-binutils: configure-stage2-binutils
5230 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 5647 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5231 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 5648 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5232 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 5649 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5233 TFLAGS="$(STAGE2_TFLAGS)" \ 5650 TFLAGS="$(STAGE2_TFLAGS)" \
5234 $(TARGET-stage2-binutils) 5651 $(TARGET-stage2-binutils)
5235 5652
5236maybe-clean-stage2-binutils: clean-stage2-binutils 5653maybe-clean-stage2-binutils: clean-stage2-binutils
@@ -5263,6 +5680,7 @@ all-stage3-binutils: configure-stage3-binutils
5263 $(HOST_EXPORTS) \ 5680 $(HOST_EXPORTS) \
5264 $(POSTSTAGE1_HOST_EXPORTS) \ 5681 $(POSTSTAGE1_HOST_EXPORTS) \
5265 cd $(HOST_SUBDIR)/binutils && \ 5682 cd $(HOST_SUBDIR)/binutils && \
5683 \
5266 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 5684 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5267 CFLAGS="$(STAGE3_CFLAGS)" \ 5685 CFLAGS="$(STAGE3_CFLAGS)" \
5268 CXXFLAGS="$(STAGE3_CXXFLAGS)" \ 5686 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
@@ -5271,7 +5689,7 @@ all-stage3-binutils: configure-stage3-binutils
5271 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 5689 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5272 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 5690 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5273 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 5691 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5274 TFLAGS="$(STAGE3_TFLAGS)" \ 5692 TFLAGS="$(STAGE3_TFLAGS)" \
5275 $(TARGET-stage3-binutils) 5693 $(TARGET-stage3-binutils)
5276 5694
5277maybe-clean-stage3-binutils: clean-stage3-binutils 5695maybe-clean-stage3-binutils: clean-stage3-binutils
@@ -5304,6 +5722,7 @@ all-stage4-binutils: configure-stage4-binutils
5304 $(HOST_EXPORTS) \ 5722 $(HOST_EXPORTS) \
5305 $(POSTSTAGE1_HOST_EXPORTS) \ 5723 $(POSTSTAGE1_HOST_EXPORTS) \
5306 cd $(HOST_SUBDIR)/binutils && \ 5724 cd $(HOST_SUBDIR)/binutils && \
5725 \
5307 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 5726 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5308 CFLAGS="$(STAGE4_CFLAGS)" \ 5727 CFLAGS="$(STAGE4_CFLAGS)" \
5309 CXXFLAGS="$(STAGE4_CXXFLAGS)" \ 5728 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
@@ -5312,7 +5731,7 @@ all-stage4-binutils: configure-stage4-binutils
5312 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 5731 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5313 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 5732 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5314 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 5733 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5315 TFLAGS="$(STAGE4_TFLAGS)" \ 5734 TFLAGS="$(STAGE4_TFLAGS)" \
5316 $(TARGET-stage4-binutils) 5735 $(TARGET-stage4-binutils)
5317 5736
5318maybe-clean-stage4-binutils: clean-stage4-binutils 5737maybe-clean-stage4-binutils: clean-stage4-binutils
@@ -5345,6 +5764,7 @@ all-stageprofile-binutils: configure-stageprofile-binutils
5345 $(HOST_EXPORTS) \ 5764 $(HOST_EXPORTS) \
5346 $(POSTSTAGE1_HOST_EXPORTS) \ 5765 $(POSTSTAGE1_HOST_EXPORTS) \
5347 cd $(HOST_SUBDIR)/binutils && \ 5766 cd $(HOST_SUBDIR)/binutils && \
5767 \
5348 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 5768 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5349 CFLAGS="$(STAGEprofile_CFLAGS)" \ 5769 CFLAGS="$(STAGEprofile_CFLAGS)" \
5350 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \ 5770 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
@@ -5353,7 +5773,7 @@ all-stageprofile-binutils: configure-stageprofile-binutils
5353 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 5773 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5354 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 5774 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5355 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 5775 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5356 TFLAGS="$(STAGEprofile_TFLAGS)" \ 5776 TFLAGS="$(STAGEprofile_TFLAGS)" \
5357 $(TARGET-stageprofile-binutils) 5777 $(TARGET-stageprofile-binutils)
5358 5778
5359maybe-clean-stageprofile-binutils: clean-stageprofile-binutils 5779maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
@@ -5386,6 +5806,7 @@ all-stagefeedback-binutils: configure-stagefeedback-binutils
5386 $(HOST_EXPORTS) \ 5806 $(HOST_EXPORTS) \
5387 $(POSTSTAGE1_HOST_EXPORTS) \ 5807 $(POSTSTAGE1_HOST_EXPORTS) \
5388 cd $(HOST_SUBDIR)/binutils && \ 5808 cd $(HOST_SUBDIR)/binutils && \
5809 \
5389 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 5810 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5390 CFLAGS="$(STAGEfeedback_CFLAGS)" \ 5811 CFLAGS="$(STAGEfeedback_CFLAGS)" \
5391 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \ 5812 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
@@ -5394,7 +5815,7 @@ all-stagefeedback-binutils: configure-stagefeedback-binutils
5394 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 5815 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5395 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 5816 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5396 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 5817 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5397 TFLAGS="$(STAGEfeedback_TFLAGS)" \ 5818 TFLAGS="$(STAGEfeedback_TFLAGS)" \
5398 $(TARGET-stagefeedback-binutils) 5819 $(TARGET-stagefeedback-binutils)
5399 5820
5400maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils 5821maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
@@ -5411,6 +5832,90 @@ clean-stagefeedback-binutils:
5411@endif binutils-bootstrap 5832@endif binutils-bootstrap
5412 5833
5413 5834
5835.PHONY: all-stageautoprofile-binutils maybe-all-stageautoprofile-binutils
5836.PHONY: clean-stageautoprofile-binutils maybe-clean-stageautoprofile-binutils
5837maybe-all-stageautoprofile-binutils:
5838maybe-clean-stageautoprofile-binutils:
5839@if binutils-bootstrap
5840maybe-all-stageautoprofile-binutils: all-stageautoprofile-binutils
5841all-stageautoprofile: all-stageautoprofile-binutils
5842TARGET-stageautoprofile-binutils = $(TARGET-binutils)
5843all-stageautoprofile-binutils: configure-stageautoprofile-binutils
5844 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
5845 @r=`${PWD_COMMAND}`; export r; \
5846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5847 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
5848 $(HOST_EXPORTS) \
5849 $(POSTSTAGE1_HOST_EXPORTS) \
5850 cd $(HOST_SUBDIR)/binutils && \
5851 $$s/gcc/config/i386/$(AUTO_PROFILE) \
5852 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5853 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
5854 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
5855 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
5856 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5857 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5858 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5859 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5860 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
5861 $(TARGET-stageautoprofile-binutils)
5862
5863maybe-clean-stageautoprofile-binutils: clean-stageautoprofile-binutils
5864clean-stageautoprofile: clean-stageautoprofile-binutils
5865clean-stageautoprofile-binutils:
5866 @if [ $(current_stage) = stageautoprofile ]; then \
5867 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5868 else \
5869 [ -f $(HOST_SUBDIR)/stageautoprofile-binutils/Makefile ] || exit 0; \
5870 $(MAKE) stageautoprofile-start; \
5871 fi; \
5872 cd $(HOST_SUBDIR)/binutils && \
5873 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5874@endif binutils-bootstrap
5875
5876
5877.PHONY: all-stageautofeedback-binutils maybe-all-stageautofeedback-binutils
5878.PHONY: clean-stageautofeedback-binutils maybe-clean-stageautofeedback-binutils
5879maybe-all-stageautofeedback-binutils:
5880maybe-clean-stageautofeedback-binutils:
5881@if binutils-bootstrap
5882maybe-all-stageautofeedback-binutils: all-stageautofeedback-binutils
5883all-stageautofeedback: all-stageautofeedback-binutils
5884TARGET-stageautofeedback-binutils = $(TARGET-binutils)
5885all-stageautofeedback-binutils: configure-stageautofeedback-binutils
5886 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
5887 @r=`${PWD_COMMAND}`; export r; \
5888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5889 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
5890 $(HOST_EXPORTS) \
5891 $(POSTSTAGE1_HOST_EXPORTS) \
5892 cd $(HOST_SUBDIR)/binutils && \
5893 \
5894 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5895 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
5896 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
5897 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
5898 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5899 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5900 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5901 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5902 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
5903 $(TARGET-stageautofeedback-binutils)
5904
5905maybe-clean-stageautofeedback-binutils: clean-stageautofeedback-binutils
5906clean-stageautofeedback: clean-stageautofeedback-binutils
5907clean-stageautofeedback-binutils:
5908 @if [ $(current_stage) = stageautofeedback ]; then \
5909 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5910 else \
5911 [ -f $(HOST_SUBDIR)/stageautofeedback-binutils/Makefile ] || exit 0; \
5912 $(MAKE) stageautofeedback-start; \
5913 fi; \
5914 cd $(HOST_SUBDIR)/binutils && \
5915 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5916@endif binutils-bootstrap
5917
5918
5414 5919
5415 5920
5416 5921
@@ -8226,6 +8731,72 @@ configure-stagefeedback-fixincludes:
8226 $(STAGEfeedback_CONFIGURE_FLAGS) 8731 $(STAGEfeedback_CONFIGURE_FLAGS)
8227@endif fixincludes-bootstrap 8732@endif fixincludes-bootstrap
8228 8733
8734.PHONY: configure-stageautoprofile-fixincludes maybe-configure-stageautoprofile-fixincludes
8735maybe-configure-stageautoprofile-fixincludes:
8736@if fixincludes-bootstrap
8737maybe-configure-stageautoprofile-fixincludes: configure-stageautoprofile-fixincludes
8738configure-stageautoprofile-fixincludes:
8739 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
8740 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8741 @r=`${PWD_COMMAND}`; export r; \
8742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8743 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
8744 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8745 $(HOST_EXPORTS) \
8746 $(POSTSTAGE1_HOST_EXPORTS) \
8747 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
8748 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
8749 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
8750 echo Configuring stage autoprofile in $(HOST_SUBDIR)/fixincludes; \
8751 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8752 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8753 case $(srcdir) in \
8754 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8755 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8756 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8757 esac; \
8758 module_srcdir=fixincludes; \
8759 $(SHELL) $$s/$$module_srcdir/configure \
8760 --srcdir=$${topdir}/$$module_srcdir \
8761 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8762 --target=${target_alias} \
8763 --with-build-libsubdir=$(HOST_SUBDIR) \
8764 $(STAGEautoprofile_CONFIGURE_FLAGS)
8765@endif fixincludes-bootstrap
8766
8767.PHONY: configure-stageautofeedback-fixincludes maybe-configure-stageautofeedback-fixincludes
8768maybe-configure-stageautofeedback-fixincludes:
8769@if fixincludes-bootstrap
8770maybe-configure-stageautofeedback-fixincludes: configure-stageautofeedback-fixincludes
8771configure-stageautofeedback-fixincludes:
8772 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
8773 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8774 @r=`${PWD_COMMAND}`; export r; \
8775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8776 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
8777 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8778 $(HOST_EXPORTS) \
8779 $(POSTSTAGE1_HOST_EXPORTS) \
8780 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
8781 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
8782 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
8783 echo Configuring stage autofeedback in $(HOST_SUBDIR)/fixincludes; \
8784 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8785 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8786 case $(srcdir) in \
8787 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8788 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8789 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8790 esac; \
8791 module_srcdir=fixincludes; \
8792 $(SHELL) $$s/$$module_srcdir/configure \
8793 --srcdir=$${topdir}/$$module_srcdir \
8794 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8795 --target=${target_alias} \
8796 --with-build-libsubdir=$(HOST_SUBDIR) \
8797 $(STAGEautofeedback_CONFIGURE_FLAGS)
8798@endif fixincludes-bootstrap
8799
8229 8800
8230 8801
8231 8802
@@ -8264,6 +8835,7 @@ all-stage1-fixincludes: configure-stage1-fixincludes
8264 TFLAGS="$(STAGE1_TFLAGS)"; \ 8835 TFLAGS="$(STAGE1_TFLAGS)"; \
8265 $(HOST_EXPORTS) \ 8836 $(HOST_EXPORTS) \
8266 cd $(HOST_SUBDIR)/fixincludes && \ 8837 cd $(HOST_SUBDIR)/fixincludes && \
8838 \
8267 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 8839 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8268 CFLAGS="$(STAGE1_CFLAGS)" \ 8840 CFLAGS="$(STAGE1_CFLAGS)" \
8269 CXXFLAGS="$(STAGE1_CXXFLAGS)" \ 8841 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
@@ -8273,7 +8845,7 @@ all-stage1-fixincludes: configure-stage1-fixincludes
8273 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 8845 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8274 $(EXTRA_HOST_FLAGS) \ 8846 $(EXTRA_HOST_FLAGS) \
8275 $(STAGE1_FLAGS_TO_PASS) \ 8847 $(STAGE1_FLAGS_TO_PASS) \
8276 TFLAGS="$(STAGE1_TFLAGS)" \ 8848 TFLAGS="$(STAGE1_TFLAGS)" \
8277 $(TARGET-stage1-fixincludes) 8849 $(TARGET-stage1-fixincludes)
8278 8850
8279maybe-clean-stage1-fixincludes: clean-stage1-fixincludes 8851maybe-clean-stage1-fixincludes: clean-stage1-fixincludes
@@ -8307,6 +8879,7 @@ all-stage2-fixincludes: configure-stage2-fixincludes
8307 $(HOST_EXPORTS) \ 8879 $(HOST_EXPORTS) \
8308 $(POSTSTAGE1_HOST_EXPORTS) \ 8880 $(POSTSTAGE1_HOST_EXPORTS) \
8309 cd $(HOST_SUBDIR)/fixincludes && \ 8881 cd $(HOST_SUBDIR)/fixincludes && \
8882 \
8310 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 8883 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8311 CFLAGS="$(STAGE2_CFLAGS)" \ 8884 CFLAGS="$(STAGE2_CFLAGS)" \
8312 CXXFLAGS="$(STAGE2_CXXFLAGS)" \ 8885 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
@@ -8315,7 +8888,7 @@ all-stage2-fixincludes: configure-stage2-fixincludes
8315 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 8888 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8316 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 8889 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8317 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 8890 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8318 TFLAGS="$(STAGE2_TFLAGS)" \ 8891 TFLAGS="$(STAGE2_TFLAGS)" \
8319 $(TARGET-stage2-fixincludes) 8892 $(TARGET-stage2-fixincludes)
8320 8893
8321maybe-clean-stage2-fixincludes: clean-stage2-fixincludes 8894maybe-clean-stage2-fixincludes: clean-stage2-fixincludes
@@ -8348,6 +8921,7 @@ all-stage3-fixincludes: configure-stage3-fixincludes
8348 $(HOST_EXPORTS) \ 8921 $(HOST_EXPORTS) \
8349 $(POSTSTAGE1_HOST_EXPORTS) \ 8922 $(POSTSTAGE1_HOST_EXPORTS) \
8350 cd $(HOST_SUBDIR)/fixincludes && \ 8923 cd $(HOST_SUBDIR)/fixincludes && \
8924 \
8351 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 8925 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8352 CFLAGS="$(STAGE3_CFLAGS)" \ 8926 CFLAGS="$(STAGE3_CFLAGS)" \
8353 CXXFLAGS="$(STAGE3_CXXFLAGS)" \ 8927 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
@@ -8356,7 +8930,7 @@ all-stage3-fixincludes: configure-stage3-fixincludes
8356 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 8930 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8357 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 8931 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8358 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 8932 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8359 TFLAGS="$(STAGE3_TFLAGS)" \ 8933 TFLAGS="$(STAGE3_TFLAGS)" \
8360 $(TARGET-stage3-fixincludes) 8934 $(TARGET-stage3-fixincludes)
8361 8935
8362maybe-clean-stage3-fixincludes: clean-stage3-fixincludes 8936maybe-clean-stage3-fixincludes: clean-stage3-fixincludes
@@ -8389,6 +8963,7 @@ all-stage4-fixincludes: configure-stage4-fixincludes
8389 $(HOST_EXPORTS) \ 8963 $(HOST_EXPORTS) \
8390 $(POSTSTAGE1_HOST_EXPORTS) \ 8964 $(POSTSTAGE1_HOST_EXPORTS) \
8391 cd $(HOST_SUBDIR)/fixincludes && \ 8965 cd $(HOST_SUBDIR)/fixincludes && \
8966 \
8392 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 8967 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8393 CFLAGS="$(STAGE4_CFLAGS)" \ 8968 CFLAGS="$(STAGE4_CFLAGS)" \
8394 CXXFLAGS="$(STAGE4_CXXFLAGS)" \ 8969 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
@@ -8397,7 +8972,7 @@ all-stage4-fixincludes: configure-stage4-fixincludes
8397 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 8972 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8398 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 8973 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8399 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 8974 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8400 TFLAGS="$(STAGE4_TFLAGS)" \ 8975 TFLAGS="$(STAGE4_TFLAGS)" \
8401 $(TARGET-stage4-fixincludes) 8976 $(TARGET-stage4-fixincludes)
8402 8977
8403maybe-clean-stage4-fixincludes: clean-stage4-fixincludes 8978maybe-clean-stage4-fixincludes: clean-stage4-fixincludes
@@ -8430,6 +9005,7 @@ all-stageprofile-fixincludes: configure-stageprofile-fixincludes
8430 $(HOST_EXPORTS) \ 9005 $(HOST_EXPORTS) \
8431 $(POSTSTAGE1_HOST_EXPORTS) \ 9006 $(POSTSTAGE1_HOST_EXPORTS) \
8432 cd $(HOST_SUBDIR)/fixincludes && \ 9007 cd $(HOST_SUBDIR)/fixincludes && \
9008 \
8433 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 9009 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8434 CFLAGS="$(STAGEprofile_CFLAGS)" \ 9010 CFLAGS="$(STAGEprofile_CFLAGS)" \
8435 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \ 9011 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
@@ -8438,7 +9014,7 @@ all-stageprofile-fixincludes: configure-stageprofile-fixincludes
8438 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 9014 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8439 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 9015 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8440 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 9016 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8441 TFLAGS="$(STAGEprofile_TFLAGS)" \ 9017 TFLAGS="$(STAGEprofile_TFLAGS)" \
8442 $(TARGET-stageprofile-fixincludes) 9018 $(TARGET-stageprofile-fixincludes)
8443 9019
8444maybe-clean-stageprofile-fixincludes: clean-stageprofile-fixincludes 9020maybe-clean-stageprofile-fixincludes: clean-stageprofile-fixincludes
@@ -8471,6 +9047,7 @@ all-stagefeedback-fixincludes: configure-stagefeedback-fixincludes
8471 $(HOST_EXPORTS) \ 9047 $(HOST_EXPORTS) \
8472 $(POSTSTAGE1_HOST_EXPORTS) \ 9048 $(POSTSTAGE1_HOST_EXPORTS) \
8473 cd $(HOST_SUBDIR)/fixincludes && \ 9049 cd $(HOST_SUBDIR)/fixincludes && \
9050 \
8474 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 9051 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8475 CFLAGS="$(STAGEfeedback_CFLAGS)" \ 9052 CFLAGS="$(STAGEfeedback_CFLAGS)" \
8476 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \ 9053 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
@@ -8479,7 +9056,7 @@ all-stagefeedback-fixincludes: configure-stagefeedback-fixincludes
8479 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 9056 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8480 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 9057 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8481 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 9058 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8482 TFLAGS="$(STAGEfeedback_TFLAGS)" \ 9059 TFLAGS="$(STAGEfeedback_TFLAGS)" \
8483 $(TARGET-stagefeedback-fixincludes) 9060 $(TARGET-stagefeedback-fixincludes)
8484 9061
8485maybe-clean-stagefeedback-fixincludes: clean-stagefeedback-fixincludes 9062maybe-clean-stagefeedback-fixincludes: clean-stagefeedback-fixincludes
@@ -8496,6 +9073,90 @@ clean-stagefeedback-fixincludes:
8496@endif fixincludes-bootstrap 9073@endif fixincludes-bootstrap
8497 9074
8498 9075
9076.PHONY: all-stageautoprofile-fixincludes maybe-all-stageautoprofile-fixincludes
9077.PHONY: clean-stageautoprofile-fixincludes maybe-clean-stageautoprofile-fixincludes
9078maybe-all-stageautoprofile-fixincludes:
9079maybe-clean-stageautoprofile-fixincludes:
9080@if fixincludes-bootstrap
9081maybe-all-stageautoprofile-fixincludes: all-stageautoprofile-fixincludes
9082all-stageautoprofile: all-stageautoprofile-fixincludes
9083TARGET-stageautoprofile-fixincludes = $(TARGET-fixincludes)
9084all-stageautoprofile-fixincludes: configure-stageautoprofile-fixincludes
9085 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
9086 @r=`${PWD_COMMAND}`; export r; \
9087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9088 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
9089 $(HOST_EXPORTS) \
9090 $(POSTSTAGE1_HOST_EXPORTS) \
9091 cd $(HOST_SUBDIR)/fixincludes && \
9092 $$s/gcc/config/i386/$(AUTO_PROFILE) \
9093 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9094 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
9095 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
9096 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
9097 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9098 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9099 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9100 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9101 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
9102 $(TARGET-stageautoprofile-fixincludes)
9103
9104maybe-clean-stageautoprofile-fixincludes: clean-stageautoprofile-fixincludes
9105clean-stageautoprofile: clean-stageautoprofile-fixincludes
9106clean-stageautoprofile-fixincludes:
9107 @if [ $(current_stage) = stageautoprofile ]; then \
9108 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9109 else \
9110 [ -f $(HOST_SUBDIR)/stageautoprofile-fixincludes/Makefile ] || exit 0; \
9111 $(MAKE) stageautoprofile-start; \
9112 fi; \
9113 cd $(HOST_SUBDIR)/fixincludes && \
9114 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9115@endif fixincludes-bootstrap
9116
9117
9118.PHONY: all-stageautofeedback-fixincludes maybe-all-stageautofeedback-fixincludes
9119.PHONY: clean-stageautofeedback-fixincludes maybe-clean-stageautofeedback-fixincludes
9120maybe-all-stageautofeedback-fixincludes:
9121maybe-clean-stageautofeedback-fixincludes:
9122@if fixincludes-bootstrap
9123maybe-all-stageautofeedback-fixincludes: all-stageautofeedback-fixincludes
9124all-stageautofeedback: all-stageautofeedback-fixincludes
9125TARGET-stageautofeedback-fixincludes = $(TARGET-fixincludes)
9126all-stageautofeedback-fixincludes: configure-stageautofeedback-fixincludes
9127 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
9128 @r=`${PWD_COMMAND}`; export r; \
9129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9130 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
9131 $(HOST_EXPORTS) \
9132 $(POSTSTAGE1_HOST_EXPORTS) \
9133 cd $(HOST_SUBDIR)/fixincludes && \
9134 \
9135 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9136 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
9137 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
9138 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
9139 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9140 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9141 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9142 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9143 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
9144 $(TARGET-stageautofeedback-fixincludes)
9145
9146maybe-clean-stageautofeedback-fixincludes: clean-stageautofeedback-fixincludes
9147clean-stageautofeedback: clean-stageautofeedback-fixincludes
9148clean-stageautofeedback-fixincludes:
9149 @if [ $(current_stage) = stageautofeedback ]; then \
9150 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9151 else \
9152 [ -f $(HOST_SUBDIR)/stageautofeedback-fixincludes/Makefile ] || exit 0; \
9153 $(MAKE) stageautofeedback-start; \
9154 fi; \
9155 cd $(HOST_SUBDIR)/fixincludes && \
9156 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9157@endif fixincludes-bootstrap
9158
9159
8499 9160
8500 9161
8501 9162
@@ -9529,6 +10190,72 @@ configure-stagefeedback-gas:
9529 $(STAGEfeedback_CONFIGURE_FLAGS) 10190 $(STAGEfeedback_CONFIGURE_FLAGS)
9530@endif gas-bootstrap 10191@endif gas-bootstrap
9531 10192
10193.PHONY: configure-stageautoprofile-gas maybe-configure-stageautoprofile-gas
10194maybe-configure-stageautoprofile-gas:
10195@if gas-bootstrap
10196maybe-configure-stageautoprofile-gas: configure-stageautoprofile-gas
10197configure-stageautoprofile-gas:
10198 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
10199 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10200 @r=`${PWD_COMMAND}`; export r; \
10201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10202 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
10203 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10204 $(HOST_EXPORTS) \
10205 $(POSTSTAGE1_HOST_EXPORTS) \
10206 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
10207 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
10208 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
10209 echo Configuring stage autoprofile in $(HOST_SUBDIR)/gas; \
10210 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10211 cd $(HOST_SUBDIR)/gas || exit 1; \
10212 case $(srcdir) in \
10213 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10214 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10215 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10216 esac; \
10217 module_srcdir=gas; \
10218 $(SHELL) $$s/$$module_srcdir/configure \
10219 --srcdir=$${topdir}/$$module_srcdir \
10220 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10221 --target=${target_alias} \
10222 --with-build-libsubdir=$(HOST_SUBDIR) \
10223 $(STAGEautoprofile_CONFIGURE_FLAGS)
10224@endif gas-bootstrap
10225
10226.PHONY: configure-stageautofeedback-gas maybe-configure-stageautofeedback-gas
10227maybe-configure-stageautofeedback-gas:
10228@if gas-bootstrap
10229maybe-configure-stageautofeedback-gas: configure-stageautofeedback-gas
10230configure-stageautofeedback-gas:
10231 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
10232 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10233 @r=`${PWD_COMMAND}`; export r; \
10234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10235 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
10236 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10237 $(HOST_EXPORTS) \
10238 $(POSTSTAGE1_HOST_EXPORTS) \
10239 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
10240 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
10241 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
10242 echo Configuring stage autofeedback in $(HOST_SUBDIR)/gas; \
10243 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10244 cd $(HOST_SUBDIR)/gas || exit 1; \
10245 case $(srcdir) in \
10246 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10247 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10248 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10249 esac; \
10250 module_srcdir=gas; \
10251 $(SHELL) $$s/$$module_srcdir/configure \
10252 --srcdir=$${topdir}/$$module_srcdir \
10253 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10254 --target=${target_alias} \
10255 --with-build-libsubdir=$(HOST_SUBDIR) \
10256 $(STAGEautofeedback_CONFIGURE_FLAGS)
10257@endif gas-bootstrap
10258
9532 10259
9533 10260
9534 10261
@@ -9567,6 +10294,7 @@ all-stage1-gas: configure-stage1-gas
9567 TFLAGS="$(STAGE1_TFLAGS)"; \ 10294 TFLAGS="$(STAGE1_TFLAGS)"; \
9568 $(HOST_EXPORTS) \ 10295 $(HOST_EXPORTS) \
9569 cd $(HOST_SUBDIR)/gas && \ 10296 cd $(HOST_SUBDIR)/gas && \
10297 \
9570 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 10298 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9571 CFLAGS="$(STAGE1_CFLAGS)" \ 10299 CFLAGS="$(STAGE1_CFLAGS)" \
9572 CXXFLAGS="$(STAGE1_CXXFLAGS)" \ 10300 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
@@ -9576,7 +10304,7 @@ all-stage1-gas: configure-stage1-gas
9576 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 10304 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9577 $(EXTRA_HOST_FLAGS) \ 10305 $(EXTRA_HOST_FLAGS) \
9578 $(STAGE1_FLAGS_TO_PASS) \ 10306 $(STAGE1_FLAGS_TO_PASS) \
9579 TFLAGS="$(STAGE1_TFLAGS)" \ 10307 TFLAGS="$(STAGE1_TFLAGS)" \
9580 $(TARGET-stage1-gas) 10308 $(TARGET-stage1-gas)
9581 10309
9582maybe-clean-stage1-gas: clean-stage1-gas 10310maybe-clean-stage1-gas: clean-stage1-gas
@@ -9610,6 +10338,7 @@ all-stage2-gas: configure-stage2-gas
9610 $(HOST_EXPORTS) \ 10338 $(HOST_EXPORTS) \
9611 $(POSTSTAGE1_HOST_EXPORTS) \ 10339 $(POSTSTAGE1_HOST_EXPORTS) \
9612 cd $(HOST_SUBDIR)/gas && \ 10340 cd $(HOST_SUBDIR)/gas && \
10341 \
9613 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 10342 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9614 CFLAGS="$(STAGE2_CFLAGS)" \ 10343 CFLAGS="$(STAGE2_CFLAGS)" \
9615 CXXFLAGS="$(STAGE2_CXXFLAGS)" \ 10344 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
@@ -9618,7 +10347,7 @@ all-stage2-gas: configure-stage2-gas
9618 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 10347 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9619 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 10348 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9620 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 10349 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9621 TFLAGS="$(STAGE2_TFLAGS)" \ 10350 TFLAGS="$(STAGE2_TFLAGS)" \
9622 $(TARGET-stage2-gas) 10351 $(TARGET-stage2-gas)
9623 10352
9624maybe-clean-stage2-gas: clean-stage2-gas 10353maybe-clean-stage2-gas: clean-stage2-gas
@@ -9651,6 +10380,7 @@ all-stage3-gas: configure-stage3-gas
9651 $(HOST_EXPORTS) \ 10380 $(HOST_EXPORTS) \
9652 $(POSTSTAGE1_HOST_EXPORTS) \ 10381 $(POSTSTAGE1_HOST_EXPORTS) \
9653 cd $(HOST_SUBDIR)/gas && \ 10382 cd $(HOST_SUBDIR)/gas && \
10383 \
9654 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 10384 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9655 CFLAGS="$(STAGE3_CFLAGS)" \ 10385 CFLAGS="$(STAGE3_CFLAGS)" \
9656 CXXFLAGS="$(STAGE3_CXXFLAGS)" \ 10386 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
@@ -9659,7 +10389,7 @@ all-stage3-gas: configure-stage3-gas
9659 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 10389 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9660 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 10390 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9661 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 10391 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9662 TFLAGS="$(STAGE3_TFLAGS)" \ 10392 TFLAGS="$(STAGE3_TFLAGS)" \
9663 $(TARGET-stage3-gas) 10393 $(TARGET-stage3-gas)
9664 10394
9665maybe-clean-stage3-gas: clean-stage3-gas 10395maybe-clean-stage3-gas: clean-stage3-gas
@@ -9692,6 +10422,7 @@ all-stage4-gas: configure-stage4-gas
9692 $(HOST_EXPORTS) \ 10422 $(HOST_EXPORTS) \
9693 $(POSTSTAGE1_HOST_EXPORTS) \ 10423 $(POSTSTAGE1_HOST_EXPORTS) \
9694 cd $(HOST_SUBDIR)/gas && \ 10424 cd $(HOST_SUBDIR)/gas && \
10425 \
9695 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 10426 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9696 CFLAGS="$(STAGE4_CFLAGS)" \ 10427 CFLAGS="$(STAGE4_CFLAGS)" \
9697 CXXFLAGS="$(STAGE4_CXXFLAGS)" \ 10428 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
@@ -9700,7 +10431,7 @@ all-stage4-gas: configure-stage4-gas
9700 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 10431 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9701 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 10432 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9702 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 10433 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9703 TFLAGS="$(STAGE4_TFLAGS)" \ 10434 TFLAGS="$(STAGE4_TFLAGS)" \
9704 $(TARGET-stage4-gas) 10435 $(TARGET-stage4-gas)
9705 10436
9706maybe-clean-stage4-gas: clean-stage4-gas 10437maybe-clean-stage4-gas: clean-stage4-gas
@@ -9733,6 +10464,7 @@ all-stageprofile-gas: configure-stageprofile-gas
9733 $(HOST_EXPORTS) \ 10464 $(HOST_EXPORTS) \
9734 $(POSTSTAGE1_HOST_EXPORTS) \ 10465 $(POSTSTAGE1_HOST_EXPORTS) \
9735 cd $(HOST_SUBDIR)/gas && \ 10466 cd $(HOST_SUBDIR)/gas && \
10467 \
9736 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 10468 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9737 CFLAGS="$(STAGEprofile_CFLAGS)" \ 10469 CFLAGS="$(STAGEprofile_CFLAGS)" \
9738 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \ 10470 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
@@ -9741,7 +10473,7 @@ all-stageprofile-gas: configure-stageprofile-gas
9741 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 10473 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9742 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 10474 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9743 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 10475 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9744 TFLAGS="$(STAGEprofile_TFLAGS)" \ 10476 TFLAGS="$(STAGEprofile_TFLAGS)" \
9745 $(TARGET-stageprofile-gas) 10477 $(TARGET-stageprofile-gas)
9746 10478
9747maybe-clean-stageprofile-gas: clean-stageprofile-gas 10479maybe-clean-stageprofile-gas: clean-stageprofile-gas
@@ -9774,6 +10506,7 @@ all-stagefeedback-gas: configure-stagefeedback-gas
9774 $(HOST_EXPORTS) \ 10506 $(HOST_EXPORTS) \
9775 $(POSTSTAGE1_HOST_EXPORTS) \ 10507 $(POSTSTAGE1_HOST_EXPORTS) \
9776 cd $(HOST_SUBDIR)/gas && \ 10508 cd $(HOST_SUBDIR)/gas && \
10509 \
9777 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 10510 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9778 CFLAGS="$(STAGEfeedback_CFLAGS)" \ 10511 CFLAGS="$(STAGEfeedback_CFLAGS)" \
9779 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \ 10512 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
@@ -9782,7 +10515,7 @@ all-stagefeedback-gas: configure-stagefeedback-gas
9782 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 10515 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9783 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 10516 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9784 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 10517 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9785 TFLAGS="$(STAGEfeedback_TFLAGS)" \ 10518 TFLAGS="$(STAGEfeedback_TFLAGS)" \
9786 $(TARGET-stagefeedback-gas) 10519 $(TARGET-stagefeedback-gas)
9787 10520
9788maybe-clean-stagefeedback-gas: clean-stagefeedback-gas 10521maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
@@ -9799,6 +10532,90 @@ clean-stagefeedback-gas:
9799@endif gas-bootstrap 10532@endif gas-bootstrap
9800 10533
9801 10534
10535.PHONY: all-stageautoprofile-gas maybe-all-stageautoprofile-gas
10536.PHONY: clean-stageautoprofile-gas maybe-clean-stageautoprofile-gas
10537maybe-all-stageautoprofile-gas:
10538maybe-clean-stageautoprofile-gas:
10539@if gas-bootstrap
10540maybe-all-stageautoprofile-gas: all-stageautoprofile-gas
10541all-stageautoprofile: all-stageautoprofile-gas
10542TARGET-stageautoprofile-gas = $(TARGET-gas)
10543all-stageautoprofile-gas: configure-stageautoprofile-gas
10544 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
10545 @r=`${PWD_COMMAND}`; export r; \
10546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10547 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
10548 $(HOST_EXPORTS) \
10549 $(POSTSTAGE1_HOST_EXPORTS) \
10550 cd $(HOST_SUBDIR)/gas && \
10551 $$s/gcc/config/i386/$(AUTO_PROFILE) \
10552 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10553 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
10554 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
10555 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
10556 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10557 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10558 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10559 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10560 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
10561 $(TARGET-stageautoprofile-gas)
10562
10563maybe-clean-stageautoprofile-gas: clean-stageautoprofile-gas
10564clean-stageautoprofile: clean-stageautoprofile-gas
10565clean-stageautoprofile-gas:
10566 @if [ $(current_stage) = stageautoprofile ]; then \
10567 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
10568 else \
10569 [ -f $(HOST_SUBDIR)/stageautoprofile-gas/Makefile ] || exit 0; \
10570 $(MAKE) stageautoprofile-start; \
10571 fi; \
10572 cd $(HOST_SUBDIR)/gas && \
10573 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10574@endif gas-bootstrap
10575
10576
10577.PHONY: all-stageautofeedback-gas maybe-all-stageautofeedback-gas
10578.PHONY: clean-stageautofeedback-gas maybe-clean-stageautofeedback-gas
10579maybe-all-stageautofeedback-gas:
10580maybe-clean-stageautofeedback-gas:
10581@if gas-bootstrap
10582maybe-all-stageautofeedback-gas: all-stageautofeedback-gas
10583all-stageautofeedback: all-stageautofeedback-gas
10584TARGET-stageautofeedback-gas = $(TARGET-gas)
10585all-stageautofeedback-gas: configure-stageautofeedback-gas
10586 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
10587 @r=`${PWD_COMMAND}`; export r; \
10588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10589 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
10590 $(HOST_EXPORTS) \
10591 $(POSTSTAGE1_HOST_EXPORTS) \
10592 cd $(HOST_SUBDIR)/gas && \
10593 \
10594 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10595 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
10596 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
10597 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
10598 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10599 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10600 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10601 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10602 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
10603 $(TARGET-stageautofeedback-gas)
10604
10605maybe-clean-stageautofeedback-gas: clean-stageautofeedback-gas
10606clean-stageautofeedback: clean-stageautofeedback-gas
10607clean-stageautofeedback-gas:
10608 @if [ $(current_stage) = stageautofeedback ]; then \
10609 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
10610 else \
10611 [ -f $(HOST_SUBDIR)/stageautofeedback-gas/Makefile ] || exit 0; \
10612 $(MAKE) stageautofeedback-start; \
10613 fi; \
10614 cd $(HOST_SUBDIR)/gas && \
10615 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10616@endif gas-bootstrap
10617
10618
9802 10619
9803 10620
9804 10621
@@ -10403,6 +11220,72 @@ configure-stagefeedback-gcc:
10403 $(STAGEfeedback_CONFIGURE_FLAGS) 11220 $(STAGEfeedback_CONFIGURE_FLAGS)
10404@endif gcc-bootstrap 11221@endif gcc-bootstrap
10405 11222
11223.PHONY: configure-stageautoprofile-gcc maybe-configure-stageautoprofile-gcc
11224maybe-configure-stageautoprofile-gcc:
11225@if gcc-bootstrap
11226maybe-configure-stageautoprofile-gcc: configure-stageautoprofile-gcc
11227configure-stageautoprofile-gcc:
11228 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
11229 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11230 @r=`${PWD_COMMAND}`; export r; \
11231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11232 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
11233 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11234 $(HOST_EXPORTS) \
11235 $(POSTSTAGE1_HOST_EXPORTS) \
11236 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
11237 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
11238 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
11239 echo Configuring stage autoprofile in $(HOST_SUBDIR)/gcc; \
11240 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11241 cd $(HOST_SUBDIR)/gcc || exit 1; \
11242 case $(srcdir) in \
11243 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11244 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11245 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11246 esac; \
11247 module_srcdir=gcc; \
11248 $(SHELL) $$s/$$module_srcdir/configure \
11249 --srcdir=$${topdir}/$$module_srcdir \
11250 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11251 --target=${target_alias} \
11252 --with-build-libsubdir=$(HOST_SUBDIR) \
11253 $(STAGEautoprofile_CONFIGURE_FLAGS)
11254@endif gcc-bootstrap
11255
11256.PHONY: configure-stageautofeedback-gcc maybe-configure-stageautofeedback-gcc
11257maybe-configure-stageautofeedback-gcc:
11258@if gcc-bootstrap
11259maybe-configure-stageautofeedback-gcc: configure-stageautofeedback-gcc
11260configure-stageautofeedback-gcc:
11261 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
11262 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11263 @r=`${PWD_COMMAND}`; export r; \
11264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11265 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
11266 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11267 $(HOST_EXPORTS) \
11268 $(POSTSTAGE1_HOST_EXPORTS) \
11269 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
11270 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
11271 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
11272 echo Configuring stage autofeedback in $(HOST_SUBDIR)/gcc; \
11273 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11274 cd $(HOST_SUBDIR)/gcc || exit 1; \
11275 case $(srcdir) in \
11276 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11277 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11278 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11279 esac; \
11280 module_srcdir=gcc; \
11281 $(SHELL) $$s/$$module_srcdir/configure \
11282 --srcdir=$${topdir}/$$module_srcdir \
11283 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11284 --target=${target_alias} \
11285 --with-build-libsubdir=$(HOST_SUBDIR) \
11286 $(STAGEautofeedback_CONFIGURE_FLAGS)
11287@endif gcc-bootstrap
11288
10406 11289
10407 11290
10408 11291
@@ -10441,6 +11324,7 @@ all-stage1-gcc: configure-stage1-gcc
10441 TFLAGS="$(STAGE1_TFLAGS)"; \ 11324 TFLAGS="$(STAGE1_TFLAGS)"; \
10442 $(HOST_EXPORTS) \ 11325 $(HOST_EXPORTS) \
10443 cd $(HOST_SUBDIR)/gcc && \ 11326 cd $(HOST_SUBDIR)/gcc && \
11327 \
10444 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 11328 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10445 CFLAGS="$(STAGE1_CFLAGS)" \ 11329 CFLAGS="$(STAGE1_CFLAGS)" \
10446 CXXFLAGS="$(STAGE1_CXXFLAGS)" \ 11330 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
@@ -10450,7 +11334,7 @@ all-stage1-gcc: configure-stage1-gcc
10450 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 11334 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10451 $(EXTRA_HOST_FLAGS) \ 11335 $(EXTRA_HOST_FLAGS) \
10452 $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \ 11336 $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
10453 TFLAGS="$(STAGE1_TFLAGS)" \ 11337 TFLAGS="$(STAGE1_TFLAGS)" \
10454 $(TARGET-stage1-gcc) 11338 $(TARGET-stage1-gcc)
10455 11339
10456maybe-clean-stage1-gcc: clean-stage1-gcc 11340maybe-clean-stage1-gcc: clean-stage1-gcc
@@ -10484,6 +11368,7 @@ all-stage2-gcc: configure-stage2-gcc
10484 $(HOST_EXPORTS) \ 11368 $(HOST_EXPORTS) \
10485 $(POSTSTAGE1_HOST_EXPORTS) \ 11369 $(POSTSTAGE1_HOST_EXPORTS) \
10486 cd $(HOST_SUBDIR)/gcc && \ 11370 cd $(HOST_SUBDIR)/gcc && \
11371 \
10487 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 11372 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10488 CFLAGS="$(STAGE2_CFLAGS)" \ 11373 CFLAGS="$(STAGE2_CFLAGS)" \
10489 CXXFLAGS="$(STAGE2_CXXFLAGS)" \ 11374 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
@@ -10492,7 +11377,7 @@ all-stage2-gcc: configure-stage2-gcc
10492 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 11377 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10493 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 11378 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10494 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \ 11379 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
10495 TFLAGS="$(STAGE2_TFLAGS)" \ 11380 TFLAGS="$(STAGE2_TFLAGS)" \
10496 $(TARGET-stage2-gcc) 11381 $(TARGET-stage2-gcc)
10497 11382
10498maybe-clean-stage2-gcc: clean-stage2-gcc 11383maybe-clean-stage2-gcc: clean-stage2-gcc
@@ -10525,6 +11410,7 @@ all-stage3-gcc: configure-stage3-gcc
10525 $(HOST_EXPORTS) \ 11410 $(HOST_EXPORTS) \
10526 $(POSTSTAGE1_HOST_EXPORTS) \ 11411 $(POSTSTAGE1_HOST_EXPORTS) \
10527 cd $(HOST_SUBDIR)/gcc && \ 11412 cd $(HOST_SUBDIR)/gcc && \
11413 \
10528 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 11414 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10529 CFLAGS="$(STAGE3_CFLAGS)" \ 11415 CFLAGS="$(STAGE3_CFLAGS)" \
10530 CXXFLAGS="$(STAGE3_CXXFLAGS)" \ 11416 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
@@ -10533,7 +11419,7 @@ all-stage3-gcc: configure-stage3-gcc
10533 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 11419 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10534 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 11420 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10535 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \ 11421 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
10536 TFLAGS="$(STAGE3_TFLAGS)" \ 11422 TFLAGS="$(STAGE3_TFLAGS)" \
10537 $(TARGET-stage3-gcc) 11423 $(TARGET-stage3-gcc)
10538 11424
10539maybe-clean-stage3-gcc: clean-stage3-gcc 11425maybe-clean-stage3-gcc: clean-stage3-gcc
@@ -10566,6 +11452,7 @@ all-stage4-gcc: configure-stage4-gcc
10566 $(HOST_EXPORTS) \ 11452 $(HOST_EXPORTS) \
10567 $(POSTSTAGE1_HOST_EXPORTS) \ 11453 $(POSTSTAGE1_HOST_EXPORTS) \
10568 cd $(HOST_SUBDIR)/gcc && \ 11454 cd $(HOST_SUBDIR)/gcc && \
11455 \
10569 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 11456 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10570 CFLAGS="$(STAGE4_CFLAGS)" \ 11457 CFLAGS="$(STAGE4_CFLAGS)" \
10571 CXXFLAGS="$(STAGE4_CXXFLAGS)" \ 11458 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
@@ -10574,7 +11461,7 @@ all-stage4-gcc: configure-stage4-gcc
10574 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 11461 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10575 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 11462 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10576 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \ 11463 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
10577 TFLAGS="$(STAGE4_TFLAGS)" \ 11464 TFLAGS="$(STAGE4_TFLAGS)" \
10578 $(TARGET-stage4-gcc) 11465 $(TARGET-stage4-gcc)
10579 11466
10580maybe-clean-stage4-gcc: clean-stage4-gcc 11467maybe-clean-stage4-gcc: clean-stage4-gcc
@@ -10607,6 +11494,7 @@ all-stageprofile-gcc: configure-stageprofile-gcc
10607 $(HOST_EXPORTS) \ 11494 $(HOST_EXPORTS) \
10608 $(POSTSTAGE1_HOST_EXPORTS) \ 11495 $(POSTSTAGE1_HOST_EXPORTS) \
10609 cd $(HOST_SUBDIR)/gcc && \ 11496 cd $(HOST_SUBDIR)/gcc && \
11497 \
10610 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 11498 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10611 CFLAGS="$(STAGEprofile_CFLAGS)" \ 11499 CFLAGS="$(STAGEprofile_CFLAGS)" \
10612 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \ 11500 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
@@ -10615,7 +11503,7 @@ all-stageprofile-gcc: configure-stageprofile-gcc
10615 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 11503 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10616 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 11504 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10617 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \ 11505 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
10618 TFLAGS="$(STAGEprofile_TFLAGS)" \ 11506 TFLAGS="$(STAGEprofile_TFLAGS)" \
10619 $(TARGET-stageprofile-gcc) 11507 $(TARGET-stageprofile-gcc)
10620 11508
10621maybe-clean-stageprofile-gcc: clean-stageprofile-gcc 11509maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
@@ -10648,6 +11536,7 @@ all-stagefeedback-gcc: configure-stagefeedback-gcc
10648 $(HOST_EXPORTS) \ 11536 $(HOST_EXPORTS) \
10649 $(POSTSTAGE1_HOST_EXPORTS) \ 11537 $(POSTSTAGE1_HOST_EXPORTS) \
10650 cd $(HOST_SUBDIR)/gcc && \ 11538 cd $(HOST_SUBDIR)/gcc && \
11539 \
10651 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 11540 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10652 CFLAGS="$(STAGEfeedback_CFLAGS)" \ 11541 CFLAGS="$(STAGEfeedback_CFLAGS)" \
10653 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \ 11542 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
@@ -10656,7 +11545,7 @@ all-stagefeedback-gcc: configure-stagefeedback-gcc
10656 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 11545 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10657 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 11546 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10658 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \ 11547 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
10659 TFLAGS="$(STAGEfeedback_TFLAGS)" \ 11548 TFLAGS="$(STAGEfeedback_TFLAGS)" \
10660 $(TARGET-stagefeedback-gcc) 11549 $(TARGET-stagefeedback-gcc)
10661 11550
10662maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc 11551maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
@@ -10673,6 +11562,90 @@ clean-stagefeedback-gcc:
10673@endif gcc-bootstrap 11562@endif gcc-bootstrap
10674 11563
10675 11564
11565.PHONY: all-stageautoprofile-gcc maybe-all-stageautoprofile-gcc
11566.PHONY: clean-stageautoprofile-gcc maybe-clean-stageautoprofile-gcc
11567maybe-all-stageautoprofile-gcc:
11568maybe-clean-stageautoprofile-gcc:
11569@if gcc-bootstrap
11570maybe-all-stageautoprofile-gcc: all-stageautoprofile-gcc
11571all-stageautoprofile: all-stageautoprofile-gcc
11572TARGET-stageautoprofile-gcc = $(TARGET-gcc)
11573all-stageautoprofile-gcc: configure-stageautoprofile-gcc
11574 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
11575 @r=`${PWD_COMMAND}`; export r; \
11576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11577 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
11578 $(HOST_EXPORTS) \
11579 $(POSTSTAGE1_HOST_EXPORTS) \
11580 cd $(HOST_SUBDIR)/gcc && \
11581 $$s/gcc/config/i386/$(AUTO_PROFILE) \
11582 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11583 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
11584 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
11585 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
11586 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11587 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11588 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11589 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11590 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
11591 $(TARGET-stageautoprofile-gcc)
11592
11593maybe-clean-stageautoprofile-gcc: clean-stageautoprofile-gcc
11594clean-stageautoprofile: clean-stageautoprofile-gcc
11595clean-stageautoprofile-gcc:
11596 @if [ $(current_stage) = stageautoprofile ]; then \
11597 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
11598 else \
11599 [ -f $(HOST_SUBDIR)/stageautoprofile-gcc/Makefile ] || exit 0; \
11600 $(MAKE) stageautoprofile-start; \
11601 fi; \
11602 cd $(HOST_SUBDIR)/gcc && \
11603 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
11604@endif gcc-bootstrap
11605
11606
11607.PHONY: all-stageautofeedback-gcc maybe-all-stageautofeedback-gcc
11608.PHONY: clean-stageautofeedback-gcc maybe-clean-stageautofeedback-gcc
11609maybe-all-stageautofeedback-gcc:
11610maybe-clean-stageautofeedback-gcc:
11611@if gcc-bootstrap
11612maybe-all-stageautofeedback-gcc: all-stageautofeedback-gcc
11613all-stageautofeedback: all-stageautofeedback-gcc
11614TARGET-stageautofeedback-gcc = $(TARGET-gcc)
11615all-stageautofeedback-gcc: configure-stageautofeedback-gcc
11616 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
11617 @r=`${PWD_COMMAND}`; export r; \
11618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11619 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
11620 $(HOST_EXPORTS) \
11621 $(POSTSTAGE1_HOST_EXPORTS) \
11622 cd $(HOST_SUBDIR)/gcc && \
11623 \
11624 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11625 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
11626 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
11627 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
11628 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11629 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11630 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11631 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11632 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
11633 $(TARGET-stageautofeedback-gcc)
11634
11635maybe-clean-stageautofeedback-gcc: clean-stageautofeedback-gcc
11636clean-stageautofeedback: clean-stageautofeedback-gcc
11637clean-stageautofeedback-gcc:
11638 @if [ $(current_stage) = stageautofeedback ]; then \
11639 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
11640 else \
11641 [ -f $(HOST_SUBDIR)/stageautofeedback-gcc/Makefile ] || exit 0; \
11642 $(MAKE) stageautofeedback-start; \
11643 fi; \
11644 cd $(HOST_SUBDIR)/gcc && \
11645 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
11646@endif gcc-bootstrap
11647
11648
10676 11649
10677 11650
10678 11651
@@ -11283,6 +12256,74 @@ configure-stagefeedback-gmp:
11283 --disable-shared LEX="touch lex.yy.c" 12256 --disable-shared LEX="touch lex.yy.c"
11284@endif gmp-bootstrap 12257@endif gmp-bootstrap
11285 12258
12259.PHONY: configure-stageautoprofile-gmp maybe-configure-stageautoprofile-gmp
12260maybe-configure-stageautoprofile-gmp:
12261@if gmp-bootstrap
12262maybe-configure-stageautoprofile-gmp: configure-stageautoprofile-gmp
12263configure-stageautoprofile-gmp:
12264 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
12265 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12266 @r=`${PWD_COMMAND}`; export r; \
12267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12268 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
12269 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12270 $(HOST_EXPORTS) \
12271 $(POSTSTAGE1_HOST_EXPORTS) \
12272 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
12273 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
12274 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
12275 echo Configuring stage autoprofile in $(HOST_SUBDIR)/gmp; \
12276 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12277 cd $(HOST_SUBDIR)/gmp || exit 1; \
12278 case $(srcdir) in \
12279 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12280 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12281 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12282 esac; \
12283 module_srcdir=gmp; \
12284 $(SHELL) $$s/$$module_srcdir/configure \
12285 --srcdir=$${topdir}/$$module_srcdir \
12286 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12287 --target=none-${host_vendor}-${host_os} \
12288 --with-build-libsubdir=$(HOST_SUBDIR) \
12289 $(STAGEautoprofile_CONFIGURE_FLAGS) \
12290 --disable-shared LEX="touch lex.yy.c"
12291@endif gmp-bootstrap
12292
12293.PHONY: configure-stageautofeedback-gmp maybe-configure-stageautofeedback-gmp
12294maybe-configure-stageautofeedback-gmp:
12295@if gmp-bootstrap
12296maybe-configure-stageautofeedback-gmp: configure-stageautofeedback-gmp
12297configure-stageautofeedback-gmp:
12298 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
12299 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12300 @r=`${PWD_COMMAND}`; export r; \
12301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12302 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
12303 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12304 $(HOST_EXPORTS) \
12305 $(POSTSTAGE1_HOST_EXPORTS) \
12306 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
12307 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
12308 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
12309 echo Configuring stage autofeedback in $(HOST_SUBDIR)/gmp; \
12310 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12311 cd $(HOST_SUBDIR)/gmp || exit 1; \
12312 case $(srcdir) in \
12313 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12314 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12315 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12316 esac; \
12317 module_srcdir=gmp; \
12318 $(SHELL) $$s/$$module_srcdir/configure \
12319 --srcdir=$${topdir}/$$module_srcdir \
12320 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12321 --target=none-${host_vendor}-${host_os} \
12322 --with-build-libsubdir=$(HOST_SUBDIR) \
12323 $(STAGEautofeedback_CONFIGURE_FLAGS) \
12324 --disable-shared LEX="touch lex.yy.c"
12325@endif gmp-bootstrap
12326
11286 12327
11287 12328
11288 12329
@@ -11321,6 +12362,7 @@ all-stage1-gmp: configure-stage1-gmp
11321 TFLAGS="$(STAGE1_TFLAGS)"; \ 12362 TFLAGS="$(STAGE1_TFLAGS)"; \
11322 $(HOST_EXPORTS) \ 12363 $(HOST_EXPORTS) \
11323 cd $(HOST_SUBDIR)/gmp && \ 12364 cd $(HOST_SUBDIR)/gmp && \
12365 \
11324 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 12366 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11325 CFLAGS="$(STAGE1_CFLAGS)" \ 12367 CFLAGS="$(STAGE1_CFLAGS)" \
11326 CXXFLAGS="$(STAGE1_CXXFLAGS)" \ 12368 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
@@ -11330,7 +12372,7 @@ all-stage1-gmp: configure-stage1-gmp
11330 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 12372 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11331 $(EXTRA_HOST_FLAGS) \ 12373 $(EXTRA_HOST_FLAGS) \
11332 $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \ 12374 $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
11333 TFLAGS="$(STAGE1_TFLAGS)" \ 12375 TFLAGS="$(STAGE1_TFLAGS)" \
11334 $(TARGET-stage1-gmp) 12376 $(TARGET-stage1-gmp)
11335 12377
11336maybe-clean-stage1-gmp: clean-stage1-gmp 12378maybe-clean-stage1-gmp: clean-stage1-gmp
@@ -11364,6 +12406,7 @@ all-stage2-gmp: configure-stage2-gmp
11364 $(HOST_EXPORTS) \ 12406 $(HOST_EXPORTS) \
11365 $(POSTSTAGE1_HOST_EXPORTS) \ 12407 $(POSTSTAGE1_HOST_EXPORTS) \
11366 cd $(HOST_SUBDIR)/gmp && \ 12408 cd $(HOST_SUBDIR)/gmp && \
12409 \
11367 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 12410 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11368 CFLAGS="$(STAGE2_CFLAGS)" \ 12411 CFLAGS="$(STAGE2_CFLAGS)" \
11369 CXXFLAGS="$(STAGE2_CXXFLAGS)" \ 12412 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
@@ -11372,7 +12415,7 @@ all-stage2-gmp: configure-stage2-gmp
11372 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 12415 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11373 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 12416 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11374 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \ 12417 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
11375 TFLAGS="$(STAGE2_TFLAGS)" \ 12418 TFLAGS="$(STAGE2_TFLAGS)" \
11376 $(TARGET-stage2-gmp) 12419 $(TARGET-stage2-gmp)
11377 12420
11378maybe-clean-stage2-gmp: clean-stage2-gmp 12421maybe-clean-stage2-gmp: clean-stage2-gmp
@@ -11405,6 +12448,7 @@ all-stage3-gmp: configure-stage3-gmp
11405 $(HOST_EXPORTS) \ 12448 $(HOST_EXPORTS) \
11406 $(POSTSTAGE1_HOST_EXPORTS) \ 12449 $(POSTSTAGE1_HOST_EXPORTS) \
11407 cd $(HOST_SUBDIR)/gmp && \ 12450 cd $(HOST_SUBDIR)/gmp && \
12451 \
11408 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 12452 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11409 CFLAGS="$(STAGE3_CFLAGS)" \ 12453 CFLAGS="$(STAGE3_CFLAGS)" \
11410 CXXFLAGS="$(STAGE3_CXXFLAGS)" \ 12454 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
@@ -11413,7 +12457,7 @@ all-stage3-gmp: configure-stage3-gmp
11413 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 12457 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11414 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 12458 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11415 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \ 12459 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
11416 TFLAGS="$(STAGE3_TFLAGS)" \ 12460 TFLAGS="$(STAGE3_TFLAGS)" \
11417 $(TARGET-stage3-gmp) 12461 $(TARGET-stage3-gmp)
11418 12462
11419maybe-clean-stage3-gmp: clean-stage3-gmp 12463maybe-clean-stage3-gmp: clean-stage3-gmp
@@ -11446,6 +12490,7 @@ all-stage4-gmp: configure-stage4-gmp
11446 $(HOST_EXPORTS) \ 12490 $(HOST_EXPORTS) \
11447 $(POSTSTAGE1_HOST_EXPORTS) \ 12491 $(POSTSTAGE1_HOST_EXPORTS) \
11448 cd $(HOST_SUBDIR)/gmp && \ 12492 cd $(HOST_SUBDIR)/gmp && \
12493 \
11449 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 12494 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11450 CFLAGS="$(STAGE4_CFLAGS)" \ 12495 CFLAGS="$(STAGE4_CFLAGS)" \
11451 CXXFLAGS="$(STAGE4_CXXFLAGS)" \ 12496 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
@@ -11454,7 +12499,7 @@ all-stage4-gmp: configure-stage4-gmp
11454 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 12499 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11455 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 12500 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11456 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \ 12501 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
11457 TFLAGS="$(STAGE4_TFLAGS)" \ 12502 TFLAGS="$(STAGE4_TFLAGS)" \
11458 $(TARGET-stage4-gmp) 12503 $(TARGET-stage4-gmp)
11459 12504
11460maybe-clean-stage4-gmp: clean-stage4-gmp 12505maybe-clean-stage4-gmp: clean-stage4-gmp
@@ -11487,6 +12532,7 @@ all-stageprofile-gmp: configure-stageprofile-gmp
11487 $(HOST_EXPORTS) \ 12532 $(HOST_EXPORTS) \
11488 $(POSTSTAGE1_HOST_EXPORTS) \ 12533 $(POSTSTAGE1_HOST_EXPORTS) \
11489 cd $(HOST_SUBDIR)/gmp && \ 12534 cd $(HOST_SUBDIR)/gmp && \
12535 \
11490 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 12536 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11491 CFLAGS="$(STAGEprofile_CFLAGS)" \ 12537 CFLAGS="$(STAGEprofile_CFLAGS)" \
11492 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \ 12538 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
@@ -11495,7 +12541,7 @@ all-stageprofile-gmp: configure-stageprofile-gmp
11495 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 12541 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11496 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 12542 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11497 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \ 12543 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
11498 TFLAGS="$(STAGEprofile_TFLAGS)" \ 12544 TFLAGS="$(STAGEprofile_TFLAGS)" \
11499 $(TARGET-stageprofile-gmp) 12545 $(TARGET-stageprofile-gmp)
11500 12546
11501maybe-clean-stageprofile-gmp: clean-stageprofile-gmp 12547maybe-clean-stageprofile-gmp: clean-stageprofile-gmp
@@ -11528,6 +12574,7 @@ all-stagefeedback-gmp: configure-stagefeedback-gmp
11528 $(HOST_EXPORTS) \ 12574 $(HOST_EXPORTS) \
11529 $(POSTSTAGE1_HOST_EXPORTS) \ 12575 $(POSTSTAGE1_HOST_EXPORTS) \
11530 cd $(HOST_SUBDIR)/gmp && \ 12576 cd $(HOST_SUBDIR)/gmp && \
12577 \
11531 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 12578 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11532 CFLAGS="$(STAGEfeedback_CFLAGS)" \ 12579 CFLAGS="$(STAGEfeedback_CFLAGS)" \
11533 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \ 12580 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
@@ -11536,7 +12583,7 @@ all-stagefeedback-gmp: configure-stagefeedback-gmp
11536 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 12583 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11537 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 12584 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11538 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \ 12585 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
11539 TFLAGS="$(STAGEfeedback_TFLAGS)" \ 12586 TFLAGS="$(STAGEfeedback_TFLAGS)" \
11540 $(TARGET-stagefeedback-gmp) 12587 $(TARGET-stagefeedback-gmp)
11541 12588
11542maybe-clean-stagefeedback-gmp: clean-stagefeedback-gmp 12589maybe-clean-stagefeedback-gmp: clean-stagefeedback-gmp
@@ -11553,6 +12600,90 @@ clean-stagefeedback-gmp:
11553@endif gmp-bootstrap 12600@endif gmp-bootstrap
11554 12601
11555 12602
12603.PHONY: all-stageautoprofile-gmp maybe-all-stageautoprofile-gmp
12604.PHONY: clean-stageautoprofile-gmp maybe-clean-stageautoprofile-gmp
12605maybe-all-stageautoprofile-gmp:
12606maybe-clean-stageautoprofile-gmp:
12607@if gmp-bootstrap
12608maybe-all-stageautoprofile-gmp: all-stageautoprofile-gmp
12609all-stageautoprofile: all-stageautoprofile-gmp
12610TARGET-stageautoprofile-gmp = $(TARGET-gmp)
12611all-stageautoprofile-gmp: configure-stageautoprofile-gmp
12612 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
12613 @r=`${PWD_COMMAND}`; export r; \
12614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12615 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
12616 $(HOST_EXPORTS) \
12617 $(POSTSTAGE1_HOST_EXPORTS) \
12618 cd $(HOST_SUBDIR)/gmp && \
12619 $$s/gcc/config/i386/$(AUTO_PROFILE) \
12620 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12621 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
12622 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
12623 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
12624 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12625 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12626 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12627 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
12628 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
12629 $(TARGET-stageautoprofile-gmp)
12630
12631maybe-clean-stageautoprofile-gmp: clean-stageautoprofile-gmp
12632clean-stageautoprofile: clean-stageautoprofile-gmp
12633clean-stageautoprofile-gmp:
12634 @if [ $(current_stage) = stageautoprofile ]; then \
12635 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
12636 else \
12637 [ -f $(HOST_SUBDIR)/stageautoprofile-gmp/Makefile ] || exit 0; \
12638 $(MAKE) stageautoprofile-start; \
12639 fi; \
12640 cd $(HOST_SUBDIR)/gmp && \
12641 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
12642@endif gmp-bootstrap
12643
12644
12645.PHONY: all-stageautofeedback-gmp maybe-all-stageautofeedback-gmp
12646.PHONY: clean-stageautofeedback-gmp maybe-clean-stageautofeedback-gmp
12647maybe-all-stageautofeedback-gmp:
12648maybe-clean-stageautofeedback-gmp:
12649@if gmp-bootstrap
12650maybe-all-stageautofeedback-gmp: all-stageautofeedback-gmp
12651all-stageautofeedback: all-stageautofeedback-gmp
12652TARGET-stageautofeedback-gmp = $(TARGET-gmp)
12653all-stageautofeedback-gmp: configure-stageautofeedback-gmp
12654 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
12655 @r=`${PWD_COMMAND}`; export r; \
12656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12657 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
12658 $(HOST_EXPORTS) \
12659 $(POSTSTAGE1_HOST_EXPORTS) \
12660 cd $(HOST_SUBDIR)/gmp && \
12661 \
12662 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12663 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
12664 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
12665 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
12666 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12667 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12668 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12669 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
12670 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
12671 $(TARGET-stageautofeedback-gmp)
12672
12673maybe-clean-stageautofeedback-gmp: clean-stageautofeedback-gmp
12674clean-stageautofeedback: clean-stageautofeedback-gmp
12675clean-stageautofeedback-gmp:
12676 @if [ $(current_stage) = stageautofeedback ]; then \
12677 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
12678 else \
12679 [ -f $(HOST_SUBDIR)/stageautofeedback-gmp/Makefile ] || exit 0; \
12680 $(MAKE) stageautofeedback-start; \
12681 fi; \
12682 cd $(HOST_SUBDIR)/gmp && \
12683 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
12684@endif gmp-bootstrap
12685
12686
11556 12687
11557 12688
11558 12689
@@ -12151,6 +13282,74 @@ configure-stagefeedback-mpfr:
12151 --disable-shared @extra_mpfr_configure_flags@ 13282 --disable-shared @extra_mpfr_configure_flags@
12152@endif mpfr-bootstrap 13283@endif mpfr-bootstrap
12153 13284
13285.PHONY: configure-stageautoprofile-mpfr maybe-configure-stageautoprofile-mpfr
13286maybe-configure-stageautoprofile-mpfr:
13287@if mpfr-bootstrap
13288maybe-configure-stageautoprofile-mpfr: configure-stageautoprofile-mpfr
13289configure-stageautoprofile-mpfr:
13290 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
13291 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13292 @r=`${PWD_COMMAND}`; export r; \
13293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13294 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
13295 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13296 $(HOST_EXPORTS) \
13297 $(POSTSTAGE1_HOST_EXPORTS) \
13298 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
13299 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
13300 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
13301 echo Configuring stage autoprofile in $(HOST_SUBDIR)/mpfr; \
13302 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13303 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13304 case $(srcdir) in \
13305 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13306 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13307 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13308 esac; \
13309 module_srcdir=mpfr; \
13310 $(SHELL) $$s/$$module_srcdir/configure \
13311 --srcdir=$${topdir}/$$module_srcdir \
13312 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13313 --target=${target_alias} \
13314 --with-build-libsubdir=$(HOST_SUBDIR) \
13315 $(STAGEautoprofile_CONFIGURE_FLAGS) \
13316 --disable-shared @extra_mpfr_configure_flags@
13317@endif mpfr-bootstrap
13318
13319.PHONY: configure-stageautofeedback-mpfr maybe-configure-stageautofeedback-mpfr
13320maybe-configure-stageautofeedback-mpfr:
13321@if mpfr-bootstrap
13322maybe-configure-stageautofeedback-mpfr: configure-stageautofeedback-mpfr
13323configure-stageautofeedback-mpfr:
13324 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
13325 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13326 @r=`${PWD_COMMAND}`; export r; \
13327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13328 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
13329 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13330 $(HOST_EXPORTS) \
13331 $(POSTSTAGE1_HOST_EXPORTS) \
13332 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
13333 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
13334 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
13335 echo Configuring stage autofeedback in $(HOST_SUBDIR)/mpfr; \
13336 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13337 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13338 case $(srcdir) in \
13339 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13340 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13341 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13342 esac; \
13343 module_srcdir=mpfr; \
13344 $(SHELL) $$s/$$module_srcdir/configure \
13345 --srcdir=$${topdir}/$$module_srcdir \
13346 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13347 --target=${target_alias} \
13348 --with-build-libsubdir=$(HOST_SUBDIR) \
13349 $(STAGEautofeedback_CONFIGURE_FLAGS) \
13350 --disable-shared @extra_mpfr_configure_flags@
13351@endif mpfr-bootstrap
13352
12154 13353
12155 13354
12156 13355
@@ -12189,6 +13388,7 @@ all-stage1-mpfr: configure-stage1-mpfr
12189 TFLAGS="$(STAGE1_TFLAGS)"; \ 13388 TFLAGS="$(STAGE1_TFLAGS)"; \
12190 $(HOST_EXPORTS) \ 13389 $(HOST_EXPORTS) \
12191 cd $(HOST_SUBDIR)/mpfr && \ 13390 cd $(HOST_SUBDIR)/mpfr && \
13391 \
12192 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 13392 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12193 CFLAGS="$(STAGE1_CFLAGS)" \ 13393 CFLAGS="$(STAGE1_CFLAGS)" \
12194 CXXFLAGS="$(STAGE1_CXXFLAGS)" \ 13394 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
@@ -12198,7 +13398,7 @@ all-stage1-mpfr: configure-stage1-mpfr
12198 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 13398 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12199 $(EXTRA_HOST_FLAGS) \ 13399 $(EXTRA_HOST_FLAGS) \
12200 $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \ 13400 $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
12201 TFLAGS="$(STAGE1_TFLAGS)" \ 13401 TFLAGS="$(STAGE1_TFLAGS)" \
12202 $(TARGET-stage1-mpfr) 13402 $(TARGET-stage1-mpfr)
12203 13403
12204maybe-clean-stage1-mpfr: clean-stage1-mpfr 13404maybe-clean-stage1-mpfr: clean-stage1-mpfr
@@ -12232,6 +13432,7 @@ all-stage2-mpfr: configure-stage2-mpfr
12232 $(HOST_EXPORTS) \ 13432 $(HOST_EXPORTS) \
12233 $(POSTSTAGE1_HOST_EXPORTS) \ 13433 $(POSTSTAGE1_HOST_EXPORTS) \
12234 cd $(HOST_SUBDIR)/mpfr && \ 13434 cd $(HOST_SUBDIR)/mpfr && \
13435 \
12235 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 13436 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12236 CFLAGS="$(STAGE2_CFLAGS)" \ 13437 CFLAGS="$(STAGE2_CFLAGS)" \
12237 CXXFLAGS="$(STAGE2_CXXFLAGS)" \ 13438 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
@@ -12240,7 +13441,7 @@ all-stage2-mpfr: configure-stage2-mpfr
12240 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 13441 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12241 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 13442 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12242 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \ 13443 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
12243 TFLAGS="$(STAGE2_TFLAGS)" \ 13444 TFLAGS="$(STAGE2_TFLAGS)" \
12244 $(TARGET-stage2-mpfr) 13445 $(TARGET-stage2-mpfr)
12245 13446
12246maybe-clean-stage2-mpfr: clean-stage2-mpfr 13447maybe-clean-stage2-mpfr: clean-stage2-mpfr
@@ -12273,6 +13474,7 @@ all-stage3-mpfr: configure-stage3-mpfr
12273 $(HOST_EXPORTS) \ 13474 $(HOST_EXPORTS) \
12274 $(POSTSTAGE1_HOST_EXPORTS) \ 13475 $(POSTSTAGE1_HOST_EXPORTS) \
12275 cd $(HOST_SUBDIR)/mpfr && \ 13476 cd $(HOST_SUBDIR)/mpfr && \
13477 \
12276 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 13478 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12277 CFLAGS="$(STAGE3_CFLAGS)" \ 13479 CFLAGS="$(STAGE3_CFLAGS)" \
12278 CXXFLAGS="$(STAGE3_CXXFLAGS)" \ 13480 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
@@ -12281,7 +13483,7 @@ all-stage3-mpfr: configure-stage3-mpfr
12281 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 13483 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12282 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 13484 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12283 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \ 13485 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
12284 TFLAGS="$(STAGE3_TFLAGS)" \ 13486 TFLAGS="$(STAGE3_TFLAGS)" \
12285 $(TARGET-stage3-mpfr) 13487 $(TARGET-stage3-mpfr)
12286 13488
12287maybe-clean-stage3-mpfr: clean-stage3-mpfr 13489maybe-clean-stage3-mpfr: clean-stage3-mpfr
@@ -12314,6 +13516,7 @@ all-stage4-mpfr: configure-stage4-mpfr
12314 $(HOST_EXPORTS) \ 13516 $(HOST_EXPORTS) \
12315 $(POSTSTAGE1_HOST_EXPORTS) \ 13517 $(POSTSTAGE1_HOST_EXPORTS) \
12316 cd $(HOST_SUBDIR)/mpfr && \ 13518 cd $(HOST_SUBDIR)/mpfr && \
13519 \
12317 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 13520 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12318 CFLAGS="$(STAGE4_CFLAGS)" \ 13521 CFLAGS="$(STAGE4_CFLAGS)" \
12319 CXXFLAGS="$(STAGE4_CXXFLAGS)" \ 13522 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
@@ -12322,7 +13525,7 @@ all-stage4-mpfr: configure-stage4-mpfr
12322 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 13525 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12323 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 13526 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12324 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \ 13527 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
12325 TFLAGS="$(STAGE4_TFLAGS)" \ 13528 TFLAGS="$(STAGE4_TFLAGS)" \
12326 $(TARGET-stage4-mpfr) 13529 $(TARGET-stage4-mpfr)
12327 13530
12328maybe-clean-stage4-mpfr: clean-stage4-mpfr 13531maybe-clean-stage4-mpfr: clean-stage4-mpfr
@@ -12355,6 +13558,7 @@ all-stageprofile-mpfr: configure-stageprofile-mpfr
12355 $(HOST_EXPORTS) \ 13558 $(HOST_EXPORTS) \
12356 $(POSTSTAGE1_HOST_EXPORTS) \ 13559 $(POSTSTAGE1_HOST_EXPORTS) \
12357 cd $(HOST_SUBDIR)/mpfr && \ 13560 cd $(HOST_SUBDIR)/mpfr && \
13561 \
12358 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 13562 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12359 CFLAGS="$(STAGEprofile_CFLAGS)" \ 13563 CFLAGS="$(STAGEprofile_CFLAGS)" \
12360 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \ 13564 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
@@ -12363,7 +13567,7 @@ all-stageprofile-mpfr: configure-stageprofile-mpfr
12363 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 13567 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12364 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 13568 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12365 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \ 13569 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
12366 TFLAGS="$(STAGEprofile_TFLAGS)" \ 13570 TFLAGS="$(STAGEprofile_TFLAGS)" \
12367 $(TARGET-stageprofile-mpfr) 13571 $(TARGET-stageprofile-mpfr)
12368 13572
12369maybe-clean-stageprofile-mpfr: clean-stageprofile-mpfr 13573maybe-clean-stageprofile-mpfr: clean-stageprofile-mpfr
@@ -12396,6 +13600,7 @@ all-stagefeedback-mpfr: configure-stagefeedback-mpfr
12396 $(HOST_EXPORTS) \ 13600 $(HOST_EXPORTS) \
12397 $(POSTSTAGE1_HOST_EXPORTS) \ 13601 $(POSTSTAGE1_HOST_EXPORTS) \
12398 cd $(HOST_SUBDIR)/mpfr && \ 13602 cd $(HOST_SUBDIR)/mpfr && \
13603 \
12399 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 13604 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12400 CFLAGS="$(STAGEfeedback_CFLAGS)" \ 13605 CFLAGS="$(STAGEfeedback_CFLAGS)" \
12401 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \ 13606 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
@@ -12404,7 +13609,7 @@ all-stagefeedback-mpfr: configure-stagefeedback-mpfr
12404 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 13609 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12405 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 13610 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12406 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \ 13611 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
12407 TFLAGS="$(STAGEfeedback_TFLAGS)" \ 13612 TFLAGS="$(STAGEfeedback_TFLAGS)" \
12408 $(TARGET-stagefeedback-mpfr) 13613 $(TARGET-stagefeedback-mpfr)
12409 13614
12410maybe-clean-stagefeedback-mpfr: clean-stagefeedback-mpfr 13615maybe-clean-stagefeedback-mpfr: clean-stagefeedback-mpfr
@@ -12421,6 +13626,90 @@ clean-stagefeedback-mpfr:
12421@endif mpfr-bootstrap 13626@endif mpfr-bootstrap
12422 13627
12423 13628
13629.PHONY: all-stageautoprofile-mpfr maybe-all-stageautoprofile-mpfr
13630.PHONY: clean-stageautoprofile-mpfr maybe-clean-stageautoprofile-mpfr
13631maybe-all-stageautoprofile-mpfr:
13632maybe-clean-stageautoprofile-mpfr:
13633@if mpfr-bootstrap
13634maybe-all-stageautoprofile-mpfr: all-stageautoprofile-mpfr
13635all-stageautoprofile: all-stageautoprofile-mpfr
13636TARGET-stageautoprofile-mpfr = $(TARGET-mpfr)
13637all-stageautoprofile-mpfr: configure-stageautoprofile-mpfr
13638 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
13639 @r=`${PWD_COMMAND}`; export r; \
13640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13641 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
13642 $(HOST_EXPORTS) \
13643 $(POSTSTAGE1_HOST_EXPORTS) \
13644 cd $(HOST_SUBDIR)/mpfr && \
13645 $$s/gcc/config/i386/$(AUTO_PROFILE) \
13646 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13647 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
13648 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
13649 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
13650 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13651 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13652 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13653 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13654 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
13655 $(TARGET-stageautoprofile-mpfr)
13656
13657maybe-clean-stageautoprofile-mpfr: clean-stageautoprofile-mpfr
13658clean-stageautoprofile: clean-stageautoprofile-mpfr
13659clean-stageautoprofile-mpfr:
13660 @if [ $(current_stage) = stageautoprofile ]; then \
13661 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
13662 else \
13663 [ -f $(HOST_SUBDIR)/stageautoprofile-mpfr/Makefile ] || exit 0; \
13664 $(MAKE) stageautoprofile-start; \
13665 fi; \
13666 cd $(HOST_SUBDIR)/mpfr && \
13667 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13668@endif mpfr-bootstrap
13669
13670
13671.PHONY: all-stageautofeedback-mpfr maybe-all-stageautofeedback-mpfr
13672.PHONY: clean-stageautofeedback-mpfr maybe-clean-stageautofeedback-mpfr
13673maybe-all-stageautofeedback-mpfr:
13674maybe-clean-stageautofeedback-mpfr:
13675@if mpfr-bootstrap
13676maybe-all-stageautofeedback-mpfr: all-stageautofeedback-mpfr
13677all-stageautofeedback: all-stageautofeedback-mpfr
13678TARGET-stageautofeedback-mpfr = $(TARGET-mpfr)
13679all-stageautofeedback-mpfr: configure-stageautofeedback-mpfr
13680 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
13681 @r=`${PWD_COMMAND}`; export r; \
13682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13683 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
13684 $(HOST_EXPORTS) \
13685 $(POSTSTAGE1_HOST_EXPORTS) \
13686 cd $(HOST_SUBDIR)/mpfr && \
13687 \
13688 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13689 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
13690 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
13691 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
13692 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13693 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13694 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13695 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13696 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
13697 $(TARGET-stageautofeedback-mpfr)
13698
13699maybe-clean-stageautofeedback-mpfr: clean-stageautofeedback-mpfr
13700clean-stageautofeedback: clean-stageautofeedback-mpfr
13701clean-stageautofeedback-mpfr:
13702 @if [ $(current_stage) = stageautofeedback ]; then \
13703 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
13704 else \
13705 [ -f $(HOST_SUBDIR)/stageautofeedback-mpfr/Makefile ] || exit 0; \
13706 $(MAKE) stageautofeedback-start; \
13707 fi; \
13708 cd $(HOST_SUBDIR)/mpfr && \
13709 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13710@endif mpfr-bootstrap
13711
13712
12424 13713
12425 13714
12426 13715
@@ -13019,6 +14308,74 @@ configure-stagefeedback-mpc:
13019 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ 14308 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
13020@endif mpc-bootstrap 14309@endif mpc-bootstrap
13021 14310
14311.PHONY: configure-stageautoprofile-mpc maybe-configure-stageautoprofile-mpc
14312maybe-configure-stageautoprofile-mpc:
14313@if mpc-bootstrap
14314maybe-configure-stageautoprofile-mpc: configure-stageautoprofile-mpc
14315configure-stageautoprofile-mpc:
14316 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
14317 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
14318 @r=`${PWD_COMMAND}`; export r; \
14319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14320 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
14321 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14322 $(HOST_EXPORTS) \
14323 $(POSTSTAGE1_HOST_EXPORTS) \
14324 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
14325 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
14326 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
14327 echo Configuring stage autoprofile in $(HOST_SUBDIR)/mpc; \
14328 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14329 cd $(HOST_SUBDIR)/mpc || exit 1; \
14330 case $(srcdir) in \
14331 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14332 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14333 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14334 esac; \
14335 module_srcdir=mpc; \
14336 $(SHELL) $$s/$$module_srcdir/configure \
14337 --srcdir=$${topdir}/$$module_srcdir \
14338 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14339 --target=${target_alias} \
14340 --with-build-libsubdir=$(HOST_SUBDIR) \
14341 $(STAGEautoprofile_CONFIGURE_FLAGS) \
14342 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
14343@endif mpc-bootstrap
14344
14345.PHONY: configure-stageautofeedback-mpc maybe-configure-stageautofeedback-mpc
14346maybe-configure-stageautofeedback-mpc:
14347@if mpc-bootstrap
14348maybe-configure-stageautofeedback-mpc: configure-stageautofeedback-mpc
14349configure-stageautofeedback-mpc:
14350 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
14351 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
14352 @r=`${PWD_COMMAND}`; export r; \
14353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14354 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
14355 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14356 $(HOST_EXPORTS) \
14357 $(POSTSTAGE1_HOST_EXPORTS) \
14358 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
14359 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
14360 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
14361 echo Configuring stage autofeedback in $(HOST_SUBDIR)/mpc; \
14362 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14363 cd $(HOST_SUBDIR)/mpc || exit 1; \
14364 case $(srcdir) in \
14365 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14366 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14367 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14368 esac; \
14369 module_srcdir=mpc; \
14370 $(SHELL) $$s/$$module_srcdir/configure \
14371 --srcdir=$${topdir}/$$module_srcdir \
14372 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14373 --target=${target_alias} \
14374 --with-build-libsubdir=$(HOST_SUBDIR) \
14375 $(STAGEautofeedback_CONFIGURE_FLAGS) \
14376 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
14377@endif mpc-bootstrap
14378
13022 14379
13023 14380
13024 14381
@@ -13057,6 +14414,7 @@ all-stage1-mpc: configure-stage1-mpc
13057 TFLAGS="$(STAGE1_TFLAGS)"; \ 14414 TFLAGS="$(STAGE1_TFLAGS)"; \
13058 $(HOST_EXPORTS) \ 14415 $(HOST_EXPORTS) \
13059 cd $(HOST_SUBDIR)/mpc && \ 14416 cd $(HOST_SUBDIR)/mpc && \
14417 \
13060 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 14418 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13061 CFLAGS="$(STAGE1_CFLAGS)" \ 14419 CFLAGS="$(STAGE1_CFLAGS)" \
13062 CXXFLAGS="$(STAGE1_CXXFLAGS)" \ 14420 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
@@ -13066,7 +14424,7 @@ all-stage1-mpc: configure-stage1-mpc
13066 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 14424 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13067 $(EXTRA_HOST_FLAGS) \ 14425 $(EXTRA_HOST_FLAGS) \
13068 $(STAGE1_FLAGS_TO_PASS) \ 14426 $(STAGE1_FLAGS_TO_PASS) \
13069 TFLAGS="$(STAGE1_TFLAGS)" \ 14427 TFLAGS="$(STAGE1_TFLAGS)" \
13070 $(TARGET-stage1-mpc) 14428 $(TARGET-stage1-mpc)
13071 14429
13072maybe-clean-stage1-mpc: clean-stage1-mpc 14430maybe-clean-stage1-mpc: clean-stage1-mpc
@@ -13100,6 +14458,7 @@ all-stage2-mpc: configure-stage2-mpc
13100 $(HOST_EXPORTS) \ 14458 $(HOST_EXPORTS) \
13101 $(POSTSTAGE1_HOST_EXPORTS) \ 14459 $(POSTSTAGE1_HOST_EXPORTS) \
13102 cd $(HOST_SUBDIR)/mpc && \ 14460 cd $(HOST_SUBDIR)/mpc && \
14461 \
13103 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 14462 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13104 CFLAGS="$(STAGE2_CFLAGS)" \ 14463 CFLAGS="$(STAGE2_CFLAGS)" \
13105 CXXFLAGS="$(STAGE2_CXXFLAGS)" \ 14464 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
@@ -13108,7 +14467,7 @@ all-stage2-mpc: configure-stage2-mpc
13108 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 14467 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13109 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 14468 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13110 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 14469 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13111 TFLAGS="$(STAGE2_TFLAGS)" \ 14470 TFLAGS="$(STAGE2_TFLAGS)" \
13112 $(TARGET-stage2-mpc) 14471 $(TARGET-stage2-mpc)
13113 14472
13114maybe-clean-stage2-mpc: clean-stage2-mpc 14473maybe-clean-stage2-mpc: clean-stage2-mpc
@@ -13141,6 +14500,7 @@ all-stage3-mpc: configure-stage3-mpc
13141 $(HOST_EXPORTS) \ 14500 $(HOST_EXPORTS) \
13142 $(POSTSTAGE1_HOST_EXPORTS) \ 14501 $(POSTSTAGE1_HOST_EXPORTS) \
13143 cd $(HOST_SUBDIR)/mpc && \ 14502 cd $(HOST_SUBDIR)/mpc && \
14503 \
13144 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 14504 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13145 CFLAGS="$(STAGE3_CFLAGS)" \ 14505 CFLAGS="$(STAGE3_CFLAGS)" \
13146 CXXFLAGS="$(STAGE3_CXXFLAGS)" \ 14506 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
@@ -13149,7 +14509,7 @@ all-stage3-mpc: configure-stage3-mpc
13149 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 14509 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13150 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 14510 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13151 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 14511 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13152 TFLAGS="$(STAGE3_TFLAGS)" \ 14512 TFLAGS="$(STAGE3_TFLAGS)" \
13153 $(TARGET-stage3-mpc) 14513 $(TARGET-stage3-mpc)
13154 14514
13155maybe-clean-stage3-mpc: clean-stage3-mpc 14515maybe-clean-stage3-mpc: clean-stage3-mpc
@@ -13182,6 +14542,7 @@ all-stage4-mpc: configure-stage4-mpc
13182 $(HOST_EXPORTS) \ 14542 $(HOST_EXPORTS) \
13183 $(POSTSTAGE1_HOST_EXPORTS) \ 14543 $(POSTSTAGE1_HOST_EXPORTS) \
13184 cd $(HOST_SUBDIR)/mpc && \ 14544 cd $(HOST_SUBDIR)/mpc && \
14545 \
13185 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 14546 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13186 CFLAGS="$(STAGE4_CFLAGS)" \ 14547 CFLAGS="$(STAGE4_CFLAGS)" \
13187 CXXFLAGS="$(STAGE4_CXXFLAGS)" \ 14548 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
@@ -13190,7 +14551,7 @@ all-stage4-mpc: configure-stage4-mpc
13190 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 14551 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13191 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 14552 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13192 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 14553 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13193 TFLAGS="$(STAGE4_TFLAGS)" \ 14554 TFLAGS="$(STAGE4_TFLAGS)" \
13194 $(TARGET-stage4-mpc) 14555 $(TARGET-stage4-mpc)
13195 14556
13196maybe-clean-stage4-mpc: clean-stage4-mpc 14557maybe-clean-stage4-mpc: clean-stage4-mpc
@@ -13223,6 +14584,7 @@ all-stageprofile-mpc: configure-stageprofile-mpc
13223 $(HOST_EXPORTS) \ 14584 $(HOST_EXPORTS) \
13224 $(POSTSTAGE1_HOST_EXPORTS) \ 14585 $(POSTSTAGE1_HOST_EXPORTS) \
13225 cd $(HOST_SUBDIR)/mpc && \ 14586 cd $(HOST_SUBDIR)/mpc && \
14587 \
13226 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 14588 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13227 CFLAGS="$(STAGEprofile_CFLAGS)" \ 14589 CFLAGS="$(STAGEprofile_CFLAGS)" \
13228 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \ 14590 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
@@ -13231,7 +14593,7 @@ all-stageprofile-mpc: configure-stageprofile-mpc
13231 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 14593 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13232 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 14594 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13233 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 14595 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13234 TFLAGS="$(STAGEprofile_TFLAGS)" \ 14596 TFLAGS="$(STAGEprofile_TFLAGS)" \
13235 $(TARGET-stageprofile-mpc) 14597 $(TARGET-stageprofile-mpc)
13236 14598
13237maybe-clean-stageprofile-mpc: clean-stageprofile-mpc 14599maybe-clean-stageprofile-mpc: clean-stageprofile-mpc
@@ -13264,6 +14626,7 @@ all-stagefeedback-mpc: configure-stagefeedback-mpc
13264 $(HOST_EXPORTS) \ 14626 $(HOST_EXPORTS) \
13265 $(POSTSTAGE1_HOST_EXPORTS) \ 14627 $(POSTSTAGE1_HOST_EXPORTS) \
13266 cd $(HOST_SUBDIR)/mpc && \ 14628 cd $(HOST_SUBDIR)/mpc && \
14629 \
13267 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 14630 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13268 CFLAGS="$(STAGEfeedback_CFLAGS)" \ 14631 CFLAGS="$(STAGEfeedback_CFLAGS)" \
13269 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \ 14632 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
@@ -13272,7 +14635,7 @@ all-stagefeedback-mpc: configure-stagefeedback-mpc
13272 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 14635 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13273 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 14636 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13274 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 14637 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13275 TFLAGS="$(STAGEfeedback_TFLAGS)" \ 14638 TFLAGS="$(STAGEfeedback_TFLAGS)" \
13276 $(TARGET-stagefeedback-mpc) 14639 $(TARGET-stagefeedback-mpc)
13277 14640
13278maybe-clean-stagefeedback-mpc: clean-stagefeedback-mpc 14641maybe-clean-stagefeedback-mpc: clean-stagefeedback-mpc
@@ -13289,6 +14652,90 @@ clean-stagefeedback-mpc:
13289@endif mpc-bootstrap 14652@endif mpc-bootstrap
13290 14653
13291 14654
14655.PHONY: all-stageautoprofile-mpc maybe-all-stageautoprofile-mpc
14656.PHONY: clean-stageautoprofile-mpc maybe-clean-stageautoprofile-mpc
14657maybe-all-stageautoprofile-mpc:
14658maybe-clean-stageautoprofile-mpc:
14659@if mpc-bootstrap
14660maybe-all-stageautoprofile-mpc: all-stageautoprofile-mpc
14661all-stageautoprofile: all-stageautoprofile-mpc
14662TARGET-stageautoprofile-mpc = $(TARGET-mpc)
14663all-stageautoprofile-mpc: configure-stageautoprofile-mpc
14664 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
14665 @r=`${PWD_COMMAND}`; export r; \
14666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14667 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
14668 $(HOST_EXPORTS) \
14669 $(POSTSTAGE1_HOST_EXPORTS) \
14670 cd $(HOST_SUBDIR)/mpc && \
14671 $$s/gcc/config/i386/$(AUTO_PROFILE) \
14672 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14673 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
14674 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
14675 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
14676 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14677 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14678 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14679 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14680 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
14681 $(TARGET-stageautoprofile-mpc)
14682
14683maybe-clean-stageautoprofile-mpc: clean-stageautoprofile-mpc
14684clean-stageautoprofile: clean-stageautoprofile-mpc
14685clean-stageautoprofile-mpc:
14686 @if [ $(current_stage) = stageautoprofile ]; then \
14687 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
14688 else \
14689 [ -f $(HOST_SUBDIR)/stageautoprofile-mpc/Makefile ] || exit 0; \
14690 $(MAKE) stageautoprofile-start; \
14691 fi; \
14692 cd $(HOST_SUBDIR)/mpc && \
14693 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
14694@endif mpc-bootstrap
14695
14696
14697.PHONY: all-stageautofeedback-mpc maybe-all-stageautofeedback-mpc
14698.PHONY: clean-stageautofeedback-mpc maybe-clean-stageautofeedback-mpc
14699maybe-all-stageautofeedback-mpc:
14700maybe-clean-stageautofeedback-mpc:
14701@if mpc-bootstrap
14702maybe-all-stageautofeedback-mpc: all-stageautofeedback-mpc
14703all-stageautofeedback: all-stageautofeedback-mpc
14704TARGET-stageautofeedback-mpc = $(TARGET-mpc)
14705all-stageautofeedback-mpc: configure-stageautofeedback-mpc
14706 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
14707 @r=`${PWD_COMMAND}`; export r; \
14708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14709 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
14710 $(HOST_EXPORTS) \
14711 $(POSTSTAGE1_HOST_EXPORTS) \
14712 cd $(HOST_SUBDIR)/mpc && \
14713 \
14714 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14715 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
14716 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
14717 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
14718 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14719 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14720 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14721 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14722 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
14723 $(TARGET-stageautofeedback-mpc)
14724
14725maybe-clean-stageautofeedback-mpc: clean-stageautofeedback-mpc
14726clean-stageautofeedback: clean-stageautofeedback-mpc
14727clean-stageautofeedback-mpc:
14728 @if [ $(current_stage) = stageautofeedback ]; then \
14729 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
14730 else \
14731 [ -f $(HOST_SUBDIR)/stageautofeedback-mpc/Makefile ] || exit 0; \
14732 $(MAKE) stageautofeedback-start; \
14733 fi; \
14734 cd $(HOST_SUBDIR)/mpc && \
14735 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
14736@endif mpc-bootstrap
14737
14738
13292 14739
13293 14740
13294 14741
@@ -13887,6 +15334,74 @@ configure-stagefeedback-isl:
13887 --disable-shared @extra_isl_gmp_configure_flags@ 15334 --disable-shared @extra_isl_gmp_configure_flags@
13888@endif isl-bootstrap 15335@endif isl-bootstrap
13889 15336
15337.PHONY: configure-stageautoprofile-isl maybe-configure-stageautoprofile-isl
15338maybe-configure-stageautoprofile-isl:
15339@if isl-bootstrap
15340maybe-configure-stageautoprofile-isl: configure-stageautoprofile-isl
15341configure-stageautoprofile-isl:
15342 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
15343 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
15344 @r=`${PWD_COMMAND}`; export r; \
15345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15346 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
15347 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
15348 $(HOST_EXPORTS) \
15349 $(POSTSTAGE1_HOST_EXPORTS) \
15350 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
15351 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
15352 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
15353 echo Configuring stage autoprofile in $(HOST_SUBDIR)/isl; \
15354 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
15355 cd $(HOST_SUBDIR)/isl || exit 1; \
15356 case $(srcdir) in \
15357 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15358 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
15359 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15360 esac; \
15361 module_srcdir=isl; \
15362 $(SHELL) $$s/$$module_srcdir/configure \
15363 --srcdir=$${topdir}/$$module_srcdir \
15364 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15365 --target=${target_alias} \
15366 --with-build-libsubdir=$(HOST_SUBDIR) \
15367 $(STAGEautoprofile_CONFIGURE_FLAGS) \
15368 --disable-shared @extra_isl_gmp_configure_flags@
15369@endif isl-bootstrap
15370
15371.PHONY: configure-stageautofeedback-isl maybe-configure-stageautofeedback-isl
15372maybe-configure-stageautofeedback-isl:
15373@if isl-bootstrap
15374maybe-configure-stageautofeedback-isl: configure-stageautofeedback-isl
15375configure-stageautofeedback-isl:
15376 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
15377 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
15378 @r=`${PWD_COMMAND}`; export r; \
15379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15380 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
15381 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
15382 $(HOST_EXPORTS) \
15383 $(POSTSTAGE1_HOST_EXPORTS) \
15384 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
15385 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
15386 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
15387 echo Configuring stage autofeedback in $(HOST_SUBDIR)/isl; \
15388 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
15389 cd $(HOST_SUBDIR)/isl || exit 1; \
15390 case $(srcdir) in \
15391 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15392 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
15393 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15394 esac; \
15395 module_srcdir=isl; \
15396 $(SHELL) $$s/$$module_srcdir/configure \
15397 --srcdir=$${topdir}/$$module_srcdir \
15398 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15399 --target=${target_alias} \
15400 --with-build-libsubdir=$(HOST_SUBDIR) \
15401 $(STAGEautofeedback_CONFIGURE_FLAGS) \
15402 --disable-shared @extra_isl_gmp_configure_flags@
15403@endif isl-bootstrap
15404
13890 15405
13891 15406
13892 15407
@@ -13925,6 +15440,7 @@ all-stage1-isl: configure-stage1-isl
13925 TFLAGS="$(STAGE1_TFLAGS)"; \ 15440 TFLAGS="$(STAGE1_TFLAGS)"; \
13926 $(HOST_EXPORTS) \ 15441 $(HOST_EXPORTS) \
13927 cd $(HOST_SUBDIR)/isl && \ 15442 cd $(HOST_SUBDIR)/isl && \
15443 \
13928 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 15444 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13929 CFLAGS="$(STAGE1_CFLAGS)" \ 15445 CFLAGS="$(STAGE1_CFLAGS)" \
13930 CXXFLAGS="$(STAGE1_CXXFLAGS)" \ 15446 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
@@ -13934,7 +15450,7 @@ all-stage1-isl: configure-stage1-isl
13934 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 15450 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13935 $(EXTRA_HOST_FLAGS) \ 15451 $(EXTRA_HOST_FLAGS) \
13936 $(STAGE1_FLAGS_TO_PASS) V=1 \ 15452 $(STAGE1_FLAGS_TO_PASS) V=1 \
13937 TFLAGS="$(STAGE1_TFLAGS)" \ 15453 TFLAGS="$(STAGE1_TFLAGS)" \
13938 $(TARGET-stage1-isl) 15454 $(TARGET-stage1-isl)
13939 15455
13940maybe-clean-stage1-isl: clean-stage1-isl 15456maybe-clean-stage1-isl: clean-stage1-isl
@@ -13968,6 +15484,7 @@ all-stage2-isl: configure-stage2-isl
13968 $(HOST_EXPORTS) \ 15484 $(HOST_EXPORTS) \
13969 $(POSTSTAGE1_HOST_EXPORTS) \ 15485 $(POSTSTAGE1_HOST_EXPORTS) \
13970 cd $(HOST_SUBDIR)/isl && \ 15486 cd $(HOST_SUBDIR)/isl && \
15487 \
13971 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 15488 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13972 CFLAGS="$(STAGE2_CFLAGS)" \ 15489 CFLAGS="$(STAGE2_CFLAGS)" \
13973 CXXFLAGS="$(STAGE2_CXXFLAGS)" \ 15490 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
@@ -13976,7 +15493,7 @@ all-stage2-isl: configure-stage2-isl
13976 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 15493 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13977 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 15494 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13978 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \ 15495 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
13979 TFLAGS="$(STAGE2_TFLAGS)" \ 15496 TFLAGS="$(STAGE2_TFLAGS)" \
13980 $(TARGET-stage2-isl) 15497 $(TARGET-stage2-isl)
13981 15498
13982maybe-clean-stage2-isl: clean-stage2-isl 15499maybe-clean-stage2-isl: clean-stage2-isl
@@ -14009,6 +15526,7 @@ all-stage3-isl: configure-stage3-isl
14009 $(HOST_EXPORTS) \ 15526 $(HOST_EXPORTS) \
14010 $(POSTSTAGE1_HOST_EXPORTS) \ 15527 $(POSTSTAGE1_HOST_EXPORTS) \
14011 cd $(HOST_SUBDIR)/isl && \ 15528 cd $(HOST_SUBDIR)/isl && \
15529 \
14012 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 15530 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14013 CFLAGS="$(STAGE3_CFLAGS)" \ 15531 CFLAGS="$(STAGE3_CFLAGS)" \
14014 CXXFLAGS="$(STAGE3_CXXFLAGS)" \ 15532 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
@@ -14017,7 +15535,7 @@ all-stage3-isl: configure-stage3-isl
14017 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 15535 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14018 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 15536 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14019 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \ 15537 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
14020 TFLAGS="$(STAGE3_TFLAGS)" \ 15538 TFLAGS="$(STAGE3_TFLAGS)" \
14021 $(TARGET-stage3-isl) 15539 $(TARGET-stage3-isl)
14022 15540
14023maybe-clean-stage3-isl: clean-stage3-isl 15541maybe-clean-stage3-isl: clean-stage3-isl
@@ -14050,6 +15568,7 @@ all-stage4-isl: configure-stage4-isl
14050 $(HOST_EXPORTS) \ 15568 $(HOST_EXPORTS) \
14051 $(POSTSTAGE1_HOST_EXPORTS) \ 15569 $(POSTSTAGE1_HOST_EXPORTS) \
14052 cd $(HOST_SUBDIR)/isl && \ 15570 cd $(HOST_SUBDIR)/isl && \
15571 \
14053 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 15572 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14054 CFLAGS="$(STAGE4_CFLAGS)" \ 15573 CFLAGS="$(STAGE4_CFLAGS)" \
14055 CXXFLAGS="$(STAGE4_CXXFLAGS)" \ 15574 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
@@ -14058,7 +15577,7 @@ all-stage4-isl: configure-stage4-isl
14058 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 15577 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14059 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 15578 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14060 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \ 15579 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
14061 TFLAGS="$(STAGE4_TFLAGS)" \ 15580 TFLAGS="$(STAGE4_TFLAGS)" \
14062 $(TARGET-stage4-isl) 15581 $(TARGET-stage4-isl)
14063 15582
14064maybe-clean-stage4-isl: clean-stage4-isl 15583maybe-clean-stage4-isl: clean-stage4-isl
@@ -14091,6 +15610,7 @@ all-stageprofile-isl: configure-stageprofile-isl
14091 $(HOST_EXPORTS) \ 15610 $(HOST_EXPORTS) \
14092 $(POSTSTAGE1_HOST_EXPORTS) \ 15611 $(POSTSTAGE1_HOST_EXPORTS) \
14093 cd $(HOST_SUBDIR)/isl && \ 15612 cd $(HOST_SUBDIR)/isl && \
15613 \
14094 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 15614 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14095 CFLAGS="$(STAGEprofile_CFLAGS)" \ 15615 CFLAGS="$(STAGEprofile_CFLAGS)" \
14096 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \ 15616 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
@@ -14099,7 +15619,7 @@ all-stageprofile-isl: configure-stageprofile-isl
14099 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 15619 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14100 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 15620 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14101 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \ 15621 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
14102 TFLAGS="$(STAGEprofile_TFLAGS)" \ 15622 TFLAGS="$(STAGEprofile_TFLAGS)" \
14103 $(TARGET-stageprofile-isl) 15623 $(TARGET-stageprofile-isl)
14104 15624
14105maybe-clean-stageprofile-isl: clean-stageprofile-isl 15625maybe-clean-stageprofile-isl: clean-stageprofile-isl
@@ -14132,6 +15652,7 @@ all-stagefeedback-isl: configure-stagefeedback-isl
14132 $(HOST_EXPORTS) \ 15652 $(HOST_EXPORTS) \
14133 $(POSTSTAGE1_HOST_EXPORTS) \ 15653 $(POSTSTAGE1_HOST_EXPORTS) \
14134 cd $(HOST_SUBDIR)/isl && \ 15654 cd $(HOST_SUBDIR)/isl && \
15655 \
14135 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 15656 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14136 CFLAGS="$(STAGEfeedback_CFLAGS)" \ 15657 CFLAGS="$(STAGEfeedback_CFLAGS)" \
14137 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \ 15658 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
@@ -14140,7 +15661,7 @@ all-stagefeedback-isl: configure-stagefeedback-isl
14140 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 15661 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14141 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 15662 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14142 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \ 15663 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
14143 TFLAGS="$(STAGEfeedback_TFLAGS)" \ 15664 TFLAGS="$(STAGEfeedback_TFLAGS)" \
14144 $(TARGET-stagefeedback-isl) 15665 $(TARGET-stagefeedback-isl)
14145 15666
14146maybe-clean-stagefeedback-isl: clean-stagefeedback-isl 15667maybe-clean-stagefeedback-isl: clean-stagefeedback-isl
@@ -14157,6 +15678,90 @@ clean-stagefeedback-isl:
14157@endif isl-bootstrap 15678@endif isl-bootstrap
14158 15679
14159 15680
15681.PHONY: all-stageautoprofile-isl maybe-all-stageautoprofile-isl
15682.PHONY: clean-stageautoprofile-isl maybe-clean-stageautoprofile-isl
15683maybe-all-stageautoprofile-isl:
15684maybe-clean-stageautoprofile-isl:
15685@if isl-bootstrap
15686maybe-all-stageautoprofile-isl: all-stageautoprofile-isl
15687all-stageautoprofile: all-stageautoprofile-isl
15688TARGET-stageautoprofile-isl = $(TARGET-isl)
15689all-stageautoprofile-isl: configure-stageautoprofile-isl
15690 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
15691 @r=`${PWD_COMMAND}`; export r; \
15692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15693 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
15694 $(HOST_EXPORTS) \
15695 $(POSTSTAGE1_HOST_EXPORTS) \
15696 cd $(HOST_SUBDIR)/isl && \
15697 $$s/gcc/config/i386/$(AUTO_PROFILE) \
15698 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15699 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
15700 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
15701 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
15702 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15703 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15704 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15705 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
15706 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
15707 $(TARGET-stageautoprofile-isl)
15708
15709maybe-clean-stageautoprofile-isl: clean-stageautoprofile-isl
15710clean-stageautoprofile: clean-stageautoprofile-isl
15711clean-stageautoprofile-isl:
15712 @if [ $(current_stage) = stageautoprofile ]; then \
15713 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
15714 else \
15715 [ -f $(HOST_SUBDIR)/stageautoprofile-isl/Makefile ] || exit 0; \
15716 $(MAKE) stageautoprofile-start; \
15717 fi; \
15718 cd $(HOST_SUBDIR)/isl && \
15719 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
15720@endif isl-bootstrap
15721
15722
15723.PHONY: all-stageautofeedback-isl maybe-all-stageautofeedback-isl
15724.PHONY: clean-stageautofeedback-isl maybe-clean-stageautofeedback-isl
15725maybe-all-stageautofeedback-isl:
15726maybe-clean-stageautofeedback-isl:
15727@if isl-bootstrap
15728maybe-all-stageautofeedback-isl: all-stageautofeedback-isl
15729all-stageautofeedback: all-stageautofeedback-isl
15730TARGET-stageautofeedback-isl = $(TARGET-isl)
15731all-stageautofeedback-isl: configure-stageautofeedback-isl
15732 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
15733 @r=`${PWD_COMMAND}`; export r; \
15734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15735 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
15736 $(HOST_EXPORTS) \
15737 $(POSTSTAGE1_HOST_EXPORTS) \
15738 cd $(HOST_SUBDIR)/isl && \
15739 \
15740 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15741 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
15742 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
15743 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
15744 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15745 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15746 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15747 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
15748 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
15749 $(TARGET-stageautofeedback-isl)
15750
15751maybe-clean-stageautofeedback-isl: clean-stageautofeedback-isl
15752clean-stageautofeedback: clean-stageautofeedback-isl
15753clean-stageautofeedback-isl:
15754 @if [ $(current_stage) = stageautofeedback ]; then \
15755 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
15756 else \
15757 [ -f $(HOST_SUBDIR)/stageautofeedback-isl/Makefile ] || exit 0; \
15758 $(MAKE) stageautofeedback-start; \
15759 fi; \
15760 cd $(HOST_SUBDIR)/isl && \
15761 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
15762@endif isl-bootstrap
15763
15764
14160 15765
14161 15766
14162 15767
@@ -14755,6 +16360,74 @@ configure-stagefeedback-libelf:
14755 --disable-shared 16360 --disable-shared
14756@endif libelf-bootstrap 16361@endif libelf-bootstrap
14757 16362
16363.PHONY: configure-stageautoprofile-libelf maybe-configure-stageautoprofile-libelf
16364maybe-configure-stageautoprofile-libelf:
16365@if libelf-bootstrap
16366maybe-configure-stageautoprofile-libelf: configure-stageautoprofile-libelf
16367configure-stageautoprofile-libelf:
16368 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
16369 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
16370 @r=`${PWD_COMMAND}`; export r; \
16371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16372 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
16373 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
16374 $(HOST_EXPORTS) \
16375 $(POSTSTAGE1_HOST_EXPORTS) \
16376 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
16377 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
16378 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
16379 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libelf; \
16380 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
16381 cd $(HOST_SUBDIR)/libelf || exit 1; \
16382 case $(srcdir) in \
16383 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16384 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
16385 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16386 esac; \
16387 module_srcdir=libelf; \
16388 $(SHELL) $$s/$$module_srcdir/configure \
16389 --srcdir=$${topdir}/$$module_srcdir \
16390 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16391 --target=${target_alias} \
16392 --with-build-libsubdir=$(HOST_SUBDIR) \
16393 $(STAGEautoprofile_CONFIGURE_FLAGS) \
16394 --disable-shared
16395@endif libelf-bootstrap
16396
16397.PHONY: configure-stageautofeedback-libelf maybe-configure-stageautofeedback-libelf
16398maybe-configure-stageautofeedback-libelf:
16399@if libelf-bootstrap
16400maybe-configure-stageautofeedback-libelf: configure-stageautofeedback-libelf
16401configure-stageautofeedback-libelf:
16402 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
16403 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
16404 @r=`${PWD_COMMAND}`; export r; \
16405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16406 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
16407 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
16408 $(HOST_EXPORTS) \
16409 $(POSTSTAGE1_HOST_EXPORTS) \
16410 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
16411 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
16412 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
16413 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libelf; \
16414 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
16415 cd $(HOST_SUBDIR)/libelf || exit 1; \
16416 case $(srcdir) in \
16417 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16418 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
16419 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16420 esac; \
16421 module_srcdir=libelf; \
16422 $(SHELL) $$s/$$module_srcdir/configure \
16423 --srcdir=$${topdir}/$$module_srcdir \
16424 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16425 --target=${target_alias} \
16426 --with-build-libsubdir=$(HOST_SUBDIR) \
16427 $(STAGEautofeedback_CONFIGURE_FLAGS) \
16428 --disable-shared
16429@endif libelf-bootstrap
16430
14758 16431
14759 16432
14760 16433
@@ -14793,6 +16466,7 @@ all-stage1-libelf: configure-stage1-libelf
14793 TFLAGS="$(STAGE1_TFLAGS)"; \ 16466 TFLAGS="$(STAGE1_TFLAGS)"; \
14794 $(HOST_EXPORTS) \ 16467 $(HOST_EXPORTS) \
14795 cd $(HOST_SUBDIR)/libelf && \ 16468 cd $(HOST_SUBDIR)/libelf && \
16469 \
14796 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 16470 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14797 CFLAGS="$(STAGE1_CFLAGS)" \ 16471 CFLAGS="$(STAGE1_CFLAGS)" \
14798 CXXFLAGS="$(STAGE1_CXXFLAGS)" \ 16472 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
@@ -14802,7 +16476,7 @@ all-stage1-libelf: configure-stage1-libelf
14802 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 16476 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14803 $(EXTRA_HOST_FLAGS) \ 16477 $(EXTRA_HOST_FLAGS) \
14804 $(STAGE1_FLAGS_TO_PASS) \ 16478 $(STAGE1_FLAGS_TO_PASS) \
14805 TFLAGS="$(STAGE1_TFLAGS)" \ 16479 TFLAGS="$(STAGE1_TFLAGS)" \
14806 $(TARGET-stage1-libelf) 16480 $(TARGET-stage1-libelf)
14807 16481
14808maybe-clean-stage1-libelf: clean-stage1-libelf 16482maybe-clean-stage1-libelf: clean-stage1-libelf
@@ -14836,6 +16510,7 @@ all-stage2-libelf: configure-stage2-libelf
14836 $(HOST_EXPORTS) \ 16510 $(HOST_EXPORTS) \
14837 $(POSTSTAGE1_HOST_EXPORTS) \ 16511 $(POSTSTAGE1_HOST_EXPORTS) \
14838 cd $(HOST_SUBDIR)/libelf && \ 16512 cd $(HOST_SUBDIR)/libelf && \
16513 \
14839 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 16514 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14840 CFLAGS="$(STAGE2_CFLAGS)" \ 16515 CFLAGS="$(STAGE2_CFLAGS)" \
14841 CXXFLAGS="$(STAGE2_CXXFLAGS)" \ 16516 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
@@ -14844,7 +16519,7 @@ all-stage2-libelf: configure-stage2-libelf
14844 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 16519 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14845 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 16520 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14846 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 16521 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14847 TFLAGS="$(STAGE2_TFLAGS)" \ 16522 TFLAGS="$(STAGE2_TFLAGS)" \
14848 $(TARGET-stage2-libelf) 16523 $(TARGET-stage2-libelf)
14849 16524
14850maybe-clean-stage2-libelf: clean-stage2-libelf 16525maybe-clean-stage2-libelf: clean-stage2-libelf
@@ -14877,6 +16552,7 @@ all-stage3-libelf: configure-stage3-libelf
14877 $(HOST_EXPORTS) \ 16552 $(HOST_EXPORTS) \
14878 $(POSTSTAGE1_HOST_EXPORTS) \ 16553 $(POSTSTAGE1_HOST_EXPORTS) \
14879 cd $(HOST_SUBDIR)/libelf && \ 16554 cd $(HOST_SUBDIR)/libelf && \
16555 \
14880 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 16556 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14881 CFLAGS="$(STAGE3_CFLAGS)" \ 16557 CFLAGS="$(STAGE3_CFLAGS)" \
14882 CXXFLAGS="$(STAGE3_CXXFLAGS)" \ 16558 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
@@ -14885,7 +16561,7 @@ all-stage3-libelf: configure-stage3-libelf
14885 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 16561 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14886 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 16562 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14887 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 16563 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14888 TFLAGS="$(STAGE3_TFLAGS)" \ 16564 TFLAGS="$(STAGE3_TFLAGS)" \
14889 $(TARGET-stage3-libelf) 16565 $(TARGET-stage3-libelf)
14890 16566
14891maybe-clean-stage3-libelf: clean-stage3-libelf 16567maybe-clean-stage3-libelf: clean-stage3-libelf
@@ -14918,6 +16594,7 @@ all-stage4-libelf: configure-stage4-libelf
14918 $(HOST_EXPORTS) \ 16594 $(HOST_EXPORTS) \
14919 $(POSTSTAGE1_HOST_EXPORTS) \ 16595 $(POSTSTAGE1_HOST_EXPORTS) \
14920 cd $(HOST_SUBDIR)/libelf && \ 16596 cd $(HOST_SUBDIR)/libelf && \
16597 \
14921 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 16598 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14922 CFLAGS="$(STAGE4_CFLAGS)" \ 16599 CFLAGS="$(STAGE4_CFLAGS)" \
14923 CXXFLAGS="$(STAGE4_CXXFLAGS)" \ 16600 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
@@ -14926,7 +16603,7 @@ all-stage4-libelf: configure-stage4-libelf
14926 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 16603 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14927 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 16604 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14928 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 16605 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14929 TFLAGS="$(STAGE4_TFLAGS)" \ 16606 TFLAGS="$(STAGE4_TFLAGS)" \
14930 $(TARGET-stage4-libelf) 16607 $(TARGET-stage4-libelf)
14931 16608
14932maybe-clean-stage4-libelf: clean-stage4-libelf 16609maybe-clean-stage4-libelf: clean-stage4-libelf
@@ -14959,6 +16636,7 @@ all-stageprofile-libelf: configure-stageprofile-libelf
14959 $(HOST_EXPORTS) \ 16636 $(HOST_EXPORTS) \
14960 $(POSTSTAGE1_HOST_EXPORTS) \ 16637 $(POSTSTAGE1_HOST_EXPORTS) \
14961 cd $(HOST_SUBDIR)/libelf && \ 16638 cd $(HOST_SUBDIR)/libelf && \
16639 \
14962 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 16640 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14963 CFLAGS="$(STAGEprofile_CFLAGS)" \ 16641 CFLAGS="$(STAGEprofile_CFLAGS)" \
14964 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \ 16642 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
@@ -14967,7 +16645,7 @@ all-stageprofile-libelf: configure-stageprofile-libelf
14967 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 16645 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14968 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 16646 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14969 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 16647 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14970 TFLAGS="$(STAGEprofile_TFLAGS)" \ 16648 TFLAGS="$(STAGEprofile_TFLAGS)" \
14971 $(TARGET-stageprofile-libelf) 16649 $(TARGET-stageprofile-libelf)
14972 16650
14973maybe-clean-stageprofile-libelf: clean-stageprofile-libelf 16651maybe-clean-stageprofile-libelf: clean-stageprofile-libelf
@@ -15000,6 +16678,7 @@ all-stagefeedback-libelf: configure-stagefeedback-libelf
15000 $(HOST_EXPORTS) \ 16678 $(HOST_EXPORTS) \
15001 $(POSTSTAGE1_HOST_EXPORTS) \ 16679 $(POSTSTAGE1_HOST_EXPORTS) \
15002 cd $(HOST_SUBDIR)/libelf && \ 16680 cd $(HOST_SUBDIR)/libelf && \
16681 \
15003 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 16682 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15004 CFLAGS="$(STAGEfeedback_CFLAGS)" \ 16683 CFLAGS="$(STAGEfeedback_CFLAGS)" \
15005 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \ 16684 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
@@ -15008,7 +16687,7 @@ all-stagefeedback-libelf: configure-stagefeedback-libelf
15008 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 16687 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15009 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 16688 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15010 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 16689 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15011 TFLAGS="$(STAGEfeedback_TFLAGS)" \ 16690 TFLAGS="$(STAGEfeedback_TFLAGS)" \
15012 $(TARGET-stagefeedback-libelf) 16691 $(TARGET-stagefeedback-libelf)
15013 16692
15014maybe-clean-stagefeedback-libelf: clean-stagefeedback-libelf 16693maybe-clean-stagefeedback-libelf: clean-stagefeedback-libelf
@@ -15025,6 +16704,90 @@ clean-stagefeedback-libelf:
15025@endif libelf-bootstrap 16704@endif libelf-bootstrap
15026 16705
15027 16706
16707.PHONY: all-stageautoprofile-libelf maybe-all-stageautoprofile-libelf
16708.PHONY: clean-stageautoprofile-libelf maybe-clean-stageautoprofile-libelf
16709maybe-all-stageautoprofile-libelf:
16710maybe-clean-stageautoprofile-libelf:
16711@if libelf-bootstrap
16712maybe-all-stageautoprofile-libelf: all-stageautoprofile-libelf
16713all-stageautoprofile: all-stageautoprofile-libelf
16714TARGET-stageautoprofile-libelf = $(TARGET-libelf)
16715all-stageautoprofile-libelf: configure-stageautoprofile-libelf
16716 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
16717 @r=`${PWD_COMMAND}`; export r; \
16718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16719 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
16720 $(HOST_EXPORTS) \
16721 $(POSTSTAGE1_HOST_EXPORTS) \
16722 cd $(HOST_SUBDIR)/libelf && \
16723 $$s/gcc/config/i386/$(AUTO_PROFILE) \
16724 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16725 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
16726 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
16727 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
16728 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16729 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16730 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16731 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16732 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
16733 $(TARGET-stageautoprofile-libelf)
16734
16735maybe-clean-stageautoprofile-libelf: clean-stageautoprofile-libelf
16736clean-stageautoprofile: clean-stageautoprofile-libelf
16737clean-stageautoprofile-libelf:
16738 @if [ $(current_stage) = stageautoprofile ]; then \
16739 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
16740 else \
16741 [ -f $(HOST_SUBDIR)/stageautoprofile-libelf/Makefile ] || exit 0; \
16742 $(MAKE) stageautoprofile-start; \
16743 fi; \
16744 cd $(HOST_SUBDIR)/libelf && \
16745 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
16746@endif libelf-bootstrap
16747
16748
16749.PHONY: all-stageautofeedback-libelf maybe-all-stageautofeedback-libelf
16750.PHONY: clean-stageautofeedback-libelf maybe-clean-stageautofeedback-libelf
16751maybe-all-stageautofeedback-libelf:
16752maybe-clean-stageautofeedback-libelf:
16753@if libelf-bootstrap
16754maybe-all-stageautofeedback-libelf: all-stageautofeedback-libelf
16755all-stageautofeedback: all-stageautofeedback-libelf
16756TARGET-stageautofeedback-libelf = $(TARGET-libelf)
16757all-stageautofeedback-libelf: configure-stageautofeedback-libelf
16758 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
16759 @r=`${PWD_COMMAND}`; export r; \
16760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16761 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
16762 $(HOST_EXPORTS) \
16763 $(POSTSTAGE1_HOST_EXPORTS) \
16764 cd $(HOST_SUBDIR)/libelf && \
16765 \
16766 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16767 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
16768 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
16769 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
16770 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16771 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16772 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16773 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16774 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
16775 $(TARGET-stageautofeedback-libelf)
16776
16777maybe-clean-stageautofeedback-libelf: clean-stageautofeedback-libelf
16778clean-stageautofeedback: clean-stageautofeedback-libelf
16779clean-stageautofeedback-libelf:
16780 @if [ $(current_stage) = stageautofeedback ]; then \
16781 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
16782 else \
16783 [ -f $(HOST_SUBDIR)/stageautofeedback-libelf/Makefile ] || exit 0; \
16784 $(MAKE) stageautofeedback-start; \
16785 fi; \
16786 cd $(HOST_SUBDIR)/libelf && \
16787 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
16788@endif libelf-bootstrap
16789
16790
15028 16791
15029 16792
15030 16793
@@ -15617,6 +17380,72 @@ configure-stagefeedback-gold:
15617 $(STAGEfeedback_CONFIGURE_FLAGS) 17380 $(STAGEfeedback_CONFIGURE_FLAGS)
15618@endif gold-bootstrap 17381@endif gold-bootstrap
15619 17382
17383.PHONY: configure-stageautoprofile-gold maybe-configure-stageautoprofile-gold
17384maybe-configure-stageautoprofile-gold:
17385@if gold-bootstrap
17386maybe-configure-stageautoprofile-gold: configure-stageautoprofile-gold
17387configure-stageautoprofile-gold:
17388 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
17389 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
17390 @r=`${PWD_COMMAND}`; export r; \
17391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17392 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
17393 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
17394 $(HOST_EXPORTS) \
17395 $(POSTSTAGE1_HOST_EXPORTS) \
17396 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
17397 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
17398 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
17399 echo Configuring stage autoprofile in $(HOST_SUBDIR)/gold; \
17400 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
17401 cd $(HOST_SUBDIR)/gold || exit 1; \
17402 case $(srcdir) in \
17403 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17404 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
17405 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17406 esac; \
17407 module_srcdir=gold; \
17408 $(SHELL) $$s/$$module_srcdir/configure \
17409 --srcdir=$${topdir}/$$module_srcdir \
17410 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17411 --target=${target_alias} \
17412 --with-build-libsubdir=$(HOST_SUBDIR) \
17413 $(STAGEautoprofile_CONFIGURE_FLAGS)
17414@endif gold-bootstrap
17415
17416.PHONY: configure-stageautofeedback-gold maybe-configure-stageautofeedback-gold
17417maybe-configure-stageautofeedback-gold:
17418@if gold-bootstrap
17419maybe-configure-stageautofeedback-gold: configure-stageautofeedback-gold
17420configure-stageautofeedback-gold:
17421 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
17422 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
17423 @r=`${PWD_COMMAND}`; export r; \
17424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17425 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
17426 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
17427 $(HOST_EXPORTS) \
17428 $(POSTSTAGE1_HOST_EXPORTS) \
17429 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
17430 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
17431 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
17432 echo Configuring stage autofeedback in $(HOST_SUBDIR)/gold; \
17433 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
17434 cd $(HOST_SUBDIR)/gold || exit 1; \
17435 case $(srcdir) in \
17436 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17437 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
17438 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17439 esac; \
17440 module_srcdir=gold; \
17441 $(SHELL) $$s/$$module_srcdir/configure \
17442 --srcdir=$${topdir}/$$module_srcdir \
17443 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17444 --target=${target_alias} \
17445 --with-build-libsubdir=$(HOST_SUBDIR) \
17446 $(STAGEautofeedback_CONFIGURE_FLAGS)
17447@endif gold-bootstrap
17448
15620 17449
15621 17450
15622 17451
@@ -15655,6 +17484,7 @@ all-stage1-gold: configure-stage1-gold
15655 TFLAGS="$(STAGE1_TFLAGS)"; \ 17484 TFLAGS="$(STAGE1_TFLAGS)"; \
15656 $(HOST_EXPORTS) \ 17485 $(HOST_EXPORTS) \
15657 cd $(HOST_SUBDIR)/gold && \ 17486 cd $(HOST_SUBDIR)/gold && \
17487 \
15658 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 17488 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15659 CFLAGS="$(STAGE1_CFLAGS)" \ 17489 CFLAGS="$(STAGE1_CFLAGS)" \
15660 CXXFLAGS="$(STAGE1_CXXFLAGS)" \ 17490 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
@@ -15664,7 +17494,7 @@ all-stage1-gold: configure-stage1-gold
15664 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 17494 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15665 $(EXTRA_HOST_FLAGS) \ 17495 $(EXTRA_HOST_FLAGS) \
15666 $(STAGE1_FLAGS_TO_PASS) \ 17496 $(STAGE1_FLAGS_TO_PASS) \
15667 TFLAGS="$(STAGE1_TFLAGS)" \ 17497 TFLAGS="$(STAGE1_TFLAGS)" \
15668 $(TARGET-stage1-gold) 17498 $(TARGET-stage1-gold)
15669 17499
15670maybe-clean-stage1-gold: clean-stage1-gold 17500maybe-clean-stage1-gold: clean-stage1-gold
@@ -15698,6 +17528,7 @@ all-stage2-gold: configure-stage2-gold
15698 $(HOST_EXPORTS) \ 17528 $(HOST_EXPORTS) \
15699 $(POSTSTAGE1_HOST_EXPORTS) \ 17529 $(POSTSTAGE1_HOST_EXPORTS) \
15700 cd $(HOST_SUBDIR)/gold && \ 17530 cd $(HOST_SUBDIR)/gold && \
17531 \
15701 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 17532 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15702 CFLAGS="$(STAGE2_CFLAGS)" \ 17533 CFLAGS="$(STAGE2_CFLAGS)" \
15703 CXXFLAGS="$(STAGE2_CXXFLAGS)" \ 17534 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
@@ -15706,7 +17537,7 @@ all-stage2-gold: configure-stage2-gold
15706 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 17537 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15707 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 17538 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15708 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 17539 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15709 TFLAGS="$(STAGE2_TFLAGS)" \ 17540 TFLAGS="$(STAGE2_TFLAGS)" \
15710 $(TARGET-stage2-gold) 17541 $(TARGET-stage2-gold)
15711 17542
15712maybe-clean-stage2-gold: clean-stage2-gold 17543maybe-clean-stage2-gold: clean-stage2-gold
@@ -15739,6 +17570,7 @@ all-stage3-gold: configure-stage3-gold
15739 $(HOST_EXPORTS) \ 17570 $(HOST_EXPORTS) \
15740 $(POSTSTAGE1_HOST_EXPORTS) \ 17571 $(POSTSTAGE1_HOST_EXPORTS) \
15741 cd $(HOST_SUBDIR)/gold && \ 17572 cd $(HOST_SUBDIR)/gold && \
17573 \
15742 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 17574 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15743 CFLAGS="$(STAGE3_CFLAGS)" \ 17575 CFLAGS="$(STAGE3_CFLAGS)" \
15744 CXXFLAGS="$(STAGE3_CXXFLAGS)" \ 17576 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
@@ -15747,7 +17579,7 @@ all-stage3-gold: configure-stage3-gold
15747 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 17579 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15748 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 17580 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15749 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 17581 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15750 TFLAGS="$(STAGE3_TFLAGS)" \ 17582 TFLAGS="$(STAGE3_TFLAGS)" \
15751 $(TARGET-stage3-gold) 17583 $(TARGET-stage3-gold)
15752 17584
15753maybe-clean-stage3-gold: clean-stage3-gold 17585maybe-clean-stage3-gold: clean-stage3-gold
@@ -15780,6 +17612,7 @@ all-stage4-gold: configure-stage4-gold
15780 $(HOST_EXPORTS) \ 17612 $(HOST_EXPORTS) \
15781 $(POSTSTAGE1_HOST_EXPORTS) \ 17613 $(POSTSTAGE1_HOST_EXPORTS) \
15782 cd $(HOST_SUBDIR)/gold && \ 17614 cd $(HOST_SUBDIR)/gold && \
17615 \
15783 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 17616 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15784 CFLAGS="$(STAGE4_CFLAGS)" \ 17617 CFLAGS="$(STAGE4_CFLAGS)" \
15785 CXXFLAGS="$(STAGE4_CXXFLAGS)" \ 17618 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
@@ -15788,7 +17621,7 @@ all-stage4-gold: configure-stage4-gold
15788 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 17621 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15789 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 17622 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15790 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 17623 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15791 TFLAGS="$(STAGE4_TFLAGS)" \ 17624 TFLAGS="$(STAGE4_TFLAGS)" \
15792 $(TARGET-stage4-gold) 17625 $(TARGET-stage4-gold)
15793 17626
15794maybe-clean-stage4-gold: clean-stage4-gold 17627maybe-clean-stage4-gold: clean-stage4-gold
@@ -15821,6 +17654,7 @@ all-stageprofile-gold: configure-stageprofile-gold
15821 $(HOST_EXPORTS) \ 17654 $(HOST_EXPORTS) \
15822 $(POSTSTAGE1_HOST_EXPORTS) \ 17655 $(POSTSTAGE1_HOST_EXPORTS) \
15823 cd $(HOST_SUBDIR)/gold && \ 17656 cd $(HOST_SUBDIR)/gold && \
17657 \
15824 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 17658 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15825 CFLAGS="$(STAGEprofile_CFLAGS)" \ 17659 CFLAGS="$(STAGEprofile_CFLAGS)" \
15826 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \ 17660 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
@@ -15829,7 +17663,7 @@ all-stageprofile-gold: configure-stageprofile-gold
15829 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 17663 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15830 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 17664 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15831 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 17665 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15832 TFLAGS="$(STAGEprofile_TFLAGS)" \ 17666 TFLAGS="$(STAGEprofile_TFLAGS)" \
15833 $(TARGET-stageprofile-gold) 17667 $(TARGET-stageprofile-gold)
15834 17668
15835maybe-clean-stageprofile-gold: clean-stageprofile-gold 17669maybe-clean-stageprofile-gold: clean-stageprofile-gold
@@ -15862,6 +17696,7 @@ all-stagefeedback-gold: configure-stagefeedback-gold
15862 $(HOST_EXPORTS) \ 17696 $(HOST_EXPORTS) \
15863 $(POSTSTAGE1_HOST_EXPORTS) \ 17697 $(POSTSTAGE1_HOST_EXPORTS) \
15864 cd $(HOST_SUBDIR)/gold && \ 17698 cd $(HOST_SUBDIR)/gold && \
17699 \
15865 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 17700 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15866 CFLAGS="$(STAGEfeedback_CFLAGS)" \ 17701 CFLAGS="$(STAGEfeedback_CFLAGS)" \
15867 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \ 17702 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
@@ -15870,7 +17705,7 @@ all-stagefeedback-gold: configure-stagefeedback-gold
15870 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 17705 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15871 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 17706 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15872 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 17707 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15873 TFLAGS="$(STAGEfeedback_TFLAGS)" \ 17708 TFLAGS="$(STAGEfeedback_TFLAGS)" \
15874 $(TARGET-stagefeedback-gold) 17709 $(TARGET-stagefeedback-gold)
15875 17710
15876maybe-clean-stagefeedback-gold: clean-stagefeedback-gold 17711maybe-clean-stagefeedback-gold: clean-stagefeedback-gold
@@ -15887,6 +17722,90 @@ clean-stagefeedback-gold:
15887@endif gold-bootstrap 17722@endif gold-bootstrap
15888 17723
15889 17724
17725.PHONY: all-stageautoprofile-gold maybe-all-stageautoprofile-gold
17726.PHONY: clean-stageautoprofile-gold maybe-clean-stageautoprofile-gold
17727maybe-all-stageautoprofile-gold:
17728maybe-clean-stageautoprofile-gold:
17729@if gold-bootstrap
17730maybe-all-stageautoprofile-gold: all-stageautoprofile-gold
17731all-stageautoprofile: all-stageautoprofile-gold
17732TARGET-stageautoprofile-gold = $(TARGET-gold)
17733all-stageautoprofile-gold: configure-stageautoprofile-gold
17734 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
17735 @r=`${PWD_COMMAND}`; export r; \
17736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17737 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
17738 $(HOST_EXPORTS) \
17739 $(POSTSTAGE1_HOST_EXPORTS) \
17740 cd $(HOST_SUBDIR)/gold && \
17741 $$s/gcc/config/i386/$(AUTO_PROFILE) \
17742 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17743 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
17744 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
17745 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
17746 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17747 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17748 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17749 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17750 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
17751 $(TARGET-stageautoprofile-gold)
17752
17753maybe-clean-stageautoprofile-gold: clean-stageautoprofile-gold
17754clean-stageautoprofile: clean-stageautoprofile-gold
17755clean-stageautoprofile-gold:
17756 @if [ $(current_stage) = stageautoprofile ]; then \
17757 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
17758 else \
17759 [ -f $(HOST_SUBDIR)/stageautoprofile-gold/Makefile ] || exit 0; \
17760 $(MAKE) stageautoprofile-start; \
17761 fi; \
17762 cd $(HOST_SUBDIR)/gold && \
17763 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17764@endif gold-bootstrap
17765
17766
17767.PHONY: all-stageautofeedback-gold maybe-all-stageautofeedback-gold
17768.PHONY: clean-stageautofeedback-gold maybe-clean-stageautofeedback-gold
17769maybe-all-stageautofeedback-gold:
17770maybe-clean-stageautofeedback-gold:
17771@if gold-bootstrap
17772maybe-all-stageautofeedback-gold: all-stageautofeedback-gold
17773all-stageautofeedback: all-stageautofeedback-gold
17774TARGET-stageautofeedback-gold = $(TARGET-gold)
17775all-stageautofeedback-gold: configure-stageautofeedback-gold
17776 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
17777 @r=`${PWD_COMMAND}`; export r; \
17778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17779 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
17780 $(HOST_EXPORTS) \
17781 $(POSTSTAGE1_HOST_EXPORTS) \
17782 cd $(HOST_SUBDIR)/gold && \
17783 \
17784 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17785 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
17786 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
17787 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
17788 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17789 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17790 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17791 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17792 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
17793 $(TARGET-stageautofeedback-gold)
17794
17795maybe-clean-stageautofeedback-gold: clean-stageautofeedback-gold
17796clean-stageautofeedback: clean-stageautofeedback-gold
17797clean-stageautofeedback-gold:
17798 @if [ $(current_stage) = stageautofeedback ]; then \
17799 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
17800 else \
17801 [ -f $(HOST_SUBDIR)/stageautofeedback-gold/Makefile ] || exit 0; \
17802 $(MAKE) stageautofeedback-start; \
17803 fi; \
17804 cd $(HOST_SUBDIR)/gold && \
17805 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17806@endif gold-bootstrap
17807
17808
15890 17809
15891 17810
15892 17811
@@ -16932,6 +18851,72 @@ configure-stagefeedback-intl:
16932 $(STAGEfeedback_CONFIGURE_FLAGS) 18851 $(STAGEfeedback_CONFIGURE_FLAGS)
16933@endif intl-bootstrap 18852@endif intl-bootstrap
16934 18853
18854.PHONY: configure-stageautoprofile-intl maybe-configure-stageautoprofile-intl
18855maybe-configure-stageautoprofile-intl:
18856@if intl-bootstrap
18857maybe-configure-stageautoprofile-intl: configure-stageautoprofile-intl
18858configure-stageautoprofile-intl:
18859 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
18860 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
18861 @r=`${PWD_COMMAND}`; export r; \
18862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18863 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
18864 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
18865 $(HOST_EXPORTS) \
18866 $(POSTSTAGE1_HOST_EXPORTS) \
18867 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
18868 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
18869 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
18870 echo Configuring stage autoprofile in $(HOST_SUBDIR)/intl; \
18871 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
18872 cd $(HOST_SUBDIR)/intl || exit 1; \
18873 case $(srcdir) in \
18874 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18875 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
18876 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18877 esac; \
18878 module_srcdir=intl; \
18879 $(SHELL) $$s/$$module_srcdir/configure \
18880 --srcdir=$${topdir}/$$module_srcdir \
18881 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18882 --target=${target_alias} \
18883 --with-build-libsubdir=$(HOST_SUBDIR) \
18884 $(STAGEautoprofile_CONFIGURE_FLAGS)
18885@endif intl-bootstrap
18886
18887.PHONY: configure-stageautofeedback-intl maybe-configure-stageautofeedback-intl
18888maybe-configure-stageautofeedback-intl:
18889@if intl-bootstrap
18890maybe-configure-stageautofeedback-intl: configure-stageautofeedback-intl
18891configure-stageautofeedback-intl:
18892 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
18893 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
18894 @r=`${PWD_COMMAND}`; export r; \
18895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18896 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
18897 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
18898 $(HOST_EXPORTS) \
18899 $(POSTSTAGE1_HOST_EXPORTS) \
18900 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
18901 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
18902 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
18903 echo Configuring stage autofeedback in $(HOST_SUBDIR)/intl; \
18904 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
18905 cd $(HOST_SUBDIR)/intl || exit 1; \
18906 case $(srcdir) in \
18907 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18908 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
18909 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18910 esac; \
18911 module_srcdir=intl; \
18912 $(SHELL) $$s/$$module_srcdir/configure \
18913 --srcdir=$${topdir}/$$module_srcdir \
18914 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18915 --target=${target_alias} \
18916 --with-build-libsubdir=$(HOST_SUBDIR) \
18917 $(STAGEautofeedback_CONFIGURE_FLAGS)
18918@endif intl-bootstrap
18919
16935 18920
16936 18921
16937 18922
@@ -16970,6 +18955,7 @@ all-stage1-intl: configure-stage1-intl
16970 TFLAGS="$(STAGE1_TFLAGS)"; \ 18955 TFLAGS="$(STAGE1_TFLAGS)"; \
16971 $(HOST_EXPORTS) \ 18956 $(HOST_EXPORTS) \
16972 cd $(HOST_SUBDIR)/intl && \ 18957 cd $(HOST_SUBDIR)/intl && \
18958 \
16973 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 18959 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16974 CFLAGS="$(STAGE1_CFLAGS)" \ 18960 CFLAGS="$(STAGE1_CFLAGS)" \
16975 CXXFLAGS="$(STAGE1_CXXFLAGS)" \ 18961 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
@@ -16979,7 +18965,7 @@ all-stage1-intl: configure-stage1-intl
16979 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 18965 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16980 $(EXTRA_HOST_FLAGS) \ 18966 $(EXTRA_HOST_FLAGS) \
16981 $(STAGE1_FLAGS_TO_PASS) \ 18967 $(STAGE1_FLAGS_TO_PASS) \
16982 TFLAGS="$(STAGE1_TFLAGS)" \ 18968 TFLAGS="$(STAGE1_TFLAGS)" \
16983 $(TARGET-stage1-intl) 18969 $(TARGET-stage1-intl)
16984 18970
16985maybe-clean-stage1-intl: clean-stage1-intl 18971maybe-clean-stage1-intl: clean-stage1-intl
@@ -17013,6 +18999,7 @@ all-stage2-intl: configure-stage2-intl
17013 $(HOST_EXPORTS) \ 18999 $(HOST_EXPORTS) \
17014 $(POSTSTAGE1_HOST_EXPORTS) \ 19000 $(POSTSTAGE1_HOST_EXPORTS) \
17015 cd $(HOST_SUBDIR)/intl && \ 19001 cd $(HOST_SUBDIR)/intl && \
19002 \
17016 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 19003 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17017 CFLAGS="$(STAGE2_CFLAGS)" \ 19004 CFLAGS="$(STAGE2_CFLAGS)" \
17018 CXXFLAGS="$(STAGE2_CXXFLAGS)" \ 19005 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
@@ -17021,7 +19008,7 @@ all-stage2-intl: configure-stage2-intl
17021 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 19008 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17022 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 19009 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17023 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 19010 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17024 TFLAGS="$(STAGE2_TFLAGS)" \ 19011 TFLAGS="$(STAGE2_TFLAGS)" \
17025 $(TARGET-stage2-intl) 19012 $(TARGET-stage2-intl)
17026 19013
17027maybe-clean-stage2-intl: clean-stage2-intl 19014maybe-clean-stage2-intl: clean-stage2-intl
@@ -17054,6 +19041,7 @@ all-stage3-intl: configure-stage3-intl
17054 $(HOST_EXPORTS) \ 19041 $(HOST_EXPORTS) \
17055 $(POSTSTAGE1_HOST_EXPORTS) \ 19042 $(POSTSTAGE1_HOST_EXPORTS) \
17056 cd $(HOST_SUBDIR)/intl && \ 19043 cd $(HOST_SUBDIR)/intl && \
19044 \
17057 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 19045 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17058 CFLAGS="$(STAGE3_CFLAGS)" \ 19046 CFLAGS="$(STAGE3_CFLAGS)" \
17059 CXXFLAGS="$(STAGE3_CXXFLAGS)" \ 19047 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
@@ -17062,7 +19050,7 @@ all-stage3-intl: configure-stage3-intl
17062 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 19050 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17063 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 19051 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17064 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 19052 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17065 TFLAGS="$(STAGE3_TFLAGS)" \ 19053 TFLAGS="$(STAGE3_TFLAGS)" \
17066 $(TARGET-stage3-intl) 19054 $(TARGET-stage3-intl)
17067 19055
17068maybe-clean-stage3-intl: clean-stage3-intl 19056maybe-clean-stage3-intl: clean-stage3-intl
@@ -17095,6 +19083,7 @@ all-stage4-intl: configure-stage4-intl
17095 $(HOST_EXPORTS) \ 19083 $(HOST_EXPORTS) \
17096 $(POSTSTAGE1_HOST_EXPORTS) \ 19084 $(POSTSTAGE1_HOST_EXPORTS) \
17097 cd $(HOST_SUBDIR)/intl && \ 19085 cd $(HOST_SUBDIR)/intl && \
19086 \
17098 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 19087 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17099 CFLAGS="$(STAGE4_CFLAGS)" \ 19088 CFLAGS="$(STAGE4_CFLAGS)" \
17100 CXXFLAGS="$(STAGE4_CXXFLAGS)" \ 19089 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
@@ -17103,7 +19092,7 @@ all-stage4-intl: configure-stage4-intl
17103 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 19092 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17104 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 19093 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17105 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 19094 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17106 TFLAGS="$(STAGE4_TFLAGS)" \ 19095 TFLAGS="$(STAGE4_TFLAGS)" \
17107 $(TARGET-stage4-intl) 19096 $(TARGET-stage4-intl)
17108 19097
17109maybe-clean-stage4-intl: clean-stage4-intl 19098maybe-clean-stage4-intl: clean-stage4-intl
@@ -17136,6 +19125,7 @@ all-stageprofile-intl: configure-stageprofile-intl
17136 $(HOST_EXPORTS) \ 19125 $(HOST_EXPORTS) \
17137 $(POSTSTAGE1_HOST_EXPORTS) \ 19126 $(POSTSTAGE1_HOST_EXPORTS) \
17138 cd $(HOST_SUBDIR)/intl && \ 19127 cd $(HOST_SUBDIR)/intl && \
19128 \
17139 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 19129 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17140 CFLAGS="$(STAGEprofile_CFLAGS)" \ 19130 CFLAGS="$(STAGEprofile_CFLAGS)" \
17141 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \ 19131 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
@@ -17144,7 +19134,7 @@ all-stageprofile-intl: configure-stageprofile-intl
17144 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 19134 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17145 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 19135 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17146 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 19136 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17147 TFLAGS="$(STAGEprofile_TFLAGS)" \ 19137 TFLAGS="$(STAGEprofile_TFLAGS)" \
17148 $(TARGET-stageprofile-intl) 19138 $(TARGET-stageprofile-intl)
17149 19139
17150maybe-clean-stageprofile-intl: clean-stageprofile-intl 19140maybe-clean-stageprofile-intl: clean-stageprofile-intl
@@ -17177,6 +19167,7 @@ all-stagefeedback-intl: configure-stagefeedback-intl
17177 $(HOST_EXPORTS) \ 19167 $(HOST_EXPORTS) \
17178 $(POSTSTAGE1_HOST_EXPORTS) \ 19168 $(POSTSTAGE1_HOST_EXPORTS) \
17179 cd $(HOST_SUBDIR)/intl && \ 19169 cd $(HOST_SUBDIR)/intl && \
19170 \
17180 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 19171 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17181 CFLAGS="$(STAGEfeedback_CFLAGS)" \ 19172 CFLAGS="$(STAGEfeedback_CFLAGS)" \
17182 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \ 19173 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
@@ -17185,7 +19176,7 @@ all-stagefeedback-intl: configure-stagefeedback-intl
17185 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 19176 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17186 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 19177 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17187 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 19178 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17188 TFLAGS="$(STAGEfeedback_TFLAGS)" \ 19179 TFLAGS="$(STAGEfeedback_TFLAGS)" \
17189 $(TARGET-stagefeedback-intl) 19180 $(TARGET-stagefeedback-intl)
17190 19181
17191maybe-clean-stagefeedback-intl: clean-stagefeedback-intl 19182maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
@@ -17202,6 +19193,90 @@ clean-stagefeedback-intl:
17202@endif intl-bootstrap 19193@endif intl-bootstrap
17203 19194
17204 19195
19196.PHONY: all-stageautoprofile-intl maybe-all-stageautoprofile-intl
19197.PHONY: clean-stageautoprofile-intl maybe-clean-stageautoprofile-intl
19198maybe-all-stageautoprofile-intl:
19199maybe-clean-stageautoprofile-intl:
19200@if intl-bootstrap
19201maybe-all-stageautoprofile-intl: all-stageautoprofile-intl
19202all-stageautoprofile: all-stageautoprofile-intl
19203TARGET-stageautoprofile-intl = $(TARGET-intl)
19204all-stageautoprofile-intl: configure-stageautoprofile-intl
19205 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
19206 @r=`${PWD_COMMAND}`; export r; \
19207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19208 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
19209 $(HOST_EXPORTS) \
19210 $(POSTSTAGE1_HOST_EXPORTS) \
19211 cd $(HOST_SUBDIR)/intl && \
19212 $$s/gcc/config/i386/$(AUTO_PROFILE) \
19213 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19214 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
19215 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
19216 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
19217 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19218 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19219 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19220 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19221 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
19222 $(TARGET-stageautoprofile-intl)
19223
19224maybe-clean-stageautoprofile-intl: clean-stageautoprofile-intl
19225clean-stageautoprofile: clean-stageautoprofile-intl
19226clean-stageautoprofile-intl:
19227 @if [ $(current_stage) = stageautoprofile ]; then \
19228 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
19229 else \
19230 [ -f $(HOST_SUBDIR)/stageautoprofile-intl/Makefile ] || exit 0; \
19231 $(MAKE) stageautoprofile-start; \
19232 fi; \
19233 cd $(HOST_SUBDIR)/intl && \
19234 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19235@endif intl-bootstrap
19236
19237
19238.PHONY: all-stageautofeedback-intl maybe-all-stageautofeedback-intl
19239.PHONY: clean-stageautofeedback-intl maybe-clean-stageautofeedback-intl
19240maybe-all-stageautofeedback-intl:
19241maybe-clean-stageautofeedback-intl:
19242@if intl-bootstrap
19243maybe-all-stageautofeedback-intl: all-stageautofeedback-intl
19244all-stageautofeedback: all-stageautofeedback-intl
19245TARGET-stageautofeedback-intl = $(TARGET-intl)
19246all-stageautofeedback-intl: configure-stageautofeedback-intl
19247 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
19248 @r=`${PWD_COMMAND}`; export r; \
19249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19250 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
19251 $(HOST_EXPORTS) \
19252 $(POSTSTAGE1_HOST_EXPORTS) \
19253 cd $(HOST_SUBDIR)/intl && \
19254 \
19255 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19256 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
19257 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
19258 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
19259 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19260 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19261 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19262 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19263 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
19264 $(TARGET-stageautofeedback-intl)
19265
19266maybe-clean-stageautofeedback-intl: clean-stageautofeedback-intl
19267clean-stageautofeedback: clean-stageautofeedback-intl
19268clean-stageautofeedback-intl:
19269 @if [ $(current_stage) = stageautofeedback ]; then \
19270 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
19271 else \
19272 [ -f $(HOST_SUBDIR)/stageautofeedback-intl/Makefile ] || exit 0; \
19273 $(MAKE) stageautofeedback-start; \
19274 fi; \
19275 cd $(HOST_SUBDIR)/intl && \
19276 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19277@endif intl-bootstrap
19278
19279
17205 19280
17206 19281
17207 19282
@@ -18673,6 +20748,72 @@ configure-stagefeedback-ld:
18673 $(STAGEfeedback_CONFIGURE_FLAGS) 20748 $(STAGEfeedback_CONFIGURE_FLAGS)
18674@endif ld-bootstrap 20749@endif ld-bootstrap
18675 20750
20751.PHONY: configure-stageautoprofile-ld maybe-configure-stageautoprofile-ld
20752maybe-configure-stageautoprofile-ld:
20753@if ld-bootstrap
20754maybe-configure-stageautoprofile-ld: configure-stageautoprofile-ld
20755configure-stageautoprofile-ld:
20756 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
20757 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
20758 @r=`${PWD_COMMAND}`; export r; \
20759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20760 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
20761 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
20762 $(HOST_EXPORTS) \
20763 $(POSTSTAGE1_HOST_EXPORTS) \
20764 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
20765 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
20766 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
20767 echo Configuring stage autoprofile in $(HOST_SUBDIR)/ld; \
20768 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
20769 cd $(HOST_SUBDIR)/ld || exit 1; \
20770 case $(srcdir) in \
20771 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20772 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
20773 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20774 esac; \
20775 module_srcdir=ld; \
20776 $(SHELL) $$s/$$module_srcdir/configure \
20777 --srcdir=$${topdir}/$$module_srcdir \
20778 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20779 --target=${target_alias} \
20780 --with-build-libsubdir=$(HOST_SUBDIR) \
20781 $(STAGEautoprofile_CONFIGURE_FLAGS)
20782@endif ld-bootstrap
20783
20784.PHONY: configure-stageautofeedback-ld maybe-configure-stageautofeedback-ld
20785maybe-configure-stageautofeedback-ld:
20786@if ld-bootstrap
20787maybe-configure-stageautofeedback-ld: configure-stageautofeedback-ld
20788configure-stageautofeedback-ld:
20789 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
20790 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
20791 @r=`${PWD_COMMAND}`; export r; \
20792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20793 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
20794 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
20795 $(HOST_EXPORTS) \
20796 $(POSTSTAGE1_HOST_EXPORTS) \
20797 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
20798 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
20799 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
20800 echo Configuring stage autofeedback in $(HOST_SUBDIR)/ld; \
20801 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
20802 cd $(HOST_SUBDIR)/ld || exit 1; \
20803 case $(srcdir) in \
20804 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20805 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
20806 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20807 esac; \
20808 module_srcdir=ld; \
20809 $(SHELL) $$s/$$module_srcdir/configure \
20810 --srcdir=$${topdir}/$$module_srcdir \
20811 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20812 --target=${target_alias} \
20813 --with-build-libsubdir=$(HOST_SUBDIR) \
20814 $(STAGEautofeedback_CONFIGURE_FLAGS)
20815@endif ld-bootstrap
20816
18676 20817
18677 20818
18678 20819
@@ -18711,6 +20852,7 @@ all-stage1-ld: configure-stage1-ld
18711 TFLAGS="$(STAGE1_TFLAGS)"; \ 20852 TFLAGS="$(STAGE1_TFLAGS)"; \
18712 $(HOST_EXPORTS) \ 20853 $(HOST_EXPORTS) \
18713 cd $(HOST_SUBDIR)/ld && \ 20854 cd $(HOST_SUBDIR)/ld && \
20855 \
18714 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 20856 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18715 CFLAGS="$(STAGE1_CFLAGS)" \ 20857 CFLAGS="$(STAGE1_CFLAGS)" \
18716 CXXFLAGS="$(STAGE1_CXXFLAGS)" \ 20858 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
@@ -18720,7 +20862,7 @@ all-stage1-ld: configure-stage1-ld
18720 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 20862 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18721 $(EXTRA_HOST_FLAGS) \ 20863 $(EXTRA_HOST_FLAGS) \
18722 $(STAGE1_FLAGS_TO_PASS) \ 20864 $(STAGE1_FLAGS_TO_PASS) \
18723 TFLAGS="$(STAGE1_TFLAGS)" \ 20865 TFLAGS="$(STAGE1_TFLAGS)" \
18724 $(TARGET-stage1-ld) 20866 $(TARGET-stage1-ld)
18725 20867
18726maybe-clean-stage1-ld: clean-stage1-ld 20868maybe-clean-stage1-ld: clean-stage1-ld
@@ -18754,6 +20896,7 @@ all-stage2-ld: configure-stage2-ld
18754 $(HOST_EXPORTS) \ 20896 $(HOST_EXPORTS) \
18755 $(POSTSTAGE1_HOST_EXPORTS) \ 20897 $(POSTSTAGE1_HOST_EXPORTS) \
18756 cd $(HOST_SUBDIR)/ld && \ 20898