Skip to content

args: warn when --sort-section is used - #1684

Merged
davidlattimore merged 1 commit into
wild-linker:mainfrom
plasmaDestroyer:fix-sort-section-flag
Mar 12, 2026
Merged

davidlattimore merged 1 commit into
wild-linker:mainfrom
plasmaDestroyer:fix-sort-section-flag

Conversation

@plasmaDestroyer

Copy link
Copy Markdown
Contributor

--sort-section was previously unrecognized, causing builds like musl to fail with an error. This PR accepts the flag and emits a warning that it is not yet supported, consistent with how other unsupported flags like --icf are handled.

not a full implementation of --sort-section - actual section sorting is tracked in #1661.

also Added --sort-section=alignment to the args test in INPUT1.

Related to #1659

@davidlattimore
davidlattimore merged commit 7608890 into wild-linker:main Mar 12, 2026
22 checks passed
@plasmaDestroyer
plasmaDestroyer deleted the fix-sort-section-flag branch March 21, 2026 22:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants