1
1
mirror of https://github.com/rui314/mold.git synced 2024-12-25 17:34:02 +03:00

temporary

This commit is contained in:
Rui Ueyama 2020-11-30 22:00:04 +09:00
parent 9d32299069
commit 31388ddc57

View File

@ -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;
}
}