-
Notifications
You must be signed in to change notification settings - Fork 31
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
Compat: force zero word into sdata #165
Comments
Have you tried making the data const? I think that might just put it in sbss2 though |
Actually, couldn't you just recreate the |
Thanks @kiwi515, yeah decompiling works. |
This has been solved using the This mechanism is fully relocatable. That way we only have to patch the final ELF before transforming into DOL. |
Problem
RVL/NAND contains empty strings like
strcpy(dest, "")
.These strings get placed as
0x00000000
in sdata.This is hard to reproduce from inline assembly:
All of the below allocate an sbss entry in the object file, not sdata.
Task
Figure out a way how to declare a zero word in .sdata and document it.
The text was updated successfully, but these errors were encountered: