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


>> 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.

The patch for include/plugin-api.h needs to be separated out (with a
ChangeLog entry of its own), and applied first to the GCC tree, then
synced to binutils. After that, the rest of this patch is OK to apply.

(GCC is in Stage 1 through Nov. 17. It would be best to get that
change in by then.)

Can you also update the GCC wiki whopr/driver page?

-cary


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