Index: ELF/Symbols.cpp =================================================================== --- ELF/Symbols.cpp +++ ELF/Symbols.cpp @@ -138,15 +138,7 @@ // an alias to Other. This is useful for handling some options such as // --wrap. void Symbol::copyFrom(Symbol *Other) { - Symbol Sym = *this; memcpy(this, Other, sizeof(SymbolUnion)); - - VersionId = Sym.VersionId; - IsUsedInRegularObj = Sym.IsUsedInRegularObj; - ExportDynamic = Sym.ExportDynamic; - CanInline = Sym.CanInline; - Traced = Sym.Traced; - InVersionScript = Sym.InVersionScript; } uint64_t Symbol::getVA(int64_t Addend) const {