projects
/
external
/
binutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07f1e47
)
* plugin.c: Produce empty object if not BFD_SUPPORTS_PLUGINS.
author
Alan Modra
<amodra@gmail.com>
Fri, 23 Oct 2009 05:45:27 +0000
(
05:45
+0000)
committer
Alan Modra
<amodra@gmail.com>
Fri, 23 Oct 2009 05:45:27 +0000
(
05:45
+0000)
bfd/ChangeLog
patch
|
blob
|
history
bfd/plugin.c
patch
|
blob
|
history
diff --git
a/bfd/ChangeLog
b/bfd/ChangeLog
index
f3aedb6
..
6fabb76
100644
(file)
--- a/
bfd/ChangeLog
+++ b/
bfd/ChangeLog
@@
-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
diff --git
a/bfd/plugin.c
b/bfd/plugin.c
index
a81db6f
..
2874fa6
100644
(file)
--- 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 <assert.h>
#include <dlfcn.h>
#include <stdarg.h>
@@
-492,3
+496,4
@@
const bfd_target plugin_vec =
NULL /* backend_data. */
};
+#endif /* BFD_SUPPORTS_PLUGIN */