PR ld/17973 LTO file syms
[deliverable/binutils-gdb.git] / ld / ChangeLog
index bf59ab3e176d6dc50eea7a424a6aa6dd3380cab4..4803ec3ba7e64d180efa9b52dc02c20709d246a6 100644 (file)
@@ -1,3 +1,87 @@
+2015-02-14  Alan Modra  <amodra@gmail.com>
+
+       PR ld/17973
+       * ldlang.h (struct lang_input_statement_flags): Add lto_output.
+       * ldlang.c (lang_process): Don't set loading_lto_outputs.
+       * ldfile.c (ldfile_try_open_bfd): Transfer entry flags.lto_output
+       to bfd.
+       * plugin.c (add_input_file, add_input_library): Set flags.lto_output.
+
+2015-02-13  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * NEWS: Mention support for LLVM plugin.
+
+2015-02-13  Alan Modra  <amodra@gmail.com>
+
+       * ld.texinfo (Options <--defsym>): Correct cross reference.
+
+2015-02-11  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * lexsup.c (ld_options): Add --[no-]map-whole-files for gold
+       option compatibility.
+
+2015-02-11  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * plugin.c (message): Output "warning:" for LDPL_WARNING. Output
+       "error:" for LDPL_FATAL and LDPL_ERROR.
+       * testplug2.c (parse_option): Handle fatal, error and warning.
+
+2015-02-11  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * testplug2.c (dump_tv_tag): Removed.
+       (onall_symbols_read): Return LDPS_ERR if the file descriptor isn't
+       closed.
+       * testplug3.c (dump_tv_tag): Removed.
+       (onclaim_file): Fix typo.
+
+2015-02-11  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/17878
+       * Makefile.am (noinst_LTLIBRARIES): Add libldtestplug2.la and
+       libldtestplug3.la.
+       (libldtestplug2_la_SOURCES): New.
+       (libldtestplug2_la_CFLAGS): Likewise.
+       (libldtestplug2_la_LDFLAGS): Likewise.
+       (libldtestplug3_la_SOURCES): New.
+       (libldtestplug3_la_CFLAGS): Likewise.
+       (libldtestplug3_la_LDFLAGS): Likewise.
+       * Makefile.in: Regenerated.
+       * testplug2.c: New file.
+       * testplug3.c: Likewise.
+
+2015-02-11  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/17878
+       * plugin.c: Include ../bfd/plugin.h.
+       (plugin_get_ir_dummy_bfd): Call bfd_create with
+       link_info.output_bfd instead of srctemplate.  Copy BFD info
+       from srctemplate only if it doesn't use BFD plugin target
+       vector.
+       (plugin_load_plugins): Call register_ld_plugin_object_p with
+       (plugin_object_p)
+       (plugin_maybe_claim): Renamed to ...
+       (plugin_object_p): This.  Return dummy BFD target vector if
+       input is calimed by plugin library, otherwise return NULL.
+       Update plugin_format and plugin_dummy_bfd.
+       (plugin_maybe_claim): New.  Use plugin_object_p.
+
+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.
+       (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>
 
        * ldfile.c (ldfile_try_open_bfd): Don't call bfd_check_format
This page took 0.024401 seconds and 4 git commands to generate.