* plugin.c: Produce empty object if not BFD_SUPPORTS_PLUGINS.
This commit is contained in:
parent
07f1e47a64
commit
98950613d8
2 changed files with 9 additions and 0 deletions
|
@ -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>
|
2009-10-20 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
PR binutils/10802
|
PR binutils/10802
|
||||||
|
|
|
@ -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 =
|
||||||
|
|
||||||
NULL /* backend_data. */
|
NULL /* backend_data. */
|
||||||
};
|
};
|
||||||
|
#endif /* BFD_SUPPORTS_PLUGIN */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue