aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2019-09-26 16:20:35 +0930
committerAlan Modra <amodra@gmail.com>2019-09-26 19:51:18 +0930
commit41f37a6fb71f2a3de388108f5cdfca9cbe6e9d51 (patch)
tree9c440accb37851b3f1328671eff5ceac04f0e99c /ld
parentd2f617897b4789ea370559ddbf19d96ad5618128 (diff)
downloadfsf-binutils-gdb-41f37a6fb71f2a3de388108f5cdfca9cbe6e9d51.zip
fsf-binutils-gdb-41f37a6fb71f2a3de388108f5cdfca9cbe6e9d51.tar.gz
fsf-binutils-gdb-41f37a6fb71f2a3de388108f5cdfca9cbe6e9d51.tar.bz2
PR24262, plugin search dir doesn't respect --libdir
bfd/ PR 24262 * Makefile.am (AM_CPPFLAGS): Add -DLIBDIR. * plugin.c (load_plugin): Search both ${libdir}/bfd-plugins and ${bindir}/../lib/bfd-plugins if different. * Makefile.in: Regenerate. ld/ PR 24262 * ld.texi (-plugin): Revert 2019-03-15 change.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog5
-rw-r--r--ld/ld.texi2
2 files changed, 6 insertions, 1 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index c90a587..24f0ae9 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,8 @@
+2019-09-26 Alan Modra <amodra@gmail.com>
+
+ PR 24262
+ * ld.texi (-plugin): Revert 2019-03-15 change.
+
2019-09-25 Alan Modra <amodra@gmail.com>
* ld.texi (SORT_BY_ALIGNMENT): Reword slightly.
diff --git a/ld/ld.texi b/ld/ld.texi
index 95fa6a0..fcbc335 100644
--- a/ld/ld.texi
+++ b/ld/ld.texi
@@ -855,7 +855,7 @@ Note that the location of the compiler originated plugins is different
from the place where the @command{ar}, @command{nm} and
@command{ranlib} programs search for their plugins. In order for
those commands to make use of a compiler based plugin it must first be
-copied into the @file{$@{bindir@}/../lib/bfd-plugins} directory. All gcc
+copied into the @file{$@{libdir@}/bfd-plugins} directory. All gcc
based linker plugins are backward compatible, so it is sufficient to
just copy in the newest one.