PR24262, plugin search dir doesn't respect --libdir
authorAlan Modra <amodra@gmail.com>
Thu, 26 Sep 2019 06:50:35 +0000 (16:20 +0930)
committerAlan Modra <amodra@gmail.com>
Thu, 26 Sep 2019 10:21:18 +0000 (19:51 +0930)
commit41f37a6fb71f2a3de388108f5cdfca9cbe6e9d51
tree9c440accb37851b3f1328671eff5ceac04f0e99c
parentd2f617897b4789ea370559ddbf19d96ad5618128
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.
bfd/ChangeLog
bfd/Makefile.am
bfd/Makefile.in
bfd/plugin.c
ld/ChangeLog
ld/ld.texi