Skip to content
Snippets Groups Projects
Commit 98950613 authored by Alan Modra's avatar Alan Modra
Browse files

* plugin.c: Produce empty object if not BFD_SUPPORTS_PLUGINS.

parent 07f1e47a
No related branches found
No related tags found
No related merge requests found
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> 2009-10-20 Alan Modra <amodra@bigpond.net.au>
PR binutils/10802 PR binutils/10802
......
...@@ -20,6 +20,10 @@ ...@@ -20,6 +20,10 @@
MA 02110-1301, USA. */ MA 02110-1301, USA. */
#include "config.h" #include "config.h"
#include "bfd.h"
#if BFD_SUPPORTS_PLUGINS
#include <assert.h> #include <assert.h>
#include <dlfcn.h> #include <dlfcn.h>
#include <stdarg.h> #include <stdarg.h>
...@@ -492,3 +496,4 @@ const bfd_target plugin_vec = ...@@ -492,3 +496,4 @@ const bfd_target plugin_vec =
NULL /* backend_data. */ NULL /* backend_data. */
}; };
#endif /* BFD_SUPPORTS_PLUGIN */
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment