From: Alan Modra Date: Fri, 23 Oct 2009 05:45:27 +0000 (+0000) Subject: * plugin.c: Produce empty object if not BFD_SUPPORTS_PLUGINS. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=98950613d80b6b340f11115cd9920b6d56e4dcfd;p=binutils-gdb.git * plugin.c: Produce empty object if not BFD_SUPPORTS_PLUGINS. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index f3aedb63fdc..6fabb762851 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2009-10-23 Alan Modra + + * plugin.c: Produce empty object if not BFD_SUPPORTS_PLUGINS. + 2009-10-20 Alan Modra PR binutils/10802 diff --git a/bfd/plugin.c b/bfd/plugin.c index a81db6f799d..2874fa67a01 100644 --- a/bfd/plugin.c +++ b/bfd/plugin.c @@ -20,6 +20,10 @@ MA 02110-1301, USA. */ #include "config.h" +#include "bfd.h" + +#if BFD_SUPPORTS_PLUGINS + #include #include #include @@ -492,3 +496,4 @@ const bfd_target plugin_vec = NULL /* backend_data. */ }; +#endif /* BFD_SUPPORTS_PLUGIN */