Linker is an important part in the CPU compiler tool chains. It must develop a corresponding Linker when developing a new CPU.In the exploitation of LX-1164 secure microprocessor, the authors have deeply researched the Linker principles and methods, and then design a linker named LX-Linker, which is forced to check address overflow in relocation process, to enhance the system's security. The scheme based on a two-pass arithmetic.The input of Linker are some object files, which can not execute directly, and the output is also object file. In the process of R&D LX-1164 system software, we use ELF(Executable and Linkable Format ) as the standard binary system API., the authors have made a particular description for this format. This paper tells something detailed about the R&D LX-1164 Linker, such as module partition, data structure designing and many important functions analysis, also gives the work flow of LX-1164 Linker .These work will have an universal reference significance for domestic Linker developers. |