This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] [GOLD] Add plugin API for processing plugin-added input files


Just wanted to ping this patch and see who would be the appropriate
person to approve if it's good to go.

Thanks,
Stephen

On Fri, Oct 20, 2017 at 2:49 PM, Stephen Crane <sjc@immunant.com> wrote:
>
> A single test script sounds good to me. Attached is an updated and
> rebased patch using a unified test script. I added the failing input
> file to the test output to make it clear in the log which test failed.
>
> gold/Changelog:
>
>         * 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.
>
> - stephen
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]