xiaoxiang781216 commented on code in PR #19942:
URL: https://github.com/apache/nuttx/pull/19942#discussion_r3899826589
##########
libs/libc/elf/elf_load.c:
##########
@@ -364,6 +365,13 @@ static inline int libelf_loadfile(FAR struct
mod_loadinfo_s *loadinfo)
{
if (phdr->p_flags & PF_X)
{
+ if (loadinfo->fdpic && loadinfo->xipbase != 0)
Review Comment:
I am considering the simple xip elf, which only set xipbase without fdpic,
but still need skip copy.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]