[PATCH][gold] PR gold/18098: Add support for SORT_BY_INIT_PRIORITY.
Igor Kudrin
ikudrin@accesssoftek.com
Thu Jun 23 15:28:00 GMT 2016
Hi,
This patch implements SORT_BY_INIT_PRIORITY.
Best regards,
Igor Kudrin
---
gold/ChangeLog
PR gold/18098
* script-c.h (Sort_wildcard): Add SORT_WILDCARD_BY_INIT_PRIORITY.
* script-sections.cc (Input_section_sorter::get_init_priority): New method.
(Input_section_sorter::operator()): Handle SORT_WILDCARD_BY_INIT_PRIORITY.
(Output_section_element_input::print): Likewise.
* script.cc (script_keyword_parsecodes): Add entry SORT_BY_INIT_PRIORITY.
* yyscript.y (SORT_BY_INIT_PRIORITY): New token.
(wildcard_section): Handle SORT_BY_INIT_PRIORITY.
* testsuite/Makefile.am (script_test_14): New test.
* testsuite/Makefile.in: Regenerate.
* testsuite/script_test_14.s: New test source file.
* testsuite/script_test_14.sh: New test script.
* testsuite/script_test_14.t: New test linker script.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: gold-sort-by-init-priority.patch.txt
URL: <https://sourceware.org/pipermail/binutils/attachments/20160623/99b3f7e3/attachment.txt>
More information about the Binutils
mailing list