diff --git a/ld/ChangeLog b/ld/ChangeLog index b17fa403aa..df71ec2b2b 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,7 @@ +2015-02-10 H.J. Lu + + * plugin.c (plugin_maybe_claim): Initialize use_mmap. + 2015-02-10 H.J. Lu * plugin.c (plugin_input_file_t): Add use_mmap. diff --git a/ld/plugin.c b/ld/plugin.c index 89083db89d..e5bdb01878 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);