Home
last modified time | relevance | path

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

/external/swiftshader/src/Reactor/
DSubzeroReactor.cpp198 inline const SectionHeader *sectionHeader(const ElfHeader *elfHeader) in sectionHeader() argument
200 return reinterpret_cast<const SectionHeader*>((intptr_t)elfHeader + elfHeader->e_shoff); in sectionHeader()
203 inline const SectionHeader *elfSection(const ElfHeader *elfHeader, int index) in elfSection() argument
205 return &sectionHeader(elfHeader)[index]; in elfSection()
208 …static void *relocateSymbol(const ElfHeader *elfHeader, const Elf32_Rel &relocation, const Section… in relocateSymbol() argument
210 const SectionHeader *target = elfSection(elfHeader, relocationTable.sh_info); in relocateSymbol()
212 intptr_t address = (intptr_t)elfHeader + target->sh_offset; in relocateSymbol()
221 const SectionHeader *symbolTable = elfSection(elfHeader, table); in relocateSymbol()
230 intptr_t symbolAddress = (intptr_t)elfHeader + symbolTable->sh_offset; in relocateSymbol()
236 const SectionHeader *target = elfSection(elfHeader, symbol.st_shndx); in relocateSymbol()
[all …]