From: Nick Alcock Date: Tue, 26 Jan 2021 16:05:17 +0000 (+0000) Subject: ld: depend on libctf X-Git-Tag: binutils-2_36_1~24 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e9013bbd33a27b1a43e9fa2684a2159c948081a0;p=thirdparty%2Fbinutils-gdb.git ld: depend on libctf Since ld may depend on libctf (if present), and libctf may be relinked by the installation process, libctf must be installed before ld is, or the relink may fail if it calls on symbols or symbol versions that do not exist in any libctf already present on the system. (If none is present, the copy in the build tree will be automatically used, but if one *is* present, it may take precedence and break things.) (This is a maybe- dependency, so it will work even if libctf is disabled.) ChangeLog 2021-01-26 Nick Alcock * Makefile.def: Add install-libctf dependency to install-ld. * Makefile.in: Regenerated. --- diff --git a/ChangeLog b/ChangeLog index 185bde7efbd..8420c77ff49 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2021-01-26 Nick Alcock + + * Makefile.def: Add install-libctf dependency to install-ld. + * Makefile.in: Regenerated. + 2021-01-09 Nick Clifton * 2.36 release branch crated. diff --git a/Makefile.def b/Makefile.def index cc429aa8628..b45e580da5b 100644 --- a/Makefile.def +++ b/Makefile.def @@ -448,6 +448,7 @@ 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; }; +dependencies = { module=install-ld; on=install-libctf; }; // We put install-opcodes before install-binutils because the installed // binutils might be on PATH, and they might need the shared opcodes diff --git a/Makefile.in b/Makefile.in index 4fe7321786e..c2c852c5660 100644 --- a/Makefile.in +++ b/Makefile.in @@ -52111,6 +52111,7 @@ all-stage3-ld: maybe-all-stage3-libctf all-stage4-ld: maybe-all-stage4-libctf all-stageprofile-ld: maybe-all-stageprofile-libctf all-stagefeedback-ld: maybe-all-stagefeedback-libctf +install-ld: maybe-install-libctf install-binutils: maybe-install-opcodes install-strip-binutils: maybe-install-strip-opcodes install-opcodes: maybe-install-bfd