Lines Matching refs:file_format
266 ELFFileFormat* file_format = getOutputFormat(); in initStandardSymbols() local
271 if (file_format->hasPreInitArray()) { in initStandardSymbols()
273 file_format->getPreInitArray().getSectionData()->front(), 0x0); in initStandardSymbols()
302 if (file_format->hasInitArray()) { in initStandardSymbols()
304 file_format->getInitArray().getSectionData()->front(), 0x0); in initStandardSymbols()
333 if (file_format->hasFiniArray()) { in initStandardSymbols()
335 file_format->getFiniArray().getSectionData()->front(), 0x0); in initStandardSymbols()
364 if (file_format->hasStack()) { in initStandardSymbols()
366 file_format->getStack().getSectionData()->front(), 0x0); in initStandardSymbols()
494 ELFFileFormat* file_format = getOutputFormat(); in finalizeStandardSymbols() local
507 file_format->getPreInitArray().size()); in finalizeStandardSymbols()
524 file_format->getInitArray().size()); in finalizeStandardSymbols()
541 file_format->getFiniArray().size()); in finalizeStandardSymbols()
557 f_pDynamic->setValue(file_format->getDynamic().addr()); in finalizeStandardSymbols()
558 f_pDynamic->setSize(file_format->getDynamic().size()); in finalizeStandardSymbols()
757 ELFFileFormat* file_format = getOutputFormat(); in sizeNamePools() local
824 file_format->getDynSymTab().setSize(dynsym * in sizeNamePools()
827 file_format->getDynSymTab().setSize(dynsym * in sizeNamePools()
830 file_format->getDynStrTab().setSize(dynstr); in sizeNamePools()
831 file_format->getHashTab().setSize(hash); in sizeNamePools()
832 file_format->getGNUHashTab().setSize(gnuhash); in sizeNamePools()
836 file_format->getDynSymTab().setInfo(dynsym_local_cnt); in sizeNamePools()
841 dynamic().reserveEntries(*file_format); in sizeNamePools()
842 file_format->getDynamic().setSize(dynamic().numOfBytes()); in sizeNamePools()
848 file_format->getSymTab().setSize(symtab * sizeof(llvm::ELF::Elf32_Sym)); in sizeNamePools()
850 file_format->getSymTab().setSize(symtab * sizeof(llvm::ELF::Elf64_Sym)); in sizeNamePools()
851 file_format->getStrTab().setSize(strtab); in sizeNamePools()
855 file_format->getSymTab().setInfo(symtab_local_cnt); in sizeNamePools()
859 file_format->getShStrTab().setSize(0x1); in sizeNamePools()
916 ELFFileFormat* file_format = getOutputFormat(); in emitRegNamePools() local
917 if (!file_format->hasSymTab()) in emitRegNamePools()
920 LDSection& symtab_sect = file_format->getSymTab(); in emitRegNamePools()
921 LDSection& strtab_sect = file_format->getStrTab(); in emitRegNamePools()
984 ELFFileFormat* file_format = getOutputFormat(); in emitDynNamePools() local
985 if (!file_format->hasDynSymTab() || !file_format->hasDynStrTab() || in emitDynNamePools()
986 !file_format->hasDynamic()) in emitDynNamePools()
992 LDSection& symtab_sect = file_format->getDynSymTab(); in emitDynNamePools()
993 LDSection& strtab_sect = file_format->getDynStrTab(); in emitDynNamePools()
994 LDSection& dyn_sect = file_format->getDynamic(); in emitDynNamePools()
1086 dynamic().applyEntries(*file_format); in emitDynNamePools()
1101 ELFFileFormat* file_format = getOutputFormat(); in emitELFHashTab() local
1102 if (!file_format->hasHashTab()) in emitELFHashTab()
1104 LDSection& hash_sect = file_format->getHashTab(); in emitELFHashTab()
1139 ELFFileFormat* file_format = getOutputFormat(); in emitGNUHashTab() local
1140 if (!file_format->hasGNUHashTab()) in emitGNUHashTab()
1144 pOutput.request(file_format->getGNUHashTab().offset(), in emitGNUHashTab()
1145 file_format->getGNUHashTab().size()); in emitGNUHashTab()
1306 const ELFFileFormat* file_format = getOutputFormat(); in getSectionOrder() local
1312 if (&pSectHdr == &file_format->getStrTab()) in getSectionOrder()
1326 if (&pSectHdr == &file_format->getInit()) in getSectionOrder()
1328 if (&pSectHdr == &file_format->getFini()) in getSectionOrder()
1335 if (&pSectHdr == &file_format->getPreInitArray() || in getSectionOrder()
1336 &pSectHdr == &file_format->getInitArray() || in getSectionOrder()
1337 &pSectHdr == &file_format->getFiniArray() || in getSectionOrder()
1338 &pSectHdr == &file_format->getCtors() || in getSectionOrder()
1339 &pSectHdr == &file_format->getDtors() || in getSectionOrder()
1340 &pSectHdr == &file_format->getJCR() || in getSectionOrder()
1341 &pSectHdr == &file_format->getDataRelRo()) in getSectionOrder()
1344 if (&pSectHdr == &file_format->getDataRelRoLocal()) in getSectionOrder()
1365 if (&pSectHdr == &file_format->getDynamic()) in getSectionOrder()
1370 if (&pSectHdr == &file_format->getRelPlt() || in getSectionOrder()
1371 &pSectHdr == &file_format->getRelaPlt()) in getSectionOrder()
1381 if (file_format->hasInterp() && (&pSectHdr == &file_format->getInterp())) in getSectionOrder()
1516 ELFFileFormat* file_format = getOutputFormat(); in allocateCommonSymbols() local
1517 LDSection& bss_sect = file_format->getBSS(); in allocateCommonSymbols()
1518 LDSection& tbss_sect = file_format->getTBSS(); in allocateCommonSymbols()
1740 ELFFileFormat* file_format = getOutputFormat(); in createProgramHdrs() local
1743 if (file_format->hasInterp()) { in createProgramHdrs()
1748 interp_seg->append(&file_format->getInterp()); in createProgramHdrs()
1784 } else if ((sect != &(file_format->getText())) && in createProgramHdrs()
1785 (sect != &(file_format->getData())) && in createProgramHdrs()
1786 (sect != &(file_format->getBSS())) && in createProgramHdrs()
1813 if (file_format->hasDynamic()) { in createProgramHdrs()
1816 dyn_seg->append(&file_format->getDynamic()); in createProgramHdrs()
1842 if (file_format->hasEhFrameHdr()) { in createProgramHdrs()
1844 eh_seg->append(&file_format->getEhFrameHdr()); in createProgramHdrs()
1848 if (file_format->hasTData() || file_format->hasTBSS()) { in createProgramHdrs()
1850 if (file_format->hasTData()) in createProgramHdrs()
1851 tls_seg->append(&file_format->getTData()); in createProgramHdrs()
1852 if (file_format->hasTBSS()) in createProgramHdrs()
1853 tls_seg->append(&file_format->getTBSS()); in createProgramHdrs()
1857 if (file_format->hasStackNote()) { in createProgramHdrs()
1858 uint32_t flag = getSegmentFlag(file_format->getStackNote().flag()); in createProgramHdrs()