bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/17422] binutils should support more than one plugin in lib


From: cvs-commit at gcc dot gnu.org
Subject: [Bug binutils/17422] binutils should support more than one plugin in lib/bfd-plugins and load the right one
Date: Wed, 24 Sep 2014 09:35:32 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=17422

--- Comment #8 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gdb and binutils".

The branch, master has been updated
       via  e44f5bef12a54b9c1cc24a5783dedde6f158ad15 (commit)
      from  71b9b91bce45aa220e0b48e7c2f70021c86e8594 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=e44f5bef12a54b9c1cc24a5783dedde6f158ad15

commit e44f5bef12a54b9c1cc24a5783dedde6f158ad15
Author: Markus Trippelsdorf <address@hidden>
Date:   Wed Sep 24 18:04:53 2014 +0930

    BFD: Add support for more than one plugin in lib/bfd-plugins

    ar, nm and ranlib currently lack the ability to handle more than one
    plugin in lib/bfd-plugins. This patch reshuffles the logic in plugin.c
    to add this functionality. One can now place both llvm and gcc plugins
    in this directory and have them loaded automatically.
    Mixed gcc/llvm archives are also supported (but not very useful until
    ld.bfd and ld.gold also would load multiple plugins and use them to
    claim different object files).

        PR 17422
        * plugin.c (try_claim): New function. Moved from
        bfd_plugin_object_p.
        (try_load_plugin): Pass through bfd. Add test.
        (load_plugin): Pass through bfd.
        (bfd_plugin_object_p): Move logic to try_claim.

-----------------------------------------------------------------------

Summary of changes:
 bfd/ChangeLog |    9 +++++
 bfd/plugin.c  |  106 +++++++++++++++++++++++++++++----------------------------
 2 files changed, 63 insertions(+), 52 deletions(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]