Skip to content

add: defs z option#850

Merged
davidlattimore merged 2 commits into
wild-linker:mainfrom
AadiWaghray:z-defs
Jun 7, 2025
Merged

add: defs z option#850
davidlattimore merged 2 commits into
wild-linker:mainfrom
AadiWaghray:z-defs

Conversation

@AadiWaghray

Copy link
Copy Markdown
Contributor

Add defs option for z flag. Closes #810

@davidlattimore davidlattimore left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks for the PR. So for the test to run, you need to list "z-defs.c" in integration_test.rs. If you look towards the bottom of the file, you should find the list of all the test files.

Comment thread wild/tests/sources/z-defs.c Outdated
@@ -0,0 +1,7 @@
// #LinkArgs:-Bshareable -z defs

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Oh, also, these comments need to start with '//#' (no space), otherwise they'll be ignored

@davidlattimore davidlattimore merged commit 6fd08a2 into wild-linker:main Jun 7, 2025
18 checks passed
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.

Add support for -z defs

2 participants