mirror of
https://github.com/rui314/mold.git
synced 2024-09-22 10:27:48 +03:00
temporary
This commit is contained in:
parent
468daa3a0e
commit
d5095d00e0
@ -432,7 +432,7 @@ void ObjectFile::handle_undefined_weak_symbols() {
|
||||
if (esym.isUndefined() && esym.getBinding() == STB_WEAK) {
|
||||
std::lock_guard lock(sym.mu);
|
||||
|
||||
bool is_new = !sym.file || !sym.file->is_alive;
|
||||
bool is_new = !sym.file || sym.is_placeholder;
|
||||
bool tie_but_higher_priority =
|
||||
!is_new && sym.is_undef_weak && this->priority < sym.file->priority;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user