aboutsummaryrefslogtreecommitdiff
path: root/bfd/plugin.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/plugin.c')
-rw-r--r--bfd/plugin.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/bfd/plugin.c b/bfd/plugin.c
index 1edcb57..5681a6a 100644
--- a/bfd/plugin.c
+++ b/bfd/plugin.c
@@ -448,6 +448,8 @@ add_symbols (void * handle,
size_t sym_info_size, name_length;
int i;
+ memset (plugin_data, 0, sizeof (*plugin_data));
+
abfd->tdata.plugin_data = plugin_data;
/* NB: LTO symbols are owned by LTO plugin. Create a copy so