diff options
Diffstat (limited to 'ld')
-rw-r--r-- | ld/ChangeLog | 8 | ||||
-rw-r--r-- | ld/ld.texinfo | 16 |
2 files changed, 24 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index b3ca916..5501e2f 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,11 @@ +2017-01-27 Dilyan Palauzov <dilyan.palauzov@aegee.org> + Nick Clifton <nickc@redhat.com> + + PR 20343 + * ld.texinfo (Options): Extend documentation of the --plugin + option. Include a description of where the plugins should be + located. + 2017-01-27 Nick Clifton <nickc@redhat.com> * po/sr.po: New Serbian translation. diff --git a/ld/ld.texinfo b/ld/ld.texinfo index 29c2131..2ce7560 100644 --- a/ld/ld.texinfo +++ b/ld/ld.texinfo @@ -828,6 +828,22 @@ the linker may make more use of this option. Also currently there is no difference in the linker's behaviour for different non-zero values of this option. Again this may change with future releases. +@kindex -plugin @var{name} +@item -plugin @var{name} +Involve a plugin in the linking process. The @var{name} parameter is +the absolute filename of the plugin. Usually this parameter is +automatically added by the complier, when using link time +optimization, but users can also add their own plugins if they so +wish. + +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{$@{libdir@}/bfd-plugins} directory. All gcc +based linker plugins are backward compatible, so it is sufficient to +just copy in the newest one. + @kindex --push-state @cindex push state governing input file handling @item --push-state |