Start recording st_other (i.e. visibility).

llvm-svn: 246577
diff --git a/lld/ELF/Writer.cpp b/lld/ELF/Writer.cpp
index ed1ae93..91a0bf5 100644
--- a/lld/ELF/Writer.cpp
+++ b/lld/ELF/Writer.cpp
@@ -330,6 +330,7 @@
       uint8_t Binding = InputSym->getBinding();
       ESym->setBindingAndType(Binding, Type);
       ESym->st_size = InputSym->st_size;
+      ESym->st_other = InputSym->st_other;
       if (InputSym->isAbsolute()) {
         ESym->st_shndx = SHN_ABS;
         ESym->st_value = InputSym->st_value;