summaryrefslogtreecommitdiff
path: root/Makefile.def
diff options
context:
space:
mode:
authorNick Alcock <nick.alcock@oracle.com>2021-01-26 16:05:17 +0000
committerNick Alcock <nick.alcock@oracle.com>2021-01-27 11:04:12 +0000
commitf04ce15e831b691d7610dba284e266919e757b10 (patch)
tree518fbf3e30c7d5b3ebd08a6716c6b94897fedc13 /Makefile.def
parent67965ba2894566ea707510929d75733a4a254cd4 (diff)
downloadbinutils-gdb-f04ce15e831b691d7610dba284e266919e757b10.tar.gz
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 <nick.alcock@oracle.com> PR 27250 * Makefile.def: Add install-libctf dependency to install-ld. * Makefile.in: Regenerated.
Diffstat (limited to 'Makefile.def')
-rw-r--r--Makefile.def1
1 files changed, 1 insertions, 0 deletions
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