Home
last modified time | relevance | path

Searched refs:sh_size (Results 1 – 3 of 3) sorted by relevance

/frameworks/compile/mclinker/lib/LD/
DELFReader.cpp335 uint32_t sh_size = 0x0; in readSectionHeaders() local
347 sh_size = shdr->sh_size; in readSectionHeaders()
350 sh_size = mcld::bswap32(shdr->sh_size); in readSectionHeaders()
355 shnum = sh_size; in readSectionHeaders()
371 sh_size = shdr->sh_size; in readSectionHeaders()
374 sh_size = mcld::bswap32(shdr->sh_size); in readSectionHeaders()
378 pInput.memArea()->request(pInput.fileOffset() + sh_offset, sh_size); in readSectionHeaders()
390 sh_size = shdrTab[idx].sh_size; in readSectionHeaders()
399 sh_size = mcld::bswap32(shdrTab[idx].sh_size); in readSectionHeaders()
407 section->setSize(sh_size); in readSectionHeaders()
[all …]
DELFObjectWriter.cpp320 shdr[sectIdx].sh_size = ld_sect->size(); in emitSectionHeader()
/frameworks/libs/binary_translation/tools/nogrod/
Delf_reader.cc105 size_t section_size = section_header->sh_size; in ReadSection()
222 size_t section_end = shdr->sh_offset + shdr->sh_size; in ValidateShdrTable()
327 strtab_ = StringTable(Buffer{ShdrOffsetToAddr<const char>(strtab_shdr), strtab_shdr->sh_size}); in Init()
382 if (dynsym_shdr->sh_size % sizeof(typename ElfT::Sym) != 0) { in ReadExportedSymbols()
384 static_cast<size_t>(dynsym_shdr->sh_size), in ReadExportedSymbols()
389 size_t dynsym_num = dynsym_shdr->sh_size / sizeof(typename ElfT::Sym); in ReadExportedSymbols()
400 const StringTable strtab(Buffer{ShdrOffsetToAddr<const char>(strtab_shdr), strtab_shdr->sh_size}); in ReadExportedSymbols()