Home | History | Annotate | Download | only in LD

Lines Matching refs:hdr

48   const llvm::ELF::Elf32_Ehdr* hdr =
50 if (0 == memcmp(llvm::ELF::ElfMagic, hdr, 4))
271 const llvm::ELF::Elf32_Ehdr* hdr =
274 return (hdr->e_ident[llvm::ELF::EI_DATA] == llvm::ELF::ELFDATA2LSB);
280 const llvm::ELF::Elf32_Ehdr* hdr =
284 return (hdr->e_machine == target().getInfo().machine());
285 return (mcld::bswap16(hdr->e_machine) == target().getInfo().machine());
291 const llvm::ELF::Elf32_Ehdr* hdr =
295 type = hdr->e_type;
297 type = mcld::bswap16(hdr->e_type);
573 const llvm::ELF::Elf64_Ehdr* hdr =
575 if (0 == memcmp(llvm::ELF::ElfMagic, hdr, 4))
792 const llvm::ELF::Elf64_Ehdr* hdr =
795 return (hdr->e_ident[llvm::ELF::EI_DATA] == llvm::ELF::ELFDATA2LSB);
801 const llvm::ELF::Elf64_Ehdr* hdr =
805 return (hdr->e_machine == target().getInfo().machine());
806 return (mcld::bswap16(hdr->e_machine) == target().getInfo().machine());
812 const llvm::ELF::Elf64_Ehdr* hdr =
816 type = hdr->e_type;
818 type = mcld::bswap16(hdr->e_type);