Home
last modified time | relevance | path

Searched refs:EI_OSABI (Results 1 – 25 of 31) sorted by relevance

12

/freebsd/usr.bin/brandelf/
H A Dbrandelf.c164 argv[0], iselftype(buffer[EI_OSABI]), in main()
165 buffer[EI_OSABI]); in main()
173 buffer[EI_OSABI] = type; in main()
/freebsd/contrib/elftoolchain/brandelf/
H A Dbrandelf.c194 argv[0], iselftype(ehdr.e_ident[EI_OSABI]), in main()
195 ehdr.e_ident[EI_OSABI]); in main()
216 ehdr.e_ident[EI_OSABI] = (unsigned char) type; in main()
/freebsd/usr.bin/ldd/
H A Dldd.c431 freebsd = ehdr.e_ident[EI_OSABI] == ELFOSABI_FREEBSD; in is_executable()
440 if (ehdr.e_ident[EI_OSABI] == ELFOSABI_NONE && !freebsd) in is_executable()
/freebsd/sys/compat/linux/
H A Dlinux_vdso.c135 ehdr->e_ident[EI_OSABI] = ELFOSABI_LINUX; in __elfN()
/freebsd/lib/libkvm/
H A Dkvm_powerpc.c64 if (eh->e_ident[EI_OSABI] != ELFOSABI_STANDALONE) in valid_elf_header()
H A Dkvm_powerpc64.c65 if (eh->e_ident[EI_OSABI] != ELFOSABI_STANDALONE) in valid_elf_header()
/freebsd/contrib/elftoolchain/elfcopy/
H A Dbinary.c186 oeh.e_ident[EI_OSABI] = ELFOSABI_NONE; in create_elf_from_binary()
H A Dascii.c232 oeh.e_ident[EI_OSABI] = ELFOSABI_NONE; in create_elf_from_srec()
501 oeh.e_ident[EI_OSABI] = ELFOSABI_NONE; in create_elf_from_ihex()
H A Dmain.c314 oeh.e_ident[EI_OSABI] = ecp->abi; in create_elf()
416 if (oeh.e_ident[EI_OSABI] == ELFOSABI_FREEBSD) in create_elf()
/freebsd/sys/kern/
H A Dkern_dump.c312 ehdr.e_ident[EI_OSABI] = ELFOSABI_STANDALONE; /* XXX big picture? */ in dumpsys_generic()
H A Dimgact_elf.c406 (hdr->e_ident[EI_OSABI] == bi->brand || in __elfN()
1235 hdr->e_ident[EI_OSABI]); in __CONCAT()
1929 ehdr->e_ident[EI_OSABI] = td->td_proc->p_sysent->sv_elf_core_osabi; in __elfN()
/freebsd/contrib/llvm-project/lld/docs/
H A DReleaseNotes.rst35 * ``EI_OSABI`` in the output is now inferred from input object files.
/freebsd/sys/dev/ksyms/
H A Dksyms.c284 hdr->kh_ehdr.e_ident[EI_OSABI] = ELFOSABI_FREEBSD; in ksyms_snapshot()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectFile/ELF/
H A DObjectFileELF.cpp569 eArchTypeELF, header.e_machine, sub_type, header.e_ident[EI_OSABI]); in GetModuleSpecifications()
579 OSABIAsCString(header.e_ident[EI_OSABI])); in GetModuleSpecifications()
588 GetOsFromOSABI(header.e_ident[EI_OSABI], ostype); in GetModuleSpecifications()
1400 header.e_ident[EI_OSABI]); in GetSectionHeaderInfo()
1408 GetOsFromOSABI(header.e_ident[EI_OSABI], ostype); in GetSectionHeaderInfo()
/freebsd/usr.bin/elfdump/
H A Delfdump.c98 offsetof(Elf32_Ehdr, e_ident[EI_OSABI]),
139 offsetof(Elf32_Ehdr, e_ident[EI_OSABI]),
/freebsd/sys/sys/
H A Delf_common.h133 #define EI_OSABI 7 /* Operating system / ABI identification */ macro
/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_link.c499 elf_file.ehdr.e_ident[EI_OSABI] = ELFOSABI_FREEBSD; in dump_elf32()
653 elf_file.ehdr.e_ident[EI_OSABI] = ELFOSABI_FREEBSD; in dump_elf64()
/freebsd/contrib/elftoolchain/size/
H A Dsize.c337 if (elfhdr->e_ident[EI_OSABI] == ELFOSABI_FREEBSD && in handle_core_note()
/freebsd/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DELF.h56 EI_OSABI = 7, // OS/ABI identification. enumerator
/freebsd/usr.bin/gcore/
H A Delfcore.c492 ehdr->e_ident[EI_OSABI] = ELFOSABI_FREEBSD; in elf_puthdr()
/freebsd/contrib/llvm-project/llvm/lib/InterfaceStub/
H A DELFObjHandler.cpp63 ElfHeader.e_ident[EI_OSABI] = ELFOSABI_NONE; in initELFHeader()
/freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DELFDumper.cpp3581 if (e.e_ident[ELF::EI_OSABI] >= ELF::ELFOSABI_FIRST_ARCH && in printFileHeaders()
3582 e.e_ident[ELF::EI_OSABI] <= ELF::ELFOSABI_LAST_ARCH) { in printFileHeaders()
3594 Str = enumToString(e.e_ident[ELF::EI_OSABI], OSABI); in printFileHeaders()
4143 Fields[7].Str = getGNUFlags(this->Obj.getHeader().e_ident[ELF::EI_OSABI], in printSectionHeaders()
7032 if (E.e_ident[ELF::EI_OSABI] >= ELF::ELFOSABI_FIRST_ARCH && in printFileHeaders()
7033 E.e_ident[ELF::EI_OSABI] <= ELF::ELFOSABI_LAST_ARCH) { in printFileHeaders()
7046 W.printEnum("OS/ABI", E.e_ident[ELF::EI_OSABI], OSABI); in printFileHeaders()
7255 getSectionFlagsForTarget(this->Obj.getHeader().e_ident[ELF::EI_OSABI], in printSectionHeaders()
/freebsd/contrib/llvm-project/lld/ELF/Arch/
H A DARM.cpp1505 eHdr->e_ident[EI_OSABI] = config->osabi; in writeARMCmseImportLib()
/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/ELF/
H A DELFObject.cpp1939 Obj.OSABI = Ehdr.e_ident[EI_OSABI]; in build()
2033 Ehdr.e_ident[EI_OSABI] = Obj.OSABI; in writeEhdr()
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/
H A DELFObjectFile.h1461 switch (EF.getHeader().e_ident[ELF::EI_OSABI]) { in getOS()

12