diff options
author | Rich Felker <dalias@aerifal.cx> | 2015-09-22 03:54:42 +0000 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2015-09-22 03:54:42 +0000 |
commit | 7a9669e977e5f750cf72ccbd2614f8b72ce02c4c (patch) | |
tree | d06ed21dee895141171fda5d73998df3d1cb9282 /src/process/execlp.c | |
parent | 3958144ede01a7e64a56c0430f053bfd80ff02eb (diff) | |
download | musl-7a9669e977e5f750cf72ccbd2614f8b72ce02c4c.tar.gz musl-7a9669e977e5f750cf72ccbd2614f8b72ce02c4c.tar.xz musl-7a9669e977e5f750cf72ccbd2614f8b72ce02c4c.zip |
add general fdpic support in dynamic linker and arch support for sh
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.
Diffstat (limited to 'src/process/execlp.c')
0 files changed, 0 insertions, 0 deletions