Searched refs:emachine (Results 1 – 14 of 14) sorted by relevance
| /freebsd/contrib/llvm-project/lld/ELF/ |
| H A D | Relocations.cpp | 101 if (ctx.arg.emachine == EM_X86_64 && rel.type == R_X86_64_PC32 && in reportRangeError() 1065 if (ctx.arg.emachine == EM_PPC && expr == RE_PPC32_PLTREL) in processAux() 1069 if (!(ctx.arg.emachine == EM_HEXAGON && in processAux() 1075 (type == R_PPC64_PCREL_OPT && ctx.arg.emachine == EM_PPC64)) { in processAux() 1096 if (ctx.arg.emachine == EM_MIPS) { in processAux() 1105 } else if (!sym.isTls() || ctx.arg.emachine != EM_LOONGARCH) { in processAux() 1136 (isa<EhInputSection>(sec) && ctx.arg.emachine != EM_MIPS)); in processAux() 1145 if (ctx.arg.emachine == EM_MIPS && rel == ctx.target->symbolicRel) in processAux() 1149 if (ctx.arg.emachine == EM_AARCH64 && type == R_AARCH64_AUTH_ABS64) { in processAux() 1185 if (ctx.arg.emachine == EM_MIPS) in processAux() [all …]
|
| H A D | Target.cpp | 41 StringRef s = getELFRelocationTypeName(ctx.arg.emachine, type); in toStr() 53 switch (ctx.arg.emachine) { in setTarget() 86 Fatal(ctx) << "unsupported e_machine value: " << ctx.arg.emachine; in setTarget()
|
| H A D | Writer.cpp | 165 if (ctx.arg.emachine == EM_MIPS) { in addReservedSymbols() 191 } else if (ctx.arg.emachine == EM_PPC) { in addReservedSymbols() 195 } else if (ctx.arg.emachine == EM_PPC64) { in addReservedSymbols() 208 (ctx.arg.emachine == EM_PPC64) ? ".TOC." : "_GLOBAL_OFFSET_TABLE_"; in addReservedSymbols() 218 if (ctx.arg.emachine == EM_PPC64) in addReservedSymbols() 452 if (ctx.arg.emachine == EM_ARM && sym.section && in shouldKeepInSymtab() 694 bool isLarge = osec.flags & SHF_X86_64_LARGE && ctx.arg.emachine == EM_X86_64; in getSectionRank() 761 if (ctx.arg.emachine == EM_PPC64) { in getSectionRank() 773 if (ctx.arg.emachine == EM_MIPS) { in getSectionRank() 782 if (ctx.arg.emachine == EM_RISCV) { in getSectionRank() [all …]
|
| H A D | SyntheticSections.cpp | 283 if (ctx.arg.emachine == EM_ARM && !ctx.arg.isLE && ctx.arg.armBe8 && in addSyntheticLocal() 326 switch (ctx.arg.emachine) { in writeTo() 735 if (ctx.arg.emachine == EM_PPC64 && in finalizeContents() 1217 if (ctx.arg.emachine == EM_PPC) { in GotPltSection() 1219 } else if (ctx.arg.emachine == EM_PPC64) { in GotPltSection() 1253 if (ctx.arg.emachine == EM_ARM) in getIgotPltName() 1258 if (ctx.arg.emachine == EM_PPC64) in getIgotPltName() 1268 ctx.arg.emachine == EM_PPC64 ? SHT_NOBITS : SHT_PROGBITS, in IgotPltSection() 1340 if (ctx.arg.emachine == EM_MIPS || ctx.arg.zRodynamic) in DynamicSection() 1461 if (ctx.arg.emachine != EM_MIPS) { in computeContents() [all …]
|
| H A D | InputSection.cpp | 434 ctx.arg.relax && is_contained({EM_RISCV, EM_LOONGARCH}, ctx.arg.emachine); in copyRelocations() 528 if (ctx.arg.emachine == EM_MIPS && in copyRelocations() 555 } else if (ctx.arg.emachine == EM_PPC && type == R_PPC_PLTREL24 && in copyRelocations() 737 switch (ctx.arg.emachine) { in getTlsTpOffset() 903 if (ctx.arg.emachine == EM_ARM) in getRelocTargetVA() 905 else if (ctx.arg.emachine == EM_AARCH64) in getRelocTargetVA() 907 else if (ctx.arg.emachine == EM_PPC) in getRelocTargetVA() 909 else if (ctx.arg.emachine == EM_RISCV) in getRelocTargetVA() 1021 const auto emachine = ctx.arg.emachine; in relocateNonAlloc() local 1055 if (emachine == EM_RISCV && type == R_RISCV_SET_ULEB128) { in relocateNonAlloc() [all …]
|
| H A D | OutputSections.cpp | 46 (ctx.arg.emachine == EM_ARM && (flags & SHF_ARM_PURECODE)) || in getPhdrFlags() 47 (ctx.arg.emachine == EM_AARCH64 && (flags & SHF_AARCH64_PURECODE)); in getPhdrFlags() 94 (type == SHT_X86_64_UNWIND && ctx.arg.emachine == EM_X86_64); in canMergeToProgbits() 142 << getELFSectionTypeName(ctx.arg.emachine, isec->type) in commitSection() 144 << getELFSectionTypeName(ctx.arg.emachine, type); in commitSection() 168 if (ctx.arg.emachine == EM_ARM) in commitSection() 170 if (ctx.arg.emachine == EM_AARCH64) in commitSection() 558 if (ctx.arg.emachine == EM_ARM && !ctx.arg.isLE && ctx.arg.armBe8 && in writeTo() 920 if (is_contained({EM_PPC, EM_PPC64}, ctx.arg.emachine) && in checkDynRelAddends()
|
| H A D | Driver.cpp | 361 if (ctx.arg.emachine == EM_MIPS && ctx.arg.gnuHash) in checkOptions() 365 if (ctx.arg.emachine == EM_ARM) { in checkOptions() 388 if (ctx.arg.emachine != EM_AARCH64) { in checkOptions() 409 if (ctx.arg.emachine != EM_AARCH64 && ctx.arg.emachine != EM_ARM && in checkOptions() 414 if (ctx.arg.emachine != EM_PPC64) { in checkOptions() 422 if (ctx.arg.emachine != EM_RISCV) { in checkOptions() 439 if (ctx.arg.emachine != EM_386 && ctx.arg.emachine != EM_X86_64 && in checkOptions() 1305 ctx.arg.emachine); in getIsRela() 1870 std::tie(ctx.arg.ekind, ctx.arg.emachine, ctx.arg.osabi) = in readConfigs() 1978 uint16_t m = ctx.arg.emachine; in setConfigs() [all …]
|
| H A D | InputFiles.cpp | 275 if (file->ekind == ctx.arg.ekind && file->emachine == ctx.arg.emachine) { in isCompatible() 276 if (ctx.arg.emachine != EM_MIPS) in isCompatible() 507 emachine = obj.getHeader().e_machine; in init() 611 switch (ctx.arg.emachine) { in parse() 949 } else if (ctx.arg.emachine == EM_AARCH64 && in parseGnuPropertyNote() 984 switch (ctx.arg.emachine) { in readGnuProperty() 1454 if (ctx.arg.emachine != EM_AARCH64) in parseGnuAndFeatures() 1648 if (ctx.arg.emachine == EM_MIPS && name == "_gp_disp") in parse() 1822 emachine = getBitcodeMachineKind(ctx, mb.getBufferIdentifier(), t); in BitcodeFile()
|
| H A D | Symbols.cpp | 117 if (ctx.arg.emachine == EM_MIPS && isMicroMips(ctx) && in getSymVA() 185 if (ctx.arg.emachine == EM_MIPS && isMicroMips(ctx)) in getPltVA()
|
| H A D | InputFiles.h | 137 uint16_t emachine = llvm::ELF::EM_NONE; variable
|
| H A D | ScriptParser.cpp | 501 std::tie(ctx.arg.ekind, ctx.arg.emachine) = parseBfdName(s); in readOutputFormat() 502 if (ctx.arg.emachine == EM_NONE) in readOutputFormat() 506 if (ctx.arg.emachine == EM_MSP430) in readOutputFormat()
|
| H A D | Config.h | 442 uint16_t emachine = llvm::ELF::EM_NONE; member
|
| H A D | Thunks.cpp | 1847 switch (ctx.arg.emachine) { in addThunk() 1869 switch (ctx.arg.emachine) { in addLandingPadThunk()
|
| /freebsd/contrib/elftoolchain/readelf/ |
| H A D | readelf.c | 3616 unsigned int emachine; member 3650 if (gnu_property_archs[i].emachine == in dump_gnu_property_type_0()
|