-
-
Notifications
You must be signed in to change notification settings - Fork 40
extra/gen_rodata_ld: Add gen_rodata_ld tool. #246
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
Conversation
4263f70 to
c07738d
Compare
@pillo79
pillo79
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please put the app in its own folder extra/gen-rodata-ld and call it main.go for consistency with existing tools and tooling. Also a very brief README.md would be a nice addition.
Otherwise LGTM, just tiny nits.
Analyzes an elf and extracts, sorts and writes out its rodata sections: - .rodata: sections WITH relocations → copied to RAM (LLEXT_MEM_RODATA) - .rodata_noreloc: sections WITHOUT relocations → kept in flash (LLEXT_MEM_RODATA_NO_RELOC) Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
c07738d to
d6bef65
Compare
iabdalkader
commented
Nov 4, 2025
Updated.
@pillo79
pillo79
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Analyzes an elf and extracts, sorts and writes out its rodata sections: