FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Default linker script rule matching to match-gnu by parth-07 · Pull Request #1972 · qualcomm/eld · GitHub

/ eld Public

Default linker script rule matching to match-gnu - #1972

Draft
Parth (parth-07) wants to merge 1 commit into
qualcomm:mainfrom
parth-07:MakeMatchGNUDefault
Draft

Parth (parth-07) wants to merge 1 commit into
qualcomm:mainfrom
parth-07:MakeMatchGNUDefault

Conversation

Copy link
Copy Markdown
Contributor

This commit changes the default linker script input section rule-matching behavior to match-gnu, aligning ELD default semantics with GNU ld for archive member matching. Previously, ELD defaulted to match-llvm, which permitted generic file patterns without archive syntax to match enclosing archive names.

Additionally, this commit removes match-gnu from the --script-options option, leaving match-llvm as the only valid value when non-GNU matching behavior is explicitly requested.

Resolves #1049

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Let us remove match-llvm/match-gnu both options, and make it as default.

Copy link
Copy Markdown
Contributor Author

Let us remove match-llvm/match-gnu both options, and make it as default.

Done. I have removed the --script-options command-line option and made match-gnu as the fixed behaviour.

Copy link
Copy Markdown
Contributor

Please include zephyr-check and kernel-check before merging.

Parth (parth-07) added zephyr-check Run Zephyr build/check workflow on this PR kernel-check labels Sep 28, 2026
This commit changes the default linker script input section rule-matching
behavior to match-gnu, aligning ELD default semantics with GNU ld for archive
member matching. Previously, ELD defaulted to match-llvm, which permitted
generic file patterns without archive syntax to match enclosing archive names.

Additionally, this commit removes match-gnu from the --script-options option,
leaving match-llvm as the only valid value when non-GNU matching behavior is
explicitly requested.

Resolves qualcomm#1049

Signed-off-by: Parth Arora <partaror@qti.qualcomm.com>
Parth (parth-07) marked this pull request as draft September 30, 2026 13:41

This branch has not been deployed

No deployments
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core kernel-check linkerscript zephyr-check Run Zephyr build/check workflow on this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove option --script-options=match-gnu

3 participants


Back | FazBrowse Home | New Git URL