Home
last modified time | relevance | path

Searched refs:EM_RISCV (Results 1 – 25 of 39) sorted by relevance

12

/freebsd/sys/riscv/include/
H A Delf.h62 #define ELF_ARCH EM_RISCV
69 #define ELF_TARG_MACH EM_RISCV
H A Ddump.h32 #define EM_VALUE EM_RISCV
/freebsd/contrib/elftoolchain/libelf/
H A D_libelf_config.h98 #define LIBELF_ARCH EM_RISCV
104 #define LIBELF_ARCH EM_RISCV
/freebsd/contrib/elftoolchain/libelftc/
H A Dlibelftc_bfdtarget.c323 .bt_machine = EM_RISCV,
331 .bt_machine = EM_RISCV,
339 .bt_machine = EM_RISCV,
H A Delftc_reloc_type_str.c620 case EM_RISCV: in elftc_reloc_type_str()
/freebsd/lib/libkldelf/
H A Def_riscv.c85 ELF_RELOC(ELFCLASS64, ELFDATA2LSB, EM_RISCV, ef_riscv_reloc);
/freebsd/contrib/llvm-project/llvm/lib/BinaryFormat/
H A DELF.cpp194 .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 Dexec_elf32.c190 #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 DRISCVELFObjectWriter.cpp43 : MCELFObjectTargetWriter(Is64Bit, OSABI, ELF::EM_RISCV, in RISCVELFObjectWriter()
/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DELF.cpp114 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 DELFObjectFile.cpp425 case ELF::EM_RISCV: in getFeatures()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A DELF.cpp99 case ELF::EM_RISCV: in createLinkGraphFromELFObject()
/freebsd/contrib/llvm-project/lld/ELF/
H A DTarget.cpp77 case EM_RISCV: in setTarget()
H A DInputSection.cpp434 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 DDriver.cpp166 .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 DWriter.cpp782 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 DELFObjectFile.h419 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 Dkvm_minidump_riscv.c67 return (_kvm_probe_elf_kernel(kd, ELFCLASS64, EM_RISCV) && in _riscv_minidump_probe()
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DELFYAML.cpp355 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 DELFHeader.cpp211 case EM_RISCV: in GetRelocationJumpSlotType()
/freebsd/sys/riscv/riscv/
H A Delf_machdep.c105 .machine = EM_RISCV,
/freebsd/contrib/elftoolchain/libdwarf/
H A Dlibdwarf_reloc.c114 case EM_RISCV: in _dwarf_get_reloc_size()
/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_link.c510 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 Delf_common.h308 #define EM_RISCV 243 /* RISC-V */ macro
/freebsd/contrib/llvm-project/lldb/source/Utility/
H A DArchSpec.cpp427 {ArchSpec::eCore_riscv32, llvm::ELF::EM_RISCV,
429 {ArchSpec::eCore_riscv64, llvm::ELF::EM_RISCV,

12