diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2018-11-04 14:42:21 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2018-11-04 14:42:21 +0000 |
commit | d08c35566595bf29a50e39cbaaf32188ede63f7a (patch) | |
tree | 8e0d582dbfb68a3bf01decdab787004fde19f3de /ELF/Symbols.cpp | |
parent | ebe7d41024f3c7f5adddb6a1ff1d0d3361f58c1c (diff) |
vendor/lld/lld-release_701-r349250vendor/lld/lld-release_70-r348686vendor/lld/lld-release_70-r348011vendor/lld/lld-release_70-r346007vendor/lld-70
Notes
Diffstat (limited to 'ELF/Symbols.cpp')
-rw-r--r-- | ELF/Symbols.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ELF/Symbols.cpp b/ELF/Symbols.cpp index 4243cb1e80ef..f312de71c82c 100644 --- a/ELF/Symbols.cpp +++ b/ELF/Symbols.cpp @@ -209,7 +209,7 @@ uint8_t Symbol::computeBinding() const { return Binding; if (Visibility != STV_DEFAULT && Visibility != STV_PROTECTED) return STB_LOCAL; - if (VersionId == VER_NDX_LOCAL && isDefined()) + if (VersionId == VER_NDX_LOCAL && isDefined() && !IsPreemptible) return STB_LOCAL; if (!Config->GnuUnique && Binding == STB_GNU_UNIQUE) return STB_GLOBAL; |