aboutsummaryrefslogtreecommitdiff
path: root/gold
diff options
context:
space:
mode:
authorMarkus Trippelsdorf <markus@trippelsdorf.de>2014-09-24 18:04:53 +0930
committerAlan Modra <amodra@gmail.com>2014-09-24 18:08:53 +0930
commite44f5bef12a54b9c1cc24a5783dedde6f158ad15 (patch)
tree85d7d16c035e6332fd2cc6491ca8f3bff90de2cd /gold
parent71b9b91bce45aa220e0b48e7c2f70021c86e8594 (diff)
downloadgdb-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 'gold')
0 files changed, 0 insertions, 0 deletions