* plugin.c: Produce empty object if not BFD_SUPPORTS_PLUGINS.
authorAlan Modra <amodra@gmail.com>
Fri, 23 Oct 2009 05:45:27 +0000 (05:45 +0000)
committerAlan Modra <amodra@gmail.com>
Fri, 23 Oct 2009 05:45:27 +0000 (05:45 +0000)
bfd/ChangeLog
bfd/plugin.c

index f3aedb63fdc00886406aae5120c6204cf3825964..6fabb76285157717c4eb4526ee4a505e610b8d0f 100644 (file)
@@ -1,3 +1,7 @@
+2009-10-23  Alan Modra  <amodra@bigpond.net.au>
+
+       * plugin.c: Produce empty object if not BFD_SUPPORTS_PLUGINS.
+
 2009-10-20  Alan Modra  <amodra@bigpond.net.au>
 
        PR binutils/10802
index a81db6f799d83c8039154229ff47be42bc3a90f6..2874fa67a01592ee2cbfb455563115f8fdc77abb 100644 (file)
    MA 02110-1301, USA.  */
 
 #include "config.h"
+#include "bfd.h"
+
+#if BFD_SUPPORTS_PLUGINS
+
 #include <assert.h>
 #include <dlfcn.h>
 #include <stdarg.h>
@@ -492,3 +496,4 @@ const bfd_target plugin_vec =
 
   NULL                         /* backend_data.  */
 };
+#endif /* BFD_SUPPORTS_PLUGIN */
This page took 0.029016 seconds and 4 git commands to generate.