path: root/.gitignore
diff options
authorRich Felker <>2017-03-13 08:52:41 -0400
committerRich Felker <>2017-03-14 14:12:01 -0400
commit6476b8135760659b25c93ff9308425ca98a9e777 (patch)
treef26d17743282970ea6ea93cf671433f73b074351 /.gitignore
parent4823b13a75b40c4408c1101b363ab00fd118fb27 (diff)
emulate lazy relocation as deferrable relocation
traditional lazy relocation with call-time plt resolver is intentionally not implemented, as it is a huge bug surface and demands significant amounts of arch-specific code and requires ongoing maintenance to ensure compatibility with applications which make use of new additions to the arch's register file in passing function arguments. some applications, however, depend on the ability to dlopen modules which have unsatisfied symbol references at the time they are loaded, either avoiding use of the affected interfaces or manually loading another module to provide the missing definition via their own module dependency tracking outside the ELF data structures. while such usage is non-conforming, failure to support it has been a significant obstacle for users/distributions trying to support affected software, particularly the server. instead of resolving lazy relocations at call time, this patch saves unresolved GOT/PLT relocations for deferral and retries them after each subsequent dlopen until they are resolved. since dlopen is the only time at which the effective global symbol table can change, this behavior is not observably different from traditional lazy binding, and the required code is minimal.
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions