Skip to content

Conversation

LagoLunatic
Copy link
Collaborator

Fixes #196. This PR aligns all combined sections to at least 4 bytes, but will align to more if the section has more alignment than that specified in the object file.

image
image

Mostly tested this on ARM, it doesn't seem to break x86 in any obvious way but I don't know much about x86.

@encounter encounter merged commit f263e49 into encounter:main May 7, 2025
24 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.

ARM: Combine data/text sections does not pad sections to 4 byte alignment

2 participants