/freebsd/usr.bin/brandelf/ |
H A D | brandelf.c | 164 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 D | brandelf.c | 194 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 D | ldd.c | 431 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 D | linux_vdso.c | 135 ehdr->e_ident[EI_OSABI] = ELFOSABI_LINUX; in __elfN()
|
/freebsd/lib/libkvm/ |
H A D | kvm_powerpc.c | 64 if (eh->e_ident[EI_OSABI] != ELFOSABI_STANDALONE) in valid_elf_header()
|
H A D | kvm_powerpc64.c | 65 if (eh->e_ident[EI_OSABI] != ELFOSABI_STANDALONE) in valid_elf_header()
|
/freebsd/contrib/elftoolchain/elfcopy/ |
H A D | binary.c | 186 oeh.e_ident[EI_OSABI] = ELFOSABI_NONE; in create_elf_from_binary()
|
H A D | ascii.c | 232 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 D | main.c | 314 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 D | kern_dump.c | 312 ehdr.e_ident[EI_OSABI] = ELFOSABI_STANDALONE; /* XXX big picture? */ in dumpsys_generic()
|
H A D | imgact_elf.c | 406 (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 D | ReleaseNotes.rst | 35 * ``EI_OSABI`` in the output is now inferred from input object files.
|
/freebsd/sys/dev/ksyms/ |
H A D | ksyms.c | 284 hdr->kh_ehdr.e_ident[EI_OSABI] = ELFOSABI_FREEBSD; in ksyms_snapshot()
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectFile/ELF/ |
H A D | ObjectFileELF.cpp | 569 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 D | elfdump.c | 98 offsetof(Elf32_Ehdr, e_ident[EI_OSABI]), 139 offsetof(Elf32_Ehdr, e_ident[EI_OSABI]),
|
/freebsd/sys/sys/ |
H A D | elf_common.h | 133 #define EI_OSABI 7 /* Operating system / ABI identification */ macro
|
/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/ |
H A D | dt_link.c | 499 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 D | size.c | 337 if (elfhdr->e_ident[EI_OSABI] == ELFOSABI_FREEBSD && in handle_core_note()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/BinaryFormat/ |
H A D | ELF.h | 56 EI_OSABI = 7, // OS/ABI identification. enumerator
|
/freebsd/usr.bin/gcore/ |
H A D | elfcore.c | 492 ehdr->e_ident[EI_OSABI] = ELFOSABI_FREEBSD; in elf_puthdr()
|
/freebsd/contrib/llvm-project/llvm/lib/InterfaceStub/ |
H A D | ELFObjHandler.cpp | 63 ElfHeader.e_ident[EI_OSABI] = ELFOSABI_NONE; in initELFHeader()
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/ |
H A D | ELFDumper.cpp | 3581 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 D | ARM.cpp | 1505 eHdr->e_ident[EI_OSABI] = config->osabi; in writeARMCmseImportLib()
|
/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/ELF/ |
H A D | ELFObject.cpp | 1939 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 D | ELFObjectFile.h | 1461 switch (EF.getHeader().e_ident[ELF::EI_OSABI]) { in getOS()
|