raiden00pl opened a new pull request, #19695:
URL: https://github.com/apache/nuttx/pull/19695

   ## Summary
   
   The CMake build had no STARTUP_OBJS (crt0) target and no elf.cmake, so 
applications were linked without crt0 and without '-e _start': the ELF entry 
defaulted to main and applications crashed on exit returning to a NULL address.
   
   Add STARTUP_OBJS and elf.cmake with the LDELFFLAGS equivalents from 
Toolchain.defs, following the other architectures.
   
   ## Impact
   
   fix broken ELF apps with cmake
   
   ## Testing
   
   automate tests with ntfc for kernel build
   
   


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

Reply via email to