From d319a098bca9372e7d1840cd31c47d05b0c7540e Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Tue, 10 Feb 2015 19:02:07 -0800 Subject: [PATCH] Initialize use_mmap * plugin.c (plugin_maybe_claim): Initialize use_mmap. --- ld/ChangeLog | 4 ++++ ld/plugin.c | 1 + 2 files changed, 5 insertions(+) diff --git a/ld/ChangeLog b/ld/ChangeLog index b17fa403aaf..df71ec2b2bb 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 89083db89dd..e5bdb01878b 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); -- 2.30.2