[gold commit] PR 20983: Fix problem where linker does not place .note sections according to script
Cary Coutant
ccoutant@gmail.com
Tue Dec 20 01:22:00 GMT 2016
The fix for PR 14676 broke perf, as noted in PR 20983. I've committed
this patch to fix that problem.
-cary
2016-12-19 Cary Coutant <ccoutant@gmail.com>
gold/
PR gold/14676
PR gold/20983
* layout.h (Layout::choose_output_section): Add match_input_spec
parameter. Adjust all callers.
* layout.cc (Layout::choose_output_section): Likewise. Pass
match_input_spec to Script_sections::output_section_name().
(Layout::create_note): Pass true for match_input_spec.
* script-sections.h (Script_sections::output_section_name): Add
match_input_spec parameter.
* script-sections.cc (Sections_element::output_section_name): Likewise.
(Output_section_definition::output_section_name): Likewise.
(Script_sections::output_section_name): Likewise.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr20983.patch
Type: application/octet-stream
Size: 11472 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20161220/ad833cbb/attachment.obj>
More information about the Binutils
mailing list