Lines Matching refs:Config

140   bool NeedDynId = Sym.IsPreemptible || Config->Shared;  in handleARMTlsRelocation()
168 AddTlsReloc(Off + Config->Wordsize, Target->TlsOffsetRel, &Sym, in handleARMTlsRelocation()
185 if (Config->EMachine == EM_ARM) in handleTlsRelocation()
187 if (Config->EMachine == EM_MIPS) in handleTlsRelocation()
191 Config->Shared) { in handleTlsRelocation()
205 if (!Config->Shared) { in handleTlsRelocation()
221 if (Expr == R_ABS && !Config->Shared) { in handleTlsRelocation()
232 if (!Config->Shared) { in handleTlsRelocation()
248 if (Config->Shared) { in handleTlsRelocation()
255 uint64_t OffsetOff = Off + Config->Wordsize; in handleTlsRelocation()
289 !Config->Shared && !Sym.IsPreemptible) { in handleTlsRelocation()
385 if (Sym.isGnuIFunc() && Config->ZIfuncnoplt) in isStaticLinkTimeConstant()
391 return Target->usesOnlyLowPageBits(Type) || !Config->Pic; in isStaticLinkTimeConstant()
395 if (!Config->Pic) in isStaticLinkTimeConstant()
605 RelType Type = Rel.getType(Config->IsMips64EL); in computeMipsAddend()
611 uint32_t SymIndex = Rel.getSymbol(Config->IsMips64EL); in computeMipsAddend()
616 if (RI->getType(Config->IsMips64EL) == PairTy && in computeMipsAddend()
617 RI->getSymbol(Config->IsMips64EL) == SymIndex) in computeMipsAddend()
633 RelType Type = Rel.getType(Config->IsMips64EL); in computeAddend()
642 if (Config->EMachine == EM_PPC64 && Config->Pic && Type == R_PPC64_TOC) in computeAddend()
644 if (Config->EMachine == EM_MIPS) in computeAddend()
659 if (Config->UnresolvedSymbols == UnresolvedPolicy::Ignore && CanBeExternal) in maybeReportUndefined()
674 if ((Config->UnresolvedSymbols == UnresolvedPolicy::Warn && CanBeExternal) || in maybeReportUndefined()
675 Config->NoinhibitExec) { in maybeReportUndefined()
695 Type |= (Rel++)->getType(Config->IsMips64EL) << (8 * N++); in getMipsN32RelType()
793 !Sym.IsPreemptible && (!Config->Pic || isAbsolute(Sym)); in addGotEntry()
801 if (!Sym.isTls() && !Sym.IsPreemptible && Config->Pic && !isAbsolute(Sym)) { in addGotEntry()
826 return ((Sym.isFunc() && Config->IgnoreFunctionAddressEquality) || in canDefineSymbolInExecutable()
827 (Sym.isObject() && Config->IgnoreDataAddressEquality)); in canDefineSymbolInExecutable()
851 if (Sym.isGnuIFunc() && Config->ZIfuncnoplt) { in processRelocAux()
855 bool CanWrite = (Sec.Flags & SHF_WRITE) || !Config->ZText; in processRelocAux()
881 if (Config->EMachine == EM_MIPS) in processRelocAux()
889 if (!Config->Shared && Sym.isUndefWeak()) { in processRelocAux()
894 if (!CanWrite && (Config->Pic && !isRelExpr(Expr))) { in processRelocAux()
905 if (Config->Shared) { in processRelocAux()
925 if (!Config->ZCopyreloc) in processRelocAux()
964 if (Config->Pie && Config->EMachine == EM_386) in processRelocAux()
989 if (Config->MipsN32Abi) { in scanReloc()
992 Type = Rel.getType(Config->IsMips64EL); in scanReloc()
1023 if (Sym.isGnuIFunc() && !Config->ZIfuncnoplt) { in scanReloc()
1024 if (!Config->ZText && Config->WarnIfuncTextrel) { in scanReloc()
1068 if (Config->EMachine == EM_MIPS) { in scanReloc()
1096 if (Config->EMachine == EM_RISCV) in scanRelocs()