Specifications.
[pintos-anon] / specs / sysv-abi-update.html / ch5.intro.html
1 <html>
2 <title>Chapter 5: Program Loading and Dynamic Linking</title><p>
3 <h1>Introduction</h1><p>
4 This section describes the object file
5 information and system actions that create running programs.
6 Some information here applies to all systems;
7 information specific to one processor resides in
8 sections marked accordingly.
9 <p>
10 Executable and shared object files statically represent programs.
11 To execute such programs, the system uses the files to create
12 dynamic program representations, or process images.
13 As section ''Virtual Address Space'' in Chapter 3 of the 
14 processor supplement describes, a process image has segments that
15 hold its text, data, stack, and so on.  This chapter's major sections
16 discuss the following:
17 <ul>
18 <li>
19 <a href=ch5.pheader.html>Program Header.</a>
20 This section complements Chapter 4, describing
21 object file structures that relate directly to program execution.
22 The primary data structure, a program header table, locates
23 segment images within the file and contains other information
24 necessary to create the memory image for the program.
25 <li>
26 <a href=ch5.prog_loading.html>Program Loading.</a>
27 Given an object file, the system must load
28 it into memory for the program to run.
29 <li>
30 <a href=ch5.dynamic.html>Dynamic linking.</a> 
31 After the system loads the program it must complete
32 the process image by resolving symbolic references among the object
33 files that compose the process.
34 </ul>
35 <hr>
36 <img src=warning.gif alt="NOTE:">
37 The processor supplement defines a naming convention for ELF constants
38 that have processor ranges specified.  Names such as <code>DT_</code>,
39 <code>PT_</code>,
40 for processor specific extensions, incorporate the name of the
41 processor: <code>DT_M32_SPECIAL</code>, for example.
42 Pre-existing processor
43 extensions not using this convention will be supported.
44 <table>
45 <th>Pre-Existing Extensions</th>
46 <tr>
47 <td><code>DT_JUMP_REL</code></td>
48 </tr>
49 </table>
50 <hr>
51 <a href=ch4.reloc.html><img src=previous.gif alt="Previous"></a>
52 <a href=contents.html><img src=contents.gif alt="Contents"></a>
53 <a href=ch5.pheader.html><img src=next.gif alt="Next"></a>
54 <hr>
55 <i>
56 <small>
57 &#169; 1997, 1998, 1999, 2000, 2001 The Santa Cruz Operation, Inc.  All rights reserved.
58 </small>
59 </i>
60 </html>