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

This commit is contained in:
Alan Modra 2009-10-23 05:45:27 +00:00
parent 07f1e47a64
commit 98950613d8
2 changed files with 9 additions and 0 deletions

View 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

View File

@ -20,6 +20,10 @@
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 */