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 Header

The loader header data structure is of fixed size (56 bytes) and has the form shown in Listing 8-3.

Listing 8-3 Loader header data structure

struct PEFLoaderInfoHeader {
   SInt32mainSection;          
   UInt32mainOffset;           
   SInt32initSection;          
   UInt32initOffset;           
   SInt32termSection;          
   UInt32termOffset;           
   UInt32importedLibraryCount; 
   UInt32totalImportedSymbolCount; 
   UInt32relocSectionCount;    
   UInt32relocInstrOffset;     
   UInt32loaderStringsOffset;  
   UInt32exportHashOffset;     
   UInt32exportHashTablePower; 
   UInt32exportedSymbolCount;  
};
The fields in the loader header are as follows:


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 MARCH 1997