Ebook "Linker and loaders" includes content: Front matter, linking and loading, architectural issues, object files, storage allocation, symbol management, libraries, relocation, loading and overlays, shared libraries, dynamic linking and loading, advanced techniques, references. | Linkers amp Loaders by John R. Levine Table of Contents 1 Table of Contents Chapter 0 Front Matter . 1 Dedication . 1 Introduction . 1 Who is this book for . 2 Chapter summaries . 3 The project . 4 Acknowledgements . 5 Contact us . 6 Chapter 1 Linking and Loading . 7 What do linkers and loaders do . 7 Address binding a historical perspective . 7 Linking vs. loading . 10 Two-pass linking . 12 Object code libraries . 15 Relocation and code modification . 17 Compiler Drivers . 18 Linker command languages . 19 Linking a true-life example . 20 Exercises . 25 Chapter 2 Architectural Issues . 27 Application Binary Interfaces . 27 Memory Addresses . 28 Byte Order and Alignment . 28 Address formation . 30 Instruction formats . 31 Procedure Calls and Addressability . 32 Procedure calls . 33 2 Table of Contents Data and instruction references . 36 IBM 370 . 37 SPARC . 40 SPARC V8 . 40 SPARC V9 . 42 Intel x86 . 43 Paging and Virtual Memory . 45 The program address space . 48 Mapped files . 49 Shared libraries and programs . 51 Position-independent code . 51 Intel 386 Segmentation . 53 Embedded architectures . 55 Address space quirks . 56 Non-uniform memory . 56 Memory alignment . 57 Exercises . 57 Chapter 3 Object Files . 59 What goes into an object file . 59 Designing an object format . 60 The null object format MS-DOS .COM files . 61 Code sections Unix files . 61 headers . 64 Interactions with virtual memory . 65 Relocation MS-DOS EXE files . 72 Symbols and relocation . 74 Relocatable . 75 Relocation entries . 78 Symbols and strings . 80 summary . 82 Unix ELF . 82 Relocatable files . 85 ELF executable files . 92 ELF summary . 94 Table of Contents 3 IBM 360 object format . 94 ESD records . 95 TXT records . 97 RLD records . 97 END records . 98 Summary . 98 Microsoft Portable Executable format . 99 PE special sections . 105 Running a PE executable . 107 PE and COFF . 107 PE summary . 108 Intel Microsoft OMF files . 108 OMF records . 110 Details of an OMF file . .