I’d like to work on adding support for the SORT(...) linker‑script keyworrd for input sections.
In GNU‑style scripts, SORT(pattern) matches the same input sections as pattern, but then sorts those matched sections by name before placing them in the output section.
My parser already represents SORT(...) as a wrapper around an inner pattern. The behaviour I want to implement is: use the inner pattern for matching during section assignment, and then, at layout time, sort the matched input sectionss by name before writing them (reusing the existing SortedSection machinery).
Does this approach fit how you’d like SORT to work in Wild? I would appreciate guidance