| /freebsd/sys/riscv/include/ |
| H A D | elf.h | 62 #define ELF_ARCH EM_RISCV 69 #define ELF_TARG_MACH EM_RISCV
|
| H A D | dump.h | 32 #define EM_VALUE EM_RISCV
|
| /freebsd/contrib/elftoolchain/libelf/ |
| H A D | _libelf_config.h | 98 #define LIBELF_ARCH EM_RISCV 104 #define LIBELF_ARCH EM_RISCV
|
| /freebsd/contrib/elftoolchain/libelftc/ |
| H A D | libelftc_bfdtarget.c | 323 .bt_machine = EM_RISCV, 331 .bt_machine = EM_RISCV, 339 .bt_machine = EM_RISCV,
|
| H A D | elftc_reloc_type_str.c | 620 case EM_RISCV: in elftc_reloc_type_str()
|
| /freebsd/lib/libkldelf/ |
| H A D | ef_riscv.c | 85 ELF_RELOC(ELFCLASS64, ELFDATA2LSB, EM_RISCV, ef_riscv_reloc);
|
| /freebsd/contrib/llvm-project/llvm/lib/BinaryFormat/ |
| H A D | ELF.cpp | 194 .Case("riscv", EM_RISCV) in convertArchNameToEMachine() 249 return EM_RISCV; in convertTripleArchTypeToEMachine() 619 case EM_RISCV: in convertEMachineToArchName()
|
| /freebsd/usr.sbin/crunch/crunchide/ |
| H A D | exec_elf32.c | 190 #ifndef EM_RISCV in ELFNAMEEND() 191 #define EM_RISCV 243 in ELFNAMEEND() macro 193 case EM_RISCV: break; in ELFNAMEEND()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/ |
| H A D | RISCVELFObjectWriter.cpp | 43 : MCELFObjectTargetWriter(Is64Bit, OSABI, ELF::EM_RISCV, in RISCVELFObjectWriter()
|
| /freebsd/contrib/llvm-project/llvm/lib/Object/ |
| H A D | ELF.cpp | 114 case ELF::EM_RISCV: in getELFRelocationTypeName() 220 case ELF::EM_RISCV: in getELFRelativeRelocationType() 276 case ELF::EM_RISCV: in getELFSectionTypeName() 568 case ELF::EM_RISCV: in getDynamicTagAsString()
|
| H A D | ELFObjectFile.cpp | 425 case ELF::EM_RISCV: in getFeatures()
|
| /freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/ |
| H A D | ELF.cpp | 99 case ELF::EM_RISCV: in createLinkGraphFromELFObject()
|
| /freebsd/contrib/llvm-project/lld/ELF/ |
| H A D | Target.cpp | 77 case EM_RISCV: in setTarget()
|
| H A D | InputSection.cpp | 434 ctx.arg.relax && is_contained({EM_RISCV, EM_LOONGARCH}, ctx.arg.emachine); in copyRelocations() 751 case EM_RISCV: in getTlsTpOffset() 909 else if (ctx.arg.emachine == EM_RISCV) in getRelocTargetVA() 1055 if (emachine == EM_RISCV && type == R_RISCV_SET_ULEB128) { in relocateNonAlloc()
|
| H A D | Driver.cpp | 166 .Case("elf32lriscv", {ELF32LEKind, EM_RISCV}) in parseEmulation() 172 .Case("elf64lriscv", {ELF64LEKind, EM_RISCV}) in parseEmulation() 422 if (ctx.arg.emachine != EM_RISCV) { in checkOptions() 1304 EM_PPC, EM_PPC64, EM_RISCV, EM_S390, EM_X86_64}, in getIsRela() 2905 ctx.arg.emachine != EM_AARCH64 && ctx.arg.emachine != EM_RISCV) in readSecurityNotes() 2957 if (ctx.arg.emachine == EM_RISCV) { in readSecurityNotes() 3057 if (ctx.arg.emachine == EM_RISCV) { in readSecurityNotes() 3454 if (ctx.arg.emachine == EM_RISCV) in link()
|
| H A D | Writer.cpp | 782 if (ctx.arg.emachine == EM_RISCV) { in getSectionRank() 913 ctx.arg.emachine == EM_RISCV ? findSection(ctx, ".sbss") : nullptr; in setReservedSymbolSections() 1828 if (ctx.arg.emachine == EM_RISCV) { in finalizeSections() 2054 if (ctx.arg.emachine == EM_RISCV) in finalizeSections()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Object/ |
| H A D | ELFObjectFile.h | 419 case ELF::EM_RISCV: in getBuildAttributes() 825 } else if (EF.getHeader().e_machine == ELF::EM_RISCV) { in getSymbolFlags() 1314 case ELF::EM_RISCV: in getFileFormatName() 1340 case ELF::EM_RISCV: in getFileFormatName() 1400 case ELF::EM_RISCV: in getArch()
|
| /freebsd/lib/libkvm/ |
| H A D | kvm_minidump_riscv.c | 67 return (_kvm_probe_elf_kernel(kd, ELFCLASS64, EM_RISCV) && in _riscv_minidump_probe()
|
| /freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/ |
| H A D | ELFYAML.cpp | 355 ECase(EM_RISCV); in enumeration() 544 case ELF::EM_RISCV: in bitset() 752 case ELF::EM_RISCV: in enumeration() 932 case ELF::EM_RISCV: in enumeration() 1028 case ELF::EM_RISCV: in enumeration() 1320 if (EMachine == ELF::EM_RISCV) in getFlags()
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectFile/ELF/ |
| H A D | ELFHeader.cpp | 211 case EM_RISCV: in GetRelocationJumpSlotType()
|
| /freebsd/sys/riscv/riscv/ |
| H A D | elf_machdep.c | 105 .machine = EM_RISCV,
|
| /freebsd/contrib/elftoolchain/libdwarf/ |
| H A D | libdwarf_reloc.c | 114 case EM_RISCV: in _dwarf_get_reloc_size()
|
| /freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/ |
| H A D | dt_link.c | 510 elf_file.ehdr.e_machine = EM_RISCV; in dump_elf32() 667 elf_file.ehdr.e_machine = EM_RISCV; in dump_elf64() 1253 emachine1 = emachine2 = EM_RISCV; in process_obj()
|
| /freebsd/sys/sys/ |
| H A D | elf_common.h | 308 #define EM_RISCV 243 /* RISC-V */ macro
|
| /freebsd/contrib/llvm-project/lldb/source/Utility/ |
| H A D | ArchSpec.cpp | 427 {ArchSpec::eCore_riscv32, llvm::ELF::EM_RISCV, 429 {ArchSpec::eCore_riscv64, llvm::ELF::EM_RISCV,
|