From: H.J. Lu Date: Wed, 11 Feb 2015 03:02:07 +0000 (-0800) Subject: Initialize use_mmap X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d319a098bca9372e7d1840cd31c47d05b0c7540e;p=binutils-gdb.git Initialize use_mmap * plugin.c (plugin_maybe_claim): Initialize use_mmap. --- 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);