mirror of
https://github.com/rui314/mold.git
synced 2024-12-25 17:34:02 +03:00
temporary
This commit is contained in:
parent
9d32299069
commit
31388ddc57
@ -444,7 +444,7 @@ void ObjectFile::resolve_comdat_groups() {
|
||||
ComdatGroup *group = pair.first;
|
||||
ObjectFile *cur = group->file;
|
||||
while (!cur || cur->priority > this->priority)
|
||||
if (group->file.compare_exchange_strong(cur, this))
|
||||
if (group->file.compare_exchange_weak(cur, this))
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user