projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3860479
)
Initialize use_mmap
author
H.J. Lu
<hjl.tools@gmail.com>
Wed, 11 Feb 2015 03:02:07 +0000
(19:02 -0800)
committer
H.J. Lu
<hjl.tools@gmail.com>
Wed, 11 Feb 2015 03:02:07 +0000
(19:02 -0800)
* plugin.c (plugin_maybe_claim): Initialize use_mmap.
ld/ChangeLog
patch
|
blob
|
history
ld/plugin.c
patch
|
blob
|
history
diff --git
a/ld/ChangeLog
b/ld/ChangeLog
index b17fa403aaf3e1777d6c5a2efc33e99b53653e16..df71ec2b2bb65f480a2eea45042b75609e401add 100644
(file)
--- a/
ld/ChangeLog
+++ b/
ld/ChangeLog
@@
-1,3
+1,7
@@
+2015-02-10 H.J. Lu <hongjiu.lu@intel.com>
+
+ * plugin.c (plugin_maybe_claim): Initialize use_mmap.
+
2015-02-10 H.J. Lu <hongjiu.lu@intel.com>
* plugin.c (plugin_input_file_t): Add use_mmap.
diff --git
a/ld/plugin.c
b/ld/plugin.c
index 89083db89dd1392ef6565e0fe2200f652f4f3b43..e5bdb01878b06fb9a40dfc1d3fbf49f8dab58965 100644
(file)
--- 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);