Lines Matching refs:loaderSection
132 …PEFLoaderInfoHeader *loaderSection; // The entire CFM load… member
175 MoreAssertQ(fragToFix->loaderSection == nil); in ReadContainerBasics()
227 …fragToFix->loaderSection = (PEFLoaderInfoHeader *) NewPtr(fragToFix->sectionHeaders[sectionIndex].… in ReadContainerBasics()
234 fragToFix->loaderSection); in ReadContainerBasics()
539 initSection = fragToFix->loaderSection->initSection; in SetupSectionBaseAddresses()
540 initOffset = fragToFix->loaderSection->initOffset; in SetupSectionBaseAddresses()
653 static OSStatus FindImportLibrary(PEFLoaderInfoHeader *loaderSection, const char *libraryName, PEFI… in FindImportLibrary() argument
663 MoreAssertQ(loaderSection != nil); in FindImportLibrary()
672 thisImportLibrary = (PEFImportedLibrary *) (loaderSection + 1); in FindImportLibrary()
673 librariesRemaining = loaderSection->importedLibraryCount; in FindImportLibrary()
679 ((char *)loaderSection) in FindImportLibrary()
680 + loaderSection->loaderStringsOffset in FindImportLibrary()
700 PEFLoaderInfoHeader *loaderSection, in LookupSymbol() argument
726 MoreAssertQ(loaderSection != nil); in LookupSymbol()
727 MoreAssertQ(symbolIndex < loaderSection->totalImportedSymbolCount); in LookupSymbol()
732 …importSymbolTable = (UInt32 *)(((char *)(loaderSection + 1)) + (loaderSection->importedLibraryCoun… in LookupSymbol()
746 …symbolStringAddress = ((char *)loaderSection) + loaderSection->loaderStringsOffset + symbolStringO… in LookupSymbol()
819 …r = (PEFLoaderRelocationHeader *) (((char *) fragToFix->loaderSection) + fragToFix->loaderSection-… in InitEngineState()
895 MoreAssertQ(fragToFix->loaderSection != nil); in RunRelocationEngine()
906 …totalRelocs = (fragToFix->loaderSection->loaderStringsOffset - fragToFix->loaderSection->relocInst… in RunRelocationEngine()
911 …relocInstrTable = (UInt16 *)((char *) fragToFix->loaderSection + fragToFix->loaderSection->relocIn… in RunRelocationEngine()
915 MoreAssertQ(fragToFix->loaderSection->relocSectionCount <= 0x0FFFF); in RunRelocationEngine()
916 sectionsLeftToRelocate = fragToFix->loaderSection->relocSectionCount; in RunRelocationEngine()
1019 … err = LookupSymbol(lookup, refCon, fragToFix->loaderSection, state.importIndex, &symbolValue); in RunRelocationEngine()
1038 … err = LookupSymbol(lookup, refCon, fragToFix->loaderSection, index, &symbolValue); in RunRelocationEngine()
1118 … err = LookupSymbol(lookup, refCon, fragToFix->loaderSection, index, &symbolValue); in RunRelocationEngine()
1215 … err = FindImportLibrary(fragToFix.loaderSection, weakLinkedLibraryNameCString, &importLibrary); in CFMLateImportCore()
1241 if (fragToFix.loaderSection != nil) { in CFMLateImportCore()
1242 DisposePtr( (Ptr) fragToFix.loaderSection); in CFMLateImportCore()