aboutsummaryrefslogtreecommitdiff
path: root/ld/plugin.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2015-02-10 19:02:07 -0800
committerH.J. Lu <hjl.tools@gmail.com>2015-02-10 19:02:07 -0800
commitd319a098bca9372e7d1840cd31c47d05b0c7540e (patch)
treeb833333d9dba5cbe8b09bf70a18f364d73c781f3 /ld/plugin.c
parent386047969d9d36980fd6c4129b372e4a400114e0 (diff)
downloadgdb-d319a098bca9372e7d1840cd31c47d05b0c7540e.zip
gdb-d319a098bca9372e7d1840cd31c47d05b0c7540e.tar.gz
gdb-d319a098bca9372e7d1840cd31c47d05b0c7540e.tar.bz2
Initialize use_mmap
* plugin.c (plugin_maybe_claim): Initialize use_mmap.
Diffstat (limited to 'ld/plugin.c')
-rw-r--r--ld/plugin.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ld/plugin.c b/ld/plugin.c
index 89083db..e5bdb01 100644
--- a/ld/plugin.c
+++ b/ld/plugin.c
@@ -1080,6 +1080,7 @@ plugin_maybe_claim (lang_input_statement_type *entry)
input->view_buffer.filesize = 0;
input->view_buffer.offset = 0;
input->fd = fd;
+ input->use_mmap = FALSE;
input->offset = offset;
input->filesize = filesize;
input->name = plugin_strdup (abfd, ibfd->filename);