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 7330fd2 commit 01a5162Copy full SHA for 01a5162
lld/ELF/Symbols.cpp
@@ -286,7 +286,7 @@ bool Symbol::includeInDynsym() const {
286
// expects undefined weak symbols not to exist in .dynsym, e.g.
287
// __pthread_mutex_lock reference in _dl_add_to_namespace_list,
288
// __pthread_initialize_minimal reference in csu/libc-start.c.
289
- return !(config->noDynamicLinker && isUndefWeak());
+ return !(isUndefWeak() && config->noDynamicLinker);
290
291
return exportDynamic || inDynamicList;
292
}
0 commit comments