Home
last modified time | relevance | path

Searched refs:emachine (Results 1 – 15 of 15) sorted by relevance

/freebsd/contrib/llvm-project/lld/ELF/
H A DRelocations.cpp109 if (config->emachine == EM_X86_64 && rel.type == R_X86_64_PC32 && in reportRangeError()
1064 if (config->emachine == EM_PPC && expr == R_PPC32_PLTREL) in processAux()
1068 if (!(config->emachine == EM_HEXAGON && in processAux()
1093 if (config->emachine == EM_MIPS) { in processAux()
1102 } else if (!sym.isTls() || config->emachine != EM_LOONGARCH) { in processAux()
1141 (isa<EhInputSection>(sec) && config->emachine != EM_MIPS)); in processAux()
1150 if (config->emachine == EM_MIPS && rel == target->symbolicRel) in processAux()
1154 if (config->emachine == EM_AARCH64 && type == R_AARCH64_AUTH_ABS64) { in processAux()
1190 if (config->emachine == EM_MIPS) in processAux()
1201 !(config->emachine == EM_AARCH64 && type == R_AARCH64_AUTH_ABS64)) { in processAux()
[all …]
H A DTarget.cpp44 StringRef s = getELFRelocationTypeName(elf::config->emachine, type); in toString()
51 switch (config->emachine) { in getTarget()
95 fatal("unsupported e_machine value: " + Twine(config->emachine)); in getTarget()
H A DWriter.cpp157 if (config->emachine == EM_MIPS) { in addReservedSymbols()
183 } else if (config->emachine == EM_PPC) { in addReservedSymbols()
187 } else if (config->emachine == EM_PPC64) { in addReservedSymbols()
200 (config->emachine == EM_PPC64) ? ".TOC." : "_GLOBAL_OFFSET_TABLE_"; in addReservedSymbols()
210 if (config->emachine == EM_PPC64) in addReservedSymbols()
435 if (config->emachine == EM_ARM && sym.section && in shouldKeepInSymtab()
681 if (osec.flags & SHF_X86_64_LARGE && config->emachine == EM_X86_64) in getSectionRank()
720 if (osec.flags & SHF_X86_64_LARGE && config->emachine == EM_X86_64) { in getSectionRank()
734 if (config->emachine == EM_PPC64) { in getSectionRank()
746 if (config->emachine == EM_MIPS) { in getSectionRank()
[all …]
H A DInputSection.cpp402 (config->emachine == EM_RISCV || config->emachine == EM_LOONGARCH)) { in copyRelocations()
493 if (config->emachine == EM_MIPS && in copyRelocations()
519 } else if (config->emachine == EM_PPC && type == R_PPC_PLTREL24 && in copyRelocations()
683 switch (config->emachine) { in getTlsTpOffset()
842 if (config->emachine == EM_ARM) in getRelocTargetVA()
844 else if (config->emachine == EM_AARCH64) in getRelocTargetVA()
846 else if (config->emachine == EM_PPC) in getRelocTargetVA()
848 else if (config->emachine == EM_RISCV) in getRelocTargetVA()
952 const auto emachine = config->emachine; in relocateNonAlloc() local
986 if (emachine == EM_RISCV && type == R_RISCV_SET_ULEB128) { in relocateNonAlloc()
[all …]
H A DSyntheticSections.cpp279 if (config->emachine == EM_ARM && !config->isLE && config->armBe8 && in addSyntheticLocal()
326 uint32_t featureAndType = config->emachine == EM_AARCH64 in writeTo()
704 if (config->emachine == EM_PPC64 && in finalizeContents()
1167 if (config->emachine == EM_PPC) { in GotPltSection()
1169 } else if (config->emachine == EM_PPC64) { in GotPltSection()
1203 if (config->emachine == EM_ARM) in getIgotPltName()
1208 if (config->emachine == EM_PPC64) in getIgotPltName()
1218 config->emachine == EM_PPC64 ? SHT_NOBITS : SHT_PROGBITS, in IgotPltSection()
1289 if (config->emachine == EM_MIPS || config->zRodynamic) in DynamicSection()
1410 if (config->emachine != EM_MIPS) { in computeContents()
[all …]
H A DDriver.cpp380 if (config->emachine == EM_MIPS && config->gnuHash) in checkOptions()
383 if (config->emachine == EM_ARM) { in checkOptions()
399 if (config->fixCortexA53Errata843419 && config->emachine != EM_AARCH64) in checkOptions()
402 if (config->fixCortexA8 && config->emachine != EM_ARM) in checkOptions()
405 if (config->armBe8 && config->emachine != EM_ARM) in checkOptions()
411 if (config->tocOptimize && config->emachine != EM_PPC64) in checkOptions()
414 if (config->pcRelOptimize && config->emachine != EM_PPC64) in checkOptions()
417 if (config->relaxGP && config->emachine != EM_RISCV) in checkOptions()
451 if (config->emachine != EM_AARCH64) in checkOptions()
461 if (config->emachine != EM_AARCH64) { in checkOptions()
[all …]
H A DOutputSections.cpp54 if (config->emachine != EM_ARM || !(flags & SHF_ARM_PURECODE)) in getPhdrFlags()
94 (type == SHT_X86_64_UNWIND && config->emachine == EM_X86_64); in canMergeToProgbits()
142 getELFSectionTypeName(config->emachine, isec->type) + in commitSection()
144 getELFSectionTypeName(config->emachine, type)); in commitSection()
167 config->emachine == EM_ARM ? (uint64_t)SHF_ARM_PURECODE : 0; in commitSection()
541 if (config->emachine == EM_ARM && !config->isLE && config->armBe8 && in writeTo()
893 if (is_contained({EM_PPC, EM_PPC64}, config->emachine) && in checkDynRelAddends()
H A DInputFiles.cpp274 if (file->ekind == config->ekind && file->emachine == config->emachine) { in isCompatible()
275 if (config->emachine != EM_MIPS) in isCompatible()
554 emachine = obj.getHeader().e_machine; in init()
625 if (sec.sh_type == SHT_ARM_ATTRIBUTES && config->emachine == EM_ARM) { in parse()
979 uint32_t featureAndType = config->emachine == EM_AARCH64 in readGnuProperty()
1002 } else if (config->emachine == EM_AARCH64 && in readGnuProperty()
1594 if (config->emachine == EM_MIPS && name == "_gp_disp") in parse()
1727 emachine = getBitcodeMachineKind(mb.getBufferIdentifier(), t); in BitcodeFile()
H A DSymbols.cpp129 if (config->emachine == EM_MIPS && isMicroMips() && in getSymVA()
194 if (config->emachine == EM_MIPS && isMicroMips()) in getPltVA()
H A DInputFiles.h139 uint16_t emachine = llvm::ELF::EM_NONE; variable
H A DConfig.h357 uint16_t emachine = llvm::ELF::EM_NONE; member
H A DScriptParser.cpp506 std::tie(config->ekind, config->emachine) = parseBfdName(s); in readOutputFormat()
507 if (config->emachine == EM_NONE) in readOutputFormat()
511 if (config->emachine == EM_MSP430) in readOutputFormat()
H A DSyntheticSections.h553 config->emachine == llvm::ELF::EM_AARCH64)); in classof()
H A DThunks.cpp1460 switch (config->emachine) { in addThunk()
/freebsd/contrib/elftoolchain/readelf/
H A Dreadelf.c3603 unsigned int emachine; member
3637 if (gnu_property_archs[i].emachine == in dump_gnu_property_type_0()