diff options
author | Markus Trippelsdorf <markus@trippelsdorf.de> | 2014-09-24 18:04:53 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2014-09-24 18:08:53 +0930 |
commit | e44f5bef12a54b9c1cc24a5783dedde6f158ad15 (patch) | |
tree | 85d7d16c035e6332fd2cc6491ca8f3bff90de2cd /bfd/ChangeLog | |
parent | 71b9b91bce45aa220e0b48e7c2f70021c86e8594 (diff) | |
download | gdb-e44f5bef12a54b9c1cc24a5783dedde6f158ad15.zip gdb-e44f5bef12a54b9c1cc24a5783dedde6f158ad15.tar.gz gdb-e44f5bef12a54b9c1cc24a5783dedde6f158ad15.tar.bz2 |
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.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r-- | bfd/ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index d8559ea..f70cad6 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,12 @@ +2014-09-24 Markus Trippelsdorf <markus@trippelsdorf.de> + + 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. + 2014-09-23 Sterling Augustine <augustine.sterling@gmail.com> * elf32-xtensa.c (is_resolvable_asm_expansion): for cross-section |