Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

link.Elf: fix phdr_gnu_stack_index not included in sortPhdrs #21666

Merged
merged 7 commits into from
Oct 11, 2024

Conversation

andrewrk
Copy link
Member

And some bonus commits; see commit messages for more details.

Based on #21654.

Adds type safety for program header indexes.

Reduce the amount of state sortPhdrs has access to, helping make the
data dependencies clear.
so they cannot be forgotten when updating them after sorting them.
`link.Elf.merge_section.MergeSection` -> `link.Elf.Merge.Section`
In order to reduce the logic that happens in flush() we need to see
which data is being accessed by all this logic, so we can see which
operations depend on each other.
@andrewrk andrewrk merged commit 5e53203 into master Oct 11, 2024
0 of 10 checks passed
@andrewrk andrewrk deleted the reduce-flush branch October 11, 2024 17:34
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.

1 participant