aboutsummaryrefslogtreecommitdiff
path: root/bfd/targets.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2009-05-28 11:30:49 +0000
committerNick Clifton <nickc@redhat.com>2009-05-28 11:30:49 +0000
commitfc579192b43d249de3661894c154342a6c7ebad2 (patch)
tree0ac1a2b40977a47e2e75d9faf678a36020e0bb45 /bfd/targets.c
parent5dff79d83d209d48f13ad385ae8dc3e690bf9295 (diff)
downloadgdb-fc579192b43d249de3661894c154342a6c7ebad2.zip
gdb-fc579192b43d249de3661894c154342a6c7ebad2.tar.gz
gdb-fc579192b43d249de3661894c154342a6c7ebad2.tar.bz2
2009-05-28 Nick Clifton <nickc@redhat.com>
* targets.c (_bfd_target_vector): Only include plugin target in all-targets build if BFD_SUPPORTS_PLUGINS is non-zero. 2009-05-27 Rafael Avila de Espindola <espindola@google.com> * plugin.c (program_name): Remove. (plugin_program_name): New. (bfd_plugin_set_program_name): New. (try_load_plugin): Use plugin_program_name. * plugin.h (bfd_plugin_set_program_name): New. 2009-05-27 Rafael Avila de Espindola <espindola@google.com> * ar.c (main): Call bfd_plugin_set_program_name. * nm.c (main): Call bfd_plugin_set_program_name.
Diffstat (limited to 'bfd/targets.c')
-rw-r--r--bfd/targets.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/bfd/targets.c b/bfd/targets.c
index 6ec6a6c..49aa5f1 100644
--- a/bfd/targets.c
+++ b/bfd/targets.c
@@ -1145,7 +1145,9 @@ static const bfd_target * const _bfd_target_vector[] =
&pdp11_aout_vec,
&pef_vec,
&pef_xlib_vec,
+#if BFD_SUPPORTS_PLUGINS
&plugin_vec,
+#endif
#if 0
/* This has the same magic number as RS/6000. */
&pmac_xcoff_vec,