Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Mac OS Runtime Architectures /
Chapter 8 - PEF Structure


The Loader Section

The loader section is a special section that contains information used by the Code Fragment Manager to prepare the fragment. It contains information about the symbols imported to, and exported from, the fragment as well as instructions that tell the Code Fragment Manager how to fix up references to symbols.

The general layout and content of the loader section appears in Figure 8-6.

Figure 8-6 PEF loader section

The contents of the loader section are as follows:

The sections that follow describe these components in more detail.

All tables use zero-based indexes. It is recommended that offset values for elements with no entries be set to 0.


Subtopics
The Loader Header
Imported Libraries and Symbols
Relocations
The Loader String Table
Exported Symbols

Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 MARCH 1997