Linkers and Loaders

简介:
本书是为任何使用编译代码的程序员编写的,本书调查了当今的硬件平台,并介绍了如何在IBM大型机,Unix和Windows上链接和执行代码。这个方便的标题填补了任何想要了解程序如何在当今计算系统上构建和运行的人的宝贵利基。
这是跨平台的视角,这本书的区别。作者对IBM 370大型机,SUN SPARC等RISC平台以及当然还有Microsoft Windows的广泛见解,使本书成为有关链接器内部结构和每种环境中程序执行的值得称赞的参考。对于每个平台,还有一个易于理解的计算机体系结构 (包括寄存器,指令格式和内存寻址) 指南。(Unix程序员会很高兴这本书在非Windows平台上比在Windows本身上有更多的信息。)对于C程序员来说,这篇文章让你了解了宏、模板和名称调整等语言特性的内部,以及链接器在构建时如何处理它们。本书以静态库和动态链接的有用材料作为结尾,并简要介绍了Java及其类加载器 (可以在通过Internet下载类时即时解析类)。每章都提供简短的练习,使其成为课堂和自学经常被忽视的话题的有用资源。-- 理查德·德拉根涵盖的主题: 链接器和加载器的历史,应用程序二进制接口 (abi),计算机体系结构基础,大端和小端内存地址,IBM 370,SPARC和Intel x86的寄存器和指令格式,分页和虚拟内存,位置独立代码 (PIC),Intel x86分段,嵌入式体系结构,用于DOS COM和EXE文件的对象文件,Unix a.out,Unix ELF,IBM 360对象格式,Microsoft可移植可执行文件 (PE) 格式,Intel对象模块格式 (OMF),存储分配,C的链接详细信息,符号管理,名称更改,弱引用和强引用,调试信息,库格式,COFF和ELF格式,重定位,加载和覆盖,引导加载,共享库,Unix ELF和Microsoft Windows dll的动态链接,C的高级链接技术以及Java中的链接。
英文简介:
Written for any programmer who works with compiled code, this book surveys today's hardware platforms with a tour of how code is linked and executed on IBM mainframes, Unix, and Windows. This handy title fills a valuable niche for anyone who wants to understand how programs are built and run on today's computing systems.
It's the cross-platform perspective that distinguishes this book. The author's wide-ranging perspective on IBM 370 mainframes, RISC platforms like the SUN SPARC and, of course, Microsoft Windows makes this book a commendable reference on the internals of linkers and program execution in each environment.
There's also a digestible guide to the computer architecture (including registers, instruction formats, and memory addressing) for each platform. (Unix programmers will be pleased that the book has more information on non-Windows platforms than on Windows itself.)
For C++ programmers, this text gives you a glimpse into the internals of such language features as macros, templates, and name mangling, and how linkers deal with them at build time.
The book closes with useful material on static libraries and dynamic linking, plus a short tour of Java and its class loader (which can resolve classes on the fly as they are downloaded over the Internet). Short exercises are provided for each chapter, making this a useful resource for both classroom and self-study on what is an often overlooked topic. --Richard Dragan
Topics covered: History of linkers and loaders, application binary interfaces (ABIs), computer architecture basics, big- and little-endian memory addresses, register and instruction formats for IBM 370, SPARC and Intel x86, paging and virtual memory, position independent code (PIC), Intel x86 segmentation, embedded architectures, object files for DOS COM and EXE files, Unix a.out, Unix ELF, IBM 360 object format, Microsoft Portable Executable (PE) format, Intel Object Module Format (OMF), storage allocation, linking details for C++, symbol management, name mangling, weak and strong references, debugging information, library formats, COFF and ELF formats, relocation, loading and overlays, bootstrap loading, shared libraries, dynamic linking for Unix ELF and Microsoft Windows DLLs, advanced linking techniques for C++, and linking in Java.
- 书名
- Linkers and Loaders
- 译名
- 链接器和加载器
- 语言
- 英语
- 页数
- 299页
- 大小
- 3.52 MB
- 下载
Linkers and Loaders.pdf
- 密码
- 65536
最后更新:2025-04-12 23:54:39
←The Definitive Guide to Pylons
→Essentials of Compilation: An Incremental Approach in Racket