reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
160 if (!sym.isTls()) 164 return handleMipsTlsRelocation(type, sym, c, offset, addend, expr); 169 if (in.got->addDynTlsEntry(sym)) { 170 uint64_t off = in.got->getGlobalDynOffset(sym); 172 {target->tlsDescRel, in.got, off, !sym.isPreemptible, &sym, 0}); 172 {target->tlsDescRel, in.got, off, !sym.isPreemptible, &sym, 0}); 175 c.relocations.push_back({expr, type, offset, addend, &sym}); 188 bool isLocalInExecutable = !sym.isPreemptible && !config->shared; 200 offset, addend, &sym}); 208 {R_ADDEND, target->symbolicRel, in.got->getTlsIndexOff(), 1, &sym}); 213 c.relocations.push_back({expr, type, offset, addend, &sym}); 221 offset, addend, &sym}); 228 if (!sym.isInGot()) { 229 in.got->addEntry(sym); 230 uint64_t off = sym.getGotOffset(); 232 {R_ABS, target->tlsOffsetRel, off, 0, &sym}); 234 c.relocations.push_back({expr, type, offset, addend, &sym}); 241 if (in.got->addDynTlsEntry(sym)) { 242 uint64_t off = in.got->getGlobalDynOffset(sym); 247 {R_ADDEND, target->symbolicRel, off, 1, &sym}); 249 mainPart->relaDyn->addReloc(target->tlsModuleIndexRel, in.got, off, &sym); 254 if (sym.isPreemptible) 256 &sym); 259 {R_ABS, target->tlsOffsetRel, offsetOff, 0, &sym}); 261 c.relocations.push_back({expr, type, offset, addend, &sym}); 267 if (sym.isPreemptible) { 270 offset, addend, &sym}); 271 if (!sym.isInGot()) { 272 in.got->addEntry(sym); 273 mainPart->relaDyn->addReloc(target->tlsGotRel, in.got, sym.getGotOffset(), 274 &sym); 279 offset, addend, &sym}); 289 c.relocations.push_back({R_RELAX_TLS_IE_TO_LE, type, offset, addend, &sym});