Linkers and Loaders

Front Cover
Morgan Kaufmann, 2000 - Computers - 256 pages
5 Reviews
Whatever your programming language, whatever your platform, you probably tap into linker and loader functions all the time. But do you know how to use them to their greatest possible advantage? Only now, with the publication of Linkers & Loaders, is there an authoritative book devoted entirely to these deep-seated compile-time and run-time processes.
The book begins with a detailed and comparative account of linking and loading that illustrates the differences among various compilers and operating systems. On top of this foundation, the author presents clear practical advice to help you create faster, cleaner code. You'll learn to avoid the pitfalls associated with Windows DLLs, take advantage of the space-saving, performance-improving techniques supported by many modern linkers, make the best use of the UNIX ELF library scheme, and much more. If you're serious about programming, you'll devour this unique guide to one of the field's least understood topics. Linkers & Loaders is also an ideal supplementary text for compiler and operating systems courses.

*Includes a linker construction project written in Perl, with project files available for download. *Covers dynamic linking in Windows, UNIX, Linux, BeOS, and other operating systems.
*Explains the Java linking model and how it figures in network applets and extensible Java code.
*Helps you write more elegant and effective code, and build applications that compile, load, and run more efficiently.
 

What people are saying - Write a review

User ratings

5 stars
3
4 stars
1
3 stars
1
2 stars
0
1 star
0

User Review - Flag as inappropriate

although lacking of concrete examples, i would give it a 4 star as there are not many books available dedicated to linkers.

Contents

LINKING AND LOADING
1
I
5
II
10
III
12
IV
17
ARCHITECTURAL ISSUES
19
V
20
VII
22
RELOCATION
149
XLVI
150
XLVII
151
XLIX
153
L
159
LI
160
LII
162
LIII
163

VIII
23
IX
24
X
28
XI
34
XII
41
XIII
43
XIV
45
OBJECT FILES
47
XV
49
XVI
50
XVII
56
XVIII
58
XX
62
XXI
71
XXII
75
XXIII
84
XXIV
90
STORAGE ALLOCATION
93
XXV
94
XXVI
96
XXVIII
98
XXIX
107
XXX
108
XXXI
114
XXXII
115
SYMBOL MANAGEMENT
117
XXXIII
118
XXXIV
124
XXXV
129
XXXVII
132
XXXVIII
133
LIBRARIES
135
XXXIX
136
XL
141
XLI
142
XLII
144
XLIV
145
XLV
146
LIV
164
LOADING AND OVERLAYS
167
LV
168
LVI
169
LVII
176
LVIII
177
LIX
184
LX
185
SHARED LIBRARIES
187
LXI
188
LXII
190
LXIV
192
LXVI
197
LXVIII
199
LXIX
202
LXX
203
DYNAMIC LINKING AND LOADING
205
LXXI
206
LXXIII
210
LXXIV
213
LXXV
215
LXXVI
216
LXXVII
217
LXXVIII
222
LXXIX
223
LXXX
224
LXXXI
226
ADVANCED TECHNIQUES
229
LXXXIII
233
LXXXIV
235
LXXXV
237
LXXXVI
238
LXXXVII
241
LXXXVIII
244
LXXXIX
245
REFERENCES
246
INDEX
249
Copyright

Other editions - View all

Common terms and phrases

References to this book

Computer Viruses and Malware
John Aycock
No preview available - 2006
All Book Search results »

About the author (2000)

John Levine is the author or co-author of many books, including lex & yac (O'Reilly), Programming for Graphics Files in C and C++ (Wiley), and The Internet for Dummies (IDG). He is also publisher emeritus of the Journal of C Language Translation, long-time moderator of the comp.compilers newsgroup, and the creator of one of the first commercial Fortran 77 compilers. He holds a Ph.D. in Computer Science from Yale University.

Bibliographic information