Best explained article:
Position Independent Code (PIC) in shared libraries
Load-time relocation of shared libraries
How statically linked programs run on Linux
Position Independent Code (PIC) in shared libraries on x64
Understanding the x64 code models
Reference:
http://www.x86-64.org/
Trampoline
Position Independent Code (PIC) in shared libraries
Excerpt: The LD_BIND_NOW env var, when defined, tells the dynamic loader to always perform the resolution for all symbols at start-up time, and not lazily. Conversely, the LD_BIND_NOT env var tells the dynamic loader not to update the GOT entry at all. Each call to an external function will then go through the dynamic loader and be resolved anew.
Load-time relocation of shared libraries
How statically linked programs run on Linux
Position Independent Code (PIC) in shared libraries on x64
Understanding the x64 code models
Reference:
http://www.x86-64.org/
Trampoline
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.