Add plugin API for processing plugin-added input files
[deliverable/binutils-gdb.git] / gold / ChangeLog
index e0048b54cc86cf6d99028c8268cc3d0b3b0ab394..bc0413dfcaa38e947d14bb094a944c23360a42ae 100644 (file)
@@ -1,3 +1,18 @@
+2017-12-11  Stephen Crane  <sjc@immunant.com>
+
+       * plugin.cc (Plugin::load): Include hooks for register_new_input
+       in transfer vector.
+       (Plugin::new_input): New function.
+       (register_new_input): New function.
+       (Plugin_manager::claim_file): Call Plugin::new_input if in
+       replacement phase.
+       * plugin.h (Plugin::set_new_input_handler): New function.
+       * testsuite/plugin_new_section_layout.c: New plugin to test
+       new_input plugin API.
+       * testsuite/plugin_final_layout.sh: Add new input test.
+       * testsuite/Makefile.am (plugin_layout_new_file): New test case.
+       * testsuite/Makefile.in: Regenerate.
+
 2017-12-02  Vladimir Kondratyev  <vladimir@kondratyev.su>
            Cary Coutant  <ccoutant@gmail.com>
 
This page took 0.022878 seconds and 4 git commands to generate.