Relocatable ELF vs Executable ELF in Apache #NuttX RTOS
Source: https://github.com/lupyuen/quickjs-nuttx#relocatable-elf-vs-executable-elf
@icenowy I think it's because NuttX also supports microcontrollers with Memory Protection Unit (but don't have Memory Mgmt Unit) ... So NuttX will relocate each ELF App to a Memory Region that's allocated to the app
@lupyuen then why not FDPIC?
(although such thing do not exist on RV yet)
@icenowy Probably because NuttX supports many platforms? x86, RISC-V, MIPS, SPARC, Xtensa, etc
@lupyuen oh why is an OS directly executing relocatable ELFs? Or is this kind of dynamic linking by doing the linking step in runtime?