Jure Žbontar (2008) Linker and Loader for the HIP Processor. EngD thesis.
In this work a collection of programs, called hiputils is presented. The toolchain constitutes an assembler, linker, dynamic loader, simulator and a static library creation utility for the HIP processor. A precise description of the process of creating, linking and loading of static and dynamic libraries in hiputils is given. A format for object files, static and dynamic libraries is also defined. Beside hiputils, linking and loading of programs and libraries is also described. Several object file formats, including COM, a.out and ELF are studied and compared. The three main tasks of linkers: storage allocation, symbol management and relocation are detailed. A description of libraries - static as well as dynamic - is also given, along with a description of dynamic loading and relocation. A mechanism, which allows code to run at an arbitrary start address is also depicted (position independent code).
Actions (login required)