Relocatable ELF vs Executable ELF in Apache #NuttX RTOS
Source: https://github.com/lupyuen/quickjs-nuttx#relocatable-elf-vs-executable-elf
@lupyuen oh why is an OS directly executing relocatable ELFs? Or is this kind of dynamic linking by doing the linking step in runtime?
@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
https://nuttx.apache.org/docs/latest/platforms/index.html
QOTO: Question Others to Teach Ourselves An inclusive, Academic Freedom, instance All cultures welcome. Hate speech and harassment strictly forbidden.
@lupyuen then why not FDPIC?
(although such thing do not exist on RV yet)