aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2010-12-12 23:50:47 +0000
committerAlan Modra <amodra@gmail.com>2010-12-12 23:50:47 +0000
commit4846b70aa0ced0a427ac6fb0154a0cda3238e13b (patch)
treeff45036a418283e263be456c4b10b3941adcc9cb /bfd
parent59841acef106542ed8a6afda21731d3296406485 (diff)
downloadgdb-4846b70aa0ced0a427ac6fb0154a0cda3238e13b.zip
gdb-4846b70aa0ced0a427ac6fb0154a0cda3238e13b.tar.gz
gdb-4846b70aa0ced0a427ac6fb0154a0cda3238e13b.tar.bz2
* plugin.c (bfd_plugin_mkobject): Delete.
(plugin_vec): Use bfd_false instead.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/plugin.c9
2 files changed, 6 insertions, 8 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 602c669..5bcf808 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2010-12-13 Alan Modra <amodra@gmail.com>
+
+ * plugin.c (bfd_plugin_mkobject): Delete.
+ (plugin_vec): Use bfd_false instead.
+
2010-12-12 H.J. Lu <hongjiu.lu@intel.com>
* elflink.c (elf_link_add_archive_symbols): Remove subsbfd.
diff --git a/bfd/plugin.c b/bfd/plugin.c
index 61cd687..30a4923 100644
--- a/bfd/plugin.c
+++ b/bfd/plugin.c
@@ -448,13 +448,6 @@ bfd_plugin_sizeof_headers (bfd *a ATTRIBUTE_UNUSED,
return 0;
}
-static bfd_boolean
-bfd_plugin_mkobject (bfd *abfd ATTRIBUTE_UNUSED)
-{
- BFD_ASSERT (0);
- return 0;
-}
-
const bfd_target plugin_vec =
{
"plugin", /* Name. */
@@ -485,7 +478,7 @@ const bfd_target plugin_vec =
},
{ /* bfd_set_format. */
bfd_false,
- bfd_plugin_mkobject,
+ bfd_false,
_bfd_generic_mkarchive,
bfd_false,
},