mirror of
git://git.musl-libc.org/musl
synced 2024-12-17 04:05:05 +00:00
7a9669e977
at this point not all functionality is complete. the dynamic linker itself, and main app if it is also loaded by the kernel, take advantage of fdpic and do not need constant displacement between segments, but additional libraries loaded by the dynamic linker follow normal ELF semantics for mapping still. this fully works, but does not admit shared text on nommu. in terms of actual functional correctness, dlsym's results are presently incorrect for function symbols, RTLD_NEXT fails to identify the caller correctly, and dladdr fails almost entirely. with the dynamic linker entry point working, support for static pie is automatically included, but linking the main application as ET_DYN (pie) probably does not make sense for fdpic anyway. ET_EXEC is equally relocatable but more efficient at representing relocations. |
||
---|---|---|
.. | ||
bits | ||
src | ||
atomic.h | ||
crt_arch.h | ||
pthread_arch.h | ||
reloc.h | ||
syscall_arch.h |