Home
last modified time | relevance | path

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

/external/llvm-project/lld/ELF/
DRelocations.cpp195 if (config->emachine == EM_MIPS) in handleTlsRelocation()
211 bool toExecRelax = !config->shared && config->emachine != EM_ARM && in handleTlsRelocation()
212 config->emachine != EM_HEXAGON && in handleTlsRelocation()
213 config->emachine != EM_RISCV; in handleTlsRelocation()
672 if (config->emachine == EM_PPC64 && config->isPic && type == R_PPC64_TOC) in computeAddend()
674 if (config->emachine == EM_MIPS) in computeAddend()
1161 if (config->emachine == EM_MIPS && rel == target->symbolicRel) in processRelocAux()
1181 if (config->emachine == EM_MIPS) in processRelocAux()
1238 if (config->pie && config->emachine == EM_386) in processRelocAux()
1248 if (config->emachine == EM_PPC) { in processRelocAux()
[all …]
DWriter.cpp249 if (config->emachine == EM_MIPS) { in addReservedSymbols()
268 } else if (config->emachine == EM_PPC) { in addReservedSymbols()
272 } else if (config->emachine == EM_PPC64) { in addReservedSymbols()
285 (config->emachine == EM_PPC64) ? ".TOC." : "_GLOBAL_OFFSET_TABLE_"; in addReservedSymbols()
295 if (config->emachine == EM_PPC64) in addReservedSymbols()
385 if (config->emachine == EM_MIPS) { in createSyntheticSections()
473 if (config->emachine == EM_ARM && !config->relocatable) { in createSyntheticSections()
498 if (config->emachine == EM_MIPS) { in createSyntheticSections()
506 if (config->emachine == EM_PPC) { in createSyntheticSections()
511 if (config->emachine == EM_PPC64) { in createSyntheticSections()
[all …]
DDriver.cpp310 if (config->emachine == EM_MIPS && config->gnuHash) in checkOptions()
313 if (config->fixCortexA53Errata843419 && config->emachine != EM_AARCH64) in checkOptions()
316 if (config->fixCortexA8 && config->emachine != EM_ARM) in checkOptions()
319 if (config->tocOptimize && config->emachine != EM_PPC64) in checkOptions()
322 if (config->pcRelOptimize && config->emachine != EM_PPC64) in checkOptions()
357 if (config->emachine != EM_AARCH64) in checkOptions()
367 if (config->emachine != EM_AARCH64) { in checkOptions()
908 uint16_t m = config->emachine; in getIsRela()
1201 std::tie(config->ekind, config->emachine, config->osabi) = in readConfigs()
1303 uint16_t m = config->emachine; in setConfigs()
[all …]
DTarget.cpp44 StringRef s = getELFRelocationTypeName(elf::config->emachine, type); in toString()
51 switch (config->emachine) { in getTarget()
DOutputSections.cpp48 if (config->emachine != EM_ARM || !(flags & SHF_ARM_PURECODE)) in getPhdrFlags()
89 (type == SHT_X86_64_UNWIND && config->emachine == EM_X86_64); in canMergeToProgbits()
132 getELFSectionTypeName(config->emachine, isec->type) + in commitSection()
134 getELFSectionTypeName(config->emachine, type)); in commitSection()
143 config->emachine == EM_ARM ? (uint64_t)SHF_ARM_PURECODE : 0; in commitSection()
DSyntheticSections.cpp307 uint32_t featureAndType = config->emachine == EM_AARCH64 in writeTo()
1130 if (config->emachine == EM_PPC) { in GotPltSection()
1132 } else if (config->emachine == EM_PPC64) { in GotPltSection()
1164 if (config->emachine == EM_ARM) in getIgotPltName()
1169 if (config->emachine == EM_PPC64) in getIgotPltName()
1179 config->emachine == EM_PPC64 ? SHT_NOBITS : SHT_PROGBITS, in IgotPltSection()
1246 if (config->emachine == EM_MIPS || config->zRodynamic) in DynamicSection()
1409 if (config->emachine != EM_MIPS) { in finalizeContents()
1432 switch (config->emachine) { in finalizeContents()
1446 if (config->emachine == EM_AARCH64) { in finalizeContents()
[all …]
DInputFiles.cpp140 if (file->ekind == config->ekind && file->emachine == config->emachine) { in isCompatible()
141 if (config->emachine != EM_MIPS) in isCompatible()
363 emachine = obj.getHeader().e_machine; in init()
818 uint32_t featureAndType = config->emachine == EM_AARCH64 in readAndFeatures()
883 if (config->emachine == EM_ARM && sec.sh_type == SHT_ARM_ATTRIBUTES) { in createInputSection()
907 if (config->emachine == EM_RISCV && sec.sh_type == SHT_RISCV_ATTRIBUTES) { in createInputSection()
1564 if (config->emachine == EM_MIPS && idx == VER_NDX_LOCAL && in parse()
1681 emachine = getBitcodeMachineKind(mb.getBufferIdentifier(), t); in BitcodeFile()
DInputSection.cpp476 if (config->emachine == EM_MIPS && in copyRelocations()
496 } else if (config->emachine == EM_PPC && type == R_PPC_PLTREL24 && in copyRelocations()
644 switch (config->emachine) { in getTlsTpOffset()
768 if (config->emachine == EM_ARM) in getRelocTargetVA()
770 else if (config->emachine == EM_AARCH64) in getRelocTargetVA()
772 else if (config->emachine == EM_PPC) in getRelocTargetVA()
882 if (config->emachine == EM_386 && type == R_386_GOTPC) in relocateNonAlloc()
DThunks.cpp1165 if (config->emachine == EM_AARCH64) in addThunk()
1168 if (config->emachine == EM_ARM) in addThunk()
1171 if (config->emachine == EM_MIPS) in addThunk()
1174 if (config->emachine == EM_PPC) in addThunk()
1177 if (config->emachine == EM_PPC64) in addThunk()
DSymbols.cpp120 if (config->emachine == EM_MIPS && isMicroMips() && in getSymVA()
186 if (config->emachine == EM_MIPS && isMicroMips()) in getPltVA()
DConfig.h257 uint16_t emachine = llvm::ELF::EM_NONE; member
DInputFiles.h105 uint16_t emachine = llvm::ELF::EM_NONE; variable
DScriptParser.cpp441 std::tie(config->ekind, config->emachine) = parseBfdName(s); in readOutputFormat()
442 if (config->emachine == EM_NONE) in readOutputFormat()