We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 25d1734 commit 371290dCopy full SHA for 371290d
lld/ELF/Arch/X86.cpp
@@ -78,12 +78,7 @@ int X86::getTlsGdRelaxSkip(RelType type) const {
78
79
RelExpr X86::getRelExpr(RelType type, const Symbol &s,
80
const uint8_t *loc) const {
81
- // There are 4 different TLS variable models with varying degrees of
82
- // flexibility and performance. LocalExec and InitialExec models are fast but
83
- // less-flexible models. If they are in use, we set DF_STATIC_TLS flag in the
84
- // dynamic section to let runtime know about that.
85
- if (type == R_386_TLS_LE || type == R_386_TLS_LE_32 || type == R_386_TLS_IE ||
86
- type == R_386_TLS_GOTIE)
+ if (type == R_386_TLS_IE || type == R_386_TLS_GOTIE)
87
config->hasStaticTlsModel = true;
88
89
switch (type) {
0 commit comments