patacongo commented on issue #3737:
URL: 
https://github.com/apache/incubator-nuttx/issues/3737#issuecomment-846623982


   > In case of NXFLAT Toolchain I suppose the final phase might be in 
ldnxflat. However, I'm not sure. I've not analyzed the source code / 
architecture of the both Toolchains.
   
   Nothing like that is done in ldnxflat.  It doesn't know anything about ARM.  
If any address fix-ups are done, then would have to have been done when 
struct.r2 was linked.  Might be interesting to build the nxflat_main.c and 
nxflat_dummy.c files using "normal" CFLAGs and see if there is a difference.
   
   That same struct test case is used with ELF modules too.  See 
apps/examples/elf/tests/struct.  If also uses 'ld' to produce a partial link 
but works fine.  That says that there is probably nothing wrong with the tools 
or the procedure.  I think we are missing something else.
   


-- 
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to