mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-04-01 12:43:47 +00:00
[ELF] Remove !isLazy() condition from computeBinding
Seems applicable since we demote lazy symbols to Undefined (D111365).
This commit is contained in:
parent
c0fc09ab91
commit
9e885eac54
@ -269,7 +269,7 @@ MemoryBufferRef LazyArchive::getMemberBuffer() {
|
||||
|
||||
uint8_t Symbol::computeBinding() const {
|
||||
if ((visibility != STV_DEFAULT && visibility != STV_PROTECTED) ||
|
||||
(versionId == VER_NDX_LOCAL && !isLazy()))
|
||||
versionId == VER_NDX_LOCAL)
|
||||
return STB_LOCAL;
|
||||
if (binding == STB_GNU_UNIQUE && !config->gnuUnique)
|
||||
return STB_GLOBAL;
|
||||
|
Loading…
x
Reference in New Issue
Block a user