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

Address #142, makerom no longer strictly requires ELFs to have a data segment #143

Merged
merged 1 commit into from
Sep 30, 2023

Conversation

jakcron
Copy link
Collaborator

@jakcron jakcron commented Sep 30, 2023

About

This is in response to #142 where @kynex7510 reported that makerom was unable to use ELFs that only had a text segment. This is relevant to https://github.com/hax0kartik/3ds_pdn which is an open source implementation of the PDN module. That project has a work around to create a dummy data segment, just so makerom will process it. Ultimately such a workaround shouldn't be needed.

Changes

Very minimal, just changes the logic in code.c to safely tolerate ELF files with no data segment.

@kynex7510
Copy link

No issues with 11.17

@jakcron
Copy link
Collaborator Author

jakcron commented Sep 30, 2023

Thank you for checking so quickly, I hadn't even uploaded any binaries. I'll merge this to the main branch soon.

@jakcron jakcron merged commit ea2390d into master Sep 30, 2023
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