摘要
共享库的使用越来越频繁,它不仅可以节省硬盘和内存空间,更重要的是使库的升级更加方便。本文从PIC(位置无关代码)、GOT(全局偏移量表)、PLT(程序链接表)入手详细介绍了ELF格式对共享库的支持,并描述了动态链接程序装载的过程。
Nowadays shared libraries are used more and more frequently because it results in much lower footprint of both memory and storage and makes software update less a pain.This article focuses on how ELF(Executable and Linkable Format) supports shared library with PIC(Position-Independent Code),GOT(Global Offset Table),PLT(Procedure Linkage Table),and describes the process of loading dynamic linked program.
出处
《山西广播电视大学学报》
2009年第1期52-54,共3页
Journal of Shanxi Radio & TV University