From: Nick Alcock Date: Wed, 6 Jan 2021 13:18:34 +0000 (+0000) Subject: sync libctf toplevel from binutils-gdb X-Git-Tag: upstream/12.2.0~10444 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f05bbca3d9598cd78daa4aaf13d5a7c8d7465069;p=platform%2Fupstream%2Fgcc.git sync libctf toplevel from binutils-gdb This pulls in the toplevel portions of these binutils-gdb commits: 1ff6de031241c59d0ff bfd, ld: add CTF section linking 87279e3cef5b2c54f4a libctf: installable libctf as a shared library c59e30ed1727135f8ef libctf: new testsuite * Makefile.def: Sync with binutils-gdb: (dependencies): all-ld depends on all-libctf. (host_modules): libctf is no longer no_install. No longer no_check. Checking depends on all-ld. * Makefile.in: Regenerated. --- diff --git a/Makefile.def b/Makefile.def index c45be5b..3e38f61 100644 --- a/Makefile.def +++ b/Makefile.def @@ -141,8 +141,7 @@ host_modules= { module= lto-plugin; bootstrap=true; extra_make_flags='@extra_linker_plugin_flags@'; }; host_modules= { module= libcc1; extra_configure_flags=--enable-shared; }; host_modules= { module= gotools; }; -host_modules= { module= libctf; no_install=true; no_check=true; - bootstrap=true; }; +host_modules= { module= libctf; bootstrap=true; }; target_modules = { module= libstdc++-v3; bootstrap=true; @@ -463,6 +462,7 @@ dependencies = { module=all-binutils; on=all-build-bison; }; dependencies = { module=all-binutils; on=all-intl; }; dependencies = { module=all-binutils; on=all-gas; }; dependencies = { module=all-binutils; on=all-libctf; }; +dependencies = { module=all-ld; on=all-libctf; }; // We put install-opcodes before install-binutils because the installed // binutils might be on PATH, and they might need the shared opcodes @@ -561,6 +561,7 @@ dependencies = { module=configure-libctf; on=all-bfd; }; dependencies = { module=configure-libctf; on=all-intl; }; dependencies = { module=configure-libctf; on=all-zlib; }; dependencies = { module=configure-libctf; on=all-libiconv; }; +dependencies = { module=check-libctf; on=all-ld; }; // Warning, these are not well tested. dependencies = { module=all-bison; on=all-intl; }; diff --git a/Makefile.in b/Makefile.in index 2307c8d..247cb9c 100644 --- a/Makefile.in +++ b/Makefile.in @@ -41747,6 +41747,12 @@ maybe-check-libctf: maybe-check-libctf: check-libctf check-libctf: + @: $(MAKE); $(unstage) + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \ + (cd $(HOST_SUBDIR)/libctf && \ + $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check) @endif libctf @@ -41755,7 +41761,13 @@ maybe-install-libctf: @if libctf maybe-install-libctf: install-libctf -install-libctf: +install-libctf: installdirs + @: $(MAKE); $(unstage) + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + (cd $(HOST_SUBDIR)/libctf && \ + $(MAKE) $(FLAGS_TO_PASS) install) @endif libctf @@ -41764,7 +41776,13 @@ maybe-install-strip-libctf: @if libctf maybe-install-strip-libctf: install-strip-libctf -install-strip-libctf: +install-strip-libctf: installdirs + @: $(MAKE); $(unstage) + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + (cd $(HOST_SUBDIR)/libctf && \ + $(MAKE) $(FLAGS_TO_PASS) install-strip) @endif libctf @@ -61206,6 +61224,16 @@ all-stagetrain-binutils: maybe-all-stagetrain-libctf all-stagefeedback-binutils: maybe-all-stagefeedback-libctf all-stageautoprofile-binutils: maybe-all-stageautoprofile-libctf all-stageautofeedback-binutils: maybe-all-stageautofeedback-libctf +all-ld: maybe-all-libctf +all-stage1-ld: maybe-all-stage1-libctf +all-stage2-ld: maybe-all-stage2-libctf +all-stage3-ld: maybe-all-stage3-libctf +all-stage4-ld: maybe-all-stage4-libctf +all-stageprofile-ld: maybe-all-stageprofile-libctf +all-stagetrain-ld: maybe-all-stagetrain-libctf +all-stagefeedback-ld: maybe-all-stagefeedback-libctf +all-stageautoprofile-ld: maybe-all-stageautoprofile-libctf +all-stageautofeedback-ld: maybe-all-stageautofeedback-libctf install-binutils: maybe-install-opcodes install-strip-binutils: maybe-install-strip-opcodes install-opcodes: maybe-install-bfd @@ -61566,6 +61594,16 @@ configure-stagetrain-libctf: maybe-all-stagetrain-libiconv configure-stagefeedback-libctf: maybe-all-stagefeedback-libiconv configure-stageautoprofile-libctf: maybe-all-stageautoprofile-libiconv configure-stageautofeedback-libctf: maybe-all-stageautofeedback-libiconv +check-libctf: maybe-all-ld +check-stage1-libctf: maybe-all-stage1-ld +check-stage2-libctf: maybe-all-stage2-ld +check-stage3-libctf: maybe-all-stage3-ld +check-stage4-libctf: maybe-all-stage4-ld +check-stageprofile-libctf: maybe-all-stageprofile-ld +check-stagetrain-libctf: maybe-all-stagetrain-ld +check-stagefeedback-libctf: maybe-all-stagefeedback-ld +check-stageautoprofile-libctf: maybe-all-stageautoprofile-ld +check-stageautofeedback-libctf: maybe-all-stageautofeedback-ld all-bison: maybe-all-build-texinfo all-flex: maybe-all-build-bison all-flex: maybe-all-m4