Skip to content

Support --no-relax only for mandatory situations#885

Merged
davidlattimore merged 10 commits into
wild-linker:mainfrom
marxin:no-relax
Jun 15, 2025
Merged

Support --no-relax only for mandatory situations#885
davidlattimore merged 10 commits into
wild-linker:mainfrom
marxin:no-relax

Conversation

@marxin
Copy link
Copy Markdown
Collaborator

@marxin marxin commented Jun 15, 2025

The PR implements again the --no-relax where is_mandatory has been added to the API and a relaxation is applied either if --relax is used, or the actual relaxation is mandatory (typically for static executables). Tested on x86_64/aarch64 on Mold's test-suite (which contains a couple of --no-relax tests), and 2 new tests pass.

Fixes: #864

@davidlattimore davidlattimore merged commit 67d87a0 into wild-linker:main Jun 15, 2025
22 checks passed
@marxin marxin deleted the no-relax branch June 16, 2025 04:52
AadiWaghray pushed a commit to AadiWaghray/wild that referenced this pull request Aug 10, 2025
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.

Support --no-relax (second attempt)

2 participants