diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2015-02-10 17:01:17 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2015-02-10 17:03:59 -0800 |
commit | 386047969d9d36980fd6c4129b372e4a400114e0 (patch) | |
tree | da07658b16a2f011e944e9a65707f3f06ebeff7e /ld/ChangeLog | |
parent | e7d52ed30408677f63c121e88a1493e6300b80ba (diff) | |
download | gdb-386047969d9d36980fd6c4129b372e4a400114e0.zip gdb-386047969d9d36980fd6c4129b372e4a400114e0.tar.gz gdb-386047969d9d36980fd6c4129b372e4a400114e0.tar.bz2 |
Unmap the buffer if plugin didn't claim the file
If plugin didn't claim the file, unmap the buffer.
* plugin.c (plugin_input_file_t): Add use_mmap.
(plugin_pagesize): New.
(get_view): Use plugin_pagesize. Set use_mmap if mmap is used.
(plugin_load_plugins): Initialize plugin_pagesize.
(plugin_maybe_claim): Unmap the buffer if plugin didn't claim the
file.
Diffstat (limited to 'ld/ChangeLog')
-rw-r--r-- | ld/ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index facbbc1..b17fa40 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,5 +1,14 @@ 2015-02-10 H.J. Lu <hongjiu.lu@intel.com> + * plugin.c (plugin_input_file_t): Add use_mmap. + (plugin_pagesize): New. + (get_view): Use plugin_pagesize. Set use_mmap if mmap is used. + (plugin_load_plugins): Initialize plugin_pagesize. + (plugin_maybe_claim): Unmap the buffer if plugin didn't claim the + file. + +2015-02-10 H.J. Lu <hongjiu.lu@intel.com> + * plugin.c (get_view): Align offset passed to mmap. 2015-02-08 H.J. Lu <hongjiu.lu@intel.com> |