mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-02-11 12:16:07 +00:00
[ELF] Slightly speed up Symbol::includeInDynsym. NFC
This commit is contained in:
parent
7330fd236e
commit
01a51629c2
@ -286,7 +286,7 @@ bool Symbol::includeInDynsym() const {
|
||||
// expects undefined weak symbols not to exist in .dynsym, e.g.
|
||||
// __pthread_mutex_lock reference in _dl_add_to_namespace_list,
|
||||
// __pthread_initialize_minimal reference in csu/libc-start.c.
|
||||
return !(config->noDynamicLinker && isUndefWeak());
|
||||
return !(isUndefWeak() && config->noDynamicLinker);
|
||||
|
||||
return exportDynamic || inDynamicList;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user