Home
last modified time | relevance | path

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

/frameworks/compile/mclinker/lib/LD/
DELFDynObjReader.cpp57 const char* ELF_hdr = region.begin(); in isMyFormat() local
59 if (!m_pELFReader->isELF(ELF_hdr)) { in isMyFormat()
62 } else if (Input::DynObj != m_pELFReader->fileType(ELF_hdr)) { in isMyFormat()
65 } else if (!m_pELFReader->isMyEndian(ELF_hdr)) { in isMyFormat()
68 } else if (!m_pELFReader->isMyMachine(ELF_hdr)) { in isMyFormat()
82 const char* ELF_hdr = region.begin(); in readHeader() local
84 bool shdr_result = m_pELFReader->readSectionHeaders(pInput, ELF_hdr); in readHeader()
DELFObjectReader.cpp74 const char* ELF_hdr = region.begin(); in isMyFormat() local
76 if (!m_pELFReader->isELF(ELF_hdr)) { in isMyFormat()
79 } else if (Input::Object != m_pELFReader->fileType(ELF_hdr)) { in isMyFormat()
82 } else if (!m_pELFReader->isMyEndian(ELF_hdr)) { in isMyFormat()
85 } else if (!m_pELFReader->isMyMachine(ELF_hdr)) { in isMyFormat()
102 const char* ELF_hdr = region.begin(); in readHeader() local
103 m_Backend.mergeFlags(pInput, ELF_hdr); in readHeader()
104 bool result = m_pELFReader->readSectionHeaders(pInput, ELF_hdr); in readHeader()
/frameworks/compile/mclinker/unittests/
DELFReaderTest.cpp70 const char* ELF_hdr = region.begin(); in SetUp() local
71 bool shdr_result = m_pELFReader->readSectionHeaders(*m_pInput, ELF_hdr); in SetUp()
/frameworks/compile/mclinker/lib/Target/Mips/
DMipsLDBackend.h228 virtual void mergeFlags(Input& pInput, const char* ELF_hdr);
DMipsLDBackend.cpp431 void MipsGNULDBackend::mergeFlags(Input& pInput, const char* ELF_hdr) { in mergeFlags() argument
433 bool isInput64Bit = ELF_hdr[llvm::ELF::EI_CLASS] == llvm::ELF::ELFCLASS64; in mergeFlags()
444 reinterpret_cast<const llvm::ELF::Elf64_Ehdr*>(ELF_hdr)->e_flags : in mergeFlags()
445 reinterpret_cast<const llvm::ELF::Elf32_Ehdr*>(ELF_hdr)->e_flags; in mergeFlags()
/frameworks/compile/mclinker/include/mcld/Target/
DGNULDBackend.h193 virtual void mergeFlags(Input& pInput, const char* ELF_hdr) {} in mergeFlags() argument