Abstract:
The technological details about dynamic link mechanism are researched, with specific ELF shared object file. Critical questions are illustrated which include: position independent code(PIC), global offset table(GOT), procedure link table(PLT), linking and mapping of dynamic libraries, and symbols resolving. The paper suggests the redirect application of shared library with dynamic link technology.
Key words:
Linux,
Executable linking format(ELF),
Dynamic link,
Shared library redirection
摘要: 结合ELF共享库文件格式,研究了Linux系统动态链接的机制和原理,论述了实现的关键技术:PIC代码,全局偏移表GOT,过程链接表PLT;分析了动态库的加载映射过程以及符号解析技术。利用Linux的动态链接机制实现了共享库重定位的应用。
关键词:
Linux,
ELF,
动态链接,
共享库重定位 Research and Applicatio
CLC Number:
ZHANG Hejun; ZHANG Yue. Research and Application of Dynamic Link Mechanism in Linux[J]. Computer Engineering, 2006, 32(22): 64-66.
张和君;张 跃. Linux动态链接机制研究及应用[J]. 计算机工程, 2006, 32(22): 64-66.