Skip to content

Override -shared by (-no)-pie#1095

Merged
mati865 merged 2 commits intowild-linker:mainfrom
mati865:push-vrpxrspyyuom
Sep 22, 2025
Merged

Override -shared by (-no)-pie#1095
mati865 merged 2 commits intowild-linker:mainfrom
mati865:push-vrpxrspyyuom

Conversation

@mati865
Copy link
Copy Markdown
Member

@mati865 mati865 commented Sep 22, 2025

Extracted this edge case from rust-lang/rust#146780.

Resetting output_kind when encountering (-no)-pie makes -shared
overridable, just like with ld.bfd.
Note: LLD doesn't support this, and instead just throws an error.

Extracted this edge case from
rust-lang/rust#146780.

Resetting `output_kind` when encountering (-no)-pie makes `-shared`
overridable, just like with ld.bfd.
Note: LLD doesn't support this, and instead just throws an error.
@mati865 mati865 merged commit 53a7153 into wild-linker:main Sep 22, 2025
23 checks passed
@mati865 mati865 deleted the push-vrpxrspyyuom branch September 22, 2025 22:58
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