git: binutils225: Add plugin support in ar, nm, ranlib.

Rimvydas Jasinskas zrj at crater.dragonflybsd.org
Tue Oct 25 09:18:21 PDT 2016


commit 6cc51cd6fe0026deabd81bb6bad9f2dd736cad61
Author: zrj <rimvydas.jasinskas at gmail.com>
Date:   Sat Oct 1 16:41:51 2016 +0300

    binutils225: Add plugin support in ar, nm, ranlib.
    
    This finally adds support for --plugin [libplugin.so] flag usage.
    
    Default loadable plugins should be symlinked to binutils private
    /usr/libexec/binutils225/bfd-plugins/ directory.
    For now that directory is not created by mtree and gcc does not
    install symlink to its private liblto_plugin.so.
    
    TBD if we want this implicit LTO support without explicit --plugin.
    Note that bfd plugin enabled utilities will try to load *anything*
    residing in that directory, even hangman(6)!
    Still, support for it is useful for local experimentation since this
    allows to test even LLVMgold.so without lots of edits in Makefiles.

Summary of changes:
 gnu/usr.bin/binutils225/block1/Makefile.block1 |  2 +-
 gnu/usr.bin/binutils225/block1/libbfd/Makefile | 10 +++++++++-
 gnu/usr.bin/binutils225/block2/ar/Makefile     |  1 -
 gnu/usr.bin/binutils225/block2/ranlib/Makefile |  1 -
 4 files changed, 10 insertions(+), 4 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/6cc51cd6fe0026deabd81bb6bad9f2dd736cad61


-- 
DragonFly BSD source repository



More information about the Commits mailing list