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

Add get_section_flags method to Segment #263

Merged
merged 3 commits into from
Aug 8, 2023

Conversation

AngheloAlf
Copy link
Collaborator

I added this because I stumbled with the fact custom sections don't get linked properly if they don't have the proper flags.

Really there's no real need to have this on splat's side, but I think it would be cleaner to use let splat extensions to use this method instead of requiring them to duplicate the code of the split method with a small modification.

GAS docs for the section directive: https://sourceware.org/binutils/docs/as/Section.html#ELF-Version

@ethteck ethteck merged commit f9b976a into ethteck:master Aug 8, 2023
3 checks passed
@AngheloAlf AngheloAlf deleted the section_flags branch August 8, 2023 17:44
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