Skip to content

examples/nxflatxip: Update the header comment of the module. - #3863

Merged
acassis merged 1 commit into
apache:masterfrom
casaroli:nxflatxip-comment
Oct 18, 2026
Merged

acassis merged 1 commit into
apache:masterfrom
casaroli:nxflatxip-comment

Conversation

@casaroli

Copy link
Copy Markdown
Contributor

Summary

The header comment of examples/nxflatxip/module/xipmod.c said that the module has no static data and no strings because the ldnxflat "in circulation" points the GOT entries of .bss into the import table and drops the addend of PC-relative .rodata references, and that the firmware is entered with the module's data base in r10.

Since apache/nuttx#20377, ldnxflat is in the NuttX tree (tools/nxflat) without these bugs, and the NXFLAT PIC base register is r9. The comment now says so; the module itself does not change.

Impact

Comment only.

Testing

tools/checkpatch.sh -c -u -m -g passes.

The comment said that the module has no static data and no strings
because of bugs in the ldnxflat in circulation, and that the firmware
is entered with the data base in r10.  ldnxflat is now in the NuttX
tree (tools/nxflat) without these bugs, and the PIC base register is
r9.

Assisted-by: Claude Code:claude-opus-5-5
Signed-off-by: Marco Casaroli <marco.casaroli@gmail.com>
@acassis
acassis merged commit 9587c60 into apache:master Oct 18, 2026
41 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants