]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
ld: depend on libctf
authorNick Alcock <nick.alcock@oracle.com>
Tue, 26 Jan 2021 16:05:17 +0000 (16:05 +0000)
committerNick Alcock <nick.alcock@oracle.com>
Wed, 27 Jan 2021 11:05:32 +0000 (11:05 +0000)
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  <nick.alcock@oracle.com>

* Makefile.def: Add install-libctf dependency to install-ld.
* Makefile.in: Regenerated.

ChangeLog
Makefile.def
Makefile.in

index 185bde7efbdd4e866b42cd2a294d6f457873fe9b..8420c77ff49a3cda3f33969faae93473d1aab227 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2021-01-26  Nick Alcock  <nick.alcock@oracle.com>
+
+       * Makefile.def: Add install-libctf dependency to install-ld.
+       * Makefile.in: Regenerated.
+
 2021-01-09  Nick Clifton  <nickc@redhat.com>
 
        * 2.36 release branch crated.
index cc429aa8628549b1baeea92a301c27676391c61c..b45e580da5b28ac14578044e37da96013c9bccc5 100644 (file)
@@ -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
index 4fe7321786ea3321fb485647225c3c00b34d7aa9..c2c852c56607696d275b1e3d55089e6873c5e48a 100644 (file)
@@ -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