mirror of
https://github.com/intel/llvm.git
synced 2026-01-20 10:58:11 +08:00
[ELF] Delete two unneeded referenced = true after D65584
This commit is contained in:
@@ -514,7 +514,6 @@ void Symbol::resolveUndefined(const Undefined &other) {
|
||||
// reference is weak.
|
||||
if (other.binding != STB_WEAK || !referenced)
|
||||
binding = other.binding;
|
||||
referenced = true;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -687,7 +686,6 @@ void Symbol::resolveShared(const SharedSymbol &other) {
|
||||
uint8_t bind = binding;
|
||||
replace(other);
|
||||
binding = bind;
|
||||
referenced = true;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user