This preview shows page 1. Sign up to view the full content.
Unformatted text preview: ed in the symbol table of an object ﬁle. Lists the names and sizes of the sections in an object ﬁle. Displays the complete structure of an object ﬁle, including all of the information encoded in the ELF header. Subsumes the functionality of SIZE and NM. The mother of all binary tools. Can display all of the information in an object ﬁle. Its most useful function is disassembling the binary instructions in the .text section. READELF: OBJDUMP: Unix systems also provide the ldd program for manipulating shared libraries:
LDD : Lists the shared libraries that an executable needs at run time. 7.14 Summary
We have learned that linking can be performed at compile time by static linkers, and at load time and run time by dynamic linkers. The main tasks of linkers are symbol resolution, where each global symbol is bound to a unique deﬁnition, and relocation, where the ultimate memory address for each symbol is determined and where references to those objects are modiﬁed. Static linkers combine multiple relocatable object ﬁles into a single executable object ﬁle. Multiple object ﬁles can de...
View Full Document
This note was uploaded on 09/02/2010 for the course ELECTRICAL 360 taught by Professor Schultz during the Spring '10 term at BYU.
- Spring '10
- The American